Support slim switch for cfg graph dump
[official-gcc.git] / libstdc++-v3 / configure
blob44374746c2b433c11ba8a2f5b21035c42b7f58f7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
731 ac_ct_DUMPBIN
732 DUMPBIN
734 FGREP
736 LIBTOOL
737 EGREP
738 GREP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
890 CXXFLAGS
893 CXXCPP
894 CXXFILT'
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
945 ac_prev=
946 ac_dashdash=
947 for ac_option
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
965 ac_dashdash=yes ;;
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
984 --config-cache | -C)
985 cache_file=config.cache ;;
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 esac
1302 done
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359 test "$silent" = yes && exec 6>/dev/null
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1388 /^X\(\/\/\)$/{
1389 s//\1/
1392 /^X\(\/\).*/{
1393 s//\1/
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1401 else
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1491 cat <<\_ACEOF
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=1
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=1
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1765 } # ac_fn_cxx_try_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=1
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1802 } # ac_fn_c_try_cpp
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=1
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1848 } # ac_fn_c_try_link
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_compile
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1921 } # ac_fn_c_try_run
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1954 #undef $2
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1971 main ()
1973 return $2 ();
1975 return 0;
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_c_check_func
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 ac_retval=1
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2028 } # ac_fn_cxx_try_cpp
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 ac_retval=1
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2074 } # ac_fn_cxx_try_link
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161 } # ac_fn_c_check_header_mongrel
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_cxx_check_header_mongrel
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2322 main ()
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2328 return 0;
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2385 main ()
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2398 else
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2410 return 0;
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2426 } # ac_fn_c_compute_int
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2447 if (sizeof ($2))
2448 return 0;
2450 return 0;
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2460 if (sizeof (($2)))
2461 return 0;
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2468 else
2469 eval "$3=yes"
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2488 $ $0 $@
2490 _ACEOF
2491 exec 5>>config.log
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2515 _ASUNAME
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2526 } >&5
2528 cat >&5 <<_ACEOF
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2535 _ACEOF
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2549 for ac_arg
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2578 as_fn_append ac_configure_args " '$ac_arg'"
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2594 echo
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 esac |
2630 sort
2632 echo
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2694 $as_echo "/* confdefs.h */" > confdefs.h
2696 # Predefined preprocessor variables.
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2745 done
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 ac_config_headers="$ac_config_headers config.h"
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2869 else
2870 multi_basedir="$srcdir/.."
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2881 ac_config_commands="$ac_config_commands default-1"
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3032 target_alias=${target_alias-$host_alias}
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3137 done
3138 done
3140 esac
3142 done
3143 IFS=$as_save_IFS
3145 rm -rf conftest.one conftest.two conftest.dir
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3210 test "$2" = conftest.file
3212 then
3213 # Ok.
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3327 done
3328 done
3329 IFS=$as_save_IFS
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3408 for ac_prog in gawk mawk nawk awk
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3433 IFS=$as_save_IFS
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$AWK" && break
3448 done
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3488 rmdir .tst 2>/dev/null
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3515 # Some tools Automake needs.
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3644 else
3645 CC="$ac_cv_prog_CC"
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3671 done
3672 done
3673 IFS=$as_save_IFS
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3787 done
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3831 done
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 main ()
3887 return 0;
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3983 else
3984 ac_file=''
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3998 ac_exeext=$ac_cv_exeext
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4268 return p[i];
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4301 main ()
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 return 0;
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4395 done
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4439 done
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 CXXFLAGS="$save_CXXFLAGS"
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4645 else
4646 # Broken: fails on valid input.
4647 continue
4649 rm -f conftest.err conftest.$ac_ext
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4665 rm -f conftest.err conftest.$ac_ext
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4674 done
4675 ac_cv_prog_CPP=$CPP
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4704 else
4705 # Broken: fails on valid input.
4706 continue
4708 rm -f conftest.err conftest.$ac_ext
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4724 rm -f conftest.err conftest.$ac_ext
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 else
4799 ac_cv_path_GREP=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 else
4865 ac_cv_path_EGREP=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4933 #LN_S='cp -p'
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5023 else
5024 AS="$ac_cv_prog_AS"
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5115 else
5116 AR="$ac_cv_prog_AR"
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5232 MAINT=$MAINTAINER_MODE_TRUE
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5258 rm -f conftest*
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5276 rm -f conftest*
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5320 ltmain="$ac_aux_dir/ltmain.sh"
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5355 eval 'cat <<_LTECHO_EOF
5357 _LTECHO_EOF'
5359 ECHO='func_fallback_echo'
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5366 $ECHO ""
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5450 else
5451 ac_cv_path_SED=$SED
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5529 else
5530 ac_cv_path_FGREP=$FGREP
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5540 test -z "$GREP" && GREP=grep
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5624 test "$with_gnu_ld" != yes && break
5626 esac
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5655 lt_cv_prog_gnu_ld=no
5657 esac
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5710 esac
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$DUMPBIN" && break
5770 done
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5834 DUMPBIN=:
5836 esac
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5843 test -z "$NM" && NM=nm
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5868 rm -f conftest*
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5880 teststring="ABCD"
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5994 esac
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6061 esac
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 esac
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 hppa*64*)
6302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 esac
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6398 esac
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6404 esac
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6512 else
6513 AR="$ac_cv_prog_AR"
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6621 test -z "$STRIP" && STRIP=:
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6720 test -z "$RANLIB" && RANLIB=:
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6748 lock_old_archive_extraction=no ;;
6749 esac
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6831 osf*)
6832 symcode='[BCDEGQRST]'
6834 solaris*)
6835 symcode='[BDRT]'
6837 sco3.2v5*)
6838 symcode='[DT]'
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6846 sysv4)
6847 symcode='[DFNSTU]'
6849 esac
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 esac
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6949 cat <<_LT_EOF >> conftest.$ac_ext
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6970 #endif
6972 #ifdef __cplusplus
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7004 rm -rf conftest* conftst*
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7012 done
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7073 esac
7075 rm -rf conftest*
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7102 *N32*)
7103 LD="${LD-ld} -n32"
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7108 esac
7111 rm -rf conftest*
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7135 LD="${LD-ld} -m elf_i386"
7137 esac
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7148 esac
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7167 esac
7169 esac
7171 rm -rf conftest*
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7196 main ()
7200 return 0;
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7241 esac
7243 esac
7245 rm -rf conftest*
7247 esac
7249 need_locks="$enable_libtool_lock"
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7785 main ()
7789 return 0;
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7867 esac
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7882 main ()
7886 return 0;
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7906 else
7907 ac_cv_header_stdc=no
7909 rm -f conftest*
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7923 else
7924 ac_cv_header_stdc=no
7926 rm -f conftest*
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7952 main ()
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7964 else
7965 ac_cv_header_stdc=no
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7996 done
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8010 done
8017 # Set options
8022 enable_win32_dll=no
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8040 done
8041 IFS="$lt_save_ifs"
8043 esac
8044 else
8045 enable_shared=yes
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8071 done
8072 IFS="$lt_save_ifs"
8074 esac
8075 else
8076 enable_static=yes
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8096 test -z "$pic_mode" && pic_mode=default
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8119 done
8120 IFS="$lt_save_ifs"
8122 esac
8123 else
8124 enable_fast_install=yes
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8168 test -z "$LN_S" && LN_S="ln -s"
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8200 rmdir .libs 2>/dev/null
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8227 esac
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8291 else
8292 cat <<_LT_EOF 1>&2
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8303 _LT_EOF
8304 fi ;;
8305 esac
8307 break
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 esac
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8357 else
8358 cat <<_LT_EOF 1>&2
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8369 _LT_EOF
8370 fi ;;
8371 esac
8373 break
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8379 esac
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 else
8393 MAGIC_CMD=:
8399 esac
8401 # Use C for the default configuration in the libtool script
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8411 # Source file extension for C test sources.
8412 ac_ext=c
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag=
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8505 $RM conftest*
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8542 lt_prog_compiler_pic='-fPIC'
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 esac
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8593 lt_prog_compiler_pic='-fPIC'
8595 esac
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8623 lt_prog_compiler_pic='-fPIC'
8625 esac
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8661 lt_prog_compiler_pic='+Z'
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8727 esac
8729 esac
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_can_build_shared=no
8802 esac
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8823 # Check to make sure the PIC flag actually works.
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8858 $RM conftest*
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8882 # Check to make sure the static flag actually works.
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 else
8919 lt_prog_compiler_static=
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9054 else
9055 need_locks=no
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9120 openbsd*)
9121 with_gnu_ld=no
9123 esac
9125 ld_shlibs=yes
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9142 lt_use_gnu_ld_interface=yes
9144 esac
9147 lt_use_gnu_ld_interface=yes
9149 esac
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9193 _LT_EOF
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9204 m68k)
9205 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9209 esac
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9284 tmp_addflag=' $pic_flag'
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9304 compiler_needs_object=yes
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9338 esac
9339 else
9340 ld_shlibs=no
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9388 _LT_EOF
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9403 esac
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9460 else
9461 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9463 aix_use_runtimelinking=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9474 done
9476 esac
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9553 main ()
9557 return 0;
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9596 main ()
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9648 m68k)
9649 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9653 esac
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9681 darwin* | rhapsody*)
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9690 else
9691 whole_archive_flag_spec=''
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9704 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9706 else
9707 ld_shlibs=no
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9748 else
9749 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9825 else
9826 lt_cv_prog_compiler__b=yes
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9843 esac
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9863 esac
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9891 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9919 *nto* | *qnx*)
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9942 esac
9944 else
9945 ld_shlibs=no
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9979 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 esac
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10026 esac
10027 link_all_deplibs=yes
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10130 ld_shlibs=no
10132 esac
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10139 esac
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10147 with_gnu_ld=$with_gnu_ld
10164 # Do we need to explicitly link libc?
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10220 $RM conftest*
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10227 esac
10230 esac
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10506 else
10507 can_build_shared=no
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10525 shlibpath_var=LIBPATH
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10541 esac
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 esac
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10680 esac
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10835 main ()
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10931 shlibpath_overrides_runpath=yes
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10959 rdos*)
10960 dynamic_linker=no
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10985 need_version=yes
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10999 siemens)
11000 need_lib_prefix=no
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11008 esac
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11037 esac
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11061 dynamic_linker=no
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11262 main ()
11264 return dlopen ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11318 main ()
11320 return shl_load ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11364 main ()
11366 return dlopen ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11406 main ()
11408 return dlopen ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11448 main ()
11450 return dld_link ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 esac
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11523 #include <stdio.h>
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11563 void fnord () { int i=42; }
11564 int main ()
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11569 if (self)
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11577 /* dlclose (self); */
11579 else
11580 puts (dlerror ());
11582 return status;
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11602 rm -fr conftest*
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11629 #include <stdio.h>
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11669 void fnord () { int i=42; }
11670 int main ()
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11675 if (self)
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11683 /* dlclose (self); */
11685 else
11686 puts (dlerror ());
11688 return status;
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11708 rm -fr conftest*
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11720 esac
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11776 esac
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11837 CC="$lt_save_CC"
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876 else
11877 # Broken: fails on valid input.
11878 continue
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11896 rm -f conftest.err conftest.$ac_ext
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935 else
11936 # Broken: fails on valid input.
11937 continue
11939 rm -f conftest.err conftest.$ac_ext
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11955 rm -f conftest.err conftest.$ac_ext
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11975 else
11976 _lt_caught_CXX_error=yes
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12169 test "$with_gnu_ld" != yes && break
12171 esac
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12200 lt_cv_prog_gnu_ld=no
12202 esac
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12287 esac
12288 done
12290 esac
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12367 main ()
12371 return 0;
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12411 main ()
12415 return 0;
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12468 chorus*)
12469 case $cc_basename in
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12474 esac
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12496 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12497 else
12498 ld_shlibs_CXX=no
12501 darwin* | rhapsody*)
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12524 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12527 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12530 else
12531 ld_shlibs_CXX=no
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12551 esac
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12570 gnu*)
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12592 aCC*)
12593 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12605 if test "$GXX" = yes; then
12606 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12612 esac
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12626 esac
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12640 esac
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 esac
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12689 esac
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12704 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12722 else
12723 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12726 link_all_deplibs_CXX=yes
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12743 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12812 esac
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12858 compiler_needs_object_CXX=yes
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12871 esac
12873 esac
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12896 esac
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12979 esac
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13001 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13003 esac
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13018 esac
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13042 esac
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13065 esac
13066 link_all_deplibs_CXX=yes
13068 output_verbose_link_cmd='func_echo_all'
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13115 esac
13118 esac
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 esac
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 esac
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13183 esac
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13195 esac
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13223 _LT_EOF
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13298 *) ;; # Ignore the rest.
13300 esac
13301 done
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13309 $RM -f confest.$objext
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13334 esac
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13340 esac
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13354 esac
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13363 esac
13365 esac
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13425 lt_prog_compiler_pic_CXX='-fPIC'
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13440 esac
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13486 esac
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13494 lt_prog_compiler_pic_CXX='-fPIC'
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13514 esac
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13527 esac
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13549 lt_prog_compiler_pic_CXX='+Z'
13551 esac
13555 esac
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13570 esac
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 esac
13621 esac
13623 lynxos*)
13625 m88k*)
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13634 esac
13636 netbsd*)
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13662 esac
13664 psos*)
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13680 esac
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13695 esac
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13704 esac
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13714 esac
13716 vxworks*)
13719 lt_prog_compiler_can_build_shared_CXX=no
13721 esac
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13739 # Check to make sure the PIC flag actually works.
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13774 $RM conftest*
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13795 # Check to make sure the static flag actually works.
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13831 else
13832 lt_prog_compiler_static_CXX=
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13961 else
13962 need_locks=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13979 else
13980 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13986 cygwin* | mingw* | cegcc*)
13987 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13999 with_gnu_ld_CXX=$with_gnu_ld
14007 # Do we need to explicitly link libc?
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14063 $RM conftest*
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14070 esac
14073 esac
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14192 else
14193 can_build_shared=no
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBPATH
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14227 esac
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14288 esac
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14364 esac
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14519 main ()
14523 return 0;
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14615 shlibpath_overrides_runpath=yes
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14643 rdos*)
14644 dynamic_linker=no
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14669 need_version=yes
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14683 siemens)
14684 need_lib_prefix=no
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14692 esac
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14721 esac
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14745 dynamic_linker=no
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14845 fi # test -n "$compiler"
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876 ac_config_commands="$ac_config_commands libtool"
14881 # Only expand once:
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14900 lt_host_flags=
14902 esac
14909 # libtool variables for C++ shared and position-independent compiles.
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14957 enable_hosted_libstdcxx=yes
14959 esac
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14981 # Enable descriptive messages to standard output on termination.
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15004 # Enable compiler support that doesn't require linking.
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15023 else
15024 enable_sjlj_exceptions=auto
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15041 S s;
15042 bar();
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15071 ac_exception_model_name=sjlj
15074 ac_exception_model_name="call frame"
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15187 old_CXXFLAGS="$CXXFLAGS"
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15199 esac
15202 if test x$atomic_builtins_link_tests = xyes; then
15204 # Do link tests.
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15221 main ()
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15234 return 0;
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15263 main ()
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15276 return 0;
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15305 main ()
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15318 return 0;
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15347 main ()
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15360 return 0;
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15376 else
15378 # Do asm tests.
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15383 # Fake what AC_TRY_COMPILE does.
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15399 return 0;
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15434 return 0;
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15470 return 0;
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15505 return 0;
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15543 atomicity_dir=cpu/generic/atomicity_builtins
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15618 template<typename T>
15619 struct same<T, T>;
15621 int main()
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15652 template<typename T>
15653 struct same<T, T>;
15655 int main()
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688 # Checks for compiler support that doesn't require linking.
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15718 main ()
15722 return 0;
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753 # Enable all the variable C++ runtime options that don't require linking.
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15765 else
15766 enable_cstdio=stdio
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15782 esac
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15797 else
15798 enable_clocale=auto
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15819 enable_clocale_flag=$enable_clocale
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15831 openbsd*)
15832 enable_clocale_flag=newlib
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15841 esac
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15861 rm -f conftest*
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15875 main ()
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 __locale_t loc; strerror_l(5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 CFLAGS="$ac_save_CFLAGS"
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15922 main ()
15924 char s[128]; strerror_r(5, s, 128);
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16007 done
16008 done
16009 IFS=$as_save_IFS
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16082 esac
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16099 else
16100 USE_NLS=no
16103 done
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16122 main ()
16124 return gettext ();
16126 return 0;
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16150 else
16151 ac_cv_search_gettext=no
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16162 else
16163 USE_NLS=no
16167 if test $USE_NLS = yes; then
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16198 else
16199 enable_libstdcxx_allocator=auto
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16225 enable_libstdcxx_allocator_flag=new
16227 esac
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16255 esac
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16269 else
16270 enable_cheaders=$c_model
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16298 else
16299 enable_long_long=yes
16303 if test $enable_long_long = yes; then
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16322 else
16323 enable_wchar_t=yes
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16341 done
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16349 main ()
16351 mbstate_t teststate;
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16384 done
16387 if test x"$enable_wchar_t" = x"yes"; then
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16464 main ()
16468 return 0;
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16473 else
16474 enable_wchar_t=no
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16489 if test x"$enable_wchar_t" = x"yes"; then
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16510 else
16511 enable_c99=yes
16516 if test x"$enable_c99" = x"yes"; then
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16561 main ()
16563 return sin ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16581 LIBS="$LIBS -lm"
16583 else
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16606 main ()
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16623 return 0;
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16642 main ()
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16697 done
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16711 done
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16731 main ()
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16774 return 0;
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16800 main ()
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16843 return 0;
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16884 main ()
16886 snprintf("12", 0, "%i");
16888 return 0;
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16914 main ()
16916 snprintf("12", 0, "%i");
16918 return 0;
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16951 main ()
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16966 return 0;
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16987 main ()
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17002 return 0;
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17036 main ()
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17078 main ()
17082 return 0;
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17116 main ()
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17134 main ()
17136 wint_t t; int i = iswblank(t);
17138 return 0;
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17190 else
17191 enable_concept_checks=no
17195 if test $enable_concept_checks = yes; then
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17233 else
17234 enable_libstdcxx_debug=no
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17244 enable_parallel=no;
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17302 else
17303 enable_fully_dynamic_string=no
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17328 else
17329 enable_extern_template=yes
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17372 else
17373 enable_werror=yes
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17382 # Checks for operating systems support that doesn't require linking.
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17404 using ::gets;
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418 if test $glibcxx_cv_gets = yes; then
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17445 main ()
17447 int i = EOWNERDEAD;
17449 return 0;
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17478 main ()
17480 int i = ENOTRECOVERABLE;
17482 return 0;
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17511 main ()
17513 int i = ENOLINK;
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17544 main ()
17546 int i = EPROTO;
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17577 main ()
17579 int i = ENODATA;
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17610 main ()
17612 int i = ENOSR;
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17643 main ()
17645 int i = ENOSTR;
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17676 main ()
17678 int i = ETIME;
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17709 main ()
17711 int i = EBADMSG;
17713 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17742 main ()
17744 int i = ECANCELED;
17746 return 0;
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17775 main ()
17777 int i = EOVERFLOW;
17779 return 0;
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17808 main ()
17810 int i = ENOTSUP;
17812 return 0;
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17841 main ()
17843 int i = EIDRM;
17845 return 0;
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17874 main ()
17876 int i = ETXTBSY;
17878 return 0;
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17907 main ()
17909 int i = ECHILD;
17911 return 0;
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17940 main ()
17942 int i = ENOSPC;
17944 return 0;
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17973 main ()
17975 int i = EPERM;
17977 return 0;
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18006 main ()
18008 int i = ETIMEDOUT;
18010 return 0;
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18039 main ()
18041 int i = EWOULDBLOCK;
18043 return 0;
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18065 # For the streamoff typedef.
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18086 main ()
18088 int64_t var;
18090 return 0;
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103 if test $glibcxx_cv_INT64_T = yes; then
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18123 main ()
18127 return 0;
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 if test $glibcxx_cv_int64_t_long = yes; then
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18161 main ()
18165 return 0;
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 # For LFS support.
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18220 main ()
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18230 return 0;
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18250 main ()
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18260 return 0;
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18274 if test $glibcxx_cv_LFS = yes; then
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18303 done
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <poll.h>
18328 main ()
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <poll.h>
18351 main ()
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18357 return 0;
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18371 if test $glibcxx_cv_POLL = yes; then
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18410 main ()
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18416 return 0;
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18433 main ()
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18439 return 0;
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18462 main ()
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18468 return 0;
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18485 main ()
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18491 return 0;
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18515 res=S_IFREG
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18540 done
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18565 main ()
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18570 return 0;
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18587 main ()
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18592 return 0;
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18606 if test $glibcxx_cv_WRITEV = yes; then
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 # For C99 support to TR1.
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18653 done
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18663 main ()
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18688 return 0;
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18717 main ()
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18724 return 0;
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18757 done
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18767 main ()
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18786 return 0;
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18817 main ()
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18905 return 0;
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18936 main ()
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19047 return 0;
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19077 main ()
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19088 return 0;
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19116 main ()
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19125 return 0;
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19154 done
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19168 done
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19250 # For gettimeofday support.
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19279 done
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19289 main ()
19291 timeval tv; gettimeofday(&tv, 0);
19293 return 0;
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19310 main ()
19312 timeval tv; gettimeofday(&tv, 0);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351 # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353 enableval=$enable_libstdcxx_time;
19354 case "$enableval" in
19355 yes|no|rt) ;;
19356 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357 esac
19359 else
19360 enable_libstdcxx_time=no
19366 ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372 ac_save_CXXFLAGS="$CXXFLAGS"
19373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374 ac_save_LIBS="$LIBS"
19376 ac_has_clock_monotonic=no
19377 ac_has_clock_realtime=no
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19381 if test x"$enable_libstdcxx_time" != x"no"; then
19383 if test x"$enable_libstdcxx_time" = x"rt"; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19393 /* Override any GCC internal prototype to avoid an error.
19394 Use char because int might match the return type of a GCC
19395 builtin and then its argument prototype would still apply. */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19401 main ()
19403 return clock_gettime ();
19405 return 0;
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409 if test -z "$ac_lib"; then
19410 ac_res="none required"
19411 else
19412 ac_res=-l$ac_lib
19413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_cv_search_clock_gettime=$ac_res
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 break
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19429 else
19430 ac_cv_search_clock_gettime=no
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19452 /* Override any GCC internal prototype to avoid an error.
19453 Use char because int might match the return type of a GCC
19454 builtin and then its argument prototype would still apply. */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19460 main ()
19462 return nanosleep ();
19464 return 0;
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468 if test -z "$ac_lib"; then
19469 ac_res="none required"
19470 else
19471 ac_res=-l$ac_lib
19472 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478 ac_cv_search_nanosleep=$ac_res
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 break
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19488 else
19489 ac_cv_search_nanosleep=no
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19502 else
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19520 main ()
19522 return clock_gettime ();
19524 return 0;
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528 if test -z "$ac_lib"; then
19529 ac_res="none required"
19530 else
19531 ac_res=-l$ac_lib
19532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19534 if test x$gcc_no_link = xyes; then
19535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538 ac_cv_search_clock_gettime=$ac_res
19540 rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext
19542 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543 break
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19548 else
19549 ac_cv_search_clock_gettime=no
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19579 main ()
19581 return nanosleep ();
19583 return 0;
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587 if test -z "$ac_lib"; then
19588 ac_res="none required"
19589 else
19590 ac_res=-l$ac_lib
19591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19593 if test x$gcc_no_link = xyes; then
19594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597 ac_cv_search_nanosleep=$ac_res
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext
19601 if test "${ac_cv_search_nanosleep+set}" = set; then :
19602 break
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19607 else
19608 ac_cv_search_nanosleep=no
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19623 case "$ac_cv_search_clock_gettime" in
19624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19626 esac
19627 case "$ac_cv_search_nanosleep" in
19628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19630 esac
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19649 main ()
19651 return sched_yield ();
19653 return 0;
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_sched_yield=$ac_res
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_sched_yield+set}" = set; then :
19672 break
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19677 else
19678 ac_cv_search_sched_yield=no
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19692 case "$ac_cv_search_sched_yield" in
19693 -lposix4*)
19694 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19699 -lrt*)
19700 if test x"$enable_libstdcxx_time" = x"rt"; then
19701 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19712 esac
19714 for ac_header in unistd.h
19715 do :
19716 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721 ac_has_unistd_h=yes
19722 else
19723 ac_has_unistd_h=no
19726 done
19729 if test x"$ac_has_unistd_h" = x"yes"; then
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732 if test x$gcc_no_link = xyes; then
19733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #include <unistd.h>
19738 #include <time.h>
19741 main ()
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744 timespec tp;
19745 #endif
19746 clock_gettime(CLOCK_MONOTONIC, &tp);
19749 return 0;
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753 ac_has_clock_monotonic=yes
19754 else
19755 ac_has_clock_monotonic=no
19757 rm -f core conftest.err conftest.$ac_objext \
19758 conftest$ac_exeext conftest.$ac_ext
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #include <unistd.h>
19771 #include <time.h>
19774 main ()
19776 #if _POSIX_TIMERS > 0
19777 timespec tp;
19778 #endif
19779 clock_gettime(CLOCK_REALTIME, &tp);
19782 return 0;
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_has_clock_realtime=yes
19787 else
19788 ac_has_clock_realtime=no
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798 if test x$gcc_no_link = xyes; then
19799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #include <unistd.h>
19804 #include <time.h>
19807 main ()
19809 #if _POSIX_TIMERS > 0
19810 timespec tp;
19811 #endif
19812 nanosleep(&tp, 0);
19815 return 0;
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819 ac_has_nanosleep=yes
19820 else
19821 ac_has_nanosleep=no
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19831 if test x"$ac_has_clock_monotonic" = x"yes"; then
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19837 if test x"$ac_has_clock_realtime" = x"yes"; then
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19843 if test x"$ac_has_nanosleep" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19847 else
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19849 $as_echo_n "checking for sleep... " >&6; }
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #include <unistd.h>
19854 main ()
19856 sleep(1)
19858 return 0;
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862 ac_has_sleep=yes
19863 else
19864 ac_has_sleep=no
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 if test x"$ac_has_sleep" = x"yes"; then
19869 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19873 $as_echo "$ac_has_sleep" >&6; }
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19875 $as_echo_n "checking for usleep... " >&6; }
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #include <unistd.h>
19880 main ()
19882 sleep(1);
19883 usleep(100);
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_has_usleep=yes
19890 else
19891 ac_has_usleep=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 if test x"$ac_has_usleep" = x"yes"; then
19896 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19900 $as_echo "$ac_has_usleep" >&6; }
19903 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19905 $as_echo_n "checking for Sleep... " >&6; }
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #include <windows.h>
19910 main ()
19912 Sleep(1)
19914 return 0;
19916 _ACEOF
19917 if ac_fn_cxx_try_compile "$LINENO"; then :
19918 ac_has_win32_sleep=yes
19919 else
19920 ac_has_win32_sleep=no
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 if test x"$ac_has_win32_sleep" = x"yes"; then
19925 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19929 $as_echo "$ac_has_win32_sleep" >&6; }
19934 CXXFLAGS="$ac_save_CXXFLAGS"
19935 LIBS="$ac_save_LIBS"
19936 ac_ext=c
19937 ac_cpp='$CPP $CPPFLAGS'
19938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19945 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19946 if test "x$ac_cv_header_locale_h" = x""yes; then :
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19950 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19951 $as_echo_n "(cached) " >&6
19952 else
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #include <locale.h>
19957 main ()
19959 return LC_MESSAGES
19961 return 0;
19963 _ACEOF
19964 if ac_fn_c_try_compile "$LINENO"; then :
19965 ac_cv_val_LC_MESSAGES=yes
19966 else
19967 ac_cv_val_LC_MESSAGES=no
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19972 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19973 if test $ac_cv_val_LC_MESSAGES = yes; then
19975 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19984 # For hardware_concurrency
19985 for ac_header in sys/sysinfo.h
19986 do :
19987 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19988 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19989 cat >>confdefs.h <<_ACEOF
19990 #define HAVE_SYS_SYSINFO_H 1
19991 _ACEOF
19995 done
20000 ac_ext=cpp
20001 ac_cpp='$CXXCPP $CPPFLAGS'
20002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20006 ac_save_CXXFLAGS="$CXXFLAGS"
20007 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20010 $as_echo_n "checking for get_nprocs... " >&6; }
20011 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20012 $as_echo_n "(cached) " >&6
20013 else
20015 if test x$gcc_no_link = xyes; then
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20018 #include <sys/sysinfo.h>
20020 main ()
20022 int n = get_nprocs();
20024 return 0;
20026 _ACEOF
20027 if ac_fn_cxx_try_compile "$LINENO"; then :
20028 glibcxx_cv_GET_NPROCS=yes
20029 else
20030 glibcxx_cv_GET_NPROCS=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 else
20034 if test x$gcc_no_link = xyes; then
20035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20039 #include <sys/sysinfo.h>
20041 main ()
20043 int n = get_nprocs();
20045 return 0;
20047 _ACEOF
20048 if ac_fn_cxx_try_link "$LINENO"; then :
20049 glibcxx_cv_GET_NPROCS=yes
20050 else
20051 glibcxx_cv_GET_NPROCS=no
20053 rm -f core conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20059 if test $glibcxx_cv_GET_NPROCS = yes; then
20061 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20065 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20067 CXXFLAGS="$ac_save_CXXFLAGS"
20068 ac_ext=c
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20075 for ac_header in unistd.h
20076 do :
20077 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20078 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20079 cat >>confdefs.h <<_ACEOF
20080 #define HAVE_UNISTD_H 1
20081 _ACEOF
20085 done
20090 ac_ext=cpp
20091 ac_cpp='$CXXCPP $CPPFLAGS'
20092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20096 ac_save_CXXFLAGS="$CXXFLAGS"
20097 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20100 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20101 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20102 $as_echo_n "(cached) " >&6
20103 else
20105 if test x$gcc_no_link = xyes; then
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20108 #include <unistd.h>
20110 main ()
20112 int n = sysconf(_SC_NPROCESSORS_ONLN);
20114 return 0;
20116 _ACEOF
20117 if ac_fn_cxx_try_compile "$LINENO"; then :
20118 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20119 else
20120 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 else
20124 if test x$gcc_no_link = xyes; then
20125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20129 #include <unistd.h>
20131 main ()
20133 int n = sysconf(_SC_NPROCESSORS_ONLN);
20135 return 0;
20137 _ACEOF
20138 if ac_fn_cxx_try_link "$LINENO"; then :
20139 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20140 else
20141 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20143 rm -f core conftest.err conftest.$ac_objext \
20144 conftest$ac_exeext conftest.$ac_ext
20149 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20151 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20155 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20157 CXXFLAGS="$ac_save_CXXFLAGS"
20158 ac_ext=c
20159 ac_cpp='$CPP $CPPFLAGS'
20160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20168 ac_ext=cpp
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20174 ac_save_CXXFLAGS="$CXXFLAGS"
20175 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20178 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20179 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20180 $as_echo_n "(cached) " >&6
20181 else
20183 if test x$gcc_no_link = xyes; then
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20186 #include <unistd.h>
20188 main ()
20190 int n = sysconf(_SC_NPROC_ONLN);
20192 return 0;
20194 _ACEOF
20195 if ac_fn_cxx_try_compile "$LINENO"; then :
20196 glibcxx_cv_SC_NPROC_ONLN=yes
20197 else
20198 glibcxx_cv_SC_NPROC_ONLN=no
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 else
20202 if test x$gcc_no_link = xyes; then
20203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20207 #include <unistd.h>
20209 main ()
20211 int n = sysconf(_SC_NPROC_ONLN);
20213 return 0;
20215 _ACEOF
20216 if ac_fn_cxx_try_link "$LINENO"; then :
20217 glibcxx_cv_SC_NPROC_ONLN=yes
20218 else
20219 glibcxx_cv_SC_NPROC_ONLN=no
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20227 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20229 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20233 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20235 CXXFLAGS="$ac_save_CXXFLAGS"
20236 ac_ext=c
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20246 ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20252 ac_save_CXXFLAGS="$CXXFLAGS"
20253 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20256 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20257 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20258 $as_echo_n "(cached) " >&6
20259 else
20261 if test x$gcc_no_link = xyes; then
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <pthread.h>
20266 main ()
20268 int n = pthread_num_processors_np();
20270 return 0;
20272 _ACEOF
20273 if ac_fn_cxx_try_compile "$LINENO"; then :
20274 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20275 else
20276 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 else
20280 if test x$gcc_no_link = xyes; then
20281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h. */
20285 #include <pthread.h>
20287 main ()
20289 int n = pthread_num_processors_np();
20291 return 0;
20293 _ACEOF
20294 if ac_fn_cxx_try_link "$LINENO"; then :
20295 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20296 else
20297 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20299 rm -f core conftest.err conftest.$ac_objext \
20300 conftest$ac_exeext conftest.$ac_ext
20305 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20307 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20311 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20313 CXXFLAGS="$ac_save_CXXFLAGS"
20314 ac_ext=c
20315 ac_cpp='$CPP $CPPFLAGS'
20316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20324 ac_ext=cpp
20325 ac_cpp='$CXXCPP $CPPFLAGS'
20326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20330 ac_save_CXXFLAGS="$CXXFLAGS"
20331 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20334 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20335 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20339 if test x$gcc_no_link = xyes; then
20340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h. */
20343 #include <stddef.h>
20344 #include <sys/sysctl.h>
20347 main ()
20350 int count;
20351 size_t size = sizeof(count);
20352 int mib[] = { CTL_HW, HW_NCPU };
20353 sysctl(mib, 2, &count, &size, NULL, 0);
20356 return 0;
20358 _ACEOF
20359 if ac_fn_cxx_try_compile "$LINENO"; then :
20360 glibcxx_cv_SYSCTL_HW_NCPU=yes
20361 else
20362 glibcxx_cv_SYSCTL_HW_NCPU=no
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 else
20366 if test x$gcc_no_link = xyes; then
20367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20372 #include <stddef.h>
20373 #include <sys/sysctl.h>
20376 main ()
20379 int count;
20380 size_t size = sizeof(count);
20381 int mib[] = { CTL_HW, HW_NCPU };
20382 sysctl(mib, 2, &count, &size, NULL, 0);
20385 return 0;
20387 _ACEOF
20388 if ac_fn_cxx_try_link "$LINENO"; then :
20389 glibcxx_cv_SYSCTL_HW_NCPU=yes
20390 else
20391 glibcxx_cv_SYSCTL_HW_NCPU=no
20393 rm -f core conftest.err conftest.$ac_objext \
20394 conftest$ac_exeext conftest.$ac_ext
20399 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20401 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20405 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20407 CXXFLAGS="$ac_save_CXXFLAGS"
20408 ac_ext=c
20409 ac_cpp='$CPP $CPPFLAGS'
20410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20417 $as_echo "for suitable sys/sdt.h" >&6; }
20418 # Note that this test has to be run with the C language.
20419 # Otherwise, sdt.h will try to include some headers from
20420 # libstdc++ itself.
20422 ac_ext=c
20423 ac_cpp='$CPP $CPPFLAGS'
20424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20428 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20429 $as_echo_n "(cached) " >&6
20430 else
20432 # Because we have to run the test in C, we use grep rather
20433 # than the compiler to check for the bug. The bug is that
20434 # were strings without trailing whitespace, causing g++
20435 # to look for operator"". The pattern searches for the fixed
20436 # output.
20437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20440 #include <sys/sdt.h>
20441 int f() { STAP_PROBE(hi, bob); }
20443 _ACEOF
20444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20445 $EGREP " \",\" " >/dev/null 2>&1; then :
20446 glibcxx_cv_sys_sdt_h=yes
20447 else
20448 glibcxx_cv_sys_sdt_h=no
20450 rm -f conftest*
20455 ac_ext=c
20456 ac_cpp='$CPP $CPPFLAGS'
20457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20461 if test $glibcxx_cv_sys_sdt_h = yes; then
20463 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20467 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20470 # Check for available headers.
20471 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20472 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20473 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20474 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20475 wchar.h wctype.h
20476 do :
20477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20479 eval as_val=\$$as_ac_Header
20480 if test "x$as_val" = x""yes; then :
20481 cat >>confdefs.h <<_ACEOF
20482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20483 _ACEOF
20487 done
20490 # Only do link tests if native. Else, hardcode.
20491 if $GLIBCXX_IS_NATIVE; then
20493 # We can do more elaborate tests that assume a working linker.
20494 CANADIAN=no
20498 # Check whether --with-gnu-ld was given.
20499 if test "${with_gnu_ld+set}" = set; then :
20500 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20501 else
20502 with_gnu_ld=no
20505 ac_prog=ld
20506 if test "$GCC" = yes; then
20507 # Check if gcc -print-prog-name=ld gives a path.
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20509 $as_echo_n "checking for ld used by $CC... " >&6; }
20510 case $host in
20511 *-*-mingw*)
20512 # gcc leaves a trailing carriage return which upsets mingw
20513 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20515 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20516 esac
20517 case $ac_prog in
20518 # Accept absolute paths.
20519 [\\/]* | ?:[\\/]*)
20520 re_direlt='/[^/][^/]*/\.\./'
20521 # Canonicalize the pathname of ld
20522 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20523 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20524 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20525 done
20526 test -z "$LD" && LD="$ac_prog"
20529 # If it fails, then pretend we aren't using GCC.
20530 ac_prog=ld
20533 # If it is relative, then search for the first ld in PATH.
20534 with_gnu_ld=unknown
20536 esac
20537 elif test "$with_gnu_ld" = yes; then
20538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20539 $as_echo_n "checking for GNU ld... " >&6; }
20540 else
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20542 $as_echo_n "checking for non-GNU ld... " >&6; }
20544 if test "${lt_cv_path_LD+set}" = set; then :
20545 $as_echo_n "(cached) " >&6
20546 else
20547 if test -z "$LD"; then
20548 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20549 for ac_dir in $PATH; do
20550 IFS="$lt_save_ifs"
20551 test -z "$ac_dir" && ac_dir=.
20552 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20553 lt_cv_path_LD="$ac_dir/$ac_prog"
20554 # Check to see if the program is GNU ld. I'd rather use --version,
20555 # but apparently some variants of GNU ld only accept -v.
20556 # Break only if it was the GNU/non-GNU ld that we prefer.
20557 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20558 *GNU* | *'with BFD'*)
20559 test "$with_gnu_ld" != no && break
20562 test "$with_gnu_ld" != yes && break
20564 esac
20566 done
20567 IFS="$lt_save_ifs"
20568 else
20569 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20573 LD="$lt_cv_path_LD"
20574 if test -n "$LD"; then
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20576 $as_echo "$LD" >&6; }
20577 else
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20579 $as_echo "no" >&6; }
20581 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20583 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20584 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20585 $as_echo_n "(cached) " >&6
20586 else
20587 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20588 case `$LD -v 2>&1 </dev/null` in
20589 *GNU* | *'with BFD'*)
20590 lt_cv_prog_gnu_ld=yes
20593 lt_cv_prog_gnu_ld=no
20595 esac
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20598 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20599 with_gnu_ld=$lt_cv_prog_gnu_ld
20607 # If we're not using GNU ld, then there's no point in even trying these
20608 # tests. Check for that first. We should have already tested for gld
20609 # by now (in libtool), but require it now just to be safe...
20610 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20611 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20615 # The name set by libtool depends on the version of libtool. Shame on us
20616 # for depending on an impl detail, but c'est la vie. Older versions used
20617 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20618 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20619 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20620 # set (hence we're using an older libtool), then set it.
20621 if test x${with_gnu_ld+set} != xset; then
20622 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20623 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20624 with_gnu_ld=no
20625 else
20626 with_gnu_ld=$ac_cv_prog_gnu_ld
20630 # Start by getting the version number. I think the libtool test already
20631 # does some of this, but throws away the result.
20632 glibcxx_ld_is_gold=no
20633 if test x"$with_gnu_ld" = x"yes"; then
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20635 $as_echo_n "checking for ld version... " >&6; }
20637 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20638 glibcxx_ld_is_gold=yes
20640 ldver=`$LD --version 2>/dev/null |
20641 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'`
20643 glibcxx_gnu_ld_version=`echo $ldver | \
20644 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20646 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20649 # Set --gc-sections.
20650 glibcxx_have_gc_sections=no
20651 if test "$glibcxx_ld_is_gold" = "yes"; then
20652 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20653 glibcxx_have_gc_sections=yes
20655 else
20656 glibcxx_gcsections_min_ld=21602
20657 if test x"$with_gnu_ld" = x"yes" &&
20658 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20659 glibcxx_have_gc_sections=yes
20662 if test "$glibcxx_have_gc_sections" = "yes"; then
20663 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20664 # NB: This flag only works reliably after 2.16.1. Configure tests
20665 # for this are difficult, so hard wire a value that should work.
20667 ac_test_CFLAGS="${CFLAGS+set}"
20668 ac_save_CFLAGS="$CFLAGS"
20669 CFLAGS='-Wl,--gc-sections'
20671 # Check for -Wl,--gc-sections
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20673 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20674 if test x$gcc_no_link = xyes; then
20675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20679 int one(void) { return 1; }
20680 int two(void) { return 2; }
20683 main ()
20685 two();
20687 return 0;
20689 _ACEOF
20690 if ac_fn_c_try_link "$LINENO"; then :
20691 ac_gcsections=yes
20692 else
20693 ac_gcsections=no
20695 rm -f core conftest.err conftest.$ac_objext \
20696 conftest$ac_exeext conftest.$ac_ext
20697 if test "$ac_gcsections" = "yes"; then
20698 rm -f conftest.c
20699 touch conftest.c
20700 if $CC -c conftest.c; then
20701 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20702 grep "Warning: gc-sections option ignored" > /dev/null; then
20703 ac_gcsections=no
20706 rm -f conftest.c conftest.o conftest
20708 if test "$ac_gcsections" = "yes"; then
20709 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20712 $as_echo "$ac_gcsections" >&6; }
20714 if test "$ac_test_CFLAGS" = set; then
20715 CFLAGS="$ac_save_CFLAGS"
20716 else
20717 # this is the suspicious part
20718 CFLAGS=''
20722 # Set -z,relro.
20723 # Note this is only for shared objects.
20724 ac_ld_relro=no
20725 if test x"$with_gnu_ld" = x"yes"; then
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20727 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20728 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20729 if test -n "$cxx_z_relo"; then
20730 OPT_LDFLAGS="-Wl,-z,relro"
20731 ac_ld_relro=yes
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20734 $as_echo "$ac_ld_relro" >&6; }
20737 # Set linker optimization flags.
20738 if test x"$with_gnu_ld" = x"yes"; then
20739 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20746 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20747 ac_save_CXXFLAGS="$CXXFLAGS"
20748 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20751 $as_echo_n "checking for sin in -lm... " >&6; }
20752 if test "${ac_cv_lib_m_sin+set}" = set; then :
20753 $as_echo_n "(cached) " >&6
20754 else
20755 ac_check_lib_save_LIBS=$LIBS
20756 LIBS="-lm $LIBS"
20757 if test x$gcc_no_link = xyes; then
20758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20763 /* Override any GCC internal prototype to avoid an error.
20764 Use char because int might match the return type of a GCC
20765 builtin and then its argument prototype would still apply. */
20766 #ifdef __cplusplus
20767 extern "C"
20768 #endif
20769 char sin ();
20771 main ()
20773 return sin ();
20775 return 0;
20777 _ACEOF
20778 if ac_fn_c_try_link "$LINENO"; then :
20779 ac_cv_lib_m_sin=yes
20780 else
20781 ac_cv_lib_m_sin=no
20783 rm -f core conftest.err conftest.$ac_objext \
20784 conftest$ac_exeext conftest.$ac_ext
20785 LIBS=$ac_check_lib_save_LIBS
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20788 $as_echo "$ac_cv_lib_m_sin" >&6; }
20789 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20790 libm="-lm"
20793 ac_save_LIBS="$LIBS"
20794 LIBS="$LIBS $libm"
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20799 $as_echo_n "checking for isinf declaration... " >&6; }
20800 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20801 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20802 $as_echo_n "(cached) " >&6
20803 else
20806 ac_ext=cpp
20807 ac_cpp='$CXXCPP $CPPFLAGS'
20808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20814 #include <math.h>
20815 #ifdef HAVE_IEEEFP_H
20816 #include <ieeefp.h>
20817 #endif
20820 main ()
20822 isinf(0);
20824 return 0;
20826 _ACEOF
20827 if ac_fn_cxx_try_compile "$LINENO"; then :
20828 glibcxx_cv_func_isinf_use=yes
20829 else
20830 glibcxx_cv_func_isinf_use=no
20832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20833 ac_ext=c
20834 ac_cpp='$CPP $CPPFLAGS'
20835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20844 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20846 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20847 for ac_func in isinf
20848 do :
20849 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20850 if test "x$ac_cv_func_isinf" = x""yes; then :
20851 cat >>confdefs.h <<_ACEOF
20852 #define HAVE_ISINF 1
20853 _ACEOF
20856 done
20858 else
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20861 $as_echo_n "checking for _isinf declaration... " >&6; }
20862 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20863 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20864 $as_echo_n "(cached) " >&6
20865 else
20868 ac_ext=cpp
20869 ac_cpp='$CXXCPP $CPPFLAGS'
20870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #include <math.h>
20877 #ifdef HAVE_IEEEFP_H
20878 #include <ieeefp.h>
20879 #endif
20882 main ()
20884 _isinf(0);
20886 return 0;
20888 _ACEOF
20889 if ac_fn_cxx_try_compile "$LINENO"; then :
20890 glibcxx_cv_func__isinf_use=yes
20891 else
20892 glibcxx_cv_func__isinf_use=no
20894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20895 ac_ext=c
20896 ac_cpp='$CPP $CPPFLAGS'
20897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20906 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20908 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20909 for ac_func in _isinf
20910 do :
20911 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20912 if test "x$ac_cv_func__isinf" = x""yes; then :
20913 cat >>confdefs.h <<_ACEOF
20914 #define HAVE__ISINF 1
20915 _ACEOF
20918 done
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20928 $as_echo_n "checking for isnan declaration... " >&6; }
20929 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20930 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20931 $as_echo_n "(cached) " >&6
20932 else
20935 ac_ext=cpp
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 /* end confdefs.h. */
20943 #include <math.h>
20944 #ifdef HAVE_IEEEFP_H
20945 #include <ieeefp.h>
20946 #endif
20949 main ()
20951 isnan(0);
20953 return 0;
20955 _ACEOF
20956 if ac_fn_cxx_try_compile "$LINENO"; then :
20957 glibcxx_cv_func_isnan_use=yes
20958 else
20959 glibcxx_cv_func_isnan_use=no
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20962 ac_ext=c
20963 ac_cpp='$CPP $CPPFLAGS'
20964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20973 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20975 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20976 for ac_func in isnan
20977 do :
20978 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20979 if test "x$ac_cv_func_isnan" = x""yes; then :
20980 cat >>confdefs.h <<_ACEOF
20981 #define HAVE_ISNAN 1
20982 _ACEOF
20985 done
20987 else
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20990 $as_echo_n "checking for _isnan declaration... " >&6; }
20991 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20992 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20993 $as_echo_n "(cached) " >&6
20994 else
20997 ac_ext=cpp
20998 ac_cpp='$CXXCPP $CPPFLAGS'
20999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21004 /* end confdefs.h. */
21005 #include <math.h>
21006 #ifdef HAVE_IEEEFP_H
21007 #include <ieeefp.h>
21008 #endif
21011 main ()
21013 _isnan(0);
21015 return 0;
21017 _ACEOF
21018 if ac_fn_cxx_try_compile "$LINENO"; then :
21019 glibcxx_cv_func__isnan_use=yes
21020 else
21021 glibcxx_cv_func__isnan_use=no
21023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 ac_ext=c
21025 ac_cpp='$CPP $CPPFLAGS'
21026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21035 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21037 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21038 for ac_func in _isnan
21039 do :
21040 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21041 if test "x$ac_cv_func__isnan" = x""yes; then :
21042 cat >>confdefs.h <<_ACEOF
21043 #define HAVE__ISNAN 1
21044 _ACEOF
21047 done
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21057 $as_echo_n "checking for finite declaration... " >&6; }
21058 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21059 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21060 $as_echo_n "(cached) " >&6
21061 else
21064 ac_ext=cpp
21065 ac_cpp='$CXXCPP $CPPFLAGS'
21066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072 #include <math.h>
21073 #ifdef HAVE_IEEEFP_H
21074 #include <ieeefp.h>
21075 #endif
21078 main ()
21080 finite(0);
21082 return 0;
21084 _ACEOF
21085 if ac_fn_cxx_try_compile "$LINENO"; then :
21086 glibcxx_cv_func_finite_use=yes
21087 else
21088 glibcxx_cv_func_finite_use=no
21090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21091 ac_ext=c
21092 ac_cpp='$CPP $CPPFLAGS'
21093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21102 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21104 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21105 for ac_func in finite
21106 do :
21107 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21108 if test "x$ac_cv_func_finite" = x""yes; then :
21109 cat >>confdefs.h <<_ACEOF
21110 #define HAVE_FINITE 1
21111 _ACEOF
21114 done
21116 else
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21119 $as_echo_n "checking for _finite declaration... " >&6; }
21120 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21121 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21122 $as_echo_n "(cached) " >&6
21123 else
21126 ac_ext=cpp
21127 ac_cpp='$CXXCPP $CPPFLAGS'
21128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21133 /* end confdefs.h. */
21134 #include <math.h>
21135 #ifdef HAVE_IEEEFP_H
21136 #include <ieeefp.h>
21137 #endif
21140 main ()
21142 _finite(0);
21144 return 0;
21146 _ACEOF
21147 if ac_fn_cxx_try_compile "$LINENO"; then :
21148 glibcxx_cv_func__finite_use=yes
21149 else
21150 glibcxx_cv_func__finite_use=no
21152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153 ac_ext=c
21154 ac_cpp='$CPP $CPPFLAGS'
21155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21164 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21166 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21167 for ac_func in _finite
21168 do :
21169 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21170 if test "x$ac_cv_func__finite" = x""yes; then :
21171 cat >>confdefs.h <<_ACEOF
21172 #define HAVE__FINITE 1
21173 _ACEOF
21176 done
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21186 $as_echo_n "checking for sincos declaration... " >&6; }
21187 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21188 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21189 $as_echo_n "(cached) " >&6
21190 else
21193 ac_ext=cpp
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h. */
21201 #include <math.h>
21203 main ()
21205 sincos(0, 0, 0);
21207 return 0;
21209 _ACEOF
21210 if ac_fn_cxx_try_compile "$LINENO"; then :
21211 glibcxx_cv_func_sincos_use=yes
21212 else
21213 glibcxx_cv_func_sincos_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_sincos_use" >&5
21227 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21229 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21230 for ac_func in sincos
21231 do :
21232 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21233 if test "x$ac_cv_func_sincos" = x""yes; then :
21234 cat >>confdefs.h <<_ACEOF
21235 #define HAVE_SINCOS 1
21236 _ACEOF
21239 done
21241 else
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21244 $as_echo_n "checking for _sincos declaration... " >&6; }
21245 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21246 if test "${glibcxx_cv_func__sincos_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>
21261 main ()
21263 _sincos(0, 0, 0);
21265 return 0;
21267 _ACEOF
21268 if ac_fn_cxx_try_compile "$LINENO"; then :
21269 glibcxx_cv_func__sincos_use=yes
21270 else
21271 glibcxx_cv_func__sincos_use=no
21273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274 ac_ext=c
21275 ac_cpp='$CPP $CPPFLAGS'
21276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21285 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21287 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21288 for ac_func in _sincos
21289 do :
21290 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21291 if test "x$ac_cv_func__sincos" = x""yes; then :
21292 cat >>confdefs.h <<_ACEOF
21293 #define HAVE__SINCOS 1
21294 _ACEOF
21297 done
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21307 $as_echo_n "checking for fpclass declaration... " >&6; }
21308 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21309 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21310 $as_echo_n "(cached) " >&6
21311 else
21314 ac_ext=cpp
21315 ac_cpp='$CXXCPP $CPPFLAGS'
21316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21321 /* end confdefs.h. */
21322 #include <math.h>
21323 #ifdef HAVE_IEEEFP_H
21324 #include <ieeefp.h>
21325 #endif
21328 main ()
21330 fpclass(0);
21332 return 0;
21334 _ACEOF
21335 if ac_fn_cxx_try_compile "$LINENO"; then :
21336 glibcxx_cv_func_fpclass_use=yes
21337 else
21338 glibcxx_cv_func_fpclass_use=no
21340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21341 ac_ext=c
21342 ac_cpp='$CPP $CPPFLAGS'
21343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21352 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21354 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21355 for ac_func in fpclass
21356 do :
21357 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21358 if test "x$ac_cv_func_fpclass" = x""yes; then :
21359 cat >>confdefs.h <<_ACEOF
21360 #define HAVE_FPCLASS 1
21361 _ACEOF
21364 done
21366 else
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21369 $as_echo_n "checking for _fpclass declaration... " >&6; }
21370 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21371 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21372 $as_echo_n "(cached) " >&6
21373 else
21376 ac_ext=cpp
21377 ac_cpp='$CXXCPP $CPPFLAGS'
21378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21383 /* end confdefs.h. */
21384 #include <math.h>
21385 #ifdef HAVE_IEEEFP_H
21386 #include <ieeefp.h>
21387 #endif
21390 main ()
21392 _fpclass(0);
21394 return 0;
21396 _ACEOF
21397 if ac_fn_cxx_try_compile "$LINENO"; then :
21398 glibcxx_cv_func__fpclass_use=yes
21399 else
21400 glibcxx_cv_func__fpclass_use=no
21402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 ac_ext=c
21404 ac_cpp='$CPP $CPPFLAGS'
21405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21414 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21416 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21417 for ac_func in _fpclass
21418 do :
21419 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21420 if test "x$ac_cv_func__fpclass" = x""yes; then :
21421 cat >>confdefs.h <<_ACEOF
21422 #define HAVE__FPCLASS 1
21423 _ACEOF
21426 done
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21436 $as_echo_n "checking for qfpclass declaration... " >&6; }
21437 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21438 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21439 $as_echo_n "(cached) " >&6
21440 else
21443 ac_ext=cpp
21444 ac_cpp='$CXXCPP $CPPFLAGS'
21445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21450 /* end confdefs.h. */
21451 #include <math.h>
21452 #ifdef HAVE_IEEEFP_H
21453 #include <ieeefp.h>
21454 #endif
21457 main ()
21459 qfpclass(0);
21461 return 0;
21463 _ACEOF
21464 if ac_fn_cxx_try_compile "$LINENO"; then :
21465 glibcxx_cv_func_qfpclass_use=yes
21466 else
21467 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
21481 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21483 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21484 for ac_func in qfpclass
21485 do :
21486 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21487 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21488 cat >>confdefs.h <<_ACEOF
21489 #define HAVE_QFPCLASS 1
21490 _ACEOF
21493 done
21495 else
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21498 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21499 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21500 if test "${glibcxx_cv_func__qfpclass_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>
21514 #ifdef HAVE_IEEEFP_H
21515 #include <ieeefp.h>
21516 #endif
21519 main ()
21521 _qfpclass(0);
21523 return 0;
21525 _ACEOF
21526 if ac_fn_cxx_try_compile "$LINENO"; then :
21527 glibcxx_cv_func__qfpclass_use=yes
21528 else
21529 glibcxx_cv_func__qfpclass_use=no
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 ac_ext=c
21533 ac_cpp='$CPP $CPPFLAGS'
21534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21543 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21545 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21546 for ac_func in _qfpclass
21547 do :
21548 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21549 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21550 cat >>confdefs.h <<_ACEOF
21551 #define HAVE__QFPCLASS 1
21552 _ACEOF
21555 done
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21565 $as_echo_n "checking for hypot declaration... " >&6; }
21566 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21567 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21568 $as_echo_n "(cached) " >&6
21569 else
21572 ac_ext=cpp
21573 ac_cpp='$CXXCPP $CPPFLAGS'
21574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21579 /* end confdefs.h. */
21580 #include <math.h>
21582 main ()
21584 hypot(0, 0);
21586 return 0;
21588 _ACEOF
21589 if ac_fn_cxx_try_compile "$LINENO"; then :
21590 glibcxx_cv_func_hypot_use=yes
21591 else
21592 glibcxx_cv_func_hypot_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_hypot_use" >&5
21606 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21608 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21609 for ac_func in hypot
21610 do :
21611 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21612 if test "x$ac_cv_func_hypot" = x""yes; then :
21613 cat >>confdefs.h <<_ACEOF
21614 #define HAVE_HYPOT 1
21615 _ACEOF
21618 done
21620 else
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21623 $as_echo_n "checking for _hypot declaration... " >&6; }
21624 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21625 if test "${glibcxx_cv_func__hypot_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>
21640 main ()
21642 _hypot(0, 0);
21644 return 0;
21646 _ACEOF
21647 if ac_fn_cxx_try_compile "$LINENO"; then :
21648 glibcxx_cv_func__hypot_use=yes
21649 else
21650 glibcxx_cv_func__hypot_use=no
21652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21653 ac_ext=c
21654 ac_cpp='$CPP $CPPFLAGS'
21655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21664 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21666 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21667 for ac_func in _hypot
21668 do :
21669 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21670 if test "x$ac_cv_func__hypot" = x""yes; then :
21671 cat >>confdefs.h <<_ACEOF
21672 #define HAVE__HYPOT 1
21673 _ACEOF
21676 done
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21686 $as_echo_n "checking for float trig functions... " >&6; }
21687 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21688 $as_echo_n "(cached) " >&6
21689 else
21692 ac_ext=cpp
21693 ac_cpp='$CXXCPP $CPPFLAGS'
21694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21699 /* end confdefs.h. */
21700 #include <math.h>
21702 main ()
21704 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21706 return 0;
21708 _ACEOF
21709 if ac_fn_cxx_try_compile "$LINENO"; then :
21710 glibcxx_cv_func_float_trig_use=yes
21711 else
21712 glibcxx_cv_func_float_trig_use=no
21714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21715 ac_ext=c
21716 ac_cpp='$CPP $CPPFLAGS'
21717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21724 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21725 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21726 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21727 do :
21728 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21729 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21730 eval as_val=\$$as_ac_var
21731 if test "x$as_val" = x""yes; then :
21732 cat >>confdefs.h <<_ACEOF
21733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21734 _ACEOF
21737 done
21739 else
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21741 $as_echo_n "checking for _float trig functions... " >&6; }
21742 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21743 $as_echo_n "(cached) " >&6
21744 else
21747 ac_ext=cpp
21748 ac_cpp='$CXXCPP $CPPFLAGS'
21749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h. */
21755 #include <math.h>
21757 main ()
21759 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21761 return 0;
21763 _ACEOF
21764 if ac_fn_cxx_try_compile "$LINENO"; then :
21765 glibcxx_cv_func__float_trig_use=yes
21766 else
21767 glibcxx_cv_func__float_trig_use=no
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21770 ac_ext=c
21771 ac_cpp='$CPP $CPPFLAGS'
21772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21779 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21780 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21781 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21782 do :
21783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21785 eval as_val=\$$as_ac_var
21786 if test "x$as_val" = x""yes; then :
21787 cat >>confdefs.h <<_ACEOF
21788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21789 _ACEOF
21792 done
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21802 $as_echo_n "checking for float round functions... " >&6; }
21803 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21805 else
21808 ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h. */
21816 #include <math.h>
21818 main ()
21820 ceilf (0); floorf (0);
21822 return 0;
21824 _ACEOF
21825 if ac_fn_cxx_try_compile "$LINENO"; then :
21826 glibcxx_cv_func_float_round_use=yes
21827 else
21828 glibcxx_cv_func_float_round_use=no
21830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21831 ac_ext=c
21832 ac_cpp='$CPP $CPPFLAGS'
21833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21840 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21841 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21842 for ac_func in ceilf floorf
21843 do :
21844 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21846 eval as_val=\$$as_ac_var
21847 if test "x$as_val" = x""yes; then :
21848 cat >>confdefs.h <<_ACEOF
21849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21850 _ACEOF
21853 done
21855 else
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21857 $as_echo_n "checking for _float round functions... " >&6; }
21858 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21859 $as_echo_n "(cached) " >&6
21860 else
21863 ac_ext=cpp
21864 ac_cpp='$CXXCPP $CPPFLAGS'
21865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21871 #include <math.h>
21873 main ()
21875 _ceilf (0); _floorf (0);
21877 return 0;
21879 _ACEOF
21880 if ac_fn_cxx_try_compile "$LINENO"; then :
21881 glibcxx_cv_func__float_round_use=yes
21882 else
21883 glibcxx_cv_func__float_round_use=no
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 ac_ext=c
21887 ac_cpp='$CPP $CPPFLAGS'
21888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21895 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21896 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21897 for ac_func in _ceilf _floorf
21898 do :
21899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21901 eval as_val=\$$as_ac_var
21902 if test "x$as_val" = x""yes; then :
21903 cat >>confdefs.h <<_ACEOF
21904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21905 _ACEOF
21908 done
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21919 $as_echo_n "checking for expf declaration... " >&6; }
21920 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21921 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21922 $as_echo_n "(cached) " >&6
21923 else
21926 ac_ext=cpp
21927 ac_cpp='$CXXCPP $CPPFLAGS'
21928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21933 /* end confdefs.h. */
21934 #include <math.h>
21935 #ifdef HAVE_IEEEFP_H
21936 #include <ieeefp.h>
21937 #endif
21940 main ()
21942 expf(0);
21944 return 0;
21946 _ACEOF
21947 if ac_fn_cxx_try_compile "$LINENO"; then :
21948 glibcxx_cv_func_expf_use=yes
21949 else
21950 glibcxx_cv_func_expf_use=no
21952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21953 ac_ext=c
21954 ac_cpp='$CPP $CPPFLAGS'
21955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21964 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21966 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21967 for ac_func in expf
21968 do :
21969 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21970 if test "x$ac_cv_func_expf" = x""yes; then :
21971 cat >>confdefs.h <<_ACEOF
21972 #define HAVE_EXPF 1
21973 _ACEOF
21976 done
21978 else
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21981 $as_echo_n "checking for _expf declaration... " >&6; }
21982 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21983 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21984 $as_echo_n "(cached) " >&6
21985 else
21988 ac_ext=cpp
21989 ac_cpp='$CXXCPP $CPPFLAGS'
21990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21995 /* end confdefs.h. */
21996 #include <math.h>
21997 #ifdef HAVE_IEEEFP_H
21998 #include <ieeefp.h>
21999 #endif
22002 main ()
22004 _expf(0);
22006 return 0;
22008 _ACEOF
22009 if ac_fn_cxx_try_compile "$LINENO"; then :
22010 glibcxx_cv_func__expf_use=yes
22011 else
22012 glibcxx_cv_func__expf_use=no
22014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22015 ac_ext=c
22016 ac_cpp='$CPP $CPPFLAGS'
22017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22026 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22028 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22029 for ac_func in _expf
22030 do :
22031 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22032 if test "x$ac_cv_func__expf" = x""yes; then :
22033 cat >>confdefs.h <<_ACEOF
22034 #define HAVE__EXPF 1
22035 _ACEOF
22038 done
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22048 $as_echo_n "checking for isnanf declaration... " >&6; }
22049 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22050 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22051 $as_echo_n "(cached) " >&6
22052 else
22055 ac_ext=cpp
22056 ac_cpp='$CXXCPP $CPPFLAGS'
22057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22062 /* end confdefs.h. */
22063 #include <math.h>
22064 #ifdef HAVE_IEEEFP_H
22065 #include <ieeefp.h>
22066 #endif
22069 main ()
22071 isnanf(0);
22073 return 0;
22075 _ACEOF
22076 if ac_fn_cxx_try_compile "$LINENO"; then :
22077 glibcxx_cv_func_isnanf_use=yes
22078 else
22079 glibcxx_cv_func_isnanf_use=no
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 ac_ext=c
22083 ac_cpp='$CPP $CPPFLAGS'
22084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22093 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22095 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22096 for ac_func in isnanf
22097 do :
22098 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22099 if test "x$ac_cv_func_isnanf" = x""yes; then :
22100 cat >>confdefs.h <<_ACEOF
22101 #define HAVE_ISNANF 1
22102 _ACEOF
22105 done
22107 else
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22110 $as_echo_n "checking for _isnanf declaration... " >&6; }
22111 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22112 if test "${glibcxx_cv_func__isnanf_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>
22126 #ifdef HAVE_IEEEFP_H
22127 #include <ieeefp.h>
22128 #endif
22131 main ()
22133 _isnanf(0);
22135 return 0;
22137 _ACEOF
22138 if ac_fn_cxx_try_compile "$LINENO"; then :
22139 glibcxx_cv_func__isnanf_use=yes
22140 else
22141 glibcxx_cv_func__isnanf_use=no
22143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22144 ac_ext=c
22145 ac_cpp='$CPP $CPPFLAGS'
22146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22155 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22157 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22158 for ac_func in _isnanf
22159 do :
22160 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22161 if test "x$ac_cv_func__isnanf" = x""yes; then :
22162 cat >>confdefs.h <<_ACEOF
22163 #define HAVE__ISNANF 1
22164 _ACEOF
22167 done
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22177 $as_echo_n "checking for isinff declaration... " >&6; }
22178 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22179 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22180 $as_echo_n "(cached) " >&6
22181 else
22184 ac_ext=cpp
22185 ac_cpp='$CXXCPP $CPPFLAGS'
22186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22191 /* end confdefs.h. */
22192 #include <math.h>
22193 #ifdef HAVE_IEEEFP_H
22194 #include <ieeefp.h>
22195 #endif
22198 main ()
22200 isinff(0);
22202 return 0;
22204 _ACEOF
22205 if ac_fn_cxx_try_compile "$LINENO"; then :
22206 glibcxx_cv_func_isinff_use=yes
22207 else
22208 glibcxx_cv_func_isinff_use=no
22210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22211 ac_ext=c
22212 ac_cpp='$CPP $CPPFLAGS'
22213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22222 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22224 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22225 for ac_func in isinff
22226 do :
22227 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22228 if test "x$ac_cv_func_isinff" = x""yes; then :
22229 cat >>confdefs.h <<_ACEOF
22230 #define HAVE_ISINFF 1
22231 _ACEOF
22234 done
22236 else
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22239 $as_echo_n "checking for _isinff declaration... " >&6; }
22240 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22241 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22242 $as_echo_n "(cached) " >&6
22243 else
22246 ac_ext=cpp
22247 ac_cpp='$CXXCPP $CPPFLAGS'
22248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22253 /* end confdefs.h. */
22254 #include <math.h>
22255 #ifdef HAVE_IEEEFP_H
22256 #include <ieeefp.h>
22257 #endif
22260 main ()
22262 _isinff(0);
22264 return 0;
22266 _ACEOF
22267 if ac_fn_cxx_try_compile "$LINENO"; then :
22268 glibcxx_cv_func__isinff_use=yes
22269 else
22270 glibcxx_cv_func__isinff_use=no
22272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 ac_ext=c
22274 ac_cpp='$CPP $CPPFLAGS'
22275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22284 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22286 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22287 for ac_func in _isinff
22288 do :
22289 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22290 if test "x$ac_cv_func__isinff" = x""yes; then :
22291 cat >>confdefs.h <<_ACEOF
22292 #define HAVE__ISINFF 1
22293 _ACEOF
22296 done
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22306 $as_echo_n "checking for atan2f declaration... " >&6; }
22307 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22308 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22309 $as_echo_n "(cached) " >&6
22310 else
22313 ac_ext=cpp
22314 ac_cpp='$CXXCPP $CPPFLAGS'
22315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22320 /* end confdefs.h. */
22321 #include <math.h>
22323 main ()
22325 atan2f(0, 0);
22327 return 0;
22329 _ACEOF
22330 if ac_fn_cxx_try_compile "$LINENO"; then :
22331 glibcxx_cv_func_atan2f_use=yes
22332 else
22333 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
22347 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22349 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22350 for ac_func in atan2f
22351 do :
22352 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22353 if test "x$ac_cv_func_atan2f" = x""yes; then :
22354 cat >>confdefs.h <<_ACEOF
22355 #define HAVE_ATAN2F 1
22356 _ACEOF
22359 done
22361 else
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22364 $as_echo_n "checking for _atan2f declaration... " >&6; }
22365 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22366 if test "${glibcxx_cv_func__atan2f_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>
22381 main ()
22383 _atan2f(0, 0);
22385 return 0;
22387 _ACEOF
22388 if ac_fn_cxx_try_compile "$LINENO"; then :
22389 glibcxx_cv_func__atan2f_use=yes
22390 else
22391 glibcxx_cv_func__atan2f_use=no
22393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22394 ac_ext=c
22395 ac_cpp='$CPP $CPPFLAGS'
22396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22405 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22407 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22408 for ac_func in _atan2f
22409 do :
22410 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22411 if test "x$ac_cv_func__atan2f" = x""yes; then :
22412 cat >>confdefs.h <<_ACEOF
22413 #define HAVE__ATAN2F 1
22414 _ACEOF
22417 done
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22427 $as_echo_n "checking for fabsf declaration... " >&6; }
22428 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22429 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22430 $as_echo_n "(cached) " >&6
22431 else
22434 ac_ext=cpp
22435 ac_cpp='$CXXCPP $CPPFLAGS'
22436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22442 #include <math.h>
22443 #ifdef HAVE_IEEEFP_H
22444 #include <ieeefp.h>
22445 #endif
22448 main ()
22450 fabsf(0);
22452 return 0;
22454 _ACEOF
22455 if ac_fn_cxx_try_compile "$LINENO"; then :
22456 glibcxx_cv_func_fabsf_use=yes
22457 else
22458 glibcxx_cv_func_fabsf_use=no
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 ac_ext=c
22462 ac_cpp='$CPP $CPPFLAGS'
22463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22472 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22474 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22475 for ac_func in fabsf
22476 do :
22477 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22478 if test "x$ac_cv_func_fabsf" = x""yes; then :
22479 cat >>confdefs.h <<_ACEOF
22480 #define HAVE_FABSF 1
22481 _ACEOF
22484 done
22486 else
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22489 $as_echo_n "checking for _fabsf declaration... " >&6; }
22490 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22491 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22493 else
22496 ac_ext=cpp
22497 ac_cpp='$CXXCPP $CPPFLAGS'
22498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22503 /* end confdefs.h. */
22504 #include <math.h>
22505 #ifdef HAVE_IEEEFP_H
22506 #include <ieeefp.h>
22507 #endif
22510 main ()
22512 _fabsf(0);
22514 return 0;
22516 _ACEOF
22517 if ac_fn_cxx_try_compile "$LINENO"; then :
22518 glibcxx_cv_func__fabsf_use=yes
22519 else
22520 glibcxx_cv_func__fabsf_use=no
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 ac_ext=c
22524 ac_cpp='$CPP $CPPFLAGS'
22525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22534 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22536 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22537 for ac_func in _fabsf
22538 do :
22539 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22540 if test "x$ac_cv_func__fabsf" = x""yes; then :
22541 cat >>confdefs.h <<_ACEOF
22542 #define HAVE__FABSF 1
22543 _ACEOF
22546 done
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22556 $as_echo_n "checking for fmodf declaration... " >&6; }
22557 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22558 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22559 $as_echo_n "(cached) " >&6
22560 else
22563 ac_ext=cpp
22564 ac_cpp='$CXXCPP $CPPFLAGS'
22565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22571 #include <math.h>
22573 main ()
22575 fmodf(0, 0);
22577 return 0;
22579 _ACEOF
22580 if ac_fn_cxx_try_compile "$LINENO"; then :
22581 glibcxx_cv_func_fmodf_use=yes
22582 else
22583 glibcxx_cv_func_fmodf_use=no
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22586 ac_ext=c
22587 ac_cpp='$CPP $CPPFLAGS'
22588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22597 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22599 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22600 for ac_func in fmodf
22601 do :
22602 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22603 if test "x$ac_cv_func_fmodf" = x""yes; then :
22604 cat >>confdefs.h <<_ACEOF
22605 #define HAVE_FMODF 1
22606 _ACEOF
22609 done
22611 else
22613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22614 $as_echo_n "checking for _fmodf declaration... " >&6; }
22615 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22616 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22617 $as_echo_n "(cached) " >&6
22618 else
22621 ac_ext=cpp
22622 ac_cpp='$CXXCPP $CPPFLAGS'
22623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22628 /* end confdefs.h. */
22629 #include <math.h>
22631 main ()
22633 _fmodf(0, 0);
22635 return 0;
22637 _ACEOF
22638 if ac_fn_cxx_try_compile "$LINENO"; then :
22639 glibcxx_cv_func__fmodf_use=yes
22640 else
22641 glibcxx_cv_func__fmodf_use=no
22643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22644 ac_ext=c
22645 ac_cpp='$CPP $CPPFLAGS'
22646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22655 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22657 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22658 for ac_func in _fmodf
22659 do :
22660 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22661 if test "x$ac_cv_func__fmodf" = x""yes; then :
22662 cat >>confdefs.h <<_ACEOF
22663 #define HAVE__FMODF 1
22664 _ACEOF
22667 done
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22677 $as_echo_n "checking for frexpf declaration... " >&6; }
22678 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22679 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22680 $as_echo_n "(cached) " >&6
22681 else
22684 ac_ext=cpp
22685 ac_cpp='$CXXCPP $CPPFLAGS'
22686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22691 /* end confdefs.h. */
22692 #include <math.h>
22694 main ()
22696 frexpf(0, 0);
22698 return 0;
22700 _ACEOF
22701 if ac_fn_cxx_try_compile "$LINENO"; then :
22702 glibcxx_cv_func_frexpf_use=yes
22703 else
22704 glibcxx_cv_func_frexpf_use=no
22706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22707 ac_ext=c
22708 ac_cpp='$CPP $CPPFLAGS'
22709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22718 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22720 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22721 for ac_func in frexpf
22722 do :
22723 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22724 if test "x$ac_cv_func_frexpf" = x""yes; then :
22725 cat >>confdefs.h <<_ACEOF
22726 #define HAVE_FREXPF 1
22727 _ACEOF
22730 done
22732 else
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22735 $as_echo_n "checking for _frexpf declaration... " >&6; }
22736 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22737 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22738 $as_echo_n "(cached) " >&6
22739 else
22742 ac_ext=cpp
22743 ac_cpp='$CXXCPP $CPPFLAGS'
22744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22749 /* end confdefs.h. */
22750 #include <math.h>
22752 main ()
22754 _frexpf(0, 0);
22756 return 0;
22758 _ACEOF
22759 if ac_fn_cxx_try_compile "$LINENO"; then :
22760 glibcxx_cv_func__frexpf_use=yes
22761 else
22762 glibcxx_cv_func__frexpf_use=no
22764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22765 ac_ext=c
22766 ac_cpp='$CPP $CPPFLAGS'
22767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22776 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22778 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22779 for ac_func in _frexpf
22780 do :
22781 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22782 if test "x$ac_cv_func__frexpf" = x""yes; then :
22783 cat >>confdefs.h <<_ACEOF
22784 #define HAVE__FREXPF 1
22785 _ACEOF
22788 done
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22798 $as_echo_n "checking for hypotf declaration... " >&6; }
22799 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22800 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22801 $as_echo_n "(cached) " >&6
22802 else
22805 ac_ext=cpp
22806 ac_cpp='$CXXCPP $CPPFLAGS'
22807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22812 /* end confdefs.h. */
22813 #include <math.h>
22815 main ()
22817 hypotf(0, 0);
22819 return 0;
22821 _ACEOF
22822 if ac_fn_cxx_try_compile "$LINENO"; then :
22823 glibcxx_cv_func_hypotf_use=yes
22824 else
22825 glibcxx_cv_func_hypotf_use=no
22827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22828 ac_ext=c
22829 ac_cpp='$CPP $CPPFLAGS'
22830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22839 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22841 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22842 for ac_func in hypotf
22843 do :
22844 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22845 if test "x$ac_cv_func_hypotf" = x""yes; then :
22846 cat >>confdefs.h <<_ACEOF
22847 #define HAVE_HYPOTF 1
22848 _ACEOF
22851 done
22853 else
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22856 $as_echo_n "checking for _hypotf declaration... " >&6; }
22857 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22858 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22859 $as_echo_n "(cached) " >&6
22860 else
22863 ac_ext=cpp
22864 ac_cpp='$CXXCPP $CPPFLAGS'
22865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22870 /* end confdefs.h. */
22871 #include <math.h>
22873 main ()
22875 _hypotf(0, 0);
22877 return 0;
22879 _ACEOF
22880 if ac_fn_cxx_try_compile "$LINENO"; then :
22881 glibcxx_cv_func__hypotf_use=yes
22882 else
22883 glibcxx_cv_func__hypotf_use=no
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 ac_ext=c
22887 ac_cpp='$CPP $CPPFLAGS'
22888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22897 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22899 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22900 for ac_func in _hypotf
22901 do :
22902 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22903 if test "x$ac_cv_func__hypotf" = x""yes; then :
22904 cat >>confdefs.h <<_ACEOF
22905 #define HAVE__HYPOTF 1
22906 _ACEOF
22909 done
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22919 $as_echo_n "checking for ldexpf declaration... " >&6; }
22920 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22921 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22922 $as_echo_n "(cached) " >&6
22923 else
22926 ac_ext=cpp
22927 ac_cpp='$CXXCPP $CPPFLAGS'
22928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22933 /* end confdefs.h. */
22934 #include <math.h>
22936 main ()
22938 ldexpf(0, 0);
22940 return 0;
22942 _ACEOF
22943 if ac_fn_cxx_try_compile "$LINENO"; then :
22944 glibcxx_cv_func_ldexpf_use=yes
22945 else
22946 glibcxx_cv_func_ldexpf_use=no
22948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 ac_ext=c
22950 ac_cpp='$CPP $CPPFLAGS'
22951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22960 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22962 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22963 for ac_func in ldexpf
22964 do :
22965 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22966 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22967 cat >>confdefs.h <<_ACEOF
22968 #define HAVE_LDEXPF 1
22969 _ACEOF
22972 done
22974 else
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22977 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22978 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22979 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22980 $as_echo_n "(cached) " >&6
22981 else
22984 ac_ext=cpp
22985 ac_cpp='$CXXCPP $CPPFLAGS'
22986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22991 /* end confdefs.h. */
22992 #include <math.h>
22994 main ()
22996 _ldexpf(0, 0);
22998 return 0;
23000 _ACEOF
23001 if ac_fn_cxx_try_compile "$LINENO"; then :
23002 glibcxx_cv_func__ldexpf_use=yes
23003 else
23004 glibcxx_cv_func__ldexpf_use=no
23006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23007 ac_ext=c
23008 ac_cpp='$CPP $CPPFLAGS'
23009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23018 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23020 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23021 for ac_func in _ldexpf
23022 do :
23023 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23024 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23025 cat >>confdefs.h <<_ACEOF
23026 #define HAVE__LDEXPF 1
23027 _ACEOF
23030 done
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23040 $as_echo_n "checking for logf declaration... " >&6; }
23041 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23042 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23043 $as_echo_n "(cached) " >&6
23044 else
23047 ac_ext=cpp
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23054 /* end confdefs.h. */
23055 #include <math.h>
23056 #ifdef HAVE_IEEEFP_H
23057 #include <ieeefp.h>
23058 #endif
23061 main ()
23063 logf(0);
23065 return 0;
23067 _ACEOF
23068 if ac_fn_cxx_try_compile "$LINENO"; then :
23069 glibcxx_cv_func_logf_use=yes
23070 else
23071 glibcxx_cv_func_logf_use=no
23073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 ac_ext=c
23075 ac_cpp='$CPP $CPPFLAGS'
23076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23085 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23087 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23088 for ac_func in logf
23089 do :
23090 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23091 if test "x$ac_cv_func_logf" = x""yes; then :
23092 cat >>confdefs.h <<_ACEOF
23093 #define HAVE_LOGF 1
23094 _ACEOF
23097 done
23099 else
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23102 $as_echo_n "checking for _logf declaration... " >&6; }
23103 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23104 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23105 $as_echo_n "(cached) " >&6
23106 else
23109 ac_ext=cpp
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23116 /* end confdefs.h. */
23117 #include <math.h>
23118 #ifdef HAVE_IEEEFP_H
23119 #include <ieeefp.h>
23120 #endif
23123 main ()
23125 _logf(0);
23127 return 0;
23129 _ACEOF
23130 if ac_fn_cxx_try_compile "$LINENO"; then :
23131 glibcxx_cv_func__logf_use=yes
23132 else
23133 glibcxx_cv_func__logf_use=no
23135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23136 ac_ext=c
23137 ac_cpp='$CPP $CPPFLAGS'
23138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23147 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23149 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23150 for ac_func in _logf
23151 do :
23152 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23153 if test "x$ac_cv_func__logf" = x""yes; then :
23154 cat >>confdefs.h <<_ACEOF
23155 #define HAVE__LOGF 1
23156 _ACEOF
23159 done
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23169 $as_echo_n "checking for log10f declaration... " >&6; }
23170 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23171 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23172 $as_echo_n "(cached) " >&6
23173 else
23176 ac_ext=cpp
23177 ac_cpp='$CXXCPP $CPPFLAGS'
23178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23183 /* end confdefs.h. */
23184 #include <math.h>
23185 #ifdef HAVE_IEEEFP_H
23186 #include <ieeefp.h>
23187 #endif
23190 main ()
23192 log10f(0);
23194 return 0;
23196 _ACEOF
23197 if ac_fn_cxx_try_compile "$LINENO"; then :
23198 glibcxx_cv_func_log10f_use=yes
23199 else
23200 glibcxx_cv_func_log10f_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_log10f_use" >&5
23214 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23216 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23217 for ac_func in log10f
23218 do :
23219 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23220 if test "x$ac_cv_func_log10f" = x""yes; then :
23221 cat >>confdefs.h <<_ACEOF
23222 #define HAVE_LOG10F 1
23223 _ACEOF
23226 done
23228 else
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23231 $as_echo_n "checking for _log10f declaration... " >&6; }
23232 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23233 if test "${glibcxx_cv_func__log10f_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>
23247 #ifdef HAVE_IEEEFP_H
23248 #include <ieeefp.h>
23249 #endif
23252 main ()
23254 _log10f(0);
23256 return 0;
23258 _ACEOF
23259 if ac_fn_cxx_try_compile "$LINENO"; then :
23260 glibcxx_cv_func__log10f_use=yes
23261 else
23262 glibcxx_cv_func__log10f_use=no
23264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23265 ac_ext=c
23266 ac_cpp='$CPP $CPPFLAGS'
23267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23276 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23278 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23279 for ac_func in _log10f
23280 do :
23281 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23282 if test "x$ac_cv_func__log10f" = x""yes; then :
23283 cat >>confdefs.h <<_ACEOF
23284 #define HAVE__LOG10F 1
23285 _ACEOF
23288 done
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23298 $as_echo_n "checking for modff declaration... " >&6; }
23299 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23300 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23301 $as_echo_n "(cached) " >&6
23302 else
23305 ac_ext=cpp
23306 ac_cpp='$CXXCPP $CPPFLAGS'
23307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23313 #include <math.h>
23315 main ()
23317 modff(0, 0);
23319 return 0;
23321 _ACEOF
23322 if ac_fn_cxx_try_compile "$LINENO"; then :
23323 glibcxx_cv_func_modff_use=yes
23324 else
23325 glibcxx_cv_func_modff_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_modff_use" >&5
23339 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23341 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23342 for ac_func in modff
23343 do :
23344 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23345 if test "x$ac_cv_func_modff" = x""yes; then :
23346 cat >>confdefs.h <<_ACEOF
23347 #define HAVE_MODFF 1
23348 _ACEOF
23351 done
23353 else
23355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23356 $as_echo_n "checking for _modff declaration... " >&6; }
23357 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23358 if test "${glibcxx_cv_func__modff_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>
23373 main ()
23375 _modff(0, 0);
23377 return 0;
23379 _ACEOF
23380 if ac_fn_cxx_try_compile "$LINENO"; then :
23381 glibcxx_cv_func__modff_use=yes
23382 else
23383 glibcxx_cv_func__modff_use=no
23385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 ac_ext=c
23387 ac_cpp='$CPP $CPPFLAGS'
23388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23397 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23399 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23400 for ac_func in _modff
23401 do :
23402 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23403 if test "x$ac_cv_func__modff" = x""yes; then :
23404 cat >>confdefs.h <<_ACEOF
23405 #define HAVE__MODFF 1
23406 _ACEOF
23409 done
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23419 $as_echo_n "checking for modf declaration... " >&6; }
23420 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23421 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23422 $as_echo_n "(cached) " >&6
23423 else
23426 ac_ext=cpp
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23434 #include <math.h>
23436 main ()
23438 modf(0, 0);
23440 return 0;
23442 _ACEOF
23443 if ac_fn_cxx_try_compile "$LINENO"; then :
23444 glibcxx_cv_func_modf_use=yes
23445 else
23446 glibcxx_cv_func_modf_use=no
23448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23449 ac_ext=c
23450 ac_cpp='$CPP $CPPFLAGS'
23451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23460 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23462 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23463 for ac_func in modf
23464 do :
23465 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23466 if test "x$ac_cv_func_modf" = x""yes; then :
23467 cat >>confdefs.h <<_ACEOF
23468 #define HAVE_MODF 1
23469 _ACEOF
23472 done
23474 else
23476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23477 $as_echo_n "checking for _modf declaration... " >&6; }
23478 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23479 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23480 $as_echo_n "(cached) " >&6
23481 else
23484 ac_ext=cpp
23485 ac_cpp='$CXXCPP $CPPFLAGS'
23486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h. */
23492 #include <math.h>
23494 main ()
23496 _modf(0, 0);
23498 return 0;
23500 _ACEOF
23501 if ac_fn_cxx_try_compile "$LINENO"; then :
23502 glibcxx_cv_func__modf_use=yes
23503 else
23504 glibcxx_cv_func__modf_use=no
23506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23507 ac_ext=c
23508 ac_cpp='$CPP $CPPFLAGS'
23509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23518 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23520 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23521 for ac_func in _modf
23522 do :
23523 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23524 if test "x$ac_cv_func__modf" = x""yes; then :
23525 cat >>confdefs.h <<_ACEOF
23526 #define HAVE__MODF 1
23527 _ACEOF
23530 done
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23540 $as_echo_n "checking for powf declaration... " >&6; }
23541 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23542 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23543 $as_echo_n "(cached) " >&6
23544 else
23547 ac_ext=cpp
23548 ac_cpp='$CXXCPP $CPPFLAGS'
23549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23554 /* end confdefs.h. */
23555 #include <math.h>
23557 main ()
23559 powf(0, 0);
23561 return 0;
23563 _ACEOF
23564 if ac_fn_cxx_try_compile "$LINENO"; then :
23565 glibcxx_cv_func_powf_use=yes
23566 else
23567 glibcxx_cv_func_powf_use=no
23569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23570 ac_ext=c
23571 ac_cpp='$CPP $CPPFLAGS'
23572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23581 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23583 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23584 for ac_func in powf
23585 do :
23586 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23587 if test "x$ac_cv_func_powf" = x""yes; then :
23588 cat >>confdefs.h <<_ACEOF
23589 #define HAVE_POWF 1
23590 _ACEOF
23593 done
23595 else
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23598 $as_echo_n "checking for _powf declaration... " >&6; }
23599 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23600 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23601 $as_echo_n "(cached) " >&6
23602 else
23605 ac_ext=cpp
23606 ac_cpp='$CXXCPP $CPPFLAGS'
23607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23612 /* end confdefs.h. */
23613 #include <math.h>
23615 main ()
23617 _powf(0, 0);
23619 return 0;
23621 _ACEOF
23622 if ac_fn_cxx_try_compile "$LINENO"; then :
23623 glibcxx_cv_func__powf_use=yes
23624 else
23625 glibcxx_cv_func__powf_use=no
23627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23628 ac_ext=c
23629 ac_cpp='$CPP $CPPFLAGS'
23630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23639 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23641 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23642 for ac_func in _powf
23643 do :
23644 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23645 if test "x$ac_cv_func__powf" = x""yes; then :
23646 cat >>confdefs.h <<_ACEOF
23647 #define HAVE__POWF 1
23648 _ACEOF
23651 done
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23661 $as_echo_n "checking for sqrtf declaration... " >&6; }
23662 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23663 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23664 $as_echo_n "(cached) " >&6
23665 else
23668 ac_ext=cpp
23669 ac_cpp='$CXXCPP $CPPFLAGS'
23670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23675 /* end confdefs.h. */
23676 #include <math.h>
23677 #ifdef HAVE_IEEEFP_H
23678 #include <ieeefp.h>
23679 #endif
23682 main ()
23684 sqrtf(0);
23686 return 0;
23688 _ACEOF
23689 if ac_fn_cxx_try_compile "$LINENO"; then :
23690 glibcxx_cv_func_sqrtf_use=yes
23691 else
23692 glibcxx_cv_func_sqrtf_use=no
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23695 ac_ext=c
23696 ac_cpp='$CPP $CPPFLAGS'
23697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23706 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23708 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23709 for ac_func in sqrtf
23710 do :
23711 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23712 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23713 cat >>confdefs.h <<_ACEOF
23714 #define HAVE_SQRTF 1
23715 _ACEOF
23718 done
23720 else
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23723 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23724 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23725 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23726 $as_echo_n "(cached) " >&6
23727 else
23730 ac_ext=cpp
23731 ac_cpp='$CXXCPP $CPPFLAGS'
23732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23737 /* end confdefs.h. */
23738 #include <math.h>
23739 #ifdef HAVE_IEEEFP_H
23740 #include <ieeefp.h>
23741 #endif
23744 main ()
23746 _sqrtf(0);
23748 return 0;
23750 _ACEOF
23751 if ac_fn_cxx_try_compile "$LINENO"; then :
23752 glibcxx_cv_func__sqrtf_use=yes
23753 else
23754 glibcxx_cv_func__sqrtf_use=no
23756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23757 ac_ext=c
23758 ac_cpp='$CPP $CPPFLAGS'
23759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23768 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23770 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23771 for ac_func in _sqrtf
23772 do :
23773 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23774 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23775 cat >>confdefs.h <<_ACEOF
23776 #define HAVE__SQRTF 1
23777 _ACEOF
23780 done
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23790 $as_echo_n "checking for sincosf declaration... " >&6; }
23791 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23792 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23793 $as_echo_n "(cached) " >&6
23794 else
23797 ac_ext=cpp
23798 ac_cpp='$CXXCPP $CPPFLAGS'
23799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23804 /* end confdefs.h. */
23805 #include <math.h>
23807 main ()
23809 sincosf(0, 0, 0);
23811 return 0;
23813 _ACEOF
23814 if ac_fn_cxx_try_compile "$LINENO"; then :
23815 glibcxx_cv_func_sincosf_use=yes
23816 else
23817 glibcxx_cv_func_sincosf_use=no
23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23820 ac_ext=c
23821 ac_cpp='$CPP $CPPFLAGS'
23822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23831 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23833 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23834 for ac_func in sincosf
23835 do :
23836 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23837 if test "x$ac_cv_func_sincosf" = x""yes; then :
23838 cat >>confdefs.h <<_ACEOF
23839 #define HAVE_SINCOSF 1
23840 _ACEOF
23843 done
23845 else
23847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23848 $as_echo_n "checking for _sincosf declaration... " >&6; }
23849 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23850 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23851 $as_echo_n "(cached) " >&6
23852 else
23855 ac_ext=cpp
23856 ac_cpp='$CXXCPP $CPPFLAGS'
23857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23862 /* end confdefs.h. */
23863 #include <math.h>
23865 main ()
23867 _sincosf(0, 0, 0);
23869 return 0;
23871 _ACEOF
23872 if ac_fn_cxx_try_compile "$LINENO"; then :
23873 glibcxx_cv_func__sincosf_use=yes
23874 else
23875 glibcxx_cv_func__sincosf_use=no
23877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23878 ac_ext=c
23879 ac_cpp='$CPP $CPPFLAGS'
23880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23889 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23891 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23892 for ac_func in _sincosf
23893 do :
23894 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23895 if test "x$ac_cv_func__sincosf" = x""yes; then :
23896 cat >>confdefs.h <<_ACEOF
23897 #define HAVE__SINCOSF 1
23898 _ACEOF
23901 done
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23911 $as_echo_n "checking for finitef declaration... " >&6; }
23912 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23913 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23914 $as_echo_n "(cached) " >&6
23915 else
23918 ac_ext=cpp
23919 ac_cpp='$CXXCPP $CPPFLAGS'
23920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23925 /* end confdefs.h. */
23926 #include <math.h>
23927 #ifdef HAVE_IEEEFP_H
23928 #include <ieeefp.h>
23929 #endif
23932 main ()
23934 finitef(0);
23936 return 0;
23938 _ACEOF
23939 if ac_fn_cxx_try_compile "$LINENO"; then :
23940 glibcxx_cv_func_finitef_use=yes
23941 else
23942 glibcxx_cv_func_finitef_use=no
23944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23945 ac_ext=c
23946 ac_cpp='$CPP $CPPFLAGS'
23947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23956 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23958 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23959 for ac_func in finitef
23960 do :
23961 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23962 if test "x$ac_cv_func_finitef" = x""yes; then :
23963 cat >>confdefs.h <<_ACEOF
23964 #define HAVE_FINITEF 1
23965 _ACEOF
23968 done
23970 else
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23973 $as_echo_n "checking for _finitef declaration... " >&6; }
23974 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23975 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23976 $as_echo_n "(cached) " >&6
23977 else
23980 ac_ext=cpp
23981 ac_cpp='$CXXCPP $CPPFLAGS'
23982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23987 /* end confdefs.h. */
23988 #include <math.h>
23989 #ifdef HAVE_IEEEFP_H
23990 #include <ieeefp.h>
23991 #endif
23994 main ()
23996 _finitef(0);
23998 return 0;
24000 _ACEOF
24001 if ac_fn_cxx_try_compile "$LINENO"; then :
24002 glibcxx_cv_func__finitef_use=yes
24003 else
24004 glibcxx_cv_func__finitef_use=no
24006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24007 ac_ext=c
24008 ac_cpp='$CPP $CPPFLAGS'
24009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24018 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24020 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24021 for ac_func in _finitef
24022 do :
24023 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24024 if test "x$ac_cv_func__finitef" = x""yes; then :
24025 cat >>confdefs.h <<_ACEOF
24026 #define HAVE__FINITEF 1
24027 _ACEOF
24030 done
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24040 $as_echo_n "checking for long double trig functions... " >&6; }
24041 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24042 $as_echo_n "(cached) " >&6
24043 else
24046 ac_ext=cpp
24047 ac_cpp='$CXXCPP $CPPFLAGS'
24048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24053 /* end confdefs.h. */
24054 #include <math.h>
24056 main ()
24058 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24060 return 0;
24062 _ACEOF
24063 if ac_fn_cxx_try_compile "$LINENO"; then :
24064 glibcxx_cv_func_long_double_trig_use=yes
24065 else
24066 glibcxx_cv_func_long_double_trig_use=no
24068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24069 ac_ext=c
24070 ac_cpp='$CPP $CPPFLAGS'
24071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24078 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24079 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24080 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24081 do :
24082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24084 eval as_val=\$$as_ac_var
24085 if test "x$as_val" = x""yes; then :
24086 cat >>confdefs.h <<_ACEOF
24087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24088 _ACEOF
24091 done
24093 else
24094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24095 $as_echo_n "checking for _long double trig functions... " >&6; }
24096 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24097 $as_echo_n "(cached) " >&6
24098 else
24101 ac_ext=cpp
24102 ac_cpp='$CXXCPP $CPPFLAGS'
24103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24108 /* end confdefs.h. */
24109 #include <math.h>
24111 main ()
24113 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24115 return 0;
24117 _ACEOF
24118 if ac_fn_cxx_try_compile "$LINENO"; then :
24119 glibcxx_cv_func__long_double_trig_use=yes
24120 else
24121 glibcxx_cv_func__long_double_trig_use=no
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24124 ac_ext=c
24125 ac_cpp='$CPP $CPPFLAGS'
24126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24133 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24134 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24135 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24136 do :
24137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24139 eval as_val=\$$as_ac_var
24140 if test "x$as_val" = x""yes; then :
24141 cat >>confdefs.h <<_ACEOF
24142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24143 _ACEOF
24146 done
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24156 $as_echo_n "checking for long double round functions... " >&6; }
24157 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24172 main ()
24174 ceill (0); floorl (0);
24176 return 0;
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func_long_double_round_use=yes
24181 else
24182 glibcxx_cv_func_long_double_round_use=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24194 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24195 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24196 for ac_func in ceill floorl
24197 do :
24198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24200 eval as_val=\$$as_ac_var
24201 if test "x$as_val" = x""yes; then :
24202 cat >>confdefs.h <<_ACEOF
24203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24204 _ACEOF
24207 done
24209 else
24210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24211 $as_echo_n "checking for _long double round functions... " >&6; }
24212 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24213 $as_echo_n "(cached) " >&6
24214 else
24217 ac_ext=cpp
24218 ac_cpp='$CXXCPP $CPPFLAGS'
24219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24224 /* end confdefs.h. */
24225 #include <math.h>
24227 main ()
24229 _ceill (0); _floorl (0);
24231 return 0;
24233 _ACEOF
24234 if ac_fn_cxx_try_compile "$LINENO"; then :
24235 glibcxx_cv_func__long_double_round_use=yes
24236 else
24237 glibcxx_cv_func__long_double_round_use=no
24239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24240 ac_ext=c
24241 ac_cpp='$CPP $CPPFLAGS'
24242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24249 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24250 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24251 for ac_func in _ceill _floorl
24252 do :
24253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24255 eval as_val=\$$as_ac_var
24256 if test "x$as_val" = x""yes; then :
24257 cat >>confdefs.h <<_ACEOF
24258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24259 _ACEOF
24262 done
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24273 $as_echo_n "checking for isnanl declaration... " >&6; }
24274 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24275 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24276 $as_echo_n "(cached) " >&6
24277 else
24280 ac_ext=cpp
24281 ac_cpp='$CXXCPP $CPPFLAGS'
24282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24287 /* end confdefs.h. */
24288 #include <math.h>
24289 #ifdef HAVE_IEEEFP_H
24290 #include <ieeefp.h>
24291 #endif
24294 main ()
24296 isnanl(0);
24298 return 0;
24300 _ACEOF
24301 if ac_fn_cxx_try_compile "$LINENO"; then :
24302 glibcxx_cv_func_isnanl_use=yes
24303 else
24304 glibcxx_cv_func_isnanl_use=no
24306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24307 ac_ext=c
24308 ac_cpp='$CPP $CPPFLAGS'
24309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24318 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24320 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24321 for ac_func in isnanl
24322 do :
24323 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24324 if test "x$ac_cv_func_isnanl" = x""yes; then :
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_ISNANL 1
24327 _ACEOF
24330 done
24332 else
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24335 $as_echo_n "checking for _isnanl declaration... " >&6; }
24336 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24337 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24338 $as_echo_n "(cached) " >&6
24339 else
24342 ac_ext=cpp
24343 ac_cpp='$CXXCPP $CPPFLAGS'
24344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24349 /* end confdefs.h. */
24350 #include <math.h>
24351 #ifdef HAVE_IEEEFP_H
24352 #include <ieeefp.h>
24353 #endif
24356 main ()
24358 _isnanl(0);
24360 return 0;
24362 _ACEOF
24363 if ac_fn_cxx_try_compile "$LINENO"; then :
24364 glibcxx_cv_func__isnanl_use=yes
24365 else
24366 glibcxx_cv_func__isnanl_use=no
24368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 ac_ext=c
24370 ac_cpp='$CPP $CPPFLAGS'
24371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24380 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24382 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24383 for ac_func in _isnanl
24384 do :
24385 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24386 if test "x$ac_cv_func__isnanl" = x""yes; then :
24387 cat >>confdefs.h <<_ACEOF
24388 #define HAVE__ISNANL 1
24389 _ACEOF
24392 done
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24402 $as_echo_n "checking for isinfl declaration... " >&6; }
24403 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24404 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24405 $as_echo_n "(cached) " >&6
24406 else
24409 ac_ext=cpp
24410 ac_cpp='$CXXCPP $CPPFLAGS'
24411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h. */
24417 #include <math.h>
24418 #ifdef HAVE_IEEEFP_H
24419 #include <ieeefp.h>
24420 #endif
24423 main ()
24425 isinfl(0);
24427 return 0;
24429 _ACEOF
24430 if ac_fn_cxx_try_compile "$LINENO"; then :
24431 glibcxx_cv_func_isinfl_use=yes
24432 else
24433 glibcxx_cv_func_isinfl_use=no
24435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24436 ac_ext=c
24437 ac_cpp='$CPP $CPPFLAGS'
24438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24447 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24449 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24450 for ac_func in isinfl
24451 do :
24452 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24453 if test "x$ac_cv_func_isinfl" = x""yes; then :
24454 cat >>confdefs.h <<_ACEOF
24455 #define HAVE_ISINFL 1
24456 _ACEOF
24459 done
24461 else
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24464 $as_echo_n "checking for _isinfl declaration... " >&6; }
24465 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24466 if test "${glibcxx_cv_func__isinfl_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>
24480 #ifdef HAVE_IEEEFP_H
24481 #include <ieeefp.h>
24482 #endif
24485 main ()
24487 _isinfl(0);
24489 return 0;
24491 _ACEOF
24492 if ac_fn_cxx_try_compile "$LINENO"; then :
24493 glibcxx_cv_func__isinfl_use=yes
24494 else
24495 glibcxx_cv_func__isinfl_use=no
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498 ac_ext=c
24499 ac_cpp='$CPP $CPPFLAGS'
24500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24509 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24511 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24512 for ac_func in _isinfl
24513 do :
24514 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24515 if test "x$ac_cv_func__isinfl" = x""yes; then :
24516 cat >>confdefs.h <<_ACEOF
24517 #define HAVE__ISINFL 1
24518 _ACEOF
24521 done
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24531 $as_echo_n "checking for atan2l declaration... " >&6; }
24532 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24533 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24534 $as_echo_n "(cached) " >&6
24535 else
24538 ac_ext=cpp
24539 ac_cpp='$CXXCPP $CPPFLAGS'
24540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24545 /* end confdefs.h. */
24546 #include <math.h>
24548 main ()
24550 atan2l(0, 0);
24552 return 0;
24554 _ACEOF
24555 if ac_fn_cxx_try_compile "$LINENO"; then :
24556 glibcxx_cv_func_atan2l_use=yes
24557 else
24558 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
24572 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24574 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24575 for ac_func in atan2l
24576 do :
24577 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24578 if test "x$ac_cv_func_atan2l" = x""yes; then :
24579 cat >>confdefs.h <<_ACEOF
24580 #define HAVE_ATAN2L 1
24581 _ACEOF
24584 done
24586 else
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24589 $as_echo_n "checking for _atan2l declaration... " >&6; }
24590 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24591 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24592 $as_echo_n "(cached) " >&6
24593 else
24596 ac_ext=cpp
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24603 /* end confdefs.h. */
24604 #include <math.h>
24606 main ()
24608 _atan2l(0, 0);
24610 return 0;
24612 _ACEOF
24613 if ac_fn_cxx_try_compile "$LINENO"; then :
24614 glibcxx_cv_func__atan2l_use=yes
24615 else
24616 glibcxx_cv_func__atan2l_use=no
24618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24619 ac_ext=c
24620 ac_cpp='$CPP $CPPFLAGS'
24621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24630 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24632 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24633 for ac_func in _atan2l
24634 do :
24635 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24636 if test "x$ac_cv_func__atan2l" = x""yes; then :
24637 cat >>confdefs.h <<_ACEOF
24638 #define HAVE__ATAN2L 1
24639 _ACEOF
24642 done
24651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24652 $as_echo_n "checking for expl declaration... " >&6; }
24653 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24654 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24655 $as_echo_n "(cached) " >&6
24656 else
24659 ac_ext=cpp
24660 ac_cpp='$CXXCPP $CPPFLAGS'
24661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24666 /* end confdefs.h. */
24667 #include <math.h>
24668 #ifdef HAVE_IEEEFP_H
24669 #include <ieeefp.h>
24670 #endif
24673 main ()
24675 expl(0);
24677 return 0;
24679 _ACEOF
24680 if ac_fn_cxx_try_compile "$LINENO"; then :
24681 glibcxx_cv_func_expl_use=yes
24682 else
24683 glibcxx_cv_func_expl_use=no
24685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24686 ac_ext=c
24687 ac_cpp='$CPP $CPPFLAGS'
24688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24697 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24699 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24700 for ac_func in expl
24701 do :
24702 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24703 if test "x$ac_cv_func_expl" = x""yes; then :
24704 cat >>confdefs.h <<_ACEOF
24705 #define HAVE_EXPL 1
24706 _ACEOF
24709 done
24711 else
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24714 $as_echo_n "checking for _expl declaration... " >&6; }
24715 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24716 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24717 $as_echo_n "(cached) " >&6
24718 else
24721 ac_ext=cpp
24722 ac_cpp='$CXXCPP $CPPFLAGS'
24723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24728 /* end confdefs.h. */
24729 #include <math.h>
24730 #ifdef HAVE_IEEEFP_H
24731 #include <ieeefp.h>
24732 #endif
24735 main ()
24737 _expl(0);
24739 return 0;
24741 _ACEOF
24742 if ac_fn_cxx_try_compile "$LINENO"; then :
24743 glibcxx_cv_func__expl_use=yes
24744 else
24745 glibcxx_cv_func__expl_use=no
24747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24748 ac_ext=c
24749 ac_cpp='$CPP $CPPFLAGS'
24750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24759 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24761 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24762 for ac_func in _expl
24763 do :
24764 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24765 if test "x$ac_cv_func__expl" = x""yes; then :
24766 cat >>confdefs.h <<_ACEOF
24767 #define HAVE__EXPL 1
24768 _ACEOF
24771 done
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24781 $as_echo_n "checking for fabsl declaration... " >&6; }
24782 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24783 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24784 $as_echo_n "(cached) " >&6
24785 else
24788 ac_ext=cpp
24789 ac_cpp='$CXXCPP $CPPFLAGS'
24790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24795 /* end confdefs.h. */
24796 #include <math.h>
24797 #ifdef HAVE_IEEEFP_H
24798 #include <ieeefp.h>
24799 #endif
24802 main ()
24804 fabsl(0);
24806 return 0;
24808 _ACEOF
24809 if ac_fn_cxx_try_compile "$LINENO"; then :
24810 glibcxx_cv_func_fabsl_use=yes
24811 else
24812 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
24826 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24828 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24829 for ac_func in fabsl
24830 do :
24831 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24832 if test "x$ac_cv_func_fabsl" = x""yes; then :
24833 cat >>confdefs.h <<_ACEOF
24834 #define HAVE_FABSL 1
24835 _ACEOF
24838 done
24840 else
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24843 $as_echo_n "checking for _fabsl declaration... " >&6; }
24844 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24845 if test "${glibcxx_cv_func__fabsl_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>
24859 #ifdef HAVE_IEEEFP_H
24860 #include <ieeefp.h>
24861 #endif
24864 main ()
24866 _fabsl(0);
24868 return 0;
24870 _ACEOF
24871 if ac_fn_cxx_try_compile "$LINENO"; then :
24872 glibcxx_cv_func__fabsl_use=yes
24873 else
24874 glibcxx_cv_func__fabsl_use=no
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 ac_ext=c
24878 ac_cpp='$CPP $CPPFLAGS'
24879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24888 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24890 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24891 for ac_func in _fabsl
24892 do :
24893 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24894 if test "x$ac_cv_func__fabsl" = x""yes; then :
24895 cat >>confdefs.h <<_ACEOF
24896 #define HAVE__FABSL 1
24897 _ACEOF
24900 done
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24910 $as_echo_n "checking for fmodl declaration... " >&6; }
24911 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24912 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24913 $as_echo_n "(cached) " >&6
24914 else
24917 ac_ext=cpp
24918 ac_cpp='$CXXCPP $CPPFLAGS'
24919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24924 /* end confdefs.h. */
24925 #include <math.h>
24927 main ()
24929 fmodl(0, 0);
24931 return 0;
24933 _ACEOF
24934 if ac_fn_cxx_try_compile "$LINENO"; then :
24935 glibcxx_cv_func_fmodl_use=yes
24936 else
24937 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
24951 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24953 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24954 for ac_func in fmodl
24955 do :
24956 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24957 if test "x$ac_cv_func_fmodl" = x""yes; then :
24958 cat >>confdefs.h <<_ACEOF
24959 #define HAVE_FMODL 1
24960 _ACEOF
24963 done
24965 else
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24968 $as_echo_n "checking for _fmodl declaration... " >&6; }
24969 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24970 if test "${glibcxx_cv_func__fmodl_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>
24985 main ()
24987 _fmodl(0, 0);
24989 return 0;
24991 _ACEOF
24992 if ac_fn_cxx_try_compile "$LINENO"; then :
24993 glibcxx_cv_func__fmodl_use=yes
24994 else
24995 glibcxx_cv_func__fmodl_use=no
24997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24998 ac_ext=c
24999 ac_cpp='$CPP $CPPFLAGS'
25000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25009 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25011 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25012 for ac_func in _fmodl
25013 do :
25014 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25015 if test "x$ac_cv_func__fmodl" = x""yes; then :
25016 cat >>confdefs.h <<_ACEOF
25017 #define HAVE__FMODL 1
25018 _ACEOF
25021 done
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25031 $as_echo_n "checking for frexpl declaration... " >&6; }
25032 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25033 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25034 $as_echo_n "(cached) " >&6
25035 else
25038 ac_ext=cpp
25039 ac_cpp='$CXXCPP $CPPFLAGS'
25040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25045 /* end confdefs.h. */
25046 #include <math.h>
25048 main ()
25050 frexpl(0, 0);
25052 return 0;
25054 _ACEOF
25055 if ac_fn_cxx_try_compile "$LINENO"; then :
25056 glibcxx_cv_func_frexpl_use=yes
25057 else
25058 glibcxx_cv_func_frexpl_use=no
25060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 ac_ext=c
25062 ac_cpp='$CPP $CPPFLAGS'
25063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25072 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25074 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25075 for ac_func in frexpl
25076 do :
25077 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25078 if test "x$ac_cv_func_frexpl" = x""yes; then :
25079 cat >>confdefs.h <<_ACEOF
25080 #define HAVE_FREXPL 1
25081 _ACEOF
25084 done
25086 else
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25089 $as_echo_n "checking for _frexpl declaration... " >&6; }
25090 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25091 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25092 $as_echo_n "(cached) " >&6
25093 else
25096 ac_ext=cpp
25097 ac_cpp='$CXXCPP $CPPFLAGS'
25098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25103 /* end confdefs.h. */
25104 #include <math.h>
25106 main ()
25108 _frexpl(0, 0);
25110 return 0;
25112 _ACEOF
25113 if ac_fn_cxx_try_compile "$LINENO"; then :
25114 glibcxx_cv_func__frexpl_use=yes
25115 else
25116 glibcxx_cv_func__frexpl_use=no
25118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25119 ac_ext=c
25120 ac_cpp='$CPP $CPPFLAGS'
25121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25130 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25132 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25133 for ac_func in _frexpl
25134 do :
25135 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25136 if test "x$ac_cv_func__frexpl" = x""yes; then :
25137 cat >>confdefs.h <<_ACEOF
25138 #define HAVE__FREXPL 1
25139 _ACEOF
25142 done
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25152 $as_echo_n "checking for hypotl declaration... " >&6; }
25153 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25154 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25155 $as_echo_n "(cached) " >&6
25156 else
25159 ac_ext=cpp
25160 ac_cpp='$CXXCPP $CPPFLAGS'
25161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25166 /* end confdefs.h. */
25167 #include <math.h>
25169 main ()
25171 hypotl(0, 0);
25173 return 0;
25175 _ACEOF
25176 if ac_fn_cxx_try_compile "$LINENO"; then :
25177 glibcxx_cv_func_hypotl_use=yes
25178 else
25179 glibcxx_cv_func_hypotl_use=no
25181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25182 ac_ext=c
25183 ac_cpp='$CPP $CPPFLAGS'
25184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25193 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25195 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25196 for ac_func in hypotl
25197 do :
25198 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25199 if test "x$ac_cv_func_hypotl" = x""yes; then :
25200 cat >>confdefs.h <<_ACEOF
25201 #define HAVE_HYPOTL 1
25202 _ACEOF
25205 done
25207 else
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25210 $as_echo_n "checking for _hypotl declaration... " >&6; }
25211 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25212 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25213 $as_echo_n "(cached) " >&6
25214 else
25217 ac_ext=cpp
25218 ac_cpp='$CXXCPP $CPPFLAGS'
25219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25225 #include <math.h>
25227 main ()
25229 _hypotl(0, 0);
25231 return 0;
25233 _ACEOF
25234 if ac_fn_cxx_try_compile "$LINENO"; then :
25235 glibcxx_cv_func__hypotl_use=yes
25236 else
25237 glibcxx_cv_func__hypotl_use=no
25239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25240 ac_ext=c
25241 ac_cpp='$CPP $CPPFLAGS'
25242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25251 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25253 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25254 for ac_func in _hypotl
25255 do :
25256 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25257 if test "x$ac_cv_func__hypotl" = x""yes; then :
25258 cat >>confdefs.h <<_ACEOF
25259 #define HAVE__HYPOTL 1
25260 _ACEOF
25263 done
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25273 $as_echo_n "checking for ldexpl declaration... " >&6; }
25274 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25275 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25276 $as_echo_n "(cached) " >&6
25277 else
25280 ac_ext=cpp
25281 ac_cpp='$CXXCPP $CPPFLAGS'
25282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25287 /* end confdefs.h. */
25288 #include <math.h>
25290 main ()
25292 ldexpl(0, 0);
25294 return 0;
25296 _ACEOF
25297 if ac_fn_cxx_try_compile "$LINENO"; then :
25298 glibcxx_cv_func_ldexpl_use=yes
25299 else
25300 glibcxx_cv_func_ldexpl_use=no
25302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25303 ac_ext=c
25304 ac_cpp='$CPP $CPPFLAGS'
25305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25314 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25316 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25317 for ac_func in ldexpl
25318 do :
25319 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25320 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25321 cat >>confdefs.h <<_ACEOF
25322 #define HAVE_LDEXPL 1
25323 _ACEOF
25326 done
25328 else
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25331 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25332 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25333 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25334 $as_echo_n "(cached) " >&6
25335 else
25338 ac_ext=cpp
25339 ac_cpp='$CXXCPP $CPPFLAGS'
25340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 _ldexpl(0, 0);
25352 return 0;
25354 _ACEOF
25355 if ac_fn_cxx_try_compile "$LINENO"; then :
25356 glibcxx_cv_func__ldexpl_use=yes
25357 else
25358 glibcxx_cv_func__ldexpl_use=no
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25372 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25374 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25375 for ac_func in _ldexpl
25376 do :
25377 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25378 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25379 cat >>confdefs.h <<_ACEOF
25380 #define HAVE__LDEXPL 1
25381 _ACEOF
25384 done
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25394 $as_echo_n "checking for logl declaration... " >&6; }
25395 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25396 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25397 $as_echo_n "(cached) " >&6
25398 else
25401 ac_ext=cpp
25402 ac_cpp='$CXXCPP $CPPFLAGS'
25403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h. */
25409 #include <math.h>
25410 #ifdef HAVE_IEEEFP_H
25411 #include <ieeefp.h>
25412 #endif
25415 main ()
25417 logl(0);
25419 return 0;
25421 _ACEOF
25422 if ac_fn_cxx_try_compile "$LINENO"; then :
25423 glibcxx_cv_func_logl_use=yes
25424 else
25425 glibcxx_cv_func_logl_use=no
25427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25428 ac_ext=c
25429 ac_cpp='$CPP $CPPFLAGS'
25430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25439 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25441 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25442 for ac_func in logl
25443 do :
25444 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25445 if test "x$ac_cv_func_logl" = x""yes; then :
25446 cat >>confdefs.h <<_ACEOF
25447 #define HAVE_LOGL 1
25448 _ACEOF
25451 done
25453 else
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25456 $as_echo_n "checking for _logl declaration... " >&6; }
25457 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25458 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25459 $as_echo_n "(cached) " >&6
25460 else
25463 ac_ext=cpp
25464 ac_cpp='$CXXCPP $CPPFLAGS'
25465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25470 /* end confdefs.h. */
25471 #include <math.h>
25472 #ifdef HAVE_IEEEFP_H
25473 #include <ieeefp.h>
25474 #endif
25477 main ()
25479 _logl(0);
25481 return 0;
25483 _ACEOF
25484 if ac_fn_cxx_try_compile "$LINENO"; then :
25485 glibcxx_cv_func__logl_use=yes
25486 else
25487 glibcxx_cv_func__logl_use=no
25489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25490 ac_ext=c
25491 ac_cpp='$CPP $CPPFLAGS'
25492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25501 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25503 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25504 for ac_func in _logl
25505 do :
25506 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25507 if test "x$ac_cv_func__logl" = x""yes; then :
25508 cat >>confdefs.h <<_ACEOF
25509 #define HAVE__LOGL 1
25510 _ACEOF
25513 done
25522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25523 $as_echo_n "checking for log10l declaration... " >&6; }
25524 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25525 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25526 $as_echo_n "(cached) " >&6
25527 else
25530 ac_ext=cpp
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25537 /* end confdefs.h. */
25538 #include <math.h>
25539 #ifdef HAVE_IEEEFP_H
25540 #include <ieeefp.h>
25541 #endif
25544 main ()
25546 log10l(0);
25548 return 0;
25550 _ACEOF
25551 if ac_fn_cxx_try_compile "$LINENO"; then :
25552 glibcxx_cv_func_log10l_use=yes
25553 else
25554 glibcxx_cv_func_log10l_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_log10l_use" >&5
25568 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25570 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25571 for ac_func in log10l
25572 do :
25573 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25574 if test "x$ac_cv_func_log10l" = x""yes; then :
25575 cat >>confdefs.h <<_ACEOF
25576 #define HAVE_LOG10L 1
25577 _ACEOF
25580 done
25582 else
25584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25585 $as_echo_n "checking for _log10l declaration... " >&6; }
25586 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25587 if test "${glibcxx_cv_func__log10l_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>
25601 #ifdef HAVE_IEEEFP_H
25602 #include <ieeefp.h>
25603 #endif
25606 main ()
25608 _log10l(0);
25610 return 0;
25612 _ACEOF
25613 if ac_fn_cxx_try_compile "$LINENO"; then :
25614 glibcxx_cv_func__log10l_use=yes
25615 else
25616 glibcxx_cv_func__log10l_use=no
25618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25619 ac_ext=c
25620 ac_cpp='$CPP $CPPFLAGS'
25621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25630 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25632 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25633 for ac_func in _log10l
25634 do :
25635 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25636 if test "x$ac_cv_func__log10l" = x""yes; then :
25637 cat >>confdefs.h <<_ACEOF
25638 #define HAVE__LOG10L 1
25639 _ACEOF
25642 done
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25652 $as_echo_n "checking for modfl declaration... " >&6; }
25653 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25654 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25655 $as_echo_n "(cached) " >&6
25656 else
25659 ac_ext=cpp
25660 ac_cpp='$CXXCPP $CPPFLAGS'
25661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25666 /* end confdefs.h. */
25667 #include <math.h>
25669 main ()
25671 modfl(0, 0);
25673 return 0;
25675 _ACEOF
25676 if ac_fn_cxx_try_compile "$LINENO"; then :
25677 glibcxx_cv_func_modfl_use=yes
25678 else
25679 glibcxx_cv_func_modfl_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_modfl_use" >&5
25693 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25695 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25696 for ac_func in modfl
25697 do :
25698 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25699 if test "x$ac_cv_func_modfl" = x""yes; then :
25700 cat >>confdefs.h <<_ACEOF
25701 #define HAVE_MODFL 1
25702 _ACEOF
25705 done
25707 else
25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25710 $as_echo_n "checking for _modfl declaration... " >&6; }
25711 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25712 if test "${glibcxx_cv_func__modfl_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>
25727 main ()
25729 _modfl(0, 0);
25731 return 0;
25733 _ACEOF
25734 if ac_fn_cxx_try_compile "$LINENO"; then :
25735 glibcxx_cv_func__modfl_use=yes
25736 else
25737 glibcxx_cv_func__modfl_use=no
25739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25740 ac_ext=c
25741 ac_cpp='$CPP $CPPFLAGS'
25742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25751 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25753 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25754 for ac_func in _modfl
25755 do :
25756 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25757 if test "x$ac_cv_func__modfl" = x""yes; then :
25758 cat >>confdefs.h <<_ACEOF
25759 #define HAVE__MODFL 1
25760 _ACEOF
25763 done
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25773 $as_echo_n "checking for powl declaration... " >&6; }
25774 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25775 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25776 $as_echo_n "(cached) " >&6
25777 else
25780 ac_ext=cpp
25781 ac_cpp='$CXXCPP $CPPFLAGS'
25782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25787 /* end confdefs.h. */
25788 #include <math.h>
25790 main ()
25792 powl(0, 0);
25794 return 0;
25796 _ACEOF
25797 if ac_fn_cxx_try_compile "$LINENO"; then :
25798 glibcxx_cv_func_powl_use=yes
25799 else
25800 glibcxx_cv_func_powl_use=no
25802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25803 ac_ext=c
25804 ac_cpp='$CPP $CPPFLAGS'
25805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25814 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25816 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25817 for ac_func in powl
25818 do :
25819 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25820 if test "x$ac_cv_func_powl" = x""yes; then :
25821 cat >>confdefs.h <<_ACEOF
25822 #define HAVE_POWL 1
25823 _ACEOF
25826 done
25828 else
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25831 $as_echo_n "checking for _powl declaration... " >&6; }
25832 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25833 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25834 $as_echo_n "(cached) " >&6
25835 else
25838 ac_ext=cpp
25839 ac_cpp='$CXXCPP $CPPFLAGS'
25840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846 #include <math.h>
25848 main ()
25850 _powl(0, 0);
25852 return 0;
25854 _ACEOF
25855 if ac_fn_cxx_try_compile "$LINENO"; then :
25856 glibcxx_cv_func__powl_use=yes
25857 else
25858 glibcxx_cv_func__powl_use=no
25860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25861 ac_ext=c
25862 ac_cpp='$CPP $CPPFLAGS'
25863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25872 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25874 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25875 for ac_func in _powl
25876 do :
25877 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25878 if test "x$ac_cv_func__powl" = x""yes; then :
25879 cat >>confdefs.h <<_ACEOF
25880 #define HAVE__POWL 1
25881 _ACEOF
25884 done
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25894 $as_echo_n "checking for sqrtl declaration... " >&6; }
25895 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25896 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25897 $as_echo_n "(cached) " >&6
25898 else
25901 ac_ext=cpp
25902 ac_cpp='$CXXCPP $CPPFLAGS'
25903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25908 /* end confdefs.h. */
25909 #include <math.h>
25910 #ifdef HAVE_IEEEFP_H
25911 #include <ieeefp.h>
25912 #endif
25915 main ()
25917 sqrtl(0);
25919 return 0;
25921 _ACEOF
25922 if ac_fn_cxx_try_compile "$LINENO"; then :
25923 glibcxx_cv_func_sqrtl_use=yes
25924 else
25925 glibcxx_cv_func_sqrtl_use=no
25927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25928 ac_ext=c
25929 ac_cpp='$CPP $CPPFLAGS'
25930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25939 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25941 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25942 for ac_func in sqrtl
25943 do :
25944 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25945 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25946 cat >>confdefs.h <<_ACEOF
25947 #define HAVE_SQRTL 1
25948 _ACEOF
25951 done
25953 else
25955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25956 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25957 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25958 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25959 $as_echo_n "(cached) " >&6
25960 else
25963 ac_ext=cpp
25964 ac_cpp='$CXXCPP $CPPFLAGS'
25965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25970 /* end confdefs.h. */
25971 #include <math.h>
25972 #ifdef HAVE_IEEEFP_H
25973 #include <ieeefp.h>
25974 #endif
25977 main ()
25979 _sqrtl(0);
25981 return 0;
25983 _ACEOF
25984 if ac_fn_cxx_try_compile "$LINENO"; then :
25985 glibcxx_cv_func__sqrtl_use=yes
25986 else
25987 glibcxx_cv_func__sqrtl_use=no
25989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25990 ac_ext=c
25991 ac_cpp='$CPP $CPPFLAGS'
25992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26001 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26003 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26004 for ac_func in _sqrtl
26005 do :
26006 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26007 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26008 cat >>confdefs.h <<_ACEOF
26009 #define HAVE__SQRTL 1
26010 _ACEOF
26013 done
26022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26023 $as_echo_n "checking for sincosl declaration... " >&6; }
26024 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26025 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26026 $as_echo_n "(cached) " >&6
26027 else
26030 ac_ext=cpp
26031 ac_cpp='$CXXCPP $CPPFLAGS'
26032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26037 /* end confdefs.h. */
26038 #include <math.h>
26040 main ()
26042 sincosl(0, 0, 0);
26044 return 0;
26046 _ACEOF
26047 if ac_fn_cxx_try_compile "$LINENO"; then :
26048 glibcxx_cv_func_sincosl_use=yes
26049 else
26050 glibcxx_cv_func_sincosl_use=no
26052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26053 ac_ext=c
26054 ac_cpp='$CPP $CPPFLAGS'
26055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26064 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26066 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26067 for ac_func in sincosl
26068 do :
26069 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26070 if test "x$ac_cv_func_sincosl" = x""yes; then :
26071 cat >>confdefs.h <<_ACEOF
26072 #define HAVE_SINCOSL 1
26073 _ACEOF
26076 done
26078 else
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26081 $as_echo_n "checking for _sincosl declaration... " >&6; }
26082 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26083 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26084 $as_echo_n "(cached) " >&6
26085 else
26088 ac_ext=cpp
26089 ac_cpp='$CXXCPP $CPPFLAGS'
26090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095 /* end confdefs.h. */
26096 #include <math.h>
26098 main ()
26100 _sincosl(0, 0, 0);
26102 return 0;
26104 _ACEOF
26105 if ac_fn_cxx_try_compile "$LINENO"; then :
26106 glibcxx_cv_func__sincosl_use=yes
26107 else
26108 glibcxx_cv_func__sincosl_use=no
26110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26111 ac_ext=c
26112 ac_cpp='$CPP $CPPFLAGS'
26113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26122 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26124 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26125 for ac_func in _sincosl
26126 do :
26127 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26128 if test "x$ac_cv_func__sincosl" = x""yes; then :
26129 cat >>confdefs.h <<_ACEOF
26130 #define HAVE__SINCOSL 1
26131 _ACEOF
26134 done
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26144 $as_echo_n "checking for finitel declaration... " >&6; }
26145 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26146 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26147 $as_echo_n "(cached) " >&6
26148 else
26151 ac_ext=cpp
26152 ac_cpp='$CXXCPP $CPPFLAGS'
26153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26158 /* end confdefs.h. */
26159 #include <math.h>
26160 #ifdef HAVE_IEEEFP_H
26161 #include <ieeefp.h>
26162 #endif
26165 main ()
26167 finitel(0);
26169 return 0;
26171 _ACEOF
26172 if ac_fn_cxx_try_compile "$LINENO"; then :
26173 glibcxx_cv_func_finitel_use=yes
26174 else
26175 glibcxx_cv_func_finitel_use=no
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26178 ac_ext=c
26179 ac_cpp='$CPP $CPPFLAGS'
26180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26189 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26191 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26192 for ac_func in finitel
26193 do :
26194 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26195 if test "x$ac_cv_func_finitel" = x""yes; then :
26196 cat >>confdefs.h <<_ACEOF
26197 #define HAVE_FINITEL 1
26198 _ACEOF
26201 done
26203 else
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26206 $as_echo_n "checking for _finitel declaration... " >&6; }
26207 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26208 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26209 $as_echo_n "(cached) " >&6
26210 else
26213 ac_ext=cpp
26214 ac_cpp='$CXXCPP $CPPFLAGS'
26215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26220 /* end confdefs.h. */
26221 #include <math.h>
26222 #ifdef HAVE_IEEEFP_H
26223 #include <ieeefp.h>
26224 #endif
26227 main ()
26229 _finitel(0);
26231 return 0;
26233 _ACEOF
26234 if ac_fn_cxx_try_compile "$LINENO"; then :
26235 glibcxx_cv_func__finitel_use=yes
26236 else
26237 glibcxx_cv_func__finitel_use=no
26239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26240 ac_ext=c
26241 ac_cpp='$CPP $CPPFLAGS'
26242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26251 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26253 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26254 for ac_func in _finitel
26255 do :
26256 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26257 if test "x$ac_cv_func__finitel" = x""yes; then :
26258 cat >>confdefs.h <<_ACEOF
26259 #define HAVE__FINITEL 1
26260 _ACEOF
26263 done
26271 LIBS="$ac_save_LIBS"
26272 CXXFLAGS="$ac_save_CXXFLAGS"
26275 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26276 ac_save_CXXFLAGS="$CXXFLAGS"
26277 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26281 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26282 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26283 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26284 $as_echo_n "(cached) " >&6
26285 else
26288 ac_ext=cpp
26289 ac_cpp='$CXXCPP $CPPFLAGS'
26290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26295 /* end confdefs.h. */
26296 #include <stdlib.h>
26298 main ()
26300 at_quick_exit(0);
26302 return 0;
26304 _ACEOF
26305 if ac_fn_cxx_try_compile "$LINENO"; then :
26306 glibcxx_cv_func_at_quick_exit_use=yes
26307 else
26308 glibcxx_cv_func_at_quick_exit_use=no
26310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26311 ac_ext=c
26312 ac_cpp='$CPP $CPPFLAGS'
26313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26322 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26323 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26324 for ac_func in at_quick_exit
26325 do :
26326 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26327 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26328 cat >>confdefs.h <<_ACEOF
26329 #define HAVE_AT_QUICK_EXIT 1
26330 _ACEOF
26333 done
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26339 $as_echo_n "checking for quick_exit declaration... " >&6; }
26340 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26341 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26342 $as_echo_n "(cached) " >&6
26343 else
26346 ac_ext=cpp
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h. */
26354 #include <stdlib.h>
26356 main ()
26358 quick_exit(0);
26360 return 0;
26362 _ACEOF
26363 if ac_fn_cxx_try_compile "$LINENO"; then :
26364 glibcxx_cv_func_quick_exit_use=yes
26365 else
26366 glibcxx_cv_func_quick_exit_use=no
26368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26369 ac_ext=c
26370 ac_cpp='$CPP $CPPFLAGS'
26371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26380 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26381 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26382 for ac_func in quick_exit
26383 do :
26384 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26385 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26386 cat >>confdefs.h <<_ACEOF
26387 #define HAVE_QUICK_EXIT 1
26388 _ACEOF
26391 done
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26397 $as_echo_n "checking for strtold declaration... " >&6; }
26398 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26399 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26400 $as_echo_n "(cached) " >&6
26401 else
26404 ac_ext=cpp
26405 ac_cpp='$CXXCPP $CPPFLAGS'
26406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411 /* end confdefs.h. */
26412 #include <stdlib.h>
26414 main ()
26416 strtold(0, 0);
26418 return 0;
26420 _ACEOF
26421 if ac_fn_cxx_try_compile "$LINENO"; then :
26422 glibcxx_cv_func_strtold_use=yes
26423 else
26424 glibcxx_cv_func_strtold_use=no
26426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427 ac_ext=c
26428 ac_cpp='$CPP $CPPFLAGS'
26429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26438 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26439 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26440 for ac_func in strtold
26441 do :
26442 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26443 if test "x$ac_cv_func_strtold" = x""yes; then :
26444 cat >>confdefs.h <<_ACEOF
26445 #define HAVE_STRTOLD 1
26446 _ACEOF
26449 done
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26457 $as_echo_n "checking for strtof declaration... " >&6; }
26458 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26459 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26460 $as_echo_n "(cached) " >&6
26461 else
26464 ac_ext=cpp
26465 ac_cpp='$CXXCPP $CPPFLAGS'
26466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26471 /* end confdefs.h. */
26472 #include <stdlib.h>
26474 main ()
26476 strtof(0, 0);
26478 return 0;
26480 _ACEOF
26481 if ac_fn_cxx_try_compile "$LINENO"; then :
26482 glibcxx_cv_func_strtof_use=yes
26483 else
26484 glibcxx_cv_func_strtof_use=no
26486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26487 ac_ext=c
26488 ac_cpp='$CPP $CPPFLAGS'
26489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26498 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26499 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26500 for ac_func in strtof
26501 do :
26502 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26503 if test "x$ac_cv_func_strtof" = x""yes; then :
26504 cat >>confdefs.h <<_ACEOF
26505 #define HAVE_STRTOF 1
26506 _ACEOF
26509 done
26516 CXXFLAGS="$ac_save_CXXFLAGS"
26519 # For /dev/random and /dev/urandom for TR1.
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26523 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26524 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26525 $as_echo_n "(cached) " >&6
26526 else
26528 if test -r /dev/random && test -r /dev/urandom; then
26529 ## For MSys environment the test above is detect as false-positive
26530 ## on mingw-targets. So disable it explicit for them.
26531 case ${target_os} in
26532 *mingw*) glibcxx_cv_random_tr1=no ;;
26533 *) glibcxx_cv_random_tr1=yes ;;
26534 esac
26535 else
26536 glibcxx_cv_random_tr1=no;
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26542 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26544 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26546 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26552 # For TLS support.
26555 # Check whether --enable-tls was given.
26556 if test "${enable_tls+set}" = set; then :
26557 enableval=$enable_tls;
26558 case "$enableval" in
26559 yes|no) ;;
26560 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26561 esac
26563 else
26564 enable_tls=yes
26568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26569 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26570 if test "${gcc_cv_have_tls+set}" = set; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26574 if test "$cross_compiling" = yes; then :
26575 if test x$gcc_no_link = xyes; then
26576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26579 /* end confdefs.h. */
26580 __thread int a; int b; int main() { return a = b; }
26581 _ACEOF
26582 if ac_fn_c_try_link "$LINENO"; then :
26583 chktls_save_LDFLAGS="$LDFLAGS"
26584 case $host in
26585 *-*-linux*)
26586 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26588 esac
26589 chktls_save_CFLAGS="$CFLAGS"
26590 CFLAGS="-fPIC $CFLAGS"
26591 if test x$gcc_no_link = xyes; then
26592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26595 /* end confdefs.h. */
26596 int f() { return 0; }
26597 _ACEOF
26598 if ac_fn_c_try_link "$LINENO"; then :
26599 if test x$gcc_no_link = xyes; then
26600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26603 /* end confdefs.h. */
26604 __thread int a; int b; int f() { return a = b; }
26605 _ACEOF
26606 if ac_fn_c_try_link "$LINENO"; then :
26607 gcc_cv_have_tls=yes
26608 else
26609 gcc_cv_have_tls=no
26611 rm -f core conftest.err conftest.$ac_objext \
26612 conftest$ac_exeext conftest.$ac_ext
26613 else
26614 gcc_cv_have_tls=yes
26616 rm -f core conftest.err conftest.$ac_objext \
26617 conftest$ac_exeext conftest.$ac_ext
26618 CFLAGS="$chktls_save_CFLAGS"
26619 LDFLAGS="$chktls_save_LDFLAGS"
26620 else
26621 gcc_cv_have_tls=no
26623 rm -f core conftest.err conftest.$ac_objext \
26624 conftest$ac_exeext conftest.$ac_ext
26627 else
26628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26629 /* end confdefs.h. */
26630 __thread int a; int b; int main() { return a = b; }
26631 _ACEOF
26632 if ac_fn_c_try_run "$LINENO"; then :
26633 chktls_save_LDFLAGS="$LDFLAGS"
26634 LDFLAGS="-static $LDFLAGS"
26635 if test x$gcc_no_link = xyes; then
26636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26639 /* end confdefs.h. */
26640 int main() { return 0; }
26641 _ACEOF
26642 if ac_fn_c_try_link "$LINENO"; then :
26643 if test "$cross_compiling" = yes; then :
26644 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26645 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26646 as_fn_error "cannot run test program while cross compiling
26647 See \`config.log' for more details." "$LINENO" 5; }
26648 else
26649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26650 /* end confdefs.h. */
26651 __thread int a; int b; int main() { return a = b; }
26652 _ACEOF
26653 if ac_fn_c_try_run "$LINENO"; then :
26654 gcc_cv_have_tls=yes
26655 else
26656 gcc_cv_have_tls=no
26658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26659 conftest.$ac_objext conftest.beam conftest.$ac_ext
26662 else
26663 gcc_cv_have_tls=yes
26665 rm -f core conftest.err conftest.$ac_objext \
26666 conftest$ac_exeext conftest.$ac_ext
26667 LDFLAGS="$chktls_save_LDFLAGS"
26668 if test $gcc_cv_have_tls = yes; then
26669 chktls_save_CFLAGS="$CFLAGS"
26670 thread_CFLAGS=failed
26671 for flag in '' '-pthread' '-lpthread'; do
26672 CFLAGS="$flag $chktls_save_CFLAGS"
26673 if test x$gcc_no_link = xyes; then
26674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26677 /* end confdefs.h. */
26678 #include <pthread.h>
26679 void *g(void *d) { return NULL; }
26681 main ()
26683 pthread_t t; pthread_create(&t,NULL,g,NULL);
26685 return 0;
26687 _ACEOF
26688 if ac_fn_c_try_link "$LINENO"; then :
26689 thread_CFLAGS="$flag"
26691 rm -f core conftest.err conftest.$ac_objext \
26692 conftest$ac_exeext conftest.$ac_ext
26693 if test "X$thread_CFLAGS" != Xfailed; then
26694 break
26696 done
26697 CFLAGS="$chktls_save_CFLAGS"
26698 if test "X$thread_CFLAGS" != Xfailed; then
26699 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26700 if test "$cross_compiling" = yes; then :
26701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26703 as_fn_error "cannot run test program while cross compiling
26704 See \`config.log' for more details." "$LINENO" 5; }
26705 else
26706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26707 /* end confdefs.h. */
26708 #include <pthread.h>
26709 __thread int a;
26710 static int *volatile a_in_other_thread;
26711 static void *
26712 thread_func (void *arg)
26714 a_in_other_thread = &a;
26715 return (void *)0;
26718 main ()
26720 pthread_t thread;
26721 void *thread_retval;
26722 int *volatile a_in_main_thread;
26723 a_in_main_thread = &a;
26724 if (pthread_create (&thread, (pthread_attr_t *)0,
26725 thread_func, (void *)0))
26726 return 0;
26727 if (pthread_join (thread, &thread_retval))
26728 return 0;
26729 return (a_in_other_thread == a_in_main_thread);
26731 return 0;
26733 _ACEOF
26734 if ac_fn_c_try_run "$LINENO"; then :
26735 gcc_cv_have_tls=yes
26736 else
26737 gcc_cv_have_tls=no
26739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26740 conftest.$ac_objext conftest.beam conftest.$ac_ext
26743 CFLAGS="$chktls_save_CFLAGS"
26746 else
26747 gcc_cv_have_tls=no
26749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26750 conftest.$ac_objext conftest.beam conftest.$ac_ext
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26755 $as_echo "$gcc_cv_have_tls" >&6; }
26756 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26758 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26762 for ac_func in __cxa_thread_atexit_impl
26763 do :
26764 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26765 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26766 cat >>confdefs.h <<_ACEOF
26767 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26768 _ACEOF
26771 done
26774 # For iconv support.
26776 if test "X$prefix" = "XNONE"; then
26777 acl_final_prefix="$ac_default_prefix"
26778 else
26779 acl_final_prefix="$prefix"
26781 if test "X$exec_prefix" = "XNONE"; then
26782 acl_final_exec_prefix='${prefix}'
26783 else
26784 acl_final_exec_prefix="$exec_prefix"
26786 acl_save_prefix="$prefix"
26787 prefix="$acl_final_prefix"
26788 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26789 prefix="$acl_save_prefix"
26792 # Check whether --with-gnu-ld was given.
26793 if test "${with_gnu_ld+set}" = set; then :
26794 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26795 else
26796 with_gnu_ld=no
26799 # Prepare PATH_SEPARATOR.
26800 # The user is always right.
26801 if test "${PATH_SEPARATOR+set}" != set; then
26802 echo "#! /bin/sh" >conf$$.sh
26803 echo "exit 0" >>conf$$.sh
26804 chmod +x conf$$.sh
26805 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26806 PATH_SEPARATOR=';'
26807 else
26808 PATH_SEPARATOR=:
26810 rm -f conf$$.sh
26812 ac_prog=ld
26813 if test "$GCC" = yes; then
26814 # Check if gcc -print-prog-name=ld gives a path.
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26816 $as_echo_n "checking for ld used by GCC... " >&6; }
26817 case $host in
26818 *-*-mingw*)
26819 # gcc leaves a trailing carriage return which upsets mingw
26820 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26822 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26823 esac
26824 case $ac_prog in
26825 # Accept absolute paths.
26826 [\\/]* | [A-Za-z]:[\\/]*)
26827 re_direlt='/[^/][^/]*/\.\./'
26828 # Canonicalize the path of ld
26829 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26830 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26831 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26832 done
26833 test -z "$LD" && LD="$ac_prog"
26836 # If it fails, then pretend we aren't using GCC.
26837 ac_prog=ld
26840 # If it is relative, then search for the first ld in PATH.
26841 with_gnu_ld=unknown
26843 esac
26844 elif test "$with_gnu_ld" = yes; then
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26846 $as_echo_n "checking for GNU ld... " >&6; }
26847 else
26848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26849 $as_echo_n "checking for non-GNU ld... " >&6; }
26851 if test "${acl_cv_path_LD+set}" = set; then :
26852 $as_echo_n "(cached) " >&6
26853 else
26854 if test -z "$LD"; then
26855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26856 for ac_dir in $PATH; do
26857 test -z "$ac_dir" && ac_dir=.
26858 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26859 acl_cv_path_LD="$ac_dir/$ac_prog"
26860 # Check to see if the program is GNU ld. I'd rather use --version,
26861 # but apparently some GNU ld's only accept -v.
26862 # Break only if it was the GNU/non-GNU ld that we prefer.
26863 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26864 test "$with_gnu_ld" != no && break
26865 else
26866 test "$with_gnu_ld" != yes && break
26869 done
26870 IFS="$ac_save_ifs"
26871 else
26872 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26876 LD="$acl_cv_path_LD"
26877 if test -n "$LD"; then
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26879 $as_echo "$LD" >&6; }
26880 else
26881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26882 $as_echo "no" >&6; }
26884 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26886 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26887 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26888 $as_echo_n "(cached) " >&6
26889 else
26890 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26891 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26892 acl_cv_prog_gnu_ld=yes
26893 else
26894 acl_cv_prog_gnu_ld=no
26897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26898 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26899 with_gnu_ld=$acl_cv_prog_gnu_ld
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26904 $as_echo_n "checking for shared library run path origin... " >&6; }
26905 if test "${acl_cv_rpath+set}" = set; then :
26906 $as_echo_n "(cached) " >&6
26907 else
26909 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26910 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26911 . ./conftest.sh
26912 rm -f ./conftest.sh
26913 acl_cv_rpath=done
26916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26917 $as_echo "$acl_cv_rpath" >&6; }
26918 wl="$acl_cv_wl"
26919 libext="$acl_cv_libext"
26920 shlibext="$acl_cv_shlibext"
26921 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26922 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26923 hardcode_direct="$acl_cv_hardcode_direct"
26924 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26925 # Check whether --enable-rpath was given.
26926 if test "${enable_rpath+set}" = set; then :
26927 enableval=$enable_rpath; :
26928 else
26929 enable_rpath=yes
26939 use_additional=yes
26941 acl_save_prefix="$prefix"
26942 prefix="$acl_final_prefix"
26943 acl_save_exec_prefix="$exec_prefix"
26944 exec_prefix="$acl_final_exec_prefix"
26946 eval additional_includedir=\"$includedir\"
26947 eval additional_libdir=\"$libdir\"
26949 exec_prefix="$acl_save_exec_prefix"
26950 prefix="$acl_save_prefix"
26953 # Check whether --with-libiconv-prefix was given.
26954 if test "${with_libiconv_prefix+set}" = set; then :
26955 withval=$with_libiconv_prefix;
26956 if test "X$withval" = "Xno"; then
26957 use_additional=no
26958 else
26959 if test "X$withval" = "X"; then
26961 acl_save_prefix="$prefix"
26962 prefix="$acl_final_prefix"
26963 acl_save_exec_prefix="$exec_prefix"
26964 exec_prefix="$acl_final_exec_prefix"
26966 eval additional_includedir=\"$includedir\"
26967 eval additional_libdir=\"$libdir\"
26969 exec_prefix="$acl_save_exec_prefix"
26970 prefix="$acl_save_prefix"
26972 else
26973 additional_includedir="$withval/include"
26974 additional_libdir="$withval/lib"
26980 LIBICONV=
26981 LTLIBICONV=
26982 INCICONV=
26983 rpathdirs=
26984 ltrpathdirs=
26985 names_already_handled=
26986 names_next_round='iconv '
26987 while test -n "$names_next_round"; do
26988 names_this_round="$names_next_round"
26989 names_next_round=
26990 for name in $names_this_round; do
26991 already_handled=
26992 for n in $names_already_handled; do
26993 if test "$n" = "$name"; then
26994 already_handled=yes
26995 break
26997 done
26998 if test -z "$already_handled"; then
26999 names_already_handled="$names_already_handled $name"
27000 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27001 eval value=\"\$HAVE_LIB$uppername\"
27002 if test -n "$value"; then
27003 if test "$value" = yes; then
27004 eval value=\"\$LIB$uppername\"
27005 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27006 eval value=\"\$LTLIB$uppername\"
27007 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27008 else
27011 else
27012 found_dir=
27013 found_la=
27014 found_so=
27015 found_a=
27016 if test $use_additional = yes; then
27017 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27018 found_dir="$additional_libdir"
27019 found_so="$additional_libdir/lib$name.$shlibext"
27020 if test -f "$additional_libdir/lib$name.la"; then
27021 found_la="$additional_libdir/lib$name.la"
27023 else
27024 if test -f "$additional_libdir/lib$name.$libext"; then
27025 found_dir="$additional_libdir"
27026 found_a="$additional_libdir/lib$name.$libext"
27027 if test -f "$additional_libdir/lib$name.la"; then
27028 found_la="$additional_libdir/lib$name.la"
27033 if test "X$found_dir" = "X"; then
27034 for x in $LDFLAGS $LTLIBICONV; do
27036 acl_save_prefix="$prefix"
27037 prefix="$acl_final_prefix"
27038 acl_save_exec_prefix="$exec_prefix"
27039 exec_prefix="$acl_final_exec_prefix"
27040 eval x=\"$x\"
27041 exec_prefix="$acl_save_exec_prefix"
27042 prefix="$acl_save_prefix"
27044 case "$x" in
27045 -L*)
27046 dir=`echo "X$x" | sed -e 's/^X-L//'`
27047 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27048 found_dir="$dir"
27049 found_so="$dir/lib$name.$shlibext"
27050 if test -f "$dir/lib$name.la"; then
27051 found_la="$dir/lib$name.la"
27053 else
27054 if test -f "$dir/lib$name.$libext"; then
27055 found_dir="$dir"
27056 found_a="$dir/lib$name.$libext"
27057 if test -f "$dir/lib$name.la"; then
27058 found_la="$dir/lib$name.la"
27063 esac
27064 if test "X$found_dir" != "X"; then
27065 break
27067 done
27069 if test "X$found_dir" != "X"; then
27070 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27071 if test "X$found_so" != "X"; then
27072 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27073 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27074 else
27075 haveit=
27076 for x in $ltrpathdirs; do
27077 if test "X$x" = "X$found_dir"; then
27078 haveit=yes
27079 break
27081 done
27082 if test -z "$haveit"; then
27083 ltrpathdirs="$ltrpathdirs $found_dir"
27085 if test "$hardcode_direct" = yes; then
27086 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27087 else
27088 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27089 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27090 haveit=
27091 for x in $rpathdirs; do
27092 if test "X$x" = "X$found_dir"; then
27093 haveit=yes
27094 break
27096 done
27097 if test -z "$haveit"; then
27098 rpathdirs="$rpathdirs $found_dir"
27100 else
27101 haveit=
27102 for x in $LDFLAGS $LIBICONV; do
27104 acl_save_prefix="$prefix"
27105 prefix="$acl_final_prefix"
27106 acl_save_exec_prefix="$exec_prefix"
27107 exec_prefix="$acl_final_exec_prefix"
27108 eval x=\"$x\"
27109 exec_prefix="$acl_save_exec_prefix"
27110 prefix="$acl_save_prefix"
27112 if test "X$x" = "X-L$found_dir"; then
27113 haveit=yes
27114 break
27116 done
27117 if test -z "$haveit"; then
27118 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27120 if test "$hardcode_minus_L" != no; then
27121 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27122 else
27123 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27128 else
27129 if test "X$found_a" != "X"; then
27130 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27131 else
27132 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27135 additional_includedir=
27136 case "$found_dir" in
27137 */lib | */lib/)
27138 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27139 additional_includedir="$basedir/include"
27141 esac
27142 if test "X$additional_includedir" != "X"; then
27143 if test "X$additional_includedir" != "X/usr/include"; then
27144 haveit=
27145 if test "X$additional_includedir" = "X/usr/local/include"; then
27146 if test -n "$GCC"; then
27147 case $host_os in
27148 linux*) haveit=yes;;
27149 esac
27152 if test -z "$haveit"; then
27153 for x in $CPPFLAGS $INCICONV; do
27155 acl_save_prefix="$prefix"
27156 prefix="$acl_final_prefix"
27157 acl_save_exec_prefix="$exec_prefix"
27158 exec_prefix="$acl_final_exec_prefix"
27159 eval x=\"$x\"
27160 exec_prefix="$acl_save_exec_prefix"
27161 prefix="$acl_save_prefix"
27163 if test "X$x" = "X-I$additional_includedir"; then
27164 haveit=yes
27165 break
27167 done
27168 if test -z "$haveit"; then
27169 if test -d "$additional_includedir"; then
27170 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27176 if test -n "$found_la"; then
27177 save_libdir="$libdir"
27178 case "$found_la" in
27179 */* | *\\*) . "$found_la" ;;
27180 *) . "./$found_la" ;;
27181 esac
27182 libdir="$save_libdir"
27183 for dep in $dependency_libs; do
27184 case "$dep" in
27185 -L*)
27186 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27187 if test "X$additional_libdir" != "X/usr/lib"; then
27188 haveit=
27189 if test "X$additional_libdir" = "X/usr/local/lib"; then
27190 if test -n "$GCC"; then
27191 case $host_os in
27192 linux*) haveit=yes;;
27193 esac
27196 if test -z "$haveit"; then
27197 haveit=
27198 for x in $LDFLAGS $LIBICONV; do
27200 acl_save_prefix="$prefix"
27201 prefix="$acl_final_prefix"
27202 acl_save_exec_prefix="$exec_prefix"
27203 exec_prefix="$acl_final_exec_prefix"
27204 eval x=\"$x\"
27205 exec_prefix="$acl_save_exec_prefix"
27206 prefix="$acl_save_prefix"
27208 if test "X$x" = "X-L$additional_libdir"; then
27209 haveit=yes
27210 break
27212 done
27213 if test -z "$haveit"; then
27214 if test -d "$additional_libdir"; then
27215 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27218 haveit=
27219 for x in $LDFLAGS $LTLIBICONV; do
27221 acl_save_prefix="$prefix"
27222 prefix="$acl_final_prefix"
27223 acl_save_exec_prefix="$exec_prefix"
27224 exec_prefix="$acl_final_exec_prefix"
27225 eval x=\"$x\"
27226 exec_prefix="$acl_save_exec_prefix"
27227 prefix="$acl_save_prefix"
27229 if test "X$x" = "X-L$additional_libdir"; then
27230 haveit=yes
27231 break
27233 done
27234 if test -z "$haveit"; then
27235 if test -d "$additional_libdir"; then
27236 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27242 -R*)
27243 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27244 if test "$enable_rpath" != no; then
27245 haveit=
27246 for x in $rpathdirs; do
27247 if test "X$x" = "X$dir"; then
27248 haveit=yes
27249 break
27251 done
27252 if test -z "$haveit"; then
27253 rpathdirs="$rpathdirs $dir"
27255 haveit=
27256 for x in $ltrpathdirs; do
27257 if test "X$x" = "X$dir"; then
27258 haveit=yes
27259 break
27261 done
27262 if test -z "$haveit"; then
27263 ltrpathdirs="$ltrpathdirs $dir"
27267 -l*)
27268 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27270 *.la)
27271 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27274 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27275 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27277 esac
27278 done
27280 else
27281 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27282 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27286 done
27287 done
27288 if test "X$rpathdirs" != "X"; then
27289 if test -n "$hardcode_libdir_separator"; then
27290 alldirs=
27291 for found_dir in $rpathdirs; do
27292 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27293 done
27294 acl_save_libdir="$libdir"
27295 libdir="$alldirs"
27296 eval flag=\"$hardcode_libdir_flag_spec\"
27297 libdir="$acl_save_libdir"
27298 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27299 else
27300 for found_dir in $rpathdirs; do
27301 acl_save_libdir="$libdir"
27302 libdir="$found_dir"
27303 eval flag=\"$hardcode_libdir_flag_spec\"
27304 libdir="$acl_save_libdir"
27305 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27306 done
27309 if test "X$ltrpathdirs" != "X"; then
27310 for found_dir in $ltrpathdirs; do
27311 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27312 done
27321 am_save_CPPFLAGS="$CPPFLAGS"
27323 for element in $INCICONV; do
27324 haveit=
27325 for x in $CPPFLAGS; do
27327 acl_save_prefix="$prefix"
27328 prefix="$acl_final_prefix"
27329 acl_save_exec_prefix="$exec_prefix"
27330 exec_prefix="$acl_final_exec_prefix"
27331 eval x=\"$x\"
27332 exec_prefix="$acl_save_exec_prefix"
27333 prefix="$acl_save_prefix"
27335 if test "X$x" = "X$element"; then
27336 haveit=yes
27337 break
27339 done
27340 if test -z "$haveit"; then
27341 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27343 done
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27347 $as_echo_n "checking for iconv... " >&6; }
27348 if test "${am_cv_func_iconv+set}" = set; then :
27349 $as_echo_n "(cached) " >&6
27350 else
27352 am_cv_func_iconv="no, consider installing GNU libiconv"
27353 am_cv_lib_iconv=no
27354 if test x$gcc_no_link = xyes; then
27355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h. */
27359 #include <stdlib.h>
27360 #include <iconv.h>
27362 main ()
27364 iconv_t cd = iconv_open("","");
27365 iconv(cd,NULL,NULL,NULL,NULL);
27366 iconv_close(cd);
27368 return 0;
27370 _ACEOF
27371 if ac_fn_c_try_link "$LINENO"; then :
27372 am_cv_func_iconv=yes
27374 rm -f core conftest.err conftest.$ac_objext \
27375 conftest$ac_exeext conftest.$ac_ext
27376 if test "$am_cv_func_iconv" != yes; then
27377 am_save_LIBS="$LIBS"
27378 LIBS="$LIBS $LIBICONV"
27379 if test x$gcc_no_link = xyes; then
27380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27383 /* end confdefs.h. */
27384 #include <stdlib.h>
27385 #include <iconv.h>
27387 main ()
27389 iconv_t cd = iconv_open("","");
27390 iconv(cd,NULL,NULL,NULL,NULL);
27391 iconv_close(cd);
27393 return 0;
27395 _ACEOF
27396 if ac_fn_c_try_link "$LINENO"; then :
27397 am_cv_lib_iconv=yes
27398 am_cv_func_iconv=yes
27400 rm -f core conftest.err conftest.$ac_objext \
27401 conftest$ac_exeext conftest.$ac_ext
27402 LIBS="$am_save_LIBS"
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27407 $as_echo "$am_cv_func_iconv" >&6; }
27408 if test "$am_cv_func_iconv" = yes; then
27410 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27413 if test "$am_cv_lib_iconv" = yes; then
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27415 $as_echo_n "checking how to link with libiconv... " >&6; }
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27417 $as_echo "$LIBICONV" >&6; }
27418 else
27419 CPPFLAGS="$am_save_CPPFLAGS"
27420 LIBICONV=
27421 LTLIBICONV=
27426 if test "$am_cv_func_iconv" = yes; then
27427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27428 $as_echo_n "checking for iconv declaration... " >&6; }
27429 if test "${am_cv_proto_iconv+set}" = set; then :
27430 $as_echo_n "(cached) " >&6
27431 else
27433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27434 /* end confdefs.h. */
27436 #include <stdlib.h>
27437 #include <iconv.h>
27438 extern
27439 #ifdef __cplusplus
27441 #endif
27442 #if defined(__STDC__) || defined(__cplusplus)
27443 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27444 #else
27445 size_t iconv();
27446 #endif
27449 main ()
27453 return 0;
27455 _ACEOF
27456 if ac_fn_c_try_compile "$LINENO"; then :
27457 am_cv_proto_iconv_arg1=""
27458 else
27459 am_cv_proto_iconv_arg1="const"
27461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27462 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);"
27465 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27467 }$am_cv_proto_iconv" >&5
27468 $as_echo "${ac_t:-
27469 }$am_cv_proto_iconv" >&6; }
27471 cat >>confdefs.h <<_ACEOF
27472 #define ICONV_CONST $am_cv_proto_iconv_arg1
27473 _ACEOF
27478 else
27480 # This lets us hard-code the functionality we know we'll have in the cross
27481 # target environment. "Let" is a sugar-coated word placed on an especially
27482 # dull and tedious hack, actually.
27484 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27485 # that involve linking, can't be used:
27486 # "cannot open sim-crt0.o"
27487 # "cannot open crt0.o"
27488 # etc. All this is because there currently exists no unified, consistent
27489 # way for top level CC information to be passed down to target directories:
27490 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27491 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27492 # crosses can be removed.
27494 # If Canadian cross, then don't pick up tools from the build directory.
27495 # Used only in GLIBCXX_EXPORT_INCLUDES.
27496 if test -n "$with_cross_host" &&
27497 test x"$build_alias" != x"$with_cross_host" &&
27498 test x"$build" != x"$target";
27499 then
27500 CANADIAN=yes
27501 else
27502 CANADIAN=no
27505 # Construct crosses by hand, eliminating bits that need ld...
27506 # GLIBCXX_CHECK_MATH_SUPPORT
27508 # First, test for "known" system libraries. We may be using newlib even
27509 # on a hosted environment.
27510 if test "x${with_newlib}" = "xyes"; then
27511 os_include_dir="os/newlib"
27512 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27515 # GLIBCXX_CHECK_STDLIB_SUPPORT
27516 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27519 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27521 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27523 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27525 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27527 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27529 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27531 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27533 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27535 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27537 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27539 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27541 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27543 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27545 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27547 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27549 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27551 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27553 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27555 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27557 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27559 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27561 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27564 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27566 else
27568 # Base decisions on target environment.
27569 case "${host}" in
27570 arm*-*-symbianelf*)
27571 # This is a freestanding configuration; there is nothing to do here.
27574 mips*-sde-elf*)
27575 # These definitions are for the SDE C library rather than newlib.
27576 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27579 # All these tests are for C++; save the language and the compiler flags.
27580 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27581 # found in GLIBCXX_CONFIGURE.
27583 ac_ext=cpp
27584 ac_cpp='$CXXCPP $CPPFLAGS'
27585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27590 ac_save_CXXFLAGS="$CXXFLAGS"
27592 # Check for maintainer-mode bits.
27593 if test x"$USE_MAINTAINER_MODE" = xno; then
27594 WERROR=''
27595 else
27596 WERROR='-Werror'
27599 # Check for -ffunction-sections -fdata-sections
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27601 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27602 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27604 /* end confdefs.h. */
27605 int foo; void bar() { };
27607 main ()
27611 return 0;
27613 _ACEOF
27614 if ac_fn_cxx_try_compile "$LINENO"; then :
27615 ac_fdsections=yes
27616 else
27617 ac_fdsections=no
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27620 if test "$ac_test_CXXFLAGS" = set; then
27621 CXXFLAGS="$ac_save_CXXFLAGS"
27622 else
27623 # this is the suspicious part
27624 CXXFLAGS=''
27626 if test x"$ac_fdsections" = x"yes"; then
27627 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27630 $as_echo "$ac_fdsections" >&6; }
27632 ac_ext=c
27633 ac_cpp='$CPP $CPPFLAGS'
27634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27642 # If we're not using GNU ld, then there's no point in even trying these
27643 # tests. Check for that first. We should have already tested for gld
27644 # by now (in libtool), but require it now just to be safe...
27645 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27646 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27650 # The name set by libtool depends on the version of libtool. Shame on us
27651 # for depending on an impl detail, but c'est la vie. Older versions used
27652 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27653 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27654 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27655 # set (hence we're using an older libtool), then set it.
27656 if test x${with_gnu_ld+set} != xset; then
27657 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27658 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27659 with_gnu_ld=no
27660 else
27661 with_gnu_ld=$ac_cv_prog_gnu_ld
27665 # Start by getting the version number. I think the libtool test already
27666 # does some of this, but throws away the result.
27667 glibcxx_ld_is_gold=no
27668 if test x"$with_gnu_ld" = x"yes"; then
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27670 $as_echo_n "checking for ld version... " >&6; }
27672 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27673 glibcxx_ld_is_gold=yes
27675 ldver=`$LD --version 2>/dev/null |
27676 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'`
27678 glibcxx_gnu_ld_version=`echo $ldver | \
27679 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27681 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27684 # Set --gc-sections.
27685 glibcxx_have_gc_sections=no
27686 if test "$glibcxx_ld_is_gold" = "yes"; then
27687 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27688 glibcxx_have_gc_sections=yes
27690 else
27691 glibcxx_gcsections_min_ld=21602
27692 if test x"$with_gnu_ld" = x"yes" &&
27693 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27694 glibcxx_have_gc_sections=yes
27697 if test "$glibcxx_have_gc_sections" = "yes"; then
27698 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27699 # NB: This flag only works reliably after 2.16.1. Configure tests
27700 # for this are difficult, so hard wire a value that should work.
27702 ac_test_CFLAGS="${CFLAGS+set}"
27703 ac_save_CFLAGS="$CFLAGS"
27704 CFLAGS='-Wl,--gc-sections'
27706 # Check for -Wl,--gc-sections
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27708 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27709 if test x$gcc_no_link = xyes; then
27710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27713 /* end confdefs.h. */
27714 int one(void) { return 1; }
27715 int two(void) { return 2; }
27718 main ()
27720 two();
27722 return 0;
27724 _ACEOF
27725 if ac_fn_c_try_link "$LINENO"; then :
27726 ac_gcsections=yes
27727 else
27728 ac_gcsections=no
27730 rm -f core conftest.err conftest.$ac_objext \
27731 conftest$ac_exeext conftest.$ac_ext
27732 if test "$ac_gcsections" = "yes"; then
27733 rm -f conftest.c
27734 touch conftest.c
27735 if $CC -c conftest.c; then
27736 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27737 grep "Warning: gc-sections option ignored" > /dev/null; then
27738 ac_gcsections=no
27741 rm -f conftest.c conftest.o conftest
27743 if test "$ac_gcsections" = "yes"; then
27744 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27747 $as_echo "$ac_gcsections" >&6; }
27749 if test "$ac_test_CFLAGS" = set; then
27750 CFLAGS="$ac_save_CFLAGS"
27751 else
27752 # this is the suspicious part
27753 CFLAGS=''
27757 # Set -z,relro.
27758 # Note this is only for shared objects.
27759 ac_ld_relro=no
27760 if test x"$with_gnu_ld" = x"yes"; then
27761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27762 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27763 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27764 if test -n "$cxx_z_relo"; then
27765 OPT_LDFLAGS="-Wl,-z,relro"
27766 ac_ld_relro=yes
27768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27769 $as_echo "$ac_ld_relro" >&6; }
27772 # Set linker optimization flags.
27773 if test x"$with_gnu_ld" = x"yes"; then
27774 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27781 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27782 ac_save_CXXFLAGS="$CXXFLAGS"
27783 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27786 $as_echo_n "checking for sin in -lm... " >&6; }
27787 if test "${ac_cv_lib_m_sin+set}" = set; then :
27788 $as_echo_n "(cached) " >&6
27789 else
27790 ac_check_lib_save_LIBS=$LIBS
27791 LIBS="-lm $LIBS"
27792 if test x$gcc_no_link = xyes; then
27793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27796 /* end confdefs.h. */
27798 /* Override any GCC internal prototype to avoid an error.
27799 Use char because int might match the return type of a GCC
27800 builtin and then its argument prototype would still apply. */
27801 #ifdef __cplusplus
27802 extern "C"
27803 #endif
27804 char sin ();
27806 main ()
27808 return sin ();
27810 return 0;
27812 _ACEOF
27813 if ac_fn_c_try_link "$LINENO"; then :
27814 ac_cv_lib_m_sin=yes
27815 else
27816 ac_cv_lib_m_sin=no
27818 rm -f core conftest.err conftest.$ac_objext \
27819 conftest$ac_exeext conftest.$ac_ext
27820 LIBS=$ac_check_lib_save_LIBS
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27823 $as_echo "$ac_cv_lib_m_sin" >&6; }
27824 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27825 libm="-lm"
27828 ac_save_LIBS="$LIBS"
27829 LIBS="$LIBS $libm"
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27834 $as_echo_n "checking for isinf declaration... " >&6; }
27835 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27836 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27837 $as_echo_n "(cached) " >&6
27838 else
27841 ac_ext=cpp
27842 ac_cpp='$CXXCPP $CPPFLAGS'
27843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27848 /* end confdefs.h. */
27849 #include <math.h>
27850 #ifdef HAVE_IEEEFP_H
27851 #include <ieeefp.h>
27852 #endif
27855 main ()
27857 isinf(0);
27859 return 0;
27861 _ACEOF
27862 if ac_fn_cxx_try_compile "$LINENO"; then :
27863 glibcxx_cv_func_isinf_use=yes
27864 else
27865 glibcxx_cv_func_isinf_use=no
27867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27868 ac_ext=c
27869 ac_cpp='$CPP $CPPFLAGS'
27870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27879 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27881 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27882 for ac_func in isinf
27883 do :
27884 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27885 if test "x$ac_cv_func_isinf" = x""yes; then :
27886 cat >>confdefs.h <<_ACEOF
27887 #define HAVE_ISINF 1
27888 _ACEOF
27891 done
27893 else
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27896 $as_echo_n "checking for _isinf declaration... " >&6; }
27897 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27898 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27899 $as_echo_n "(cached) " >&6
27900 else
27903 ac_ext=cpp
27904 ac_cpp='$CXXCPP $CPPFLAGS'
27905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27910 /* end confdefs.h. */
27911 #include <math.h>
27912 #ifdef HAVE_IEEEFP_H
27913 #include <ieeefp.h>
27914 #endif
27917 main ()
27919 _isinf(0);
27921 return 0;
27923 _ACEOF
27924 if ac_fn_cxx_try_compile "$LINENO"; then :
27925 glibcxx_cv_func__isinf_use=yes
27926 else
27927 glibcxx_cv_func__isinf_use=no
27929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27930 ac_ext=c
27931 ac_cpp='$CPP $CPPFLAGS'
27932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27941 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27943 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27944 for ac_func in _isinf
27945 do :
27946 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27947 if test "x$ac_cv_func__isinf" = x""yes; then :
27948 cat >>confdefs.h <<_ACEOF
27949 #define HAVE__ISINF 1
27950 _ACEOF
27953 done
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27963 $as_echo_n "checking for isnan declaration... " >&6; }
27964 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27965 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27966 $as_echo_n "(cached) " >&6
27967 else
27970 ac_ext=cpp
27971 ac_cpp='$CXXCPP $CPPFLAGS'
27972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27977 /* end confdefs.h. */
27978 #include <math.h>
27979 #ifdef HAVE_IEEEFP_H
27980 #include <ieeefp.h>
27981 #endif
27984 main ()
27986 isnan(0);
27988 return 0;
27990 _ACEOF
27991 if ac_fn_cxx_try_compile "$LINENO"; then :
27992 glibcxx_cv_func_isnan_use=yes
27993 else
27994 glibcxx_cv_func_isnan_use=no
27996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27997 ac_ext=c
27998 ac_cpp='$CPP $CPPFLAGS'
27999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28008 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28010 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28011 for ac_func in isnan
28012 do :
28013 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28014 if test "x$ac_cv_func_isnan" = x""yes; then :
28015 cat >>confdefs.h <<_ACEOF
28016 #define HAVE_ISNAN 1
28017 _ACEOF
28020 done
28022 else
28024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28025 $as_echo_n "checking for _isnan declaration... " >&6; }
28026 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28027 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28028 $as_echo_n "(cached) " >&6
28029 else
28032 ac_ext=cpp
28033 ac_cpp='$CXXCPP $CPPFLAGS'
28034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28039 /* end confdefs.h. */
28040 #include <math.h>
28041 #ifdef HAVE_IEEEFP_H
28042 #include <ieeefp.h>
28043 #endif
28046 main ()
28048 _isnan(0);
28050 return 0;
28052 _ACEOF
28053 if ac_fn_cxx_try_compile "$LINENO"; then :
28054 glibcxx_cv_func__isnan_use=yes
28055 else
28056 glibcxx_cv_func__isnan_use=no
28058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28059 ac_ext=c
28060 ac_cpp='$CPP $CPPFLAGS'
28061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28070 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28072 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28073 for ac_func in _isnan
28074 do :
28075 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28076 if test "x$ac_cv_func__isnan" = x""yes; then :
28077 cat >>confdefs.h <<_ACEOF
28078 #define HAVE__ISNAN 1
28079 _ACEOF
28082 done
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28092 $as_echo_n "checking for finite declaration... " >&6; }
28093 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28094 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28095 $as_echo_n "(cached) " >&6
28096 else
28099 ac_ext=cpp
28100 ac_cpp='$CXXCPP $CPPFLAGS'
28101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28107 #include <math.h>
28108 #ifdef HAVE_IEEEFP_H
28109 #include <ieeefp.h>
28110 #endif
28113 main ()
28115 finite(0);
28117 return 0;
28119 _ACEOF
28120 if ac_fn_cxx_try_compile "$LINENO"; then :
28121 glibcxx_cv_func_finite_use=yes
28122 else
28123 glibcxx_cv_func_finite_use=no
28125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28126 ac_ext=c
28127 ac_cpp='$CPP $CPPFLAGS'
28128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28137 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28139 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28140 for ac_func in finite
28141 do :
28142 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28143 if test "x$ac_cv_func_finite" = x""yes; then :
28144 cat >>confdefs.h <<_ACEOF
28145 #define HAVE_FINITE 1
28146 _ACEOF
28149 done
28151 else
28153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28154 $as_echo_n "checking for _finite declaration... " >&6; }
28155 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28156 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28157 $as_echo_n "(cached) " >&6
28158 else
28161 ac_ext=cpp
28162 ac_cpp='$CXXCPP $CPPFLAGS'
28163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168 /* end confdefs.h. */
28169 #include <math.h>
28170 #ifdef HAVE_IEEEFP_H
28171 #include <ieeefp.h>
28172 #endif
28175 main ()
28177 _finite(0);
28179 return 0;
28181 _ACEOF
28182 if ac_fn_cxx_try_compile "$LINENO"; then :
28183 glibcxx_cv_func__finite_use=yes
28184 else
28185 glibcxx_cv_func__finite_use=no
28187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28188 ac_ext=c
28189 ac_cpp='$CPP $CPPFLAGS'
28190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28199 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28201 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28202 for ac_func in _finite
28203 do :
28204 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28205 if test "x$ac_cv_func__finite" = x""yes; then :
28206 cat >>confdefs.h <<_ACEOF
28207 #define HAVE__FINITE 1
28208 _ACEOF
28211 done
28220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28221 $as_echo_n "checking for sincos declaration... " >&6; }
28222 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28223 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28224 $as_echo_n "(cached) " >&6
28225 else
28228 ac_ext=cpp
28229 ac_cpp='$CXXCPP $CPPFLAGS'
28230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28235 /* end confdefs.h. */
28236 #include <math.h>
28238 main ()
28240 sincos(0, 0, 0);
28242 return 0;
28244 _ACEOF
28245 if ac_fn_cxx_try_compile "$LINENO"; then :
28246 glibcxx_cv_func_sincos_use=yes
28247 else
28248 glibcxx_cv_func_sincos_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_sincos_use" >&5
28262 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28264 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28265 for ac_func in sincos
28266 do :
28267 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28268 if test "x$ac_cv_func_sincos" = x""yes; then :
28269 cat >>confdefs.h <<_ACEOF
28270 #define HAVE_SINCOS 1
28271 _ACEOF
28274 done
28276 else
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28279 $as_echo_n "checking for _sincos declaration... " >&6; }
28280 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28281 if test "${glibcxx_cv_func__sincos_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>
28296 main ()
28298 _sincos(0, 0, 0);
28300 return 0;
28302 _ACEOF
28303 if ac_fn_cxx_try_compile "$LINENO"; then :
28304 glibcxx_cv_func__sincos_use=yes
28305 else
28306 glibcxx_cv_func__sincos_use=no
28308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28309 ac_ext=c
28310 ac_cpp='$CPP $CPPFLAGS'
28311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28320 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28322 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28323 for ac_func in _sincos
28324 do :
28325 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28326 if test "x$ac_cv_func__sincos" = x""yes; then :
28327 cat >>confdefs.h <<_ACEOF
28328 #define HAVE__SINCOS 1
28329 _ACEOF
28332 done
28341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28342 $as_echo_n "checking for fpclass declaration... " >&6; }
28343 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28344 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28345 $as_echo_n "(cached) " >&6
28346 else
28349 ac_ext=cpp
28350 ac_cpp='$CXXCPP $CPPFLAGS'
28351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28356 /* end confdefs.h. */
28357 #include <math.h>
28358 #ifdef HAVE_IEEEFP_H
28359 #include <ieeefp.h>
28360 #endif
28363 main ()
28365 fpclass(0);
28367 return 0;
28369 _ACEOF
28370 if ac_fn_cxx_try_compile "$LINENO"; then :
28371 glibcxx_cv_func_fpclass_use=yes
28372 else
28373 glibcxx_cv_func_fpclass_use=no
28375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28376 ac_ext=c
28377 ac_cpp='$CPP $CPPFLAGS'
28378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28387 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28389 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28390 for ac_func in fpclass
28391 do :
28392 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28393 if test "x$ac_cv_func_fpclass" = x""yes; then :
28394 cat >>confdefs.h <<_ACEOF
28395 #define HAVE_FPCLASS 1
28396 _ACEOF
28399 done
28401 else
28403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28404 $as_echo_n "checking for _fpclass declaration... " >&6; }
28405 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28406 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28407 $as_echo_n "(cached) " >&6
28408 else
28411 ac_ext=cpp
28412 ac_cpp='$CXXCPP $CPPFLAGS'
28413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28418 /* end confdefs.h. */
28419 #include <math.h>
28420 #ifdef HAVE_IEEEFP_H
28421 #include <ieeefp.h>
28422 #endif
28425 main ()
28427 _fpclass(0);
28429 return 0;
28431 _ACEOF
28432 if ac_fn_cxx_try_compile "$LINENO"; then :
28433 glibcxx_cv_func__fpclass_use=yes
28434 else
28435 glibcxx_cv_func__fpclass_use=no
28437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28438 ac_ext=c
28439 ac_cpp='$CPP $CPPFLAGS'
28440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28449 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28451 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28452 for ac_func in _fpclass
28453 do :
28454 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28455 if test "x$ac_cv_func__fpclass" = x""yes; then :
28456 cat >>confdefs.h <<_ACEOF
28457 #define HAVE__FPCLASS 1
28458 _ACEOF
28461 done
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28471 $as_echo_n "checking for qfpclass declaration... " >&6; }
28472 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28473 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28474 $as_echo_n "(cached) " >&6
28475 else
28478 ac_ext=cpp
28479 ac_cpp='$CXXCPP $CPPFLAGS'
28480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28485 /* end confdefs.h. */
28486 #include <math.h>
28487 #ifdef HAVE_IEEEFP_H
28488 #include <ieeefp.h>
28489 #endif
28492 main ()
28494 qfpclass(0);
28496 return 0;
28498 _ACEOF
28499 if ac_fn_cxx_try_compile "$LINENO"; then :
28500 glibcxx_cv_func_qfpclass_use=yes
28501 else
28502 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
28516 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28518 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28519 for ac_func in qfpclass
28520 do :
28521 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28522 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_QFPCLASS 1
28525 _ACEOF
28528 done
28530 else
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28533 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28534 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28535 if test "${glibcxx_cv_func__qfpclass_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>
28549 #ifdef HAVE_IEEEFP_H
28550 #include <ieeefp.h>
28551 #endif
28554 main ()
28556 _qfpclass(0);
28558 return 0;
28560 _ACEOF
28561 if ac_fn_cxx_try_compile "$LINENO"; then :
28562 glibcxx_cv_func__qfpclass_use=yes
28563 else
28564 glibcxx_cv_func__qfpclass_use=no
28566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28567 ac_ext=c
28568 ac_cpp='$CPP $CPPFLAGS'
28569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28578 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28580 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28581 for ac_func in _qfpclass
28582 do :
28583 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28584 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28585 cat >>confdefs.h <<_ACEOF
28586 #define HAVE__QFPCLASS 1
28587 _ACEOF
28590 done
28599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28600 $as_echo_n "checking for hypot declaration... " >&6; }
28601 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28602 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28603 $as_echo_n "(cached) " >&6
28604 else
28607 ac_ext=cpp
28608 ac_cpp='$CXXCPP $CPPFLAGS'
28609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28614 /* end confdefs.h. */
28615 #include <math.h>
28617 main ()
28619 hypot(0, 0);
28621 return 0;
28623 _ACEOF
28624 if ac_fn_cxx_try_compile "$LINENO"; then :
28625 glibcxx_cv_func_hypot_use=yes
28626 else
28627 glibcxx_cv_func_hypot_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_hypot_use" >&5
28641 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28643 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28644 for ac_func in hypot
28645 do :
28646 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28647 if test "x$ac_cv_func_hypot" = x""yes; then :
28648 cat >>confdefs.h <<_ACEOF
28649 #define HAVE_HYPOT 1
28650 _ACEOF
28653 done
28655 else
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28658 $as_echo_n "checking for _hypot declaration... " >&6; }
28659 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28660 if test "${glibcxx_cv_func__hypot_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>
28675 main ()
28677 _hypot(0, 0);
28679 return 0;
28681 _ACEOF
28682 if ac_fn_cxx_try_compile "$LINENO"; then :
28683 glibcxx_cv_func__hypot_use=yes
28684 else
28685 glibcxx_cv_func__hypot_use=no
28687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28688 ac_ext=c
28689 ac_cpp='$CPP $CPPFLAGS'
28690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28699 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28701 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28702 for ac_func in _hypot
28703 do :
28704 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28705 if test "x$ac_cv_func__hypot" = x""yes; then :
28706 cat >>confdefs.h <<_ACEOF
28707 #define HAVE__HYPOT 1
28708 _ACEOF
28711 done
28720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28721 $as_echo_n "checking for float trig functions... " >&6; }
28722 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28723 $as_echo_n "(cached) " >&6
28724 else
28727 ac_ext=cpp
28728 ac_cpp='$CXXCPP $CPPFLAGS'
28729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28734 /* end confdefs.h. */
28735 #include <math.h>
28737 main ()
28739 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28741 return 0;
28743 _ACEOF
28744 if ac_fn_cxx_try_compile "$LINENO"; then :
28745 glibcxx_cv_func_float_trig_use=yes
28746 else
28747 glibcxx_cv_func_float_trig_use=no
28749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28750 ac_ext=c
28751 ac_cpp='$CPP $CPPFLAGS'
28752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28759 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28760 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28761 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28762 do :
28763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28765 eval as_val=\$$as_ac_var
28766 if test "x$as_val" = x""yes; then :
28767 cat >>confdefs.h <<_ACEOF
28768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28769 _ACEOF
28772 done
28774 else
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28776 $as_echo_n "checking for _float trig functions... " >&6; }
28777 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28778 $as_echo_n "(cached) " >&6
28779 else
28782 ac_ext=cpp
28783 ac_cpp='$CXXCPP $CPPFLAGS'
28784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28789 /* end confdefs.h. */
28790 #include <math.h>
28792 main ()
28794 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28796 return 0;
28798 _ACEOF
28799 if ac_fn_cxx_try_compile "$LINENO"; then :
28800 glibcxx_cv_func__float_trig_use=yes
28801 else
28802 glibcxx_cv_func__float_trig_use=no
28804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28805 ac_ext=c
28806 ac_cpp='$CPP $CPPFLAGS'
28807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28814 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28815 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28816 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28817 do :
28818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28820 eval as_val=\$$as_ac_var
28821 if test "x$as_val" = x""yes; then :
28822 cat >>confdefs.h <<_ACEOF
28823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28824 _ACEOF
28827 done
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28837 $as_echo_n "checking for float round functions... " >&6; }
28838 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28839 $as_echo_n "(cached) " >&6
28840 else
28843 ac_ext=cpp
28844 ac_cpp='$CXXCPP $CPPFLAGS'
28845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28850 /* end confdefs.h. */
28851 #include <math.h>
28853 main ()
28855 ceilf (0); floorf (0);
28857 return 0;
28859 _ACEOF
28860 if ac_fn_cxx_try_compile "$LINENO"; then :
28861 glibcxx_cv_func_float_round_use=yes
28862 else
28863 glibcxx_cv_func_float_round_use=no
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866 ac_ext=c
28867 ac_cpp='$CPP $CPPFLAGS'
28868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28875 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28876 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28877 for ac_func in ceilf floorf
28878 do :
28879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28881 eval as_val=\$$as_ac_var
28882 if test "x$as_val" = x""yes; then :
28883 cat >>confdefs.h <<_ACEOF
28884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28885 _ACEOF
28888 done
28890 else
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28892 $as_echo_n "checking for _float round functions... " >&6; }
28893 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28894 $as_echo_n "(cached) " >&6
28895 else
28898 ac_ext=cpp
28899 ac_cpp='$CXXCPP $CPPFLAGS'
28900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28906 #include <math.h>
28908 main ()
28910 _ceilf (0); _floorf (0);
28912 return 0;
28914 _ACEOF
28915 if ac_fn_cxx_try_compile "$LINENO"; then :
28916 glibcxx_cv_func__float_round_use=yes
28917 else
28918 glibcxx_cv_func__float_round_use=no
28920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 ac_ext=c
28922 ac_cpp='$CPP $CPPFLAGS'
28923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28930 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28931 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28932 for ac_func in _ceilf _floorf
28933 do :
28934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28936 eval as_val=\$$as_ac_var
28937 if test "x$as_val" = x""yes; then :
28938 cat >>confdefs.h <<_ACEOF
28939 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28940 _ACEOF
28943 done
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28954 $as_echo_n "checking for expf declaration... " >&6; }
28955 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28956 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28957 $as_echo_n "(cached) " >&6
28958 else
28961 ac_ext=cpp
28962 ac_cpp='$CXXCPP $CPPFLAGS'
28963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28968 /* end confdefs.h. */
28969 #include <math.h>
28970 #ifdef HAVE_IEEEFP_H
28971 #include <ieeefp.h>
28972 #endif
28975 main ()
28977 expf(0);
28979 return 0;
28981 _ACEOF
28982 if ac_fn_cxx_try_compile "$LINENO"; then :
28983 glibcxx_cv_func_expf_use=yes
28984 else
28985 glibcxx_cv_func_expf_use=no
28987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28988 ac_ext=c
28989 ac_cpp='$CPP $CPPFLAGS'
28990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28999 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29001 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29002 for ac_func in expf
29003 do :
29004 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29005 if test "x$ac_cv_func_expf" = x""yes; then :
29006 cat >>confdefs.h <<_ACEOF
29007 #define HAVE_EXPF 1
29008 _ACEOF
29011 done
29013 else
29015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29016 $as_echo_n "checking for _expf declaration... " >&6; }
29017 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29018 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29019 $as_echo_n "(cached) " >&6
29020 else
29023 ac_ext=cpp
29024 ac_cpp='$CXXCPP $CPPFLAGS'
29025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29030 /* end confdefs.h. */
29031 #include <math.h>
29032 #ifdef HAVE_IEEEFP_H
29033 #include <ieeefp.h>
29034 #endif
29037 main ()
29039 _expf(0);
29041 return 0;
29043 _ACEOF
29044 if ac_fn_cxx_try_compile "$LINENO"; then :
29045 glibcxx_cv_func__expf_use=yes
29046 else
29047 glibcxx_cv_func__expf_use=no
29049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29050 ac_ext=c
29051 ac_cpp='$CPP $CPPFLAGS'
29052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29061 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29063 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29064 for ac_func in _expf
29065 do :
29066 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29067 if test "x$ac_cv_func__expf" = x""yes; then :
29068 cat >>confdefs.h <<_ACEOF
29069 #define HAVE__EXPF 1
29070 _ACEOF
29073 done
29082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29083 $as_echo_n "checking for isnanf declaration... " >&6; }
29084 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29085 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29086 $as_echo_n "(cached) " >&6
29087 else
29090 ac_ext=cpp
29091 ac_cpp='$CXXCPP $CPPFLAGS'
29092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29097 /* end confdefs.h. */
29098 #include <math.h>
29099 #ifdef HAVE_IEEEFP_H
29100 #include <ieeefp.h>
29101 #endif
29104 main ()
29106 isnanf(0);
29108 return 0;
29110 _ACEOF
29111 if ac_fn_cxx_try_compile "$LINENO"; then :
29112 glibcxx_cv_func_isnanf_use=yes
29113 else
29114 glibcxx_cv_func_isnanf_use=no
29116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29117 ac_ext=c
29118 ac_cpp='$CPP $CPPFLAGS'
29119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29128 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29130 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29131 for ac_func in isnanf
29132 do :
29133 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29134 if test "x$ac_cv_func_isnanf" = x""yes; then :
29135 cat >>confdefs.h <<_ACEOF
29136 #define HAVE_ISNANF 1
29137 _ACEOF
29140 done
29142 else
29144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29145 $as_echo_n "checking for _isnanf declaration... " >&6; }
29146 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29147 if test "${glibcxx_cv_func__isnanf_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>
29161 #ifdef HAVE_IEEEFP_H
29162 #include <ieeefp.h>
29163 #endif
29166 main ()
29168 _isnanf(0);
29170 return 0;
29172 _ACEOF
29173 if ac_fn_cxx_try_compile "$LINENO"; then :
29174 glibcxx_cv_func__isnanf_use=yes
29175 else
29176 glibcxx_cv_func__isnanf_use=no
29178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29179 ac_ext=c
29180 ac_cpp='$CPP $CPPFLAGS'
29181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29190 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29192 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29193 for ac_func in _isnanf
29194 do :
29195 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29196 if test "x$ac_cv_func__isnanf" = x""yes; then :
29197 cat >>confdefs.h <<_ACEOF
29198 #define HAVE__ISNANF 1
29199 _ACEOF
29202 done
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29212 $as_echo_n "checking for isinff declaration... " >&6; }
29213 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29214 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29215 $as_echo_n "(cached) " >&6
29216 else
29219 ac_ext=cpp
29220 ac_cpp='$CXXCPP $CPPFLAGS'
29221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29226 /* end confdefs.h. */
29227 #include <math.h>
29228 #ifdef HAVE_IEEEFP_H
29229 #include <ieeefp.h>
29230 #endif
29233 main ()
29235 isinff(0);
29237 return 0;
29239 _ACEOF
29240 if ac_fn_cxx_try_compile "$LINENO"; then :
29241 glibcxx_cv_func_isinff_use=yes
29242 else
29243 glibcxx_cv_func_isinff_use=no
29245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29246 ac_ext=c
29247 ac_cpp='$CPP $CPPFLAGS'
29248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29257 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29259 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29260 for ac_func in isinff
29261 do :
29262 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29263 if test "x$ac_cv_func_isinff" = x""yes; then :
29264 cat >>confdefs.h <<_ACEOF
29265 #define HAVE_ISINFF 1
29266 _ACEOF
29269 done
29271 else
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29274 $as_echo_n "checking for _isinff declaration... " >&6; }
29275 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29276 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29277 $as_echo_n "(cached) " >&6
29278 else
29281 ac_ext=cpp
29282 ac_cpp='$CXXCPP $CPPFLAGS'
29283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29288 /* end confdefs.h. */
29289 #include <math.h>
29290 #ifdef HAVE_IEEEFP_H
29291 #include <ieeefp.h>
29292 #endif
29295 main ()
29297 _isinff(0);
29299 return 0;
29301 _ACEOF
29302 if ac_fn_cxx_try_compile "$LINENO"; then :
29303 glibcxx_cv_func__isinff_use=yes
29304 else
29305 glibcxx_cv_func__isinff_use=no
29307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29308 ac_ext=c
29309 ac_cpp='$CPP $CPPFLAGS'
29310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29319 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29321 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29322 for ac_func in _isinff
29323 do :
29324 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29325 if test "x$ac_cv_func__isinff" = x""yes; then :
29326 cat >>confdefs.h <<_ACEOF
29327 #define HAVE__ISINFF 1
29328 _ACEOF
29331 done
29340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29341 $as_echo_n "checking for atan2f declaration... " >&6; }
29342 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29343 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29344 $as_echo_n "(cached) " >&6
29345 else
29348 ac_ext=cpp
29349 ac_cpp='$CXXCPP $CPPFLAGS'
29350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29355 /* end confdefs.h. */
29356 #include <math.h>
29358 main ()
29360 atan2f(0, 0);
29362 return 0;
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366 glibcxx_cv_func_atan2f_use=yes
29367 else
29368 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
29382 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29384 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29385 for ac_func in atan2f
29386 do :
29387 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29388 if test "x$ac_cv_func_atan2f" = x""yes; then :
29389 cat >>confdefs.h <<_ACEOF
29390 #define HAVE_ATAN2F 1
29391 _ACEOF
29394 done
29396 else
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29399 $as_echo_n "checking for _atan2f declaration... " >&6; }
29400 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29401 if test "${glibcxx_cv_func__atan2f_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>
29416 main ()
29418 _atan2f(0, 0);
29420 return 0;
29422 _ACEOF
29423 if ac_fn_cxx_try_compile "$LINENO"; then :
29424 glibcxx_cv_func__atan2f_use=yes
29425 else
29426 glibcxx_cv_func__atan2f_use=no
29428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29429 ac_ext=c
29430 ac_cpp='$CPP $CPPFLAGS'
29431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29440 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29442 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29443 for ac_func in _atan2f
29444 do :
29445 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29446 if test "x$ac_cv_func__atan2f" = x""yes; then :
29447 cat >>confdefs.h <<_ACEOF
29448 #define HAVE__ATAN2F 1
29449 _ACEOF
29452 done
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29462 $as_echo_n "checking for fabsf declaration... " >&6; }
29463 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29464 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29465 $as_echo_n "(cached) " >&6
29466 else
29469 ac_ext=cpp
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h. */
29477 #include <math.h>
29478 #ifdef HAVE_IEEEFP_H
29479 #include <ieeefp.h>
29480 #endif
29483 main ()
29485 fabsf(0);
29487 return 0;
29489 _ACEOF
29490 if ac_fn_cxx_try_compile "$LINENO"; then :
29491 glibcxx_cv_func_fabsf_use=yes
29492 else
29493 glibcxx_cv_func_fabsf_use=no
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 ac_ext=c
29497 ac_cpp='$CPP $CPPFLAGS'
29498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29507 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29509 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29510 for ac_func in fabsf
29511 do :
29512 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29513 if test "x$ac_cv_func_fabsf" = x""yes; then :
29514 cat >>confdefs.h <<_ACEOF
29515 #define HAVE_FABSF 1
29516 _ACEOF
29519 done
29521 else
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29524 $as_echo_n "checking for _fabsf declaration... " >&6; }
29525 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29526 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29527 $as_echo_n "(cached) " >&6
29528 else
29531 ac_ext=cpp
29532 ac_cpp='$CXXCPP $CPPFLAGS'
29533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29538 /* end confdefs.h. */
29539 #include <math.h>
29540 #ifdef HAVE_IEEEFP_H
29541 #include <ieeefp.h>
29542 #endif
29545 main ()
29547 _fabsf(0);
29549 return 0;
29551 _ACEOF
29552 if ac_fn_cxx_try_compile "$LINENO"; then :
29553 glibcxx_cv_func__fabsf_use=yes
29554 else
29555 glibcxx_cv_func__fabsf_use=no
29557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29558 ac_ext=c
29559 ac_cpp='$CPP $CPPFLAGS'
29560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29569 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29571 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29572 for ac_func in _fabsf
29573 do :
29574 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29575 if test "x$ac_cv_func__fabsf" = x""yes; then :
29576 cat >>confdefs.h <<_ACEOF
29577 #define HAVE__FABSF 1
29578 _ACEOF
29581 done
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29591 $as_echo_n "checking for fmodf declaration... " >&6; }
29592 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29593 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29594 $as_echo_n "(cached) " >&6
29595 else
29598 ac_ext=cpp
29599 ac_cpp='$CXXCPP $CPPFLAGS'
29600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29605 /* end confdefs.h. */
29606 #include <math.h>
29608 main ()
29610 fmodf(0, 0);
29612 return 0;
29614 _ACEOF
29615 if ac_fn_cxx_try_compile "$LINENO"; then :
29616 glibcxx_cv_func_fmodf_use=yes
29617 else
29618 glibcxx_cv_func_fmodf_use=no
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621 ac_ext=c
29622 ac_cpp='$CPP $CPPFLAGS'
29623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29632 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29634 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29635 for ac_func in fmodf
29636 do :
29637 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29638 if test "x$ac_cv_func_fmodf" = x""yes; then :
29639 cat >>confdefs.h <<_ACEOF
29640 #define HAVE_FMODF 1
29641 _ACEOF
29644 done
29646 else
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29649 $as_echo_n "checking for _fmodf declaration... " >&6; }
29650 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29651 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29652 $as_echo_n "(cached) " >&6
29653 else
29656 ac_ext=cpp
29657 ac_cpp='$CXXCPP $CPPFLAGS'
29658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29663 /* end confdefs.h. */
29664 #include <math.h>
29666 main ()
29668 _fmodf(0, 0);
29670 return 0;
29672 _ACEOF
29673 if ac_fn_cxx_try_compile "$LINENO"; then :
29674 glibcxx_cv_func__fmodf_use=yes
29675 else
29676 glibcxx_cv_func__fmodf_use=no
29678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29679 ac_ext=c
29680 ac_cpp='$CPP $CPPFLAGS'
29681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29690 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29692 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29693 for ac_func in _fmodf
29694 do :
29695 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29696 if test "x$ac_cv_func__fmodf" = x""yes; then :
29697 cat >>confdefs.h <<_ACEOF
29698 #define HAVE__FMODF 1
29699 _ACEOF
29702 done
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29712 $as_echo_n "checking for frexpf declaration... " >&6; }
29713 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29714 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29715 $as_echo_n "(cached) " >&6
29716 else
29719 ac_ext=cpp
29720 ac_cpp='$CXXCPP $CPPFLAGS'
29721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29726 /* end confdefs.h. */
29727 #include <math.h>
29729 main ()
29731 frexpf(0, 0);
29733 return 0;
29735 _ACEOF
29736 if ac_fn_cxx_try_compile "$LINENO"; then :
29737 glibcxx_cv_func_frexpf_use=yes
29738 else
29739 glibcxx_cv_func_frexpf_use=no
29741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29742 ac_ext=c
29743 ac_cpp='$CPP $CPPFLAGS'
29744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29753 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29755 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29756 for ac_func in frexpf
29757 do :
29758 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29759 if test "x$ac_cv_func_frexpf" = x""yes; then :
29760 cat >>confdefs.h <<_ACEOF
29761 #define HAVE_FREXPF 1
29762 _ACEOF
29765 done
29767 else
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29770 $as_echo_n "checking for _frexpf declaration... " >&6; }
29771 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29772 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29773 $as_echo_n "(cached) " >&6
29774 else
29777 ac_ext=cpp
29778 ac_cpp='$CXXCPP $CPPFLAGS'
29779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29784 /* end confdefs.h. */
29785 #include <math.h>
29787 main ()
29789 _frexpf(0, 0);
29791 return 0;
29793 _ACEOF
29794 if ac_fn_cxx_try_compile "$LINENO"; then :
29795 glibcxx_cv_func__frexpf_use=yes
29796 else
29797 glibcxx_cv_func__frexpf_use=no
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29800 ac_ext=c
29801 ac_cpp='$CPP $CPPFLAGS'
29802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29811 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29813 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29814 for ac_func in _frexpf
29815 do :
29816 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29817 if test "x$ac_cv_func__frexpf" = x""yes; then :
29818 cat >>confdefs.h <<_ACEOF
29819 #define HAVE__FREXPF 1
29820 _ACEOF
29823 done
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29833 $as_echo_n "checking for hypotf declaration... " >&6; }
29834 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29835 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29836 $as_echo_n "(cached) " >&6
29837 else
29840 ac_ext=cpp
29841 ac_cpp='$CXXCPP $CPPFLAGS'
29842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29847 /* end confdefs.h. */
29848 #include <math.h>
29850 main ()
29852 hypotf(0, 0);
29854 return 0;
29856 _ACEOF
29857 if ac_fn_cxx_try_compile "$LINENO"; then :
29858 glibcxx_cv_func_hypotf_use=yes
29859 else
29860 glibcxx_cv_func_hypotf_use=no
29862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29863 ac_ext=c
29864 ac_cpp='$CPP $CPPFLAGS'
29865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29874 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29876 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29877 for ac_func in hypotf
29878 do :
29879 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29880 if test "x$ac_cv_func_hypotf" = x""yes; then :
29881 cat >>confdefs.h <<_ACEOF
29882 #define HAVE_HYPOTF 1
29883 _ACEOF
29886 done
29888 else
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29891 $as_echo_n "checking for _hypotf declaration... " >&6; }
29892 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29893 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29894 $as_echo_n "(cached) " >&6
29895 else
29898 ac_ext=cpp
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29905 /* end confdefs.h. */
29906 #include <math.h>
29908 main ()
29910 _hypotf(0, 0);
29912 return 0;
29914 _ACEOF
29915 if ac_fn_cxx_try_compile "$LINENO"; then :
29916 glibcxx_cv_func__hypotf_use=yes
29917 else
29918 glibcxx_cv_func__hypotf_use=no
29920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29921 ac_ext=c
29922 ac_cpp='$CPP $CPPFLAGS'
29923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29932 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29934 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29935 for ac_func in _hypotf
29936 do :
29937 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29938 if test "x$ac_cv_func__hypotf" = x""yes; then :
29939 cat >>confdefs.h <<_ACEOF
29940 #define HAVE__HYPOTF 1
29941 _ACEOF
29944 done
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29954 $as_echo_n "checking for ldexpf declaration... " >&6; }
29955 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29956 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29957 $as_echo_n "(cached) " >&6
29958 else
29961 ac_ext=cpp
29962 ac_cpp='$CXXCPP $CPPFLAGS'
29963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29968 /* end confdefs.h. */
29969 #include <math.h>
29971 main ()
29973 ldexpf(0, 0);
29975 return 0;
29977 _ACEOF
29978 if ac_fn_cxx_try_compile "$LINENO"; then :
29979 glibcxx_cv_func_ldexpf_use=yes
29980 else
29981 glibcxx_cv_func_ldexpf_use=no
29983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29984 ac_ext=c
29985 ac_cpp='$CPP $CPPFLAGS'
29986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29995 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29997 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29998 for ac_func in ldexpf
29999 do :
30000 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30001 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30002 cat >>confdefs.h <<_ACEOF
30003 #define HAVE_LDEXPF 1
30004 _ACEOF
30007 done
30009 else
30011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30012 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30013 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30014 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30015 $as_echo_n "(cached) " >&6
30016 else
30019 ac_ext=cpp
30020 ac_cpp='$CXXCPP $CPPFLAGS'
30021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30026 /* end confdefs.h. */
30027 #include <math.h>
30029 main ()
30031 _ldexpf(0, 0);
30033 return 0;
30035 _ACEOF
30036 if ac_fn_cxx_try_compile "$LINENO"; then :
30037 glibcxx_cv_func__ldexpf_use=yes
30038 else
30039 glibcxx_cv_func__ldexpf_use=no
30041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30042 ac_ext=c
30043 ac_cpp='$CPP $CPPFLAGS'
30044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30053 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30055 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30056 for ac_func in _ldexpf
30057 do :
30058 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30059 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30060 cat >>confdefs.h <<_ACEOF
30061 #define HAVE__LDEXPF 1
30062 _ACEOF
30065 done
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30075 $as_echo_n "checking for logf declaration... " >&6; }
30076 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30077 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30078 $as_echo_n "(cached) " >&6
30079 else
30082 ac_ext=cpp
30083 ac_cpp='$CXXCPP $CPPFLAGS'
30084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30089 /* end confdefs.h. */
30090 #include <math.h>
30091 #ifdef HAVE_IEEEFP_H
30092 #include <ieeefp.h>
30093 #endif
30096 main ()
30098 logf(0);
30100 return 0;
30102 _ACEOF
30103 if ac_fn_cxx_try_compile "$LINENO"; then :
30104 glibcxx_cv_func_logf_use=yes
30105 else
30106 glibcxx_cv_func_logf_use=no
30108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30109 ac_ext=c
30110 ac_cpp='$CPP $CPPFLAGS'
30111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30120 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30122 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30123 for ac_func in logf
30124 do :
30125 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30126 if test "x$ac_cv_func_logf" = x""yes; then :
30127 cat >>confdefs.h <<_ACEOF
30128 #define HAVE_LOGF 1
30129 _ACEOF
30132 done
30134 else
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30137 $as_echo_n "checking for _logf declaration... " >&6; }
30138 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30139 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30140 $as_echo_n "(cached) " >&6
30141 else
30144 ac_ext=cpp
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30151 /* end confdefs.h. */
30152 #include <math.h>
30153 #ifdef HAVE_IEEEFP_H
30154 #include <ieeefp.h>
30155 #endif
30158 main ()
30160 _logf(0);
30162 return 0;
30164 _ACEOF
30165 if ac_fn_cxx_try_compile "$LINENO"; then :
30166 glibcxx_cv_func__logf_use=yes
30167 else
30168 glibcxx_cv_func__logf_use=no
30170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30171 ac_ext=c
30172 ac_cpp='$CPP $CPPFLAGS'
30173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30182 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30184 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30185 for ac_func in _logf
30186 do :
30187 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30188 if test "x$ac_cv_func__logf" = x""yes; then :
30189 cat >>confdefs.h <<_ACEOF
30190 #define HAVE__LOGF 1
30191 _ACEOF
30194 done
30203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30204 $as_echo_n "checking for log10f declaration... " >&6; }
30205 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30206 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30207 $as_echo_n "(cached) " >&6
30208 else
30211 ac_ext=cpp
30212 ac_cpp='$CXXCPP $CPPFLAGS'
30213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h. */
30219 #include <math.h>
30220 #ifdef HAVE_IEEEFP_H
30221 #include <ieeefp.h>
30222 #endif
30225 main ()
30227 log10f(0);
30229 return 0;
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func_log10f_use=yes
30234 else
30235 glibcxx_cv_func_log10f_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_log10f_use" >&5
30249 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30251 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30252 for ac_func in log10f
30253 do :
30254 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30255 if test "x$ac_cv_func_log10f" = x""yes; then :
30256 cat >>confdefs.h <<_ACEOF
30257 #define HAVE_LOG10F 1
30258 _ACEOF
30261 done
30263 else
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30266 $as_echo_n "checking for _log10f declaration... " >&6; }
30267 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30268 if test "${glibcxx_cv_func__log10f_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>
30282 #ifdef HAVE_IEEEFP_H
30283 #include <ieeefp.h>
30284 #endif
30287 main ()
30289 _log10f(0);
30291 return 0;
30293 _ACEOF
30294 if ac_fn_cxx_try_compile "$LINENO"; then :
30295 glibcxx_cv_func__log10f_use=yes
30296 else
30297 glibcxx_cv_func__log10f_use=no
30299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30300 ac_ext=c
30301 ac_cpp='$CPP $CPPFLAGS'
30302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30311 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30313 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30314 for ac_func in _log10f
30315 do :
30316 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30317 if test "x$ac_cv_func__log10f" = x""yes; then :
30318 cat >>confdefs.h <<_ACEOF
30319 #define HAVE__LOG10F 1
30320 _ACEOF
30323 done
30332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30333 $as_echo_n "checking for modff declaration... " >&6; }
30334 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30335 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30336 $as_echo_n "(cached) " >&6
30337 else
30340 ac_ext=cpp
30341 ac_cpp='$CXXCPP $CPPFLAGS'
30342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30347 /* end confdefs.h. */
30348 #include <math.h>
30350 main ()
30352 modff(0, 0);
30354 return 0;
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358 glibcxx_cv_func_modff_use=yes
30359 else
30360 glibcxx_cv_func_modff_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_modff_use" >&5
30374 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30376 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30377 for ac_func in modff
30378 do :
30379 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30380 if test "x$ac_cv_func_modff" = x""yes; then :
30381 cat >>confdefs.h <<_ACEOF
30382 #define HAVE_MODFF 1
30383 _ACEOF
30386 done
30388 else
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30391 $as_echo_n "checking for _modff declaration... " >&6; }
30392 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30393 if test "${glibcxx_cv_func__modff_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>
30408 main ()
30410 _modff(0, 0);
30412 return 0;
30414 _ACEOF
30415 if ac_fn_cxx_try_compile "$LINENO"; then :
30416 glibcxx_cv_func__modff_use=yes
30417 else
30418 glibcxx_cv_func__modff_use=no
30420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30421 ac_ext=c
30422 ac_cpp='$CPP $CPPFLAGS'
30423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30432 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30434 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30435 for ac_func in _modff
30436 do :
30437 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30438 if test "x$ac_cv_func__modff" = x""yes; then :
30439 cat >>confdefs.h <<_ACEOF
30440 #define HAVE__MODFF 1
30441 _ACEOF
30444 done
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30454 $as_echo_n "checking for modf declaration... " >&6; }
30455 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30456 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30457 $as_echo_n "(cached) " >&6
30458 else
30461 ac_ext=cpp
30462 ac_cpp='$CXXCPP $CPPFLAGS'
30463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30468 /* end confdefs.h. */
30469 #include <math.h>
30471 main ()
30473 modf(0, 0);
30475 return 0;
30477 _ACEOF
30478 if ac_fn_cxx_try_compile "$LINENO"; then :
30479 glibcxx_cv_func_modf_use=yes
30480 else
30481 glibcxx_cv_func_modf_use=no
30483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30484 ac_ext=c
30485 ac_cpp='$CPP $CPPFLAGS'
30486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30495 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30497 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30498 for ac_func in modf
30499 do :
30500 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30501 if test "x$ac_cv_func_modf" = x""yes; then :
30502 cat >>confdefs.h <<_ACEOF
30503 #define HAVE_MODF 1
30504 _ACEOF
30507 done
30509 else
30511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30512 $as_echo_n "checking for _modf declaration... " >&6; }
30513 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30514 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30515 $as_echo_n "(cached) " >&6
30516 else
30519 ac_ext=cpp
30520 ac_cpp='$CXXCPP $CPPFLAGS'
30521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30526 /* end confdefs.h. */
30527 #include <math.h>
30529 main ()
30531 _modf(0, 0);
30533 return 0;
30535 _ACEOF
30536 if ac_fn_cxx_try_compile "$LINENO"; then :
30537 glibcxx_cv_func__modf_use=yes
30538 else
30539 glibcxx_cv_func__modf_use=no
30541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30542 ac_ext=c
30543 ac_cpp='$CPP $CPPFLAGS'
30544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30553 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30555 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30556 for ac_func in _modf
30557 do :
30558 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30559 if test "x$ac_cv_func__modf" = x""yes; then :
30560 cat >>confdefs.h <<_ACEOF
30561 #define HAVE__MODF 1
30562 _ACEOF
30565 done
30574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30575 $as_echo_n "checking for powf declaration... " >&6; }
30576 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30577 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30578 $as_echo_n "(cached) " >&6
30579 else
30582 ac_ext=cpp
30583 ac_cpp='$CXXCPP $CPPFLAGS'
30584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30589 /* end confdefs.h. */
30590 #include <math.h>
30592 main ()
30594 powf(0, 0);
30596 return 0;
30598 _ACEOF
30599 if ac_fn_cxx_try_compile "$LINENO"; then :
30600 glibcxx_cv_func_powf_use=yes
30601 else
30602 glibcxx_cv_func_powf_use=no
30604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30605 ac_ext=c
30606 ac_cpp='$CPP $CPPFLAGS'
30607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30616 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30618 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30619 for ac_func in powf
30620 do :
30621 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30622 if test "x$ac_cv_func_powf" = x""yes; then :
30623 cat >>confdefs.h <<_ACEOF
30624 #define HAVE_POWF 1
30625 _ACEOF
30628 done
30630 else
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30633 $as_echo_n "checking for _powf declaration... " >&6; }
30634 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30635 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30636 $as_echo_n "(cached) " >&6
30637 else
30640 ac_ext=cpp
30641 ac_cpp='$CXXCPP $CPPFLAGS'
30642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30647 /* end confdefs.h. */
30648 #include <math.h>
30650 main ()
30652 _powf(0, 0);
30654 return 0;
30656 _ACEOF
30657 if ac_fn_cxx_try_compile "$LINENO"; then :
30658 glibcxx_cv_func__powf_use=yes
30659 else
30660 glibcxx_cv_func__powf_use=no
30662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30663 ac_ext=c
30664 ac_cpp='$CPP $CPPFLAGS'
30665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30674 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30676 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30677 for ac_func in _powf
30678 do :
30679 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30680 if test "x$ac_cv_func__powf" = x""yes; then :
30681 cat >>confdefs.h <<_ACEOF
30682 #define HAVE__POWF 1
30683 _ACEOF
30686 done
30695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30696 $as_echo_n "checking for sqrtf declaration... " >&6; }
30697 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30698 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30699 $as_echo_n "(cached) " >&6
30700 else
30703 ac_ext=cpp
30704 ac_cpp='$CXXCPP $CPPFLAGS'
30705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30710 /* end confdefs.h. */
30711 #include <math.h>
30712 #ifdef HAVE_IEEEFP_H
30713 #include <ieeefp.h>
30714 #endif
30717 main ()
30719 sqrtf(0);
30721 return 0;
30723 _ACEOF
30724 if ac_fn_cxx_try_compile "$LINENO"; then :
30725 glibcxx_cv_func_sqrtf_use=yes
30726 else
30727 glibcxx_cv_func_sqrtf_use=no
30729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30730 ac_ext=c
30731 ac_cpp='$CPP $CPPFLAGS'
30732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30741 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30743 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30744 for ac_func in sqrtf
30745 do :
30746 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30747 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30748 cat >>confdefs.h <<_ACEOF
30749 #define HAVE_SQRTF 1
30750 _ACEOF
30753 done
30755 else
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30758 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30759 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30760 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30761 $as_echo_n "(cached) " >&6
30762 else
30765 ac_ext=cpp
30766 ac_cpp='$CXXCPP $CPPFLAGS'
30767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30772 /* end confdefs.h. */
30773 #include <math.h>
30774 #ifdef HAVE_IEEEFP_H
30775 #include <ieeefp.h>
30776 #endif
30779 main ()
30781 _sqrtf(0);
30783 return 0;
30785 _ACEOF
30786 if ac_fn_cxx_try_compile "$LINENO"; then :
30787 glibcxx_cv_func__sqrtf_use=yes
30788 else
30789 glibcxx_cv_func__sqrtf_use=no
30791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30792 ac_ext=c
30793 ac_cpp='$CPP $CPPFLAGS'
30794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30803 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30805 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30806 for ac_func in _sqrtf
30807 do :
30808 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30809 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30810 cat >>confdefs.h <<_ACEOF
30811 #define HAVE__SQRTF 1
30812 _ACEOF
30815 done
30824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30825 $as_echo_n "checking for sincosf declaration... " >&6; }
30826 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30827 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30828 $as_echo_n "(cached) " >&6
30829 else
30832 ac_ext=cpp
30833 ac_cpp='$CXXCPP $CPPFLAGS'
30834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30839 /* end confdefs.h. */
30840 #include <math.h>
30842 main ()
30844 sincosf(0, 0, 0);
30846 return 0;
30848 _ACEOF
30849 if ac_fn_cxx_try_compile "$LINENO"; then :
30850 glibcxx_cv_func_sincosf_use=yes
30851 else
30852 glibcxx_cv_func_sincosf_use=no
30854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30855 ac_ext=c
30856 ac_cpp='$CPP $CPPFLAGS'
30857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30866 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30868 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30869 for ac_func in sincosf
30870 do :
30871 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30872 if test "x$ac_cv_func_sincosf" = x""yes; then :
30873 cat >>confdefs.h <<_ACEOF
30874 #define HAVE_SINCOSF 1
30875 _ACEOF
30878 done
30880 else
30882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30883 $as_echo_n "checking for _sincosf declaration... " >&6; }
30884 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30885 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30886 $as_echo_n "(cached) " >&6
30887 else
30890 ac_ext=cpp
30891 ac_cpp='$CXXCPP $CPPFLAGS'
30892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30897 /* end confdefs.h. */
30898 #include <math.h>
30900 main ()
30902 _sincosf(0, 0, 0);
30904 return 0;
30906 _ACEOF
30907 if ac_fn_cxx_try_compile "$LINENO"; then :
30908 glibcxx_cv_func__sincosf_use=yes
30909 else
30910 glibcxx_cv_func__sincosf_use=no
30912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30913 ac_ext=c
30914 ac_cpp='$CPP $CPPFLAGS'
30915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30924 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30926 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30927 for ac_func in _sincosf
30928 do :
30929 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30930 if test "x$ac_cv_func__sincosf" = x""yes; then :
30931 cat >>confdefs.h <<_ACEOF
30932 #define HAVE__SINCOSF 1
30933 _ACEOF
30936 done
30945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30946 $as_echo_n "checking for finitef declaration... " >&6; }
30947 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30948 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30949 $as_echo_n "(cached) " >&6
30950 else
30953 ac_ext=cpp
30954 ac_cpp='$CXXCPP $CPPFLAGS'
30955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30960 /* end confdefs.h. */
30961 #include <math.h>
30962 #ifdef HAVE_IEEEFP_H
30963 #include <ieeefp.h>
30964 #endif
30967 main ()
30969 finitef(0);
30971 return 0;
30973 _ACEOF
30974 if ac_fn_cxx_try_compile "$LINENO"; then :
30975 glibcxx_cv_func_finitef_use=yes
30976 else
30977 glibcxx_cv_func_finitef_use=no
30979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30980 ac_ext=c
30981 ac_cpp='$CPP $CPPFLAGS'
30982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30991 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30993 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30994 for ac_func in finitef
30995 do :
30996 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30997 if test "x$ac_cv_func_finitef" = x""yes; then :
30998 cat >>confdefs.h <<_ACEOF
30999 #define HAVE_FINITEF 1
31000 _ACEOF
31003 done
31005 else
31007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31008 $as_echo_n "checking for _finitef declaration... " >&6; }
31009 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31010 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31011 $as_echo_n "(cached) " >&6
31012 else
31015 ac_ext=cpp
31016 ac_cpp='$CXXCPP $CPPFLAGS'
31017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31022 /* end confdefs.h. */
31023 #include <math.h>
31024 #ifdef HAVE_IEEEFP_H
31025 #include <ieeefp.h>
31026 #endif
31029 main ()
31031 _finitef(0);
31033 return 0;
31035 _ACEOF
31036 if ac_fn_cxx_try_compile "$LINENO"; then :
31037 glibcxx_cv_func__finitef_use=yes
31038 else
31039 glibcxx_cv_func__finitef_use=no
31041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31042 ac_ext=c
31043 ac_cpp='$CPP $CPPFLAGS'
31044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31053 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31055 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31056 for ac_func in _finitef
31057 do :
31058 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31059 if test "x$ac_cv_func__finitef" = x""yes; then :
31060 cat >>confdefs.h <<_ACEOF
31061 #define HAVE__FINITEF 1
31062 _ACEOF
31065 done
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31075 $as_echo_n "checking for long double trig functions... " >&6; }
31076 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31077 $as_echo_n "(cached) " >&6
31078 else
31081 ac_ext=cpp
31082 ac_cpp='$CXXCPP $CPPFLAGS'
31083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31088 /* end confdefs.h. */
31089 #include <math.h>
31091 main ()
31093 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31095 return 0;
31097 _ACEOF
31098 if ac_fn_cxx_try_compile "$LINENO"; then :
31099 glibcxx_cv_func_long_double_trig_use=yes
31100 else
31101 glibcxx_cv_func_long_double_trig_use=no
31103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31104 ac_ext=c
31105 ac_cpp='$CPP $CPPFLAGS'
31106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31113 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31114 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31115 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31116 do :
31117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31119 eval as_val=\$$as_ac_var
31120 if test "x$as_val" = x""yes; then :
31121 cat >>confdefs.h <<_ACEOF
31122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31123 _ACEOF
31126 done
31128 else
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31130 $as_echo_n "checking for _long double trig functions... " >&6; }
31131 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31132 $as_echo_n "(cached) " >&6
31133 else
31136 ac_ext=cpp
31137 ac_cpp='$CXXCPP $CPPFLAGS'
31138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143 /* end confdefs.h. */
31144 #include <math.h>
31146 main ()
31148 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31150 return 0;
31152 _ACEOF
31153 if ac_fn_cxx_try_compile "$LINENO"; then :
31154 glibcxx_cv_func__long_double_trig_use=yes
31155 else
31156 glibcxx_cv_func__long_double_trig_use=no
31158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159 ac_ext=c
31160 ac_cpp='$CPP $CPPFLAGS'
31161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31168 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31169 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31170 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31171 do :
31172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31174 eval as_val=\$$as_ac_var
31175 if test "x$as_val" = x""yes; then :
31176 cat >>confdefs.h <<_ACEOF
31177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31178 _ACEOF
31181 done
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31191 $as_echo_n "checking for long double round functions... " >&6; }
31192 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31193 $as_echo_n "(cached) " >&6
31194 else
31197 ac_ext=cpp
31198 ac_cpp='$CXXCPP $CPPFLAGS'
31199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h. */
31205 #include <math.h>
31207 main ()
31209 ceill (0); floorl (0);
31211 return 0;
31213 _ACEOF
31214 if ac_fn_cxx_try_compile "$LINENO"; then :
31215 glibcxx_cv_func_long_double_round_use=yes
31216 else
31217 glibcxx_cv_func_long_double_round_use=no
31219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31220 ac_ext=c
31221 ac_cpp='$CPP $CPPFLAGS'
31222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31229 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31230 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31231 for ac_func in ceill floorl
31232 do :
31233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31235 eval as_val=\$$as_ac_var
31236 if test "x$as_val" = x""yes; then :
31237 cat >>confdefs.h <<_ACEOF
31238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31239 _ACEOF
31242 done
31244 else
31245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31246 $as_echo_n "checking for _long double round functions... " >&6; }
31247 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31248 $as_echo_n "(cached) " >&6
31249 else
31252 ac_ext=cpp
31253 ac_cpp='$CXXCPP $CPPFLAGS'
31254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31259 /* end confdefs.h. */
31260 #include <math.h>
31262 main ()
31264 _ceill (0); _floorl (0);
31266 return 0;
31268 _ACEOF
31269 if ac_fn_cxx_try_compile "$LINENO"; then :
31270 glibcxx_cv_func__long_double_round_use=yes
31271 else
31272 glibcxx_cv_func__long_double_round_use=no
31274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31275 ac_ext=c
31276 ac_cpp='$CPP $CPPFLAGS'
31277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31284 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31285 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31286 for ac_func in _ceill _floorl
31287 do :
31288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31290 eval as_val=\$$as_ac_var
31291 if test "x$as_val" = x""yes; then :
31292 cat >>confdefs.h <<_ACEOF
31293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31294 _ACEOF
31297 done
31307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31308 $as_echo_n "checking for isnanl declaration... " >&6; }
31309 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31310 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31311 $as_echo_n "(cached) " >&6
31312 else
31315 ac_ext=cpp
31316 ac_cpp='$CXXCPP $CPPFLAGS'
31317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31322 /* end confdefs.h. */
31323 #include <math.h>
31324 #ifdef HAVE_IEEEFP_H
31325 #include <ieeefp.h>
31326 #endif
31329 main ()
31331 isnanl(0);
31333 return 0;
31335 _ACEOF
31336 if ac_fn_cxx_try_compile "$LINENO"; then :
31337 glibcxx_cv_func_isnanl_use=yes
31338 else
31339 glibcxx_cv_func_isnanl_use=no
31341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31342 ac_ext=c
31343 ac_cpp='$CPP $CPPFLAGS'
31344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31353 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31355 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31356 for ac_func in isnanl
31357 do :
31358 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31359 if test "x$ac_cv_func_isnanl" = x""yes; then :
31360 cat >>confdefs.h <<_ACEOF
31361 #define HAVE_ISNANL 1
31362 _ACEOF
31365 done
31367 else
31369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31370 $as_echo_n "checking for _isnanl declaration... " >&6; }
31371 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31372 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31373 $as_echo_n "(cached) " >&6
31374 else
31377 ac_ext=cpp
31378 ac_cpp='$CXXCPP $CPPFLAGS'
31379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31384 /* end confdefs.h. */
31385 #include <math.h>
31386 #ifdef HAVE_IEEEFP_H
31387 #include <ieeefp.h>
31388 #endif
31391 main ()
31393 _isnanl(0);
31395 return 0;
31397 _ACEOF
31398 if ac_fn_cxx_try_compile "$LINENO"; then :
31399 glibcxx_cv_func__isnanl_use=yes
31400 else
31401 glibcxx_cv_func__isnanl_use=no
31403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31404 ac_ext=c
31405 ac_cpp='$CPP $CPPFLAGS'
31406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31415 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31417 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31418 for ac_func in _isnanl
31419 do :
31420 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31421 if test "x$ac_cv_func__isnanl" = x""yes; then :
31422 cat >>confdefs.h <<_ACEOF
31423 #define HAVE__ISNANL 1
31424 _ACEOF
31427 done
31436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31437 $as_echo_n "checking for isinfl declaration... " >&6; }
31438 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31439 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31440 $as_echo_n "(cached) " >&6
31441 else
31444 ac_ext=cpp
31445 ac_cpp='$CXXCPP $CPPFLAGS'
31446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h. */
31452 #include <math.h>
31453 #ifdef HAVE_IEEEFP_H
31454 #include <ieeefp.h>
31455 #endif
31458 main ()
31460 isinfl(0);
31462 return 0;
31464 _ACEOF
31465 if ac_fn_cxx_try_compile "$LINENO"; then :
31466 glibcxx_cv_func_isinfl_use=yes
31467 else
31468 glibcxx_cv_func_isinfl_use=no
31470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31471 ac_ext=c
31472 ac_cpp='$CPP $CPPFLAGS'
31473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31482 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31484 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31485 for ac_func in isinfl
31486 do :
31487 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31488 if test "x$ac_cv_func_isinfl" = x""yes; then :
31489 cat >>confdefs.h <<_ACEOF
31490 #define HAVE_ISINFL 1
31491 _ACEOF
31494 done
31496 else
31498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31499 $as_echo_n "checking for _isinfl declaration... " >&6; }
31500 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31501 if test "${glibcxx_cv_func__isinfl_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>
31515 #ifdef HAVE_IEEEFP_H
31516 #include <ieeefp.h>
31517 #endif
31520 main ()
31522 _isinfl(0);
31524 return 0;
31526 _ACEOF
31527 if ac_fn_cxx_try_compile "$LINENO"; then :
31528 glibcxx_cv_func__isinfl_use=yes
31529 else
31530 glibcxx_cv_func__isinfl_use=no
31532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31533 ac_ext=c
31534 ac_cpp='$CPP $CPPFLAGS'
31535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31544 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31546 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31547 for ac_func in _isinfl
31548 do :
31549 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31550 if test "x$ac_cv_func__isinfl" = x""yes; then :
31551 cat >>confdefs.h <<_ACEOF
31552 #define HAVE__ISINFL 1
31553 _ACEOF
31556 done
31565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31566 $as_echo_n "checking for atan2l declaration... " >&6; }
31567 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31568 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31569 $as_echo_n "(cached) " >&6
31570 else
31573 ac_ext=cpp
31574 ac_cpp='$CXXCPP $CPPFLAGS'
31575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31580 /* end confdefs.h. */
31581 #include <math.h>
31583 main ()
31585 atan2l(0, 0);
31587 return 0;
31589 _ACEOF
31590 if ac_fn_cxx_try_compile "$LINENO"; then :
31591 glibcxx_cv_func_atan2l_use=yes
31592 else
31593 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
31607 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31609 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31610 for ac_func in atan2l
31611 do :
31612 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31613 if test "x$ac_cv_func_atan2l" = x""yes; then :
31614 cat >>confdefs.h <<_ACEOF
31615 #define HAVE_ATAN2L 1
31616 _ACEOF
31619 done
31621 else
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31624 $as_echo_n "checking for _atan2l declaration... " >&6; }
31625 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31626 if test "${glibcxx_cv_func__atan2l_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>
31641 main ()
31643 _atan2l(0, 0);
31645 return 0;
31647 _ACEOF
31648 if ac_fn_cxx_try_compile "$LINENO"; then :
31649 glibcxx_cv_func__atan2l_use=yes
31650 else
31651 glibcxx_cv_func__atan2l_use=no
31653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31654 ac_ext=c
31655 ac_cpp='$CPP $CPPFLAGS'
31656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31665 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31667 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31668 for ac_func in _atan2l
31669 do :
31670 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31671 if test "x$ac_cv_func__atan2l" = x""yes; then :
31672 cat >>confdefs.h <<_ACEOF
31673 #define HAVE__ATAN2L 1
31674 _ACEOF
31677 done
31686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31687 $as_echo_n "checking for expl declaration... " >&6; }
31688 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31689 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31690 $as_echo_n "(cached) " >&6
31691 else
31694 ac_ext=cpp
31695 ac_cpp='$CXXCPP $CPPFLAGS'
31696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31701 /* end confdefs.h. */
31702 #include <math.h>
31703 #ifdef HAVE_IEEEFP_H
31704 #include <ieeefp.h>
31705 #endif
31708 main ()
31710 expl(0);
31712 return 0;
31714 _ACEOF
31715 if ac_fn_cxx_try_compile "$LINENO"; then :
31716 glibcxx_cv_func_expl_use=yes
31717 else
31718 glibcxx_cv_func_expl_use=no
31720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31721 ac_ext=c
31722 ac_cpp='$CPP $CPPFLAGS'
31723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31732 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31734 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31735 for ac_func in expl
31736 do :
31737 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31738 if test "x$ac_cv_func_expl" = x""yes; then :
31739 cat >>confdefs.h <<_ACEOF
31740 #define HAVE_EXPL 1
31741 _ACEOF
31744 done
31746 else
31748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31749 $as_echo_n "checking for _expl declaration... " >&6; }
31750 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31751 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31752 $as_echo_n "(cached) " >&6
31753 else
31756 ac_ext=cpp
31757 ac_cpp='$CXXCPP $CPPFLAGS'
31758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31763 /* end confdefs.h. */
31764 #include <math.h>
31765 #ifdef HAVE_IEEEFP_H
31766 #include <ieeefp.h>
31767 #endif
31770 main ()
31772 _expl(0);
31774 return 0;
31776 _ACEOF
31777 if ac_fn_cxx_try_compile "$LINENO"; then :
31778 glibcxx_cv_func__expl_use=yes
31779 else
31780 glibcxx_cv_func__expl_use=no
31782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783 ac_ext=c
31784 ac_cpp='$CPP $CPPFLAGS'
31785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31794 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31796 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31797 for ac_func in _expl
31798 do :
31799 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31800 if test "x$ac_cv_func__expl" = x""yes; then :
31801 cat >>confdefs.h <<_ACEOF
31802 #define HAVE__EXPL 1
31803 _ACEOF
31806 done
31815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31816 $as_echo_n "checking for fabsl declaration... " >&6; }
31817 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31818 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31819 $as_echo_n "(cached) " >&6
31820 else
31823 ac_ext=cpp
31824 ac_cpp='$CXXCPP $CPPFLAGS'
31825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31830 /* end confdefs.h. */
31831 #include <math.h>
31832 #ifdef HAVE_IEEEFP_H
31833 #include <ieeefp.h>
31834 #endif
31837 main ()
31839 fabsl(0);
31841 return 0;
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_fabsl_use=yes
31846 else
31847 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
31861 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31863 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31864 for ac_func in fabsl
31865 do :
31866 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31867 if test "x$ac_cv_func_fabsl" = x""yes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_FABSL 1
31870 _ACEOF
31873 done
31875 else
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31878 $as_echo_n "checking for _fabsl declaration... " >&6; }
31879 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31880 if test "${glibcxx_cv_func__fabsl_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>
31894 #ifdef HAVE_IEEEFP_H
31895 #include <ieeefp.h>
31896 #endif
31899 main ()
31901 _fabsl(0);
31903 return 0;
31905 _ACEOF
31906 if ac_fn_cxx_try_compile "$LINENO"; then :
31907 glibcxx_cv_func__fabsl_use=yes
31908 else
31909 glibcxx_cv_func__fabsl_use=no
31911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31912 ac_ext=c
31913 ac_cpp='$CPP $CPPFLAGS'
31914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31923 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31925 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31926 for ac_func in _fabsl
31927 do :
31928 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31929 if test "x$ac_cv_func__fabsl" = x""yes; then :
31930 cat >>confdefs.h <<_ACEOF
31931 #define HAVE__FABSL 1
31932 _ACEOF
31935 done
31944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31945 $as_echo_n "checking for fmodl declaration... " >&6; }
31946 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31947 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31948 $as_echo_n "(cached) " >&6
31949 else
31952 ac_ext=cpp
31953 ac_cpp='$CXXCPP $CPPFLAGS'
31954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31960 #include <math.h>
31962 main ()
31964 fmodl(0, 0);
31966 return 0;
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970 glibcxx_cv_func_fmodl_use=yes
31971 else
31972 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
31986 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31988 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31989 for ac_func in fmodl
31990 do :
31991 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31992 if test "x$ac_cv_func_fmodl" = x""yes; then :
31993 cat >>confdefs.h <<_ACEOF
31994 #define HAVE_FMODL 1
31995 _ACEOF
31998 done
32000 else
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32003 $as_echo_n "checking for _fmodl declaration... " >&6; }
32004 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32005 if test "${glibcxx_cv_func__fmodl_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>
32020 main ()
32022 _fmodl(0, 0);
32024 return 0;
32026 _ACEOF
32027 if ac_fn_cxx_try_compile "$LINENO"; then :
32028 glibcxx_cv_func__fmodl_use=yes
32029 else
32030 glibcxx_cv_func__fmodl_use=no
32032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32033 ac_ext=c
32034 ac_cpp='$CPP $CPPFLAGS'
32035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32044 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32046 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32047 for ac_func in _fmodl
32048 do :
32049 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32050 if test "x$ac_cv_func__fmodl" = x""yes; then :
32051 cat >>confdefs.h <<_ACEOF
32052 #define HAVE__FMODL 1
32053 _ACEOF
32056 done
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32066 $as_echo_n "checking for frexpl declaration... " >&6; }
32067 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32068 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32069 $as_echo_n "(cached) " >&6
32070 else
32073 ac_ext=cpp
32074 ac_cpp='$CXXCPP $CPPFLAGS'
32075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32080 /* end confdefs.h. */
32081 #include <math.h>
32083 main ()
32085 frexpl(0, 0);
32087 return 0;
32089 _ACEOF
32090 if ac_fn_cxx_try_compile "$LINENO"; then :
32091 glibcxx_cv_func_frexpl_use=yes
32092 else
32093 glibcxx_cv_func_frexpl_use=no
32095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32096 ac_ext=c
32097 ac_cpp='$CPP $CPPFLAGS'
32098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32107 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32109 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32110 for ac_func in frexpl
32111 do :
32112 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32113 if test "x$ac_cv_func_frexpl" = x""yes; then :
32114 cat >>confdefs.h <<_ACEOF
32115 #define HAVE_FREXPL 1
32116 _ACEOF
32119 done
32121 else
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32124 $as_echo_n "checking for _frexpl declaration... " >&6; }
32125 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32126 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32127 $as_echo_n "(cached) " >&6
32128 else
32131 ac_ext=cpp
32132 ac_cpp='$CXXCPP $CPPFLAGS'
32133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32138 /* end confdefs.h. */
32139 #include <math.h>
32141 main ()
32143 _frexpl(0, 0);
32145 return 0;
32147 _ACEOF
32148 if ac_fn_cxx_try_compile "$LINENO"; then :
32149 glibcxx_cv_func__frexpl_use=yes
32150 else
32151 glibcxx_cv_func__frexpl_use=no
32153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32154 ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32165 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32167 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32168 for ac_func in _frexpl
32169 do :
32170 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32171 if test "x$ac_cv_func__frexpl" = x""yes; then :
32172 cat >>confdefs.h <<_ACEOF
32173 #define HAVE__FREXPL 1
32174 _ACEOF
32177 done
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32187 $as_echo_n "checking for hypotl declaration... " >&6; }
32188 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32189 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32190 $as_echo_n "(cached) " >&6
32191 else
32194 ac_ext=cpp
32195 ac_cpp='$CXXCPP $CPPFLAGS'
32196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32201 /* end confdefs.h. */
32202 #include <math.h>
32204 main ()
32206 hypotl(0, 0);
32208 return 0;
32210 _ACEOF
32211 if ac_fn_cxx_try_compile "$LINENO"; then :
32212 glibcxx_cv_func_hypotl_use=yes
32213 else
32214 glibcxx_cv_func_hypotl_use=no
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217 ac_ext=c
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32228 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32230 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32231 for ac_func in hypotl
32232 do :
32233 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32234 if test "x$ac_cv_func_hypotl" = x""yes; then :
32235 cat >>confdefs.h <<_ACEOF
32236 #define HAVE_HYPOTL 1
32237 _ACEOF
32240 done
32242 else
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32245 $as_echo_n "checking for _hypotl declaration... " >&6; }
32246 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32247 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32248 $as_echo_n "(cached) " >&6
32249 else
32252 ac_ext=cpp
32253 ac_cpp='$CXXCPP $CPPFLAGS'
32254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32259 /* end confdefs.h. */
32260 #include <math.h>
32262 main ()
32264 _hypotl(0, 0);
32266 return 0;
32268 _ACEOF
32269 if ac_fn_cxx_try_compile "$LINENO"; then :
32270 glibcxx_cv_func__hypotl_use=yes
32271 else
32272 glibcxx_cv_func__hypotl_use=no
32274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32275 ac_ext=c
32276 ac_cpp='$CPP $CPPFLAGS'
32277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32286 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32288 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32289 for ac_func in _hypotl
32290 do :
32291 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32292 if test "x$ac_cv_func__hypotl" = x""yes; then :
32293 cat >>confdefs.h <<_ACEOF
32294 #define HAVE__HYPOTL 1
32295 _ACEOF
32298 done
32307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32308 $as_echo_n "checking for ldexpl declaration... " >&6; }
32309 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32310 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32311 $as_echo_n "(cached) " >&6
32312 else
32315 ac_ext=cpp
32316 ac_cpp='$CXXCPP $CPPFLAGS'
32317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32322 /* end confdefs.h. */
32323 #include <math.h>
32325 main ()
32327 ldexpl(0, 0);
32329 return 0;
32331 _ACEOF
32332 if ac_fn_cxx_try_compile "$LINENO"; then :
32333 glibcxx_cv_func_ldexpl_use=yes
32334 else
32335 glibcxx_cv_func_ldexpl_use=no
32337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32338 ac_ext=c
32339 ac_cpp='$CPP $CPPFLAGS'
32340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32349 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32351 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32352 for ac_func in ldexpl
32353 do :
32354 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32355 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32356 cat >>confdefs.h <<_ACEOF
32357 #define HAVE_LDEXPL 1
32358 _ACEOF
32361 done
32363 else
32365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32366 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32367 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32368 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32369 $as_echo_n "(cached) " >&6
32370 else
32373 ac_ext=cpp
32374 ac_cpp='$CXXCPP $CPPFLAGS'
32375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32380 /* end confdefs.h. */
32381 #include <math.h>
32383 main ()
32385 _ldexpl(0, 0);
32387 return 0;
32389 _ACEOF
32390 if ac_fn_cxx_try_compile "$LINENO"; then :
32391 glibcxx_cv_func__ldexpl_use=yes
32392 else
32393 glibcxx_cv_func__ldexpl_use=no
32395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32396 ac_ext=c
32397 ac_cpp='$CPP $CPPFLAGS'
32398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32407 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32409 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32410 for ac_func in _ldexpl
32411 do :
32412 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32413 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32414 cat >>confdefs.h <<_ACEOF
32415 #define HAVE__LDEXPL 1
32416 _ACEOF
32419 done
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32429 $as_echo_n "checking for logl declaration... " >&6; }
32430 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32431 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32432 $as_echo_n "(cached) " >&6
32433 else
32436 ac_ext=cpp
32437 ac_cpp='$CXXCPP $CPPFLAGS'
32438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32443 /* end confdefs.h. */
32444 #include <math.h>
32445 #ifdef HAVE_IEEEFP_H
32446 #include <ieeefp.h>
32447 #endif
32450 main ()
32452 logl(0);
32454 return 0;
32456 _ACEOF
32457 if ac_fn_cxx_try_compile "$LINENO"; then :
32458 glibcxx_cv_func_logl_use=yes
32459 else
32460 glibcxx_cv_func_logl_use=no
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32463 ac_ext=c
32464 ac_cpp='$CPP $CPPFLAGS'
32465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32474 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32476 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32477 for ac_func in logl
32478 do :
32479 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32480 if test "x$ac_cv_func_logl" = x""yes; then :
32481 cat >>confdefs.h <<_ACEOF
32482 #define HAVE_LOGL 1
32483 _ACEOF
32486 done
32488 else
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32491 $as_echo_n "checking for _logl declaration... " >&6; }
32492 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32493 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32494 $as_echo_n "(cached) " >&6
32495 else
32498 ac_ext=cpp
32499 ac_cpp='$CXXCPP $CPPFLAGS'
32500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32505 /* end confdefs.h. */
32506 #include <math.h>
32507 #ifdef HAVE_IEEEFP_H
32508 #include <ieeefp.h>
32509 #endif
32512 main ()
32514 _logl(0);
32516 return 0;
32518 _ACEOF
32519 if ac_fn_cxx_try_compile "$LINENO"; then :
32520 glibcxx_cv_func__logl_use=yes
32521 else
32522 glibcxx_cv_func__logl_use=no
32524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32525 ac_ext=c
32526 ac_cpp='$CPP $CPPFLAGS'
32527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32536 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32538 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32539 for ac_func in _logl
32540 do :
32541 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32542 if test "x$ac_cv_func__logl" = x""yes; then :
32543 cat >>confdefs.h <<_ACEOF
32544 #define HAVE__LOGL 1
32545 _ACEOF
32548 done
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32558 $as_echo_n "checking for log10l declaration... " >&6; }
32559 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32560 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32561 $as_echo_n "(cached) " >&6
32562 else
32565 ac_ext=cpp
32566 ac_cpp='$CXXCPP $CPPFLAGS'
32567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32572 /* end confdefs.h. */
32573 #include <math.h>
32574 #ifdef HAVE_IEEEFP_H
32575 #include <ieeefp.h>
32576 #endif
32579 main ()
32581 log10l(0);
32583 return 0;
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func_log10l_use=yes
32588 else
32589 glibcxx_cv_func_log10l_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_log10l_use" >&5
32603 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32605 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32606 for ac_func in log10l
32607 do :
32608 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32609 if test "x$ac_cv_func_log10l" = x""yes; then :
32610 cat >>confdefs.h <<_ACEOF
32611 #define HAVE_LOG10L 1
32612 _ACEOF
32615 done
32617 else
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32620 $as_echo_n "checking for _log10l declaration... " >&6; }
32621 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32622 if test "${glibcxx_cv_func__log10l_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>
32636 #ifdef HAVE_IEEEFP_H
32637 #include <ieeefp.h>
32638 #endif
32641 main ()
32643 _log10l(0);
32645 return 0;
32647 _ACEOF
32648 if ac_fn_cxx_try_compile "$LINENO"; then :
32649 glibcxx_cv_func__log10l_use=yes
32650 else
32651 glibcxx_cv_func__log10l_use=no
32653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32654 ac_ext=c
32655 ac_cpp='$CPP $CPPFLAGS'
32656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32665 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32667 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32668 for ac_func in _log10l
32669 do :
32670 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32671 if test "x$ac_cv_func__log10l" = x""yes; then :
32672 cat >>confdefs.h <<_ACEOF
32673 #define HAVE__LOG10L 1
32674 _ACEOF
32677 done
32686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32687 $as_echo_n "checking for modfl declaration... " >&6; }
32688 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32689 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32690 $as_echo_n "(cached) " >&6
32691 else
32694 ac_ext=cpp
32695 ac_cpp='$CXXCPP $CPPFLAGS'
32696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32701 /* end confdefs.h. */
32702 #include <math.h>
32704 main ()
32706 modfl(0, 0);
32708 return 0;
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_modfl_use=yes
32713 else
32714 glibcxx_cv_func_modfl_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_modfl_use" >&5
32728 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32730 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32731 for ac_func in modfl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32734 if test "x$ac_cv_func_modfl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_MODFL 1
32737 _ACEOF
32740 done
32742 else
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32745 $as_echo_n "checking for _modfl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__modfl_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>
32762 main ()
32764 _modfl(0, 0);
32766 return 0;
32768 _ACEOF
32769 if ac_fn_cxx_try_compile "$LINENO"; then :
32770 glibcxx_cv_func__modfl_use=yes
32771 else
32772 glibcxx_cv_func__modfl_use=no
32774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32775 ac_ext=c
32776 ac_cpp='$CPP $CPPFLAGS'
32777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32786 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32788 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32789 for ac_func in _modfl
32790 do :
32791 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32792 if test "x$ac_cv_func__modfl" = x""yes; then :
32793 cat >>confdefs.h <<_ACEOF
32794 #define HAVE__MODFL 1
32795 _ACEOF
32798 done
32807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32808 $as_echo_n "checking for powl declaration... " >&6; }
32809 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32810 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32811 $as_echo_n "(cached) " >&6
32812 else
32815 ac_ext=cpp
32816 ac_cpp='$CXXCPP $CPPFLAGS'
32817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32822 /* end confdefs.h. */
32823 #include <math.h>
32825 main ()
32827 powl(0, 0);
32829 return 0;
32831 _ACEOF
32832 if ac_fn_cxx_try_compile "$LINENO"; then :
32833 glibcxx_cv_func_powl_use=yes
32834 else
32835 glibcxx_cv_func_powl_use=no
32837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32838 ac_ext=c
32839 ac_cpp='$CPP $CPPFLAGS'
32840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32849 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32851 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32852 for ac_func in powl
32853 do :
32854 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32855 if test "x$ac_cv_func_powl" = x""yes; then :
32856 cat >>confdefs.h <<_ACEOF
32857 #define HAVE_POWL 1
32858 _ACEOF
32861 done
32863 else
32865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32866 $as_echo_n "checking for _powl declaration... " >&6; }
32867 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32868 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32869 $as_echo_n "(cached) " >&6
32870 else
32873 ac_ext=cpp
32874 ac_cpp='$CXXCPP $CPPFLAGS'
32875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32880 /* end confdefs.h. */
32881 #include <math.h>
32883 main ()
32885 _powl(0, 0);
32887 return 0;
32889 _ACEOF
32890 if ac_fn_cxx_try_compile "$LINENO"; then :
32891 glibcxx_cv_func__powl_use=yes
32892 else
32893 glibcxx_cv_func__powl_use=no
32895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32896 ac_ext=c
32897 ac_cpp='$CPP $CPPFLAGS'
32898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32907 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32909 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32910 for ac_func in _powl
32911 do :
32912 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32913 if test "x$ac_cv_func__powl" = x""yes; then :
32914 cat >>confdefs.h <<_ACEOF
32915 #define HAVE__POWL 1
32916 _ACEOF
32919 done
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32929 $as_echo_n "checking for sqrtl declaration... " >&6; }
32930 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32931 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32932 $as_echo_n "(cached) " >&6
32933 else
32936 ac_ext=cpp
32937 ac_cpp='$CXXCPP $CPPFLAGS'
32938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32943 /* end confdefs.h. */
32944 #include <math.h>
32945 #ifdef HAVE_IEEEFP_H
32946 #include <ieeefp.h>
32947 #endif
32950 main ()
32952 sqrtl(0);
32954 return 0;
32956 _ACEOF
32957 if ac_fn_cxx_try_compile "$LINENO"; then :
32958 glibcxx_cv_func_sqrtl_use=yes
32959 else
32960 glibcxx_cv_func_sqrtl_use=no
32962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32963 ac_ext=c
32964 ac_cpp='$CPP $CPPFLAGS'
32965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32974 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32976 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32977 for ac_func in sqrtl
32978 do :
32979 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32980 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32981 cat >>confdefs.h <<_ACEOF
32982 #define HAVE_SQRTL 1
32983 _ACEOF
32986 done
32988 else
32990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32991 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32992 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32993 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32994 $as_echo_n "(cached) " >&6
32995 else
32998 ac_ext=cpp
32999 ac_cpp='$CXXCPP $CPPFLAGS'
33000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33005 /* end confdefs.h. */
33006 #include <math.h>
33007 #ifdef HAVE_IEEEFP_H
33008 #include <ieeefp.h>
33009 #endif
33012 main ()
33014 _sqrtl(0);
33016 return 0;
33018 _ACEOF
33019 if ac_fn_cxx_try_compile "$LINENO"; then :
33020 glibcxx_cv_func__sqrtl_use=yes
33021 else
33022 glibcxx_cv_func__sqrtl_use=no
33024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025 ac_ext=c
33026 ac_cpp='$CPP $CPPFLAGS'
33027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33036 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33038 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33039 for ac_func in _sqrtl
33040 do :
33041 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33042 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33043 cat >>confdefs.h <<_ACEOF
33044 #define HAVE__SQRTL 1
33045 _ACEOF
33048 done
33057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33058 $as_echo_n "checking for sincosl declaration... " >&6; }
33059 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33060 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33061 $as_echo_n "(cached) " >&6
33062 else
33065 ac_ext=cpp
33066 ac_cpp='$CXXCPP $CPPFLAGS'
33067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33072 /* end confdefs.h. */
33073 #include <math.h>
33075 main ()
33077 sincosl(0, 0, 0);
33079 return 0;
33081 _ACEOF
33082 if ac_fn_cxx_try_compile "$LINENO"; then :
33083 glibcxx_cv_func_sincosl_use=yes
33084 else
33085 glibcxx_cv_func_sincosl_use=no
33087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33088 ac_ext=c
33089 ac_cpp='$CPP $CPPFLAGS'
33090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33099 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33101 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33102 for ac_func in sincosl
33103 do :
33104 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33105 if test "x$ac_cv_func_sincosl" = x""yes; then :
33106 cat >>confdefs.h <<_ACEOF
33107 #define HAVE_SINCOSL 1
33108 _ACEOF
33111 done
33113 else
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33116 $as_echo_n "checking for _sincosl declaration... " >&6; }
33117 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33118 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33119 $as_echo_n "(cached) " >&6
33120 else
33123 ac_ext=cpp
33124 ac_cpp='$CXXCPP $CPPFLAGS'
33125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33130 /* end confdefs.h. */
33131 #include <math.h>
33133 main ()
33135 _sincosl(0, 0, 0);
33137 return 0;
33139 _ACEOF
33140 if ac_fn_cxx_try_compile "$LINENO"; then :
33141 glibcxx_cv_func__sincosl_use=yes
33142 else
33143 glibcxx_cv_func__sincosl_use=no
33145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33146 ac_ext=c
33147 ac_cpp='$CPP $CPPFLAGS'
33148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33157 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33159 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33160 for ac_func in _sincosl
33161 do :
33162 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33163 if test "x$ac_cv_func__sincosl" = x""yes; then :
33164 cat >>confdefs.h <<_ACEOF
33165 #define HAVE__SINCOSL 1
33166 _ACEOF
33169 done
33178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33179 $as_echo_n "checking for finitel declaration... " >&6; }
33180 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33181 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33182 $as_echo_n "(cached) " >&6
33183 else
33186 ac_ext=cpp
33187 ac_cpp='$CXXCPP $CPPFLAGS'
33188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33193 /* end confdefs.h. */
33194 #include <math.h>
33195 #ifdef HAVE_IEEEFP_H
33196 #include <ieeefp.h>
33197 #endif
33200 main ()
33202 finitel(0);
33204 return 0;
33206 _ACEOF
33207 if ac_fn_cxx_try_compile "$LINENO"; then :
33208 glibcxx_cv_func_finitel_use=yes
33209 else
33210 glibcxx_cv_func_finitel_use=no
33212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33213 ac_ext=c
33214 ac_cpp='$CPP $CPPFLAGS'
33215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33224 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33226 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33227 for ac_func in finitel
33228 do :
33229 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33230 if test "x$ac_cv_func_finitel" = x""yes; then :
33231 cat >>confdefs.h <<_ACEOF
33232 #define HAVE_FINITEL 1
33233 _ACEOF
33236 done
33238 else
33240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33241 $as_echo_n "checking for _finitel declaration... " >&6; }
33242 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33243 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33244 $as_echo_n "(cached) " >&6
33245 else
33248 ac_ext=cpp
33249 ac_cpp='$CXXCPP $CPPFLAGS'
33250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33255 /* end confdefs.h. */
33256 #include <math.h>
33257 #ifdef HAVE_IEEEFP_H
33258 #include <ieeefp.h>
33259 #endif
33262 main ()
33264 _finitel(0);
33266 return 0;
33268 _ACEOF
33269 if ac_fn_cxx_try_compile "$LINENO"; then :
33270 glibcxx_cv_func__finitel_use=yes
33271 else
33272 glibcxx_cv_func__finitel_use=no
33274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33275 ac_ext=c
33276 ac_cpp='$CPP $CPPFLAGS'
33277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33286 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33288 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33289 for ac_func in _finitel
33290 do :
33291 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33292 if test "x$ac_cv_func__finitel" = x""yes; then :
33293 cat >>confdefs.h <<_ACEOF
33294 #define HAVE__FINITEL 1
33295 _ACEOF
33298 done
33306 LIBS="$ac_save_LIBS"
33307 CXXFLAGS="$ac_save_CXXFLAGS"
33310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33311 ac_save_CXXFLAGS="$CXXFLAGS"
33312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33316 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33317 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33318 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33319 $as_echo_n "(cached) " >&6
33320 else
33323 ac_ext=cpp
33324 ac_cpp='$CXXCPP $CPPFLAGS'
33325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33330 /* end confdefs.h. */
33331 #include <stdlib.h>
33333 main ()
33335 at_quick_exit(0);
33337 return 0;
33339 _ACEOF
33340 if ac_fn_cxx_try_compile "$LINENO"; then :
33341 glibcxx_cv_func_at_quick_exit_use=yes
33342 else
33343 glibcxx_cv_func_at_quick_exit_use=no
33345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33346 ac_ext=c
33347 ac_cpp='$CPP $CPPFLAGS'
33348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33357 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33358 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33359 for ac_func in at_quick_exit
33360 do :
33361 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33362 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33363 cat >>confdefs.h <<_ACEOF
33364 #define HAVE_AT_QUICK_EXIT 1
33365 _ACEOF
33368 done
33373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33374 $as_echo_n "checking for quick_exit declaration... " >&6; }
33375 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33376 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33377 $as_echo_n "(cached) " >&6
33378 else
33381 ac_ext=cpp
33382 ac_cpp='$CXXCPP $CPPFLAGS'
33383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33388 /* end confdefs.h. */
33389 #include <stdlib.h>
33391 main ()
33393 quick_exit(0);
33395 return 0;
33397 _ACEOF
33398 if ac_fn_cxx_try_compile "$LINENO"; then :
33399 glibcxx_cv_func_quick_exit_use=yes
33400 else
33401 glibcxx_cv_func_quick_exit_use=no
33403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33404 ac_ext=c
33405 ac_cpp='$CPP $CPPFLAGS'
33406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33415 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33416 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33417 for ac_func in quick_exit
33418 do :
33419 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33420 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33421 cat >>confdefs.h <<_ACEOF
33422 #define HAVE_QUICK_EXIT 1
33423 _ACEOF
33426 done
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33432 $as_echo_n "checking for strtold declaration... " >&6; }
33433 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33434 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33435 $as_echo_n "(cached) " >&6
33436 else
33439 ac_ext=cpp
33440 ac_cpp='$CXXCPP $CPPFLAGS'
33441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33446 /* end confdefs.h. */
33447 #include <stdlib.h>
33449 main ()
33451 strtold(0, 0);
33453 return 0;
33455 _ACEOF
33456 if ac_fn_cxx_try_compile "$LINENO"; then :
33457 glibcxx_cv_func_strtold_use=yes
33458 else
33459 glibcxx_cv_func_strtold_use=no
33461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33462 ac_ext=c
33463 ac_cpp='$CPP $CPPFLAGS'
33464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33473 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33474 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33475 for ac_func in strtold
33476 do :
33477 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33478 if test "x$ac_cv_func_strtold" = x""yes; then :
33479 cat >>confdefs.h <<_ACEOF
33480 #define HAVE_STRTOLD 1
33481 _ACEOF
33484 done
33491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33492 $as_echo_n "checking for strtof declaration... " >&6; }
33493 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33494 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33495 $as_echo_n "(cached) " >&6
33496 else
33499 ac_ext=cpp
33500 ac_cpp='$CXXCPP $CPPFLAGS'
33501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33506 /* end confdefs.h. */
33507 #include <stdlib.h>
33509 main ()
33511 strtof(0, 0);
33513 return 0;
33515 _ACEOF
33516 if ac_fn_cxx_try_compile "$LINENO"; then :
33517 glibcxx_cv_func_strtof_use=yes
33518 else
33519 glibcxx_cv_func_strtof_use=no
33521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33522 ac_ext=c
33523 ac_cpp='$CPP $CPPFLAGS'
33524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33533 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33534 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33535 for ac_func in strtof
33536 do :
33537 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33538 if test "x$ac_cv_func_strtof" = x""yes; then :
33539 cat >>confdefs.h <<_ACEOF
33540 #define HAVE_STRTOF 1
33541 _ACEOF
33544 done
33551 CXXFLAGS="$ac_save_CXXFLAGS"
33554 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33556 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33558 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33560 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33563 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33565 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33567 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33571 *-aix*)
33573 # If we're not using GNU ld, then there's no point in even trying these
33574 # tests. Check for that first. We should have already tested for gld
33575 # by now (in libtool), but require it now just to be safe...
33576 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33577 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33581 # The name set by libtool depends on the version of libtool. Shame on us
33582 # for depending on an impl detail, but c'est la vie. Older versions used
33583 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33584 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33585 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33586 # set (hence we're using an older libtool), then set it.
33587 if test x${with_gnu_ld+set} != xset; then
33588 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33589 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33590 with_gnu_ld=no
33591 else
33592 with_gnu_ld=$ac_cv_prog_gnu_ld
33596 # Start by getting the version number. I think the libtool test already
33597 # does some of this, but throws away the result.
33598 glibcxx_ld_is_gold=no
33599 if test x"$with_gnu_ld" = x"yes"; then
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33601 $as_echo_n "checking for ld version... " >&6; }
33603 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33604 glibcxx_ld_is_gold=yes
33606 ldver=`$LD --version 2>/dev/null |
33607 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'`
33609 glibcxx_gnu_ld_version=`echo $ldver | \
33610 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33612 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33615 # Set --gc-sections.
33616 glibcxx_have_gc_sections=no
33617 if test "$glibcxx_ld_is_gold" = "yes"; then
33618 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33619 glibcxx_have_gc_sections=yes
33621 else
33622 glibcxx_gcsections_min_ld=21602
33623 if test x"$with_gnu_ld" = x"yes" &&
33624 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33625 glibcxx_have_gc_sections=yes
33628 if test "$glibcxx_have_gc_sections" = "yes"; then
33629 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33630 # NB: This flag only works reliably after 2.16.1. Configure tests
33631 # for this are difficult, so hard wire a value that should work.
33633 ac_test_CFLAGS="${CFLAGS+set}"
33634 ac_save_CFLAGS="$CFLAGS"
33635 CFLAGS='-Wl,--gc-sections'
33637 # Check for -Wl,--gc-sections
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33639 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33640 if test x$gcc_no_link = xyes; then
33641 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33644 /* end confdefs.h. */
33645 int one(void) { return 1; }
33646 int two(void) { return 2; }
33649 main ()
33651 two();
33653 return 0;
33655 _ACEOF
33656 if ac_fn_c_try_link "$LINENO"; then :
33657 ac_gcsections=yes
33658 else
33659 ac_gcsections=no
33661 rm -f core conftest.err conftest.$ac_objext \
33662 conftest$ac_exeext conftest.$ac_ext
33663 if test "$ac_gcsections" = "yes"; then
33664 rm -f conftest.c
33665 touch conftest.c
33666 if $CC -c conftest.c; then
33667 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33668 grep "Warning: gc-sections option ignored" > /dev/null; then
33669 ac_gcsections=no
33672 rm -f conftest.c conftest.o conftest
33674 if test "$ac_gcsections" = "yes"; then
33675 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33678 $as_echo "$ac_gcsections" >&6; }
33680 if test "$ac_test_CFLAGS" = set; then
33681 CFLAGS="$ac_save_CFLAGS"
33682 else
33683 # this is the suspicious part
33684 CFLAGS=''
33688 # Set -z,relro.
33689 # Note this is only for shared objects.
33690 ac_ld_relro=no
33691 if test x"$with_gnu_ld" = x"yes"; then
33692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33693 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33694 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33695 if test -n "$cxx_z_relo"; then
33696 OPT_LDFLAGS="-Wl,-z,relro"
33697 ac_ld_relro=yes
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33700 $as_echo "$ac_ld_relro" >&6; }
33703 # Set linker optimization flags.
33704 if test x"$with_gnu_ld" = x"yes"; then
33705 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33712 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33713 ac_save_CXXFLAGS="$CXXFLAGS"
33714 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33717 $as_echo_n "checking for sin in -lm... " >&6; }
33718 if test "${ac_cv_lib_m_sin+set}" = set; then :
33719 $as_echo_n "(cached) " >&6
33720 else
33721 ac_check_lib_save_LIBS=$LIBS
33722 LIBS="-lm $LIBS"
33723 if test x$gcc_no_link = xyes; then
33724 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33727 /* end confdefs.h. */
33729 /* Override any GCC internal prototype to avoid an error.
33730 Use char because int might match the return type of a GCC
33731 builtin and then its argument prototype would still apply. */
33732 #ifdef __cplusplus
33733 extern "C"
33734 #endif
33735 char sin ();
33737 main ()
33739 return sin ();
33741 return 0;
33743 _ACEOF
33744 if ac_fn_c_try_link "$LINENO"; then :
33745 ac_cv_lib_m_sin=yes
33746 else
33747 ac_cv_lib_m_sin=no
33749 rm -f core conftest.err conftest.$ac_objext \
33750 conftest$ac_exeext conftest.$ac_ext
33751 LIBS=$ac_check_lib_save_LIBS
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33754 $as_echo "$ac_cv_lib_m_sin" >&6; }
33755 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33756 libm="-lm"
33759 ac_save_LIBS="$LIBS"
33760 LIBS="$LIBS $libm"
33764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33765 $as_echo_n "checking for isinf declaration... " >&6; }
33766 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33767 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33768 $as_echo_n "(cached) " >&6
33769 else
33772 ac_ext=cpp
33773 ac_cpp='$CXXCPP $CPPFLAGS'
33774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33779 /* end confdefs.h. */
33780 #include <math.h>
33781 #ifdef HAVE_IEEEFP_H
33782 #include <ieeefp.h>
33783 #endif
33786 main ()
33788 isinf(0);
33790 return 0;
33792 _ACEOF
33793 if ac_fn_cxx_try_compile "$LINENO"; then :
33794 glibcxx_cv_func_isinf_use=yes
33795 else
33796 glibcxx_cv_func_isinf_use=no
33798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33799 ac_ext=c
33800 ac_cpp='$CPP $CPPFLAGS'
33801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33810 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33812 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33813 for ac_func in isinf
33814 do :
33815 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33816 if test "x$ac_cv_func_isinf" = x""yes; then :
33817 cat >>confdefs.h <<_ACEOF
33818 #define HAVE_ISINF 1
33819 _ACEOF
33822 done
33824 else
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33827 $as_echo_n "checking for _isinf declaration... " >&6; }
33828 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33829 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33830 $as_echo_n "(cached) " >&6
33831 else
33834 ac_ext=cpp
33835 ac_cpp='$CXXCPP $CPPFLAGS'
33836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33841 /* end confdefs.h. */
33842 #include <math.h>
33843 #ifdef HAVE_IEEEFP_H
33844 #include <ieeefp.h>
33845 #endif
33848 main ()
33850 _isinf(0);
33852 return 0;
33854 _ACEOF
33855 if ac_fn_cxx_try_compile "$LINENO"; then :
33856 glibcxx_cv_func__isinf_use=yes
33857 else
33858 glibcxx_cv_func__isinf_use=no
33860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33861 ac_ext=c
33862 ac_cpp='$CPP $CPPFLAGS'
33863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33872 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33874 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33875 for ac_func in _isinf
33876 do :
33877 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33878 if test "x$ac_cv_func__isinf" = x""yes; then :
33879 cat >>confdefs.h <<_ACEOF
33880 #define HAVE__ISINF 1
33881 _ACEOF
33884 done
33893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33894 $as_echo_n "checking for isnan declaration... " >&6; }
33895 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33896 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33897 $as_echo_n "(cached) " >&6
33898 else
33901 ac_ext=cpp
33902 ac_cpp='$CXXCPP $CPPFLAGS'
33903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33908 /* end confdefs.h. */
33909 #include <math.h>
33910 #ifdef HAVE_IEEEFP_H
33911 #include <ieeefp.h>
33912 #endif
33915 main ()
33917 isnan(0);
33919 return 0;
33921 _ACEOF
33922 if ac_fn_cxx_try_compile "$LINENO"; then :
33923 glibcxx_cv_func_isnan_use=yes
33924 else
33925 glibcxx_cv_func_isnan_use=no
33927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33928 ac_ext=c
33929 ac_cpp='$CPP $CPPFLAGS'
33930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33939 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33941 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33942 for ac_func in isnan
33943 do :
33944 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33945 if test "x$ac_cv_func_isnan" = x""yes; then :
33946 cat >>confdefs.h <<_ACEOF
33947 #define HAVE_ISNAN 1
33948 _ACEOF
33951 done
33953 else
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33956 $as_echo_n "checking for _isnan declaration... " >&6; }
33957 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33958 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33959 $as_echo_n "(cached) " >&6
33960 else
33963 ac_ext=cpp
33964 ac_cpp='$CXXCPP $CPPFLAGS'
33965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33970 /* end confdefs.h. */
33971 #include <math.h>
33972 #ifdef HAVE_IEEEFP_H
33973 #include <ieeefp.h>
33974 #endif
33977 main ()
33979 _isnan(0);
33981 return 0;
33983 _ACEOF
33984 if ac_fn_cxx_try_compile "$LINENO"; then :
33985 glibcxx_cv_func__isnan_use=yes
33986 else
33987 glibcxx_cv_func__isnan_use=no
33989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33990 ac_ext=c
33991 ac_cpp='$CPP $CPPFLAGS'
33992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34001 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34003 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34004 for ac_func in _isnan
34005 do :
34006 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34007 if test "x$ac_cv_func__isnan" = x""yes; then :
34008 cat >>confdefs.h <<_ACEOF
34009 #define HAVE__ISNAN 1
34010 _ACEOF
34013 done
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34023 $as_echo_n "checking for finite declaration... " >&6; }
34024 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34025 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34026 $as_echo_n "(cached) " >&6
34027 else
34030 ac_ext=cpp
34031 ac_cpp='$CXXCPP $CPPFLAGS'
34032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34037 /* end confdefs.h. */
34038 #include <math.h>
34039 #ifdef HAVE_IEEEFP_H
34040 #include <ieeefp.h>
34041 #endif
34044 main ()
34046 finite(0);
34048 return 0;
34050 _ACEOF
34051 if ac_fn_cxx_try_compile "$LINENO"; then :
34052 glibcxx_cv_func_finite_use=yes
34053 else
34054 glibcxx_cv_func_finite_use=no
34056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34057 ac_ext=c
34058 ac_cpp='$CPP $CPPFLAGS'
34059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34068 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34070 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34071 for ac_func in finite
34072 do :
34073 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34074 if test "x$ac_cv_func_finite" = x""yes; then :
34075 cat >>confdefs.h <<_ACEOF
34076 #define HAVE_FINITE 1
34077 _ACEOF
34080 done
34082 else
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34085 $as_echo_n "checking for _finite declaration... " >&6; }
34086 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34087 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34088 $as_echo_n "(cached) " >&6
34089 else
34092 ac_ext=cpp
34093 ac_cpp='$CXXCPP $CPPFLAGS'
34094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34099 /* end confdefs.h. */
34100 #include <math.h>
34101 #ifdef HAVE_IEEEFP_H
34102 #include <ieeefp.h>
34103 #endif
34106 main ()
34108 _finite(0);
34110 return 0;
34112 _ACEOF
34113 if ac_fn_cxx_try_compile "$LINENO"; then :
34114 glibcxx_cv_func__finite_use=yes
34115 else
34116 glibcxx_cv_func__finite_use=no
34118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34119 ac_ext=c
34120 ac_cpp='$CPP $CPPFLAGS'
34121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34130 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34132 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34133 for ac_func in _finite
34134 do :
34135 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34136 if test "x$ac_cv_func__finite" = x""yes; then :
34137 cat >>confdefs.h <<_ACEOF
34138 #define HAVE__FINITE 1
34139 _ACEOF
34142 done
34151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34152 $as_echo_n "checking for sincos declaration... " >&6; }
34153 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34154 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34155 $as_echo_n "(cached) " >&6
34156 else
34159 ac_ext=cpp
34160 ac_cpp='$CXXCPP $CPPFLAGS'
34161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34166 /* end confdefs.h. */
34167 #include <math.h>
34169 main ()
34171 sincos(0, 0, 0);
34173 return 0;
34175 _ACEOF
34176 if ac_fn_cxx_try_compile "$LINENO"; then :
34177 glibcxx_cv_func_sincos_use=yes
34178 else
34179 glibcxx_cv_func_sincos_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_sincos_use" >&5
34193 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34195 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34196 for ac_func in sincos
34197 do :
34198 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34199 if test "x$ac_cv_func_sincos" = x""yes; then :
34200 cat >>confdefs.h <<_ACEOF
34201 #define HAVE_SINCOS 1
34202 _ACEOF
34205 done
34207 else
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34210 $as_echo_n "checking for _sincos declaration... " >&6; }
34211 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34212 if test "${glibcxx_cv_func__sincos_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>
34227 main ()
34229 _sincos(0, 0, 0);
34231 return 0;
34233 _ACEOF
34234 if ac_fn_cxx_try_compile "$LINENO"; then :
34235 glibcxx_cv_func__sincos_use=yes
34236 else
34237 glibcxx_cv_func__sincos_use=no
34239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34240 ac_ext=c
34241 ac_cpp='$CPP $CPPFLAGS'
34242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34251 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34253 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34254 for ac_func in _sincos
34255 do :
34256 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34257 if test "x$ac_cv_func__sincos" = x""yes; then :
34258 cat >>confdefs.h <<_ACEOF
34259 #define HAVE__SINCOS 1
34260 _ACEOF
34263 done
34272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34273 $as_echo_n "checking for fpclass declaration... " >&6; }
34274 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34275 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34276 $as_echo_n "(cached) " >&6
34277 else
34280 ac_ext=cpp
34281 ac_cpp='$CXXCPP $CPPFLAGS'
34282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34287 /* end confdefs.h. */
34288 #include <math.h>
34289 #ifdef HAVE_IEEEFP_H
34290 #include <ieeefp.h>
34291 #endif
34294 main ()
34296 fpclass(0);
34298 return 0;
34300 _ACEOF
34301 if ac_fn_cxx_try_compile "$LINENO"; then :
34302 glibcxx_cv_func_fpclass_use=yes
34303 else
34304 glibcxx_cv_func_fpclass_use=no
34306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34307 ac_ext=c
34308 ac_cpp='$CPP $CPPFLAGS'
34309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34318 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34320 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34321 for ac_func in fpclass
34322 do :
34323 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34324 if test "x$ac_cv_func_fpclass" = x""yes; then :
34325 cat >>confdefs.h <<_ACEOF
34326 #define HAVE_FPCLASS 1
34327 _ACEOF
34330 done
34332 else
34334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34335 $as_echo_n "checking for _fpclass declaration... " >&6; }
34336 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34337 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34338 $as_echo_n "(cached) " >&6
34339 else
34342 ac_ext=cpp
34343 ac_cpp='$CXXCPP $CPPFLAGS'
34344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34349 /* end confdefs.h. */
34350 #include <math.h>
34351 #ifdef HAVE_IEEEFP_H
34352 #include <ieeefp.h>
34353 #endif
34356 main ()
34358 _fpclass(0);
34360 return 0;
34362 _ACEOF
34363 if ac_fn_cxx_try_compile "$LINENO"; then :
34364 glibcxx_cv_func__fpclass_use=yes
34365 else
34366 glibcxx_cv_func__fpclass_use=no
34368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34369 ac_ext=c
34370 ac_cpp='$CPP $CPPFLAGS'
34371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34380 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34382 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34383 for ac_func in _fpclass
34384 do :
34385 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34386 if test "x$ac_cv_func__fpclass" = x""yes; then :
34387 cat >>confdefs.h <<_ACEOF
34388 #define HAVE__FPCLASS 1
34389 _ACEOF
34392 done
34401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34402 $as_echo_n "checking for qfpclass declaration... " >&6; }
34403 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34404 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34405 $as_echo_n "(cached) " >&6
34406 else
34409 ac_ext=cpp
34410 ac_cpp='$CXXCPP $CPPFLAGS'
34411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34416 /* end confdefs.h. */
34417 #include <math.h>
34418 #ifdef HAVE_IEEEFP_H
34419 #include <ieeefp.h>
34420 #endif
34423 main ()
34425 qfpclass(0);
34427 return 0;
34429 _ACEOF
34430 if ac_fn_cxx_try_compile "$LINENO"; then :
34431 glibcxx_cv_func_qfpclass_use=yes
34432 else
34433 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
34447 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34449 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34450 for ac_func in qfpclass
34451 do :
34452 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34453 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34454 cat >>confdefs.h <<_ACEOF
34455 #define HAVE_QFPCLASS 1
34456 _ACEOF
34459 done
34461 else
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34464 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34465 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34466 if test "${glibcxx_cv_func__qfpclass_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>
34480 #ifdef HAVE_IEEEFP_H
34481 #include <ieeefp.h>
34482 #endif
34485 main ()
34487 _qfpclass(0);
34489 return 0;
34491 _ACEOF
34492 if ac_fn_cxx_try_compile "$LINENO"; then :
34493 glibcxx_cv_func__qfpclass_use=yes
34494 else
34495 glibcxx_cv_func__qfpclass_use=no
34497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34498 ac_ext=c
34499 ac_cpp='$CPP $CPPFLAGS'
34500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34509 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34511 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34512 for ac_func in _qfpclass
34513 do :
34514 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34515 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34516 cat >>confdefs.h <<_ACEOF
34517 #define HAVE__QFPCLASS 1
34518 _ACEOF
34521 done
34530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34531 $as_echo_n "checking for hypot declaration... " >&6; }
34532 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34533 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34534 $as_echo_n "(cached) " >&6
34535 else
34538 ac_ext=cpp
34539 ac_cpp='$CXXCPP $CPPFLAGS'
34540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34545 /* end confdefs.h. */
34546 #include <math.h>
34548 main ()
34550 hypot(0, 0);
34552 return 0;
34554 _ACEOF
34555 if ac_fn_cxx_try_compile "$LINENO"; then :
34556 glibcxx_cv_func_hypot_use=yes
34557 else
34558 glibcxx_cv_func_hypot_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_hypot_use" >&5
34572 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34574 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34575 for ac_func in hypot
34576 do :
34577 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34578 if test "x$ac_cv_func_hypot" = x""yes; then :
34579 cat >>confdefs.h <<_ACEOF
34580 #define HAVE_HYPOT 1
34581 _ACEOF
34584 done
34586 else
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34589 $as_echo_n "checking for _hypot declaration... " >&6; }
34590 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34591 if test "${glibcxx_cv_func__hypot_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>
34606 main ()
34608 _hypot(0, 0);
34610 return 0;
34612 _ACEOF
34613 if ac_fn_cxx_try_compile "$LINENO"; then :
34614 glibcxx_cv_func__hypot_use=yes
34615 else
34616 glibcxx_cv_func__hypot_use=no
34618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34619 ac_ext=c
34620 ac_cpp='$CPP $CPPFLAGS'
34621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34630 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34632 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34633 for ac_func in _hypot
34634 do :
34635 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34636 if test "x$ac_cv_func__hypot" = x""yes; then :
34637 cat >>confdefs.h <<_ACEOF
34638 #define HAVE__HYPOT 1
34639 _ACEOF
34642 done
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34652 $as_echo_n "checking for float trig functions... " >&6; }
34653 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34654 $as_echo_n "(cached) " >&6
34655 else
34658 ac_ext=cpp
34659 ac_cpp='$CXXCPP $CPPFLAGS'
34660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34665 /* end confdefs.h. */
34666 #include <math.h>
34668 main ()
34670 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34672 return 0;
34674 _ACEOF
34675 if ac_fn_cxx_try_compile "$LINENO"; then :
34676 glibcxx_cv_func_float_trig_use=yes
34677 else
34678 glibcxx_cv_func_float_trig_use=no
34680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34681 ac_ext=c
34682 ac_cpp='$CPP $CPPFLAGS'
34683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34690 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34691 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34692 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34693 do :
34694 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34695 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34696 eval as_val=\$$as_ac_var
34697 if test "x$as_val" = x""yes; then :
34698 cat >>confdefs.h <<_ACEOF
34699 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34700 _ACEOF
34703 done
34705 else
34706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34707 $as_echo_n "checking for _float trig functions... " >&6; }
34708 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34709 $as_echo_n "(cached) " >&6
34710 else
34713 ac_ext=cpp
34714 ac_cpp='$CXXCPP $CPPFLAGS'
34715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34720 /* end confdefs.h. */
34721 #include <math.h>
34723 main ()
34725 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34727 return 0;
34729 _ACEOF
34730 if ac_fn_cxx_try_compile "$LINENO"; then :
34731 glibcxx_cv_func__float_trig_use=yes
34732 else
34733 glibcxx_cv_func__float_trig_use=no
34735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34736 ac_ext=c
34737 ac_cpp='$CPP $CPPFLAGS'
34738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34745 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34746 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34747 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34748 do :
34749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34751 eval as_val=\$$as_ac_var
34752 if test "x$as_val" = x""yes; then :
34753 cat >>confdefs.h <<_ACEOF
34754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34755 _ACEOF
34758 done
34767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34768 $as_echo_n "checking for float round functions... " >&6; }
34769 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34770 $as_echo_n "(cached) " >&6
34771 else
34774 ac_ext=cpp
34775 ac_cpp='$CXXCPP $CPPFLAGS'
34776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34781 /* end confdefs.h. */
34782 #include <math.h>
34784 main ()
34786 ceilf (0); floorf (0);
34788 return 0;
34790 _ACEOF
34791 if ac_fn_cxx_try_compile "$LINENO"; then :
34792 glibcxx_cv_func_float_round_use=yes
34793 else
34794 glibcxx_cv_func_float_round_use=no
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34797 ac_ext=c
34798 ac_cpp='$CPP $CPPFLAGS'
34799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34806 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34807 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34808 for ac_func in ceilf floorf
34809 do :
34810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34812 eval as_val=\$$as_ac_var
34813 if test "x$as_val" = x""yes; then :
34814 cat >>confdefs.h <<_ACEOF
34815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34816 _ACEOF
34819 done
34821 else
34822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34823 $as_echo_n "checking for _float round functions... " >&6; }
34824 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34825 $as_echo_n "(cached) " >&6
34826 else
34829 ac_ext=cpp
34830 ac_cpp='$CXXCPP $CPPFLAGS'
34831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34836 /* end confdefs.h. */
34837 #include <math.h>
34839 main ()
34841 _ceilf (0); _floorf (0);
34843 return 0;
34845 _ACEOF
34846 if ac_fn_cxx_try_compile "$LINENO"; then :
34847 glibcxx_cv_func__float_round_use=yes
34848 else
34849 glibcxx_cv_func__float_round_use=no
34851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34852 ac_ext=c
34853 ac_cpp='$CPP $CPPFLAGS'
34854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34861 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34862 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34863 for ac_func in _ceilf _floorf
34864 do :
34865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34867 eval as_val=\$$as_ac_var
34868 if test "x$as_val" = x""yes; then :
34869 cat >>confdefs.h <<_ACEOF
34870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34871 _ACEOF
34874 done
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34885 $as_echo_n "checking for expf declaration... " >&6; }
34886 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34887 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34888 $as_echo_n "(cached) " >&6
34889 else
34892 ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h. */
34900 #include <math.h>
34901 #ifdef HAVE_IEEEFP_H
34902 #include <ieeefp.h>
34903 #endif
34906 main ()
34908 expf(0);
34910 return 0;
34912 _ACEOF
34913 if ac_fn_cxx_try_compile "$LINENO"; then :
34914 glibcxx_cv_func_expf_use=yes
34915 else
34916 glibcxx_cv_func_expf_use=no
34918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34919 ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34930 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34932 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34933 for ac_func in expf
34934 do :
34935 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34936 if test "x$ac_cv_func_expf" = x""yes; then :
34937 cat >>confdefs.h <<_ACEOF
34938 #define HAVE_EXPF 1
34939 _ACEOF
34942 done
34944 else
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34947 $as_echo_n "checking for _expf declaration... " >&6; }
34948 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34949 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34950 $as_echo_n "(cached) " >&6
34951 else
34954 ac_ext=cpp
34955 ac_cpp='$CXXCPP $CPPFLAGS'
34956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34961 /* end confdefs.h. */
34962 #include <math.h>
34963 #ifdef HAVE_IEEEFP_H
34964 #include <ieeefp.h>
34965 #endif
34968 main ()
34970 _expf(0);
34972 return 0;
34974 _ACEOF
34975 if ac_fn_cxx_try_compile "$LINENO"; then :
34976 glibcxx_cv_func__expf_use=yes
34977 else
34978 glibcxx_cv_func__expf_use=no
34980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34981 ac_ext=c
34982 ac_cpp='$CPP $CPPFLAGS'
34983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34992 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34994 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34995 for ac_func in _expf
34996 do :
34997 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34998 if test "x$ac_cv_func__expf" = x""yes; then :
34999 cat >>confdefs.h <<_ACEOF
35000 #define HAVE__EXPF 1
35001 _ACEOF
35004 done
35013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35014 $as_echo_n "checking for isnanf declaration... " >&6; }
35015 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35016 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35017 $as_echo_n "(cached) " >&6
35018 else
35021 ac_ext=cpp
35022 ac_cpp='$CXXCPP $CPPFLAGS'
35023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35028 /* end confdefs.h. */
35029 #include <math.h>
35030 #ifdef HAVE_IEEEFP_H
35031 #include <ieeefp.h>
35032 #endif
35035 main ()
35037 isnanf(0);
35039 return 0;
35041 _ACEOF
35042 if ac_fn_cxx_try_compile "$LINENO"; then :
35043 glibcxx_cv_func_isnanf_use=yes
35044 else
35045 glibcxx_cv_func_isnanf_use=no
35047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35048 ac_ext=c
35049 ac_cpp='$CPP $CPPFLAGS'
35050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35059 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35061 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35062 for ac_func in isnanf
35063 do :
35064 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35065 if test "x$ac_cv_func_isnanf" = x""yes; then :
35066 cat >>confdefs.h <<_ACEOF
35067 #define HAVE_ISNANF 1
35068 _ACEOF
35071 done
35073 else
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35076 $as_echo_n "checking for _isnanf declaration... " >&6; }
35077 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35078 if test "${glibcxx_cv_func__isnanf_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>
35092 #ifdef HAVE_IEEEFP_H
35093 #include <ieeefp.h>
35094 #endif
35097 main ()
35099 _isnanf(0);
35101 return 0;
35103 _ACEOF
35104 if ac_fn_cxx_try_compile "$LINENO"; then :
35105 glibcxx_cv_func__isnanf_use=yes
35106 else
35107 glibcxx_cv_func__isnanf_use=no
35109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35110 ac_ext=c
35111 ac_cpp='$CPP $CPPFLAGS'
35112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35121 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35123 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35124 for ac_func in _isnanf
35125 do :
35126 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35127 if test "x$ac_cv_func__isnanf" = x""yes; then :
35128 cat >>confdefs.h <<_ACEOF
35129 #define HAVE__ISNANF 1
35130 _ACEOF
35133 done
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35143 $as_echo_n "checking for isinff declaration... " >&6; }
35144 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35145 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35146 $as_echo_n "(cached) " >&6
35147 else
35150 ac_ext=cpp
35151 ac_cpp='$CXXCPP $CPPFLAGS'
35152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35157 /* end confdefs.h. */
35158 #include <math.h>
35159 #ifdef HAVE_IEEEFP_H
35160 #include <ieeefp.h>
35161 #endif
35164 main ()
35166 isinff(0);
35168 return 0;
35170 _ACEOF
35171 if ac_fn_cxx_try_compile "$LINENO"; then :
35172 glibcxx_cv_func_isinff_use=yes
35173 else
35174 glibcxx_cv_func_isinff_use=no
35176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35177 ac_ext=c
35178 ac_cpp='$CPP $CPPFLAGS'
35179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35188 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35190 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35191 for ac_func in isinff
35192 do :
35193 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35194 if test "x$ac_cv_func_isinff" = x""yes; then :
35195 cat >>confdefs.h <<_ACEOF
35196 #define HAVE_ISINFF 1
35197 _ACEOF
35200 done
35202 else
35204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35205 $as_echo_n "checking for _isinff declaration... " >&6; }
35206 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35207 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35208 $as_echo_n "(cached) " >&6
35209 else
35212 ac_ext=cpp
35213 ac_cpp='$CXXCPP $CPPFLAGS'
35214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35219 /* end confdefs.h. */
35220 #include <math.h>
35221 #ifdef HAVE_IEEEFP_H
35222 #include <ieeefp.h>
35223 #endif
35226 main ()
35228 _isinff(0);
35230 return 0;
35232 _ACEOF
35233 if ac_fn_cxx_try_compile "$LINENO"; then :
35234 glibcxx_cv_func__isinff_use=yes
35235 else
35236 glibcxx_cv_func__isinff_use=no
35238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35239 ac_ext=c
35240 ac_cpp='$CPP $CPPFLAGS'
35241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35250 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35252 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35253 for ac_func in _isinff
35254 do :
35255 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35256 if test "x$ac_cv_func__isinff" = x""yes; then :
35257 cat >>confdefs.h <<_ACEOF
35258 #define HAVE__ISINFF 1
35259 _ACEOF
35262 done
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35272 $as_echo_n "checking for atan2f declaration... " >&6; }
35273 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35274 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35275 $as_echo_n "(cached) " >&6
35276 else
35279 ac_ext=cpp
35280 ac_cpp='$CXXCPP $CPPFLAGS'
35281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35286 /* end confdefs.h. */
35287 #include <math.h>
35289 main ()
35291 atan2f(0, 0);
35293 return 0;
35295 _ACEOF
35296 if ac_fn_cxx_try_compile "$LINENO"; then :
35297 glibcxx_cv_func_atan2f_use=yes
35298 else
35299 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
35313 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35315 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35316 for ac_func in atan2f
35317 do :
35318 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35319 if test "x$ac_cv_func_atan2f" = x""yes; then :
35320 cat >>confdefs.h <<_ACEOF
35321 #define HAVE_ATAN2F 1
35322 _ACEOF
35325 done
35327 else
35329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35330 $as_echo_n "checking for _atan2f declaration... " >&6; }
35331 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35332 if test "${glibcxx_cv_func__atan2f_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>
35347 main ()
35349 _atan2f(0, 0);
35351 return 0;
35353 _ACEOF
35354 if ac_fn_cxx_try_compile "$LINENO"; then :
35355 glibcxx_cv_func__atan2f_use=yes
35356 else
35357 glibcxx_cv_func__atan2f_use=no
35359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35360 ac_ext=c
35361 ac_cpp='$CPP $CPPFLAGS'
35362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35371 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35373 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35374 for ac_func in _atan2f
35375 do :
35376 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35377 if test "x$ac_cv_func__atan2f" = x""yes; then :
35378 cat >>confdefs.h <<_ACEOF
35379 #define HAVE__ATAN2F 1
35380 _ACEOF
35383 done
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35393 $as_echo_n "checking for fabsf declaration... " >&6; }
35394 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35395 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35396 $as_echo_n "(cached) " >&6
35397 else
35400 ac_ext=cpp
35401 ac_cpp='$CXXCPP $CPPFLAGS'
35402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35407 /* end confdefs.h. */
35408 #include <math.h>
35409 #ifdef HAVE_IEEEFP_H
35410 #include <ieeefp.h>
35411 #endif
35414 main ()
35416 fabsf(0);
35418 return 0;
35420 _ACEOF
35421 if ac_fn_cxx_try_compile "$LINENO"; then :
35422 glibcxx_cv_func_fabsf_use=yes
35423 else
35424 glibcxx_cv_func_fabsf_use=no
35426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35427 ac_ext=c
35428 ac_cpp='$CPP $CPPFLAGS'
35429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35438 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35440 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35441 for ac_func in fabsf
35442 do :
35443 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35444 if test "x$ac_cv_func_fabsf" = x""yes; then :
35445 cat >>confdefs.h <<_ACEOF
35446 #define HAVE_FABSF 1
35447 _ACEOF
35450 done
35452 else
35454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35455 $as_echo_n "checking for _fabsf declaration... " >&6; }
35456 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35457 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35458 $as_echo_n "(cached) " >&6
35459 else
35462 ac_ext=cpp
35463 ac_cpp='$CXXCPP $CPPFLAGS'
35464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35469 /* end confdefs.h. */
35470 #include <math.h>
35471 #ifdef HAVE_IEEEFP_H
35472 #include <ieeefp.h>
35473 #endif
35476 main ()
35478 _fabsf(0);
35480 return 0;
35482 _ACEOF
35483 if ac_fn_cxx_try_compile "$LINENO"; then :
35484 glibcxx_cv_func__fabsf_use=yes
35485 else
35486 glibcxx_cv_func__fabsf_use=no
35488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35489 ac_ext=c
35490 ac_cpp='$CPP $CPPFLAGS'
35491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35500 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35502 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35503 for ac_func in _fabsf
35504 do :
35505 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35506 if test "x$ac_cv_func__fabsf" = x""yes; then :
35507 cat >>confdefs.h <<_ACEOF
35508 #define HAVE__FABSF 1
35509 _ACEOF
35512 done
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35522 $as_echo_n "checking for fmodf declaration... " >&6; }
35523 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35524 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35525 $as_echo_n "(cached) " >&6
35526 else
35529 ac_ext=cpp
35530 ac_cpp='$CXXCPP $CPPFLAGS'
35531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35536 /* end confdefs.h. */
35537 #include <math.h>
35539 main ()
35541 fmodf(0, 0);
35543 return 0;
35545 _ACEOF
35546 if ac_fn_cxx_try_compile "$LINENO"; then :
35547 glibcxx_cv_func_fmodf_use=yes
35548 else
35549 glibcxx_cv_func_fmodf_use=no
35551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35552 ac_ext=c
35553 ac_cpp='$CPP $CPPFLAGS'
35554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35563 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35565 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35566 for ac_func in fmodf
35567 do :
35568 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35569 if test "x$ac_cv_func_fmodf" = x""yes; then :
35570 cat >>confdefs.h <<_ACEOF
35571 #define HAVE_FMODF 1
35572 _ACEOF
35575 done
35577 else
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35580 $as_echo_n "checking for _fmodf declaration... " >&6; }
35581 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35582 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35583 $as_echo_n "(cached) " >&6
35584 else
35587 ac_ext=cpp
35588 ac_cpp='$CXXCPP $CPPFLAGS'
35589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35594 /* end confdefs.h. */
35595 #include <math.h>
35597 main ()
35599 _fmodf(0, 0);
35601 return 0;
35603 _ACEOF
35604 if ac_fn_cxx_try_compile "$LINENO"; then :
35605 glibcxx_cv_func__fmodf_use=yes
35606 else
35607 glibcxx_cv_func__fmodf_use=no
35609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35610 ac_ext=c
35611 ac_cpp='$CPP $CPPFLAGS'
35612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35621 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35623 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35624 for ac_func in _fmodf
35625 do :
35626 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35627 if test "x$ac_cv_func__fmodf" = x""yes; then :
35628 cat >>confdefs.h <<_ACEOF
35629 #define HAVE__FMODF 1
35630 _ACEOF
35633 done
35642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35643 $as_echo_n "checking for frexpf declaration... " >&6; }
35644 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35645 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35646 $as_echo_n "(cached) " >&6
35647 else
35650 ac_ext=cpp
35651 ac_cpp='$CXXCPP $CPPFLAGS'
35652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35657 /* end confdefs.h. */
35658 #include <math.h>
35660 main ()
35662 frexpf(0, 0);
35664 return 0;
35666 _ACEOF
35667 if ac_fn_cxx_try_compile "$LINENO"; then :
35668 glibcxx_cv_func_frexpf_use=yes
35669 else
35670 glibcxx_cv_func_frexpf_use=no
35672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35673 ac_ext=c
35674 ac_cpp='$CPP $CPPFLAGS'
35675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35684 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35686 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35687 for ac_func in frexpf
35688 do :
35689 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35690 if test "x$ac_cv_func_frexpf" = x""yes; then :
35691 cat >>confdefs.h <<_ACEOF
35692 #define HAVE_FREXPF 1
35693 _ACEOF
35696 done
35698 else
35700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35701 $as_echo_n "checking for _frexpf declaration... " >&6; }
35702 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35703 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35704 $as_echo_n "(cached) " >&6
35705 else
35708 ac_ext=cpp
35709 ac_cpp='$CXXCPP $CPPFLAGS'
35710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35715 /* end confdefs.h. */
35716 #include <math.h>
35718 main ()
35720 _frexpf(0, 0);
35722 return 0;
35724 _ACEOF
35725 if ac_fn_cxx_try_compile "$LINENO"; then :
35726 glibcxx_cv_func__frexpf_use=yes
35727 else
35728 glibcxx_cv_func__frexpf_use=no
35730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35731 ac_ext=c
35732 ac_cpp='$CPP $CPPFLAGS'
35733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35742 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35744 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35745 for ac_func in _frexpf
35746 do :
35747 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35748 if test "x$ac_cv_func__frexpf" = x""yes; then :
35749 cat >>confdefs.h <<_ACEOF
35750 #define HAVE__FREXPF 1
35751 _ACEOF
35754 done
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35764 $as_echo_n "checking for hypotf declaration... " >&6; }
35765 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35766 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35767 $as_echo_n "(cached) " >&6
35768 else
35771 ac_ext=cpp
35772 ac_cpp='$CXXCPP $CPPFLAGS'
35773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35778 /* end confdefs.h. */
35779 #include <math.h>
35781 main ()
35783 hypotf(0, 0);
35785 return 0;
35787 _ACEOF
35788 if ac_fn_cxx_try_compile "$LINENO"; then :
35789 glibcxx_cv_func_hypotf_use=yes
35790 else
35791 glibcxx_cv_func_hypotf_use=no
35793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35794 ac_ext=c
35795 ac_cpp='$CPP $CPPFLAGS'
35796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35805 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35807 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35808 for ac_func in hypotf
35809 do :
35810 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35811 if test "x$ac_cv_func_hypotf" = x""yes; then :
35812 cat >>confdefs.h <<_ACEOF
35813 #define HAVE_HYPOTF 1
35814 _ACEOF
35817 done
35819 else
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35822 $as_echo_n "checking for _hypotf declaration... " >&6; }
35823 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35824 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35825 $as_echo_n "(cached) " >&6
35826 else
35829 ac_ext=cpp
35830 ac_cpp='$CXXCPP $CPPFLAGS'
35831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35836 /* end confdefs.h. */
35837 #include <math.h>
35839 main ()
35841 _hypotf(0, 0);
35843 return 0;
35845 _ACEOF
35846 if ac_fn_cxx_try_compile "$LINENO"; then :
35847 glibcxx_cv_func__hypotf_use=yes
35848 else
35849 glibcxx_cv_func__hypotf_use=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35863 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35865 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35866 for ac_func in _hypotf
35867 do :
35868 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35869 if test "x$ac_cv_func__hypotf" = x""yes; then :
35870 cat >>confdefs.h <<_ACEOF
35871 #define HAVE__HYPOTF 1
35872 _ACEOF
35875 done
35884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35885 $as_echo_n "checking for ldexpf declaration... " >&6; }
35886 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35887 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35888 $as_echo_n "(cached) " >&6
35889 else
35892 ac_ext=cpp
35893 ac_cpp='$CXXCPP $CPPFLAGS'
35894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35899 /* end confdefs.h. */
35900 #include <math.h>
35902 main ()
35904 ldexpf(0, 0);
35906 return 0;
35908 _ACEOF
35909 if ac_fn_cxx_try_compile "$LINENO"; then :
35910 glibcxx_cv_func_ldexpf_use=yes
35911 else
35912 glibcxx_cv_func_ldexpf_use=no
35914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35915 ac_ext=c
35916 ac_cpp='$CPP $CPPFLAGS'
35917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35926 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35928 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35929 for ac_func in ldexpf
35930 do :
35931 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35932 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35933 cat >>confdefs.h <<_ACEOF
35934 #define HAVE_LDEXPF 1
35935 _ACEOF
35938 done
35940 else
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35943 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35944 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35945 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35946 $as_echo_n "(cached) " >&6
35947 else
35950 ac_ext=cpp
35951 ac_cpp='$CXXCPP $CPPFLAGS'
35952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35957 /* end confdefs.h. */
35958 #include <math.h>
35960 main ()
35962 _ldexpf(0, 0);
35964 return 0;
35966 _ACEOF
35967 if ac_fn_cxx_try_compile "$LINENO"; then :
35968 glibcxx_cv_func__ldexpf_use=yes
35969 else
35970 glibcxx_cv_func__ldexpf_use=no
35972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35973 ac_ext=c
35974 ac_cpp='$CPP $CPPFLAGS'
35975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35984 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35986 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35987 for ac_func in _ldexpf
35988 do :
35989 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35990 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define HAVE__LDEXPF 1
35993 _ACEOF
35996 done
36005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36006 $as_echo_n "checking for logf declaration... " >&6; }
36007 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36008 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36009 $as_echo_n "(cached) " >&6
36010 else
36013 ac_ext=cpp
36014 ac_cpp='$CXXCPP $CPPFLAGS'
36015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36020 /* end confdefs.h. */
36021 #include <math.h>
36022 #ifdef HAVE_IEEEFP_H
36023 #include <ieeefp.h>
36024 #endif
36027 main ()
36029 logf(0);
36031 return 0;
36033 _ACEOF
36034 if ac_fn_cxx_try_compile "$LINENO"; then :
36035 glibcxx_cv_func_logf_use=yes
36036 else
36037 glibcxx_cv_func_logf_use=no
36039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36040 ac_ext=c
36041 ac_cpp='$CPP $CPPFLAGS'
36042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36051 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36053 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36054 for ac_func in logf
36055 do :
36056 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36057 if test "x$ac_cv_func_logf" = x""yes; then :
36058 cat >>confdefs.h <<_ACEOF
36059 #define HAVE_LOGF 1
36060 _ACEOF
36063 done
36065 else
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36068 $as_echo_n "checking for _logf declaration... " >&6; }
36069 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36070 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36071 $as_echo_n "(cached) " >&6
36072 else
36075 ac_ext=cpp
36076 ac_cpp='$CXXCPP $CPPFLAGS'
36077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36082 /* end confdefs.h. */
36083 #include <math.h>
36084 #ifdef HAVE_IEEEFP_H
36085 #include <ieeefp.h>
36086 #endif
36089 main ()
36091 _logf(0);
36093 return 0;
36095 _ACEOF
36096 if ac_fn_cxx_try_compile "$LINENO"; then :
36097 glibcxx_cv_func__logf_use=yes
36098 else
36099 glibcxx_cv_func__logf_use=no
36101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36102 ac_ext=c
36103 ac_cpp='$CPP $CPPFLAGS'
36104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36113 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36115 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36116 for ac_func in _logf
36117 do :
36118 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36119 if test "x$ac_cv_func__logf" = x""yes; then :
36120 cat >>confdefs.h <<_ACEOF
36121 #define HAVE__LOGF 1
36122 _ACEOF
36125 done
36134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36135 $as_echo_n "checking for log10f declaration... " >&6; }
36136 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36137 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36138 $as_echo_n "(cached) " >&6
36139 else
36142 ac_ext=cpp
36143 ac_cpp='$CXXCPP $CPPFLAGS'
36144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36149 /* end confdefs.h. */
36150 #include <math.h>
36151 #ifdef HAVE_IEEEFP_H
36152 #include <ieeefp.h>
36153 #endif
36156 main ()
36158 log10f(0);
36160 return 0;
36162 _ACEOF
36163 if ac_fn_cxx_try_compile "$LINENO"; then :
36164 glibcxx_cv_func_log10f_use=yes
36165 else
36166 glibcxx_cv_func_log10f_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_log10f_use" >&5
36180 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36182 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36183 for ac_func in log10f
36184 do :
36185 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36186 if test "x$ac_cv_func_log10f" = x""yes; then :
36187 cat >>confdefs.h <<_ACEOF
36188 #define HAVE_LOG10F 1
36189 _ACEOF
36192 done
36194 else
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36197 $as_echo_n "checking for _log10f declaration... " >&6; }
36198 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36199 if test "${glibcxx_cv_func__log10f_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>
36213 #ifdef HAVE_IEEEFP_H
36214 #include <ieeefp.h>
36215 #endif
36218 main ()
36220 _log10f(0);
36222 return 0;
36224 _ACEOF
36225 if ac_fn_cxx_try_compile "$LINENO"; then :
36226 glibcxx_cv_func__log10f_use=yes
36227 else
36228 glibcxx_cv_func__log10f_use=no
36230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36231 ac_ext=c
36232 ac_cpp='$CPP $CPPFLAGS'
36233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36242 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36244 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36245 for ac_func in _log10f
36246 do :
36247 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36248 if test "x$ac_cv_func__log10f" = x""yes; then :
36249 cat >>confdefs.h <<_ACEOF
36250 #define HAVE__LOG10F 1
36251 _ACEOF
36254 done
36263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36264 $as_echo_n "checking for modff declaration... " >&6; }
36265 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36266 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36267 $as_echo_n "(cached) " >&6
36268 else
36271 ac_ext=cpp
36272 ac_cpp='$CXXCPP $CPPFLAGS'
36273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36278 /* end confdefs.h. */
36279 #include <math.h>
36281 main ()
36283 modff(0, 0);
36285 return 0;
36287 _ACEOF
36288 if ac_fn_cxx_try_compile "$LINENO"; then :
36289 glibcxx_cv_func_modff_use=yes
36290 else
36291 glibcxx_cv_func_modff_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_modff_use" >&5
36305 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36307 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36308 for ac_func in modff
36309 do :
36310 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36311 if test "x$ac_cv_func_modff" = x""yes; then :
36312 cat >>confdefs.h <<_ACEOF
36313 #define HAVE_MODFF 1
36314 _ACEOF
36317 done
36319 else
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36322 $as_echo_n "checking for _modff declaration... " >&6; }
36323 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36324 if test "${glibcxx_cv_func__modff_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>
36339 main ()
36341 _modff(0, 0);
36343 return 0;
36345 _ACEOF
36346 if ac_fn_cxx_try_compile "$LINENO"; then :
36347 glibcxx_cv_func__modff_use=yes
36348 else
36349 glibcxx_cv_func__modff_use=no
36351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36352 ac_ext=c
36353 ac_cpp='$CPP $CPPFLAGS'
36354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36363 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36365 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36366 for ac_func in _modff
36367 do :
36368 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36369 if test "x$ac_cv_func__modff" = x""yes; then :
36370 cat >>confdefs.h <<_ACEOF
36371 #define HAVE__MODFF 1
36372 _ACEOF
36375 done
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36385 $as_echo_n "checking for modf declaration... " >&6; }
36386 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36387 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36388 $as_echo_n "(cached) " >&6
36389 else
36392 ac_ext=cpp
36393 ac_cpp='$CXXCPP $CPPFLAGS'
36394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 /* end confdefs.h. */
36400 #include <math.h>
36402 main ()
36404 modf(0, 0);
36406 return 0;
36408 _ACEOF
36409 if ac_fn_cxx_try_compile "$LINENO"; then :
36410 glibcxx_cv_func_modf_use=yes
36411 else
36412 glibcxx_cv_func_modf_use=no
36414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36415 ac_ext=c
36416 ac_cpp='$CPP $CPPFLAGS'
36417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36426 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36428 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36429 for ac_func in modf
36430 do :
36431 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36432 if test "x$ac_cv_func_modf" = x""yes; then :
36433 cat >>confdefs.h <<_ACEOF
36434 #define HAVE_MODF 1
36435 _ACEOF
36438 done
36440 else
36442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36443 $as_echo_n "checking for _modf declaration... " >&6; }
36444 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36445 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36446 $as_echo_n "(cached) " >&6
36447 else
36450 ac_ext=cpp
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36457 /* end confdefs.h. */
36458 #include <math.h>
36460 main ()
36462 _modf(0, 0);
36464 return 0;
36466 _ACEOF
36467 if ac_fn_cxx_try_compile "$LINENO"; then :
36468 glibcxx_cv_func__modf_use=yes
36469 else
36470 glibcxx_cv_func__modf_use=no
36472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473 ac_ext=c
36474 ac_cpp='$CPP $CPPFLAGS'
36475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36484 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36486 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36487 for ac_func in _modf
36488 do :
36489 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36490 if test "x$ac_cv_func__modf" = x""yes; then :
36491 cat >>confdefs.h <<_ACEOF
36492 #define HAVE__MODF 1
36493 _ACEOF
36496 done
36505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36506 $as_echo_n "checking for powf declaration... " >&6; }
36507 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36508 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36509 $as_echo_n "(cached) " >&6
36510 else
36513 ac_ext=cpp
36514 ac_cpp='$CXXCPP $CPPFLAGS'
36515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36520 /* end confdefs.h. */
36521 #include <math.h>
36523 main ()
36525 powf(0, 0);
36527 return 0;
36529 _ACEOF
36530 if ac_fn_cxx_try_compile "$LINENO"; then :
36531 glibcxx_cv_func_powf_use=yes
36532 else
36533 glibcxx_cv_func_powf_use=no
36535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36536 ac_ext=c
36537 ac_cpp='$CPP $CPPFLAGS'
36538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36547 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36549 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36550 for ac_func in powf
36551 do :
36552 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36553 if test "x$ac_cv_func_powf" = x""yes; then :
36554 cat >>confdefs.h <<_ACEOF
36555 #define HAVE_POWF 1
36556 _ACEOF
36559 done
36561 else
36563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36564 $as_echo_n "checking for _powf declaration... " >&6; }
36565 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36566 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36567 $as_echo_n "(cached) " >&6
36568 else
36571 ac_ext=cpp
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36578 /* end confdefs.h. */
36579 #include <math.h>
36581 main ()
36583 _powf(0, 0);
36585 return 0;
36587 _ACEOF
36588 if ac_fn_cxx_try_compile "$LINENO"; then :
36589 glibcxx_cv_func__powf_use=yes
36590 else
36591 glibcxx_cv_func__powf_use=no
36593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594 ac_ext=c
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36605 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36607 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36608 for ac_func in _powf
36609 do :
36610 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36611 if test "x$ac_cv_func__powf" = x""yes; then :
36612 cat >>confdefs.h <<_ACEOF
36613 #define HAVE__POWF 1
36614 _ACEOF
36617 done
36626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36627 $as_echo_n "checking for sqrtf declaration... " >&6; }
36628 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36629 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36630 $as_echo_n "(cached) " >&6
36631 else
36634 ac_ext=cpp
36635 ac_cpp='$CXXCPP $CPPFLAGS'
36636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36641 /* end confdefs.h. */
36642 #include <math.h>
36643 #ifdef HAVE_IEEEFP_H
36644 #include <ieeefp.h>
36645 #endif
36648 main ()
36650 sqrtf(0);
36652 return 0;
36654 _ACEOF
36655 if ac_fn_cxx_try_compile "$LINENO"; then :
36656 glibcxx_cv_func_sqrtf_use=yes
36657 else
36658 glibcxx_cv_func_sqrtf_use=no
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661 ac_ext=c
36662 ac_cpp='$CPP $CPPFLAGS'
36663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36672 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36674 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36675 for ac_func in sqrtf
36676 do :
36677 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36678 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36679 cat >>confdefs.h <<_ACEOF
36680 #define HAVE_SQRTF 1
36681 _ACEOF
36684 done
36686 else
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36689 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36690 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36691 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36692 $as_echo_n "(cached) " >&6
36693 else
36696 ac_ext=cpp
36697 ac_cpp='$CXXCPP $CPPFLAGS'
36698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36703 /* end confdefs.h. */
36704 #include <math.h>
36705 #ifdef HAVE_IEEEFP_H
36706 #include <ieeefp.h>
36707 #endif
36710 main ()
36712 _sqrtf(0);
36714 return 0;
36716 _ACEOF
36717 if ac_fn_cxx_try_compile "$LINENO"; then :
36718 glibcxx_cv_func__sqrtf_use=yes
36719 else
36720 glibcxx_cv_func__sqrtf_use=no
36722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36723 ac_ext=c
36724 ac_cpp='$CPP $CPPFLAGS'
36725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36734 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36736 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36737 for ac_func in _sqrtf
36738 do :
36739 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36740 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36741 cat >>confdefs.h <<_ACEOF
36742 #define HAVE__SQRTF 1
36743 _ACEOF
36746 done
36755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36756 $as_echo_n "checking for sincosf declaration... " >&6; }
36757 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36758 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36759 $as_echo_n "(cached) " >&6
36760 else
36763 ac_ext=cpp
36764 ac_cpp='$CXXCPP $CPPFLAGS'
36765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36770 /* end confdefs.h. */
36771 #include <math.h>
36773 main ()
36775 sincosf(0, 0, 0);
36777 return 0;
36779 _ACEOF
36780 if ac_fn_cxx_try_compile "$LINENO"; then :
36781 glibcxx_cv_func_sincosf_use=yes
36782 else
36783 glibcxx_cv_func_sincosf_use=no
36785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36786 ac_ext=c
36787 ac_cpp='$CPP $CPPFLAGS'
36788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36797 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36799 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36800 for ac_func in sincosf
36801 do :
36802 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36803 if test "x$ac_cv_func_sincosf" = x""yes; then :
36804 cat >>confdefs.h <<_ACEOF
36805 #define HAVE_SINCOSF 1
36806 _ACEOF
36809 done
36811 else
36813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36814 $as_echo_n "checking for _sincosf declaration... " >&6; }
36815 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36816 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36817 $as_echo_n "(cached) " >&6
36818 else
36821 ac_ext=cpp
36822 ac_cpp='$CXXCPP $CPPFLAGS'
36823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36828 /* end confdefs.h. */
36829 #include <math.h>
36831 main ()
36833 _sincosf(0, 0, 0);
36835 return 0;
36837 _ACEOF
36838 if ac_fn_cxx_try_compile "$LINENO"; then :
36839 glibcxx_cv_func__sincosf_use=yes
36840 else
36841 glibcxx_cv_func__sincosf_use=no
36843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36844 ac_ext=c
36845 ac_cpp='$CPP $CPPFLAGS'
36846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36855 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36857 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36858 for ac_func in _sincosf
36859 do :
36860 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36861 if test "x$ac_cv_func__sincosf" = x""yes; then :
36862 cat >>confdefs.h <<_ACEOF
36863 #define HAVE__SINCOSF 1
36864 _ACEOF
36867 done
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36877 $as_echo_n "checking for finitef declaration... " >&6; }
36878 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36879 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36880 $as_echo_n "(cached) " >&6
36881 else
36884 ac_ext=cpp
36885 ac_cpp='$CXXCPP $CPPFLAGS'
36886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h. */
36892 #include <math.h>
36893 #ifdef HAVE_IEEEFP_H
36894 #include <ieeefp.h>
36895 #endif
36898 main ()
36900 finitef(0);
36902 return 0;
36904 _ACEOF
36905 if ac_fn_cxx_try_compile "$LINENO"; then :
36906 glibcxx_cv_func_finitef_use=yes
36907 else
36908 glibcxx_cv_func_finitef_use=no
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 ac_ext=c
36912 ac_cpp='$CPP $CPPFLAGS'
36913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36922 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36924 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36925 for ac_func in finitef
36926 do :
36927 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36928 if test "x$ac_cv_func_finitef" = x""yes; then :
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE_FINITEF 1
36931 _ACEOF
36934 done
36936 else
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36939 $as_echo_n "checking for _finitef declaration... " >&6; }
36940 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36941 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36942 $as_echo_n "(cached) " >&6
36943 else
36946 ac_ext=cpp
36947 ac_cpp='$CXXCPP $CPPFLAGS'
36948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36953 /* end confdefs.h. */
36954 #include <math.h>
36955 #ifdef HAVE_IEEEFP_H
36956 #include <ieeefp.h>
36957 #endif
36960 main ()
36962 _finitef(0);
36964 return 0;
36966 _ACEOF
36967 if ac_fn_cxx_try_compile "$LINENO"; then :
36968 glibcxx_cv_func__finitef_use=yes
36969 else
36970 glibcxx_cv_func__finitef_use=no
36972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973 ac_ext=c
36974 ac_cpp='$CPP $CPPFLAGS'
36975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36984 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36986 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36987 for ac_func in _finitef
36988 do :
36989 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36990 if test "x$ac_cv_func__finitef" = x""yes; then :
36991 cat >>confdefs.h <<_ACEOF
36992 #define HAVE__FINITEF 1
36993 _ACEOF
36996 done
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37006 $as_echo_n "checking for long double trig functions... " >&6; }
37007 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37008 $as_echo_n "(cached) " >&6
37009 else
37012 ac_ext=cpp
37013 ac_cpp='$CXXCPP $CPPFLAGS'
37014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37019 /* end confdefs.h. */
37020 #include <math.h>
37022 main ()
37024 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37026 return 0;
37028 _ACEOF
37029 if ac_fn_cxx_try_compile "$LINENO"; then :
37030 glibcxx_cv_func_long_double_trig_use=yes
37031 else
37032 glibcxx_cv_func_long_double_trig_use=no
37034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37035 ac_ext=c
37036 ac_cpp='$CPP $CPPFLAGS'
37037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37044 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37045 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37046 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37047 do :
37048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37050 eval as_val=\$$as_ac_var
37051 if test "x$as_val" = x""yes; then :
37052 cat >>confdefs.h <<_ACEOF
37053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37054 _ACEOF
37057 done
37059 else
37060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37061 $as_echo_n "checking for _long double trig functions... " >&6; }
37062 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37063 $as_echo_n "(cached) " >&6
37064 else
37067 ac_ext=cpp
37068 ac_cpp='$CXXCPP $CPPFLAGS'
37069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37074 /* end confdefs.h. */
37075 #include <math.h>
37077 main ()
37079 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37081 return 0;
37083 _ACEOF
37084 if ac_fn_cxx_try_compile "$LINENO"; then :
37085 glibcxx_cv_func__long_double_trig_use=yes
37086 else
37087 glibcxx_cv_func__long_double_trig_use=no
37089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37090 ac_ext=c
37091 ac_cpp='$CPP $CPPFLAGS'
37092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37099 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37100 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37101 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37102 do :
37103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37105 eval as_val=\$$as_ac_var
37106 if test "x$as_val" = x""yes; then :
37107 cat >>confdefs.h <<_ACEOF
37108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37109 _ACEOF
37112 done
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37122 $as_echo_n "checking for long double round functions... " >&6; }
37123 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37124 $as_echo_n "(cached) " >&6
37125 else
37128 ac_ext=cpp
37129 ac_cpp='$CXXCPP $CPPFLAGS'
37130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37135 /* end confdefs.h. */
37136 #include <math.h>
37138 main ()
37140 ceill (0); floorl (0);
37142 return 0;
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 glibcxx_cv_func_long_double_round_use=yes
37147 else
37148 glibcxx_cv_func_long_double_round_use=no
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37160 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37161 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37162 for ac_func in ceill floorl
37163 do :
37164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37166 eval as_val=\$$as_ac_var
37167 if test "x$as_val" = x""yes; then :
37168 cat >>confdefs.h <<_ACEOF
37169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37170 _ACEOF
37173 done
37175 else
37176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37177 $as_echo_n "checking for _long double round functions... " >&6; }
37178 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37179 $as_echo_n "(cached) " >&6
37180 else
37183 ac_ext=cpp
37184 ac_cpp='$CXXCPP $CPPFLAGS'
37185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37190 /* end confdefs.h. */
37191 #include <math.h>
37193 main ()
37195 _ceill (0); _floorl (0);
37197 return 0;
37199 _ACEOF
37200 if ac_fn_cxx_try_compile "$LINENO"; then :
37201 glibcxx_cv_func__long_double_round_use=yes
37202 else
37203 glibcxx_cv_func__long_double_round_use=no
37205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37206 ac_ext=c
37207 ac_cpp='$CPP $CPPFLAGS'
37208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37215 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37216 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37217 for ac_func in _ceill _floorl
37218 do :
37219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37221 eval as_val=\$$as_ac_var
37222 if test "x$as_val" = x""yes; then :
37223 cat >>confdefs.h <<_ACEOF
37224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37225 _ACEOF
37228 done
37238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37239 $as_echo_n "checking for isnanl declaration... " >&6; }
37240 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37241 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37242 $as_echo_n "(cached) " >&6
37243 else
37246 ac_ext=cpp
37247 ac_cpp='$CXXCPP $CPPFLAGS'
37248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37253 /* end confdefs.h. */
37254 #include <math.h>
37255 #ifdef HAVE_IEEEFP_H
37256 #include <ieeefp.h>
37257 #endif
37260 main ()
37262 isnanl(0);
37264 return 0;
37266 _ACEOF
37267 if ac_fn_cxx_try_compile "$LINENO"; then :
37268 glibcxx_cv_func_isnanl_use=yes
37269 else
37270 glibcxx_cv_func_isnanl_use=no
37272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37273 ac_ext=c
37274 ac_cpp='$CPP $CPPFLAGS'
37275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37284 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37286 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37287 for ac_func in isnanl
37288 do :
37289 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37290 if test "x$ac_cv_func_isnanl" = x""yes; then :
37291 cat >>confdefs.h <<_ACEOF
37292 #define HAVE_ISNANL 1
37293 _ACEOF
37296 done
37298 else
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37301 $as_echo_n "checking for _isnanl declaration... " >&6; }
37302 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37303 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37304 $as_echo_n "(cached) " >&6
37305 else
37308 ac_ext=cpp
37309 ac_cpp='$CXXCPP $CPPFLAGS'
37310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37315 /* end confdefs.h. */
37316 #include <math.h>
37317 #ifdef HAVE_IEEEFP_H
37318 #include <ieeefp.h>
37319 #endif
37322 main ()
37324 _isnanl(0);
37326 return 0;
37328 _ACEOF
37329 if ac_fn_cxx_try_compile "$LINENO"; then :
37330 glibcxx_cv_func__isnanl_use=yes
37331 else
37332 glibcxx_cv_func__isnanl_use=no
37334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37335 ac_ext=c
37336 ac_cpp='$CPP $CPPFLAGS'
37337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37346 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37348 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37349 for ac_func in _isnanl
37350 do :
37351 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37352 if test "x$ac_cv_func__isnanl" = x""yes; then :
37353 cat >>confdefs.h <<_ACEOF
37354 #define HAVE__ISNANL 1
37355 _ACEOF
37358 done
37367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37368 $as_echo_n "checking for isinfl declaration... " >&6; }
37369 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37370 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37371 $as_echo_n "(cached) " >&6
37372 else
37375 ac_ext=cpp
37376 ac_cpp='$CXXCPP $CPPFLAGS'
37377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37382 /* end confdefs.h. */
37383 #include <math.h>
37384 #ifdef HAVE_IEEEFP_H
37385 #include <ieeefp.h>
37386 #endif
37389 main ()
37391 isinfl(0);
37393 return 0;
37395 _ACEOF
37396 if ac_fn_cxx_try_compile "$LINENO"; then :
37397 glibcxx_cv_func_isinfl_use=yes
37398 else
37399 glibcxx_cv_func_isinfl_use=no
37401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37402 ac_ext=c
37403 ac_cpp='$CPP $CPPFLAGS'
37404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37413 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37415 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37416 for ac_func in isinfl
37417 do :
37418 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37419 if test "x$ac_cv_func_isinfl" = x""yes; then :
37420 cat >>confdefs.h <<_ACEOF
37421 #define HAVE_ISINFL 1
37422 _ACEOF
37425 done
37427 else
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37430 $as_echo_n "checking for _isinfl declaration... " >&6; }
37431 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37432 if test "${glibcxx_cv_func__isinfl_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>
37446 #ifdef HAVE_IEEEFP_H
37447 #include <ieeefp.h>
37448 #endif
37451 main ()
37453 _isinfl(0);
37455 return 0;
37457 _ACEOF
37458 if ac_fn_cxx_try_compile "$LINENO"; then :
37459 glibcxx_cv_func__isinfl_use=yes
37460 else
37461 glibcxx_cv_func__isinfl_use=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37464 ac_ext=c
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37475 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37477 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37478 for ac_func in _isinfl
37479 do :
37480 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37481 if test "x$ac_cv_func__isinfl" = x""yes; then :
37482 cat >>confdefs.h <<_ACEOF
37483 #define HAVE__ISINFL 1
37484 _ACEOF
37487 done
37496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37497 $as_echo_n "checking for atan2l declaration... " >&6; }
37498 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37499 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37500 $as_echo_n "(cached) " >&6
37501 else
37504 ac_ext=cpp
37505 ac_cpp='$CXXCPP $CPPFLAGS'
37506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37511 /* end confdefs.h. */
37512 #include <math.h>
37514 main ()
37516 atan2l(0, 0);
37518 return 0;
37520 _ACEOF
37521 if ac_fn_cxx_try_compile "$LINENO"; then :
37522 glibcxx_cv_func_atan2l_use=yes
37523 else
37524 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
37538 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37540 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37541 for ac_func in atan2l
37542 do :
37543 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37544 if test "x$ac_cv_func_atan2l" = x""yes; then :
37545 cat >>confdefs.h <<_ACEOF
37546 #define HAVE_ATAN2L 1
37547 _ACEOF
37550 done
37552 else
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37555 $as_echo_n "checking for _atan2l declaration... " >&6; }
37556 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37557 if test "${glibcxx_cv_func__atan2l_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>
37572 main ()
37574 _atan2l(0, 0);
37576 return 0;
37578 _ACEOF
37579 if ac_fn_cxx_try_compile "$LINENO"; then :
37580 glibcxx_cv_func__atan2l_use=yes
37581 else
37582 glibcxx_cv_func__atan2l_use=no
37584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37585 ac_ext=c
37586 ac_cpp='$CPP $CPPFLAGS'
37587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37596 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37598 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37599 for ac_func in _atan2l
37600 do :
37601 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37602 if test "x$ac_cv_func__atan2l" = x""yes; then :
37603 cat >>confdefs.h <<_ACEOF
37604 #define HAVE__ATAN2L 1
37605 _ACEOF
37608 done
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37618 $as_echo_n "checking for expl declaration... " >&6; }
37619 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37620 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37621 $as_echo_n "(cached) " >&6
37622 else
37625 ac_ext=cpp
37626 ac_cpp='$CXXCPP $CPPFLAGS'
37627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37632 /* end confdefs.h. */
37633 #include <math.h>
37634 #ifdef HAVE_IEEEFP_H
37635 #include <ieeefp.h>
37636 #endif
37639 main ()
37641 expl(0);
37643 return 0;
37645 _ACEOF
37646 if ac_fn_cxx_try_compile "$LINENO"; then :
37647 glibcxx_cv_func_expl_use=yes
37648 else
37649 glibcxx_cv_func_expl_use=no
37651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37652 ac_ext=c
37653 ac_cpp='$CPP $CPPFLAGS'
37654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37663 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37665 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37666 for ac_func in expl
37667 do :
37668 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37669 if test "x$ac_cv_func_expl" = x""yes; then :
37670 cat >>confdefs.h <<_ACEOF
37671 #define HAVE_EXPL 1
37672 _ACEOF
37675 done
37677 else
37679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37680 $as_echo_n "checking for _expl declaration... " >&6; }
37681 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37682 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37683 $as_echo_n "(cached) " >&6
37684 else
37687 ac_ext=cpp
37688 ac_cpp='$CXXCPP $CPPFLAGS'
37689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37694 /* end confdefs.h. */
37695 #include <math.h>
37696 #ifdef HAVE_IEEEFP_H
37697 #include <ieeefp.h>
37698 #endif
37701 main ()
37703 _expl(0);
37705 return 0;
37707 _ACEOF
37708 if ac_fn_cxx_try_compile "$LINENO"; then :
37709 glibcxx_cv_func__expl_use=yes
37710 else
37711 glibcxx_cv_func__expl_use=no
37713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37714 ac_ext=c
37715 ac_cpp='$CPP $CPPFLAGS'
37716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37725 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37727 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37728 for ac_func in _expl
37729 do :
37730 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37731 if test "x$ac_cv_func__expl" = x""yes; then :
37732 cat >>confdefs.h <<_ACEOF
37733 #define HAVE__EXPL 1
37734 _ACEOF
37737 done
37746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37747 $as_echo_n "checking for fabsl declaration... " >&6; }
37748 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37749 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37750 $as_echo_n "(cached) " >&6
37751 else
37754 ac_ext=cpp
37755 ac_cpp='$CXXCPP $CPPFLAGS'
37756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37761 /* end confdefs.h. */
37762 #include <math.h>
37763 #ifdef HAVE_IEEEFP_H
37764 #include <ieeefp.h>
37765 #endif
37768 main ()
37770 fabsl(0);
37772 return 0;
37774 _ACEOF
37775 if ac_fn_cxx_try_compile "$LINENO"; then :
37776 glibcxx_cv_func_fabsl_use=yes
37777 else
37778 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
37792 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37794 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37795 for ac_func in fabsl
37796 do :
37797 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37798 if test "x$ac_cv_func_fabsl" = x""yes; then :
37799 cat >>confdefs.h <<_ACEOF
37800 #define HAVE_FABSL 1
37801 _ACEOF
37804 done
37806 else
37808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37809 $as_echo_n "checking for _fabsl declaration... " >&6; }
37810 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37811 if test "${glibcxx_cv_func__fabsl_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>
37825 #ifdef HAVE_IEEEFP_H
37826 #include <ieeefp.h>
37827 #endif
37830 main ()
37832 _fabsl(0);
37834 return 0;
37836 _ACEOF
37837 if ac_fn_cxx_try_compile "$LINENO"; then :
37838 glibcxx_cv_func__fabsl_use=yes
37839 else
37840 glibcxx_cv_func__fabsl_use=no
37842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37843 ac_ext=c
37844 ac_cpp='$CPP $CPPFLAGS'
37845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37854 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37856 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37857 for ac_func in _fabsl
37858 do :
37859 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37860 if test "x$ac_cv_func__fabsl" = x""yes; then :
37861 cat >>confdefs.h <<_ACEOF
37862 #define HAVE__FABSL 1
37863 _ACEOF
37866 done
37875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37876 $as_echo_n "checking for fmodl declaration... " >&6; }
37877 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37878 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37879 $as_echo_n "(cached) " >&6
37880 else
37883 ac_ext=cpp
37884 ac_cpp='$CXXCPP $CPPFLAGS'
37885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37890 /* end confdefs.h. */
37891 #include <math.h>
37893 main ()
37895 fmodl(0, 0);
37897 return 0;
37899 _ACEOF
37900 if ac_fn_cxx_try_compile "$LINENO"; then :
37901 glibcxx_cv_func_fmodl_use=yes
37902 else
37903 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
37917 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37919 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37920 for ac_func in fmodl
37921 do :
37922 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37923 if test "x$ac_cv_func_fmodl" = x""yes; then :
37924 cat >>confdefs.h <<_ACEOF
37925 #define HAVE_FMODL 1
37926 _ACEOF
37929 done
37931 else
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37934 $as_echo_n "checking for _fmodl declaration... " >&6; }
37935 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37936 if test "${glibcxx_cv_func__fmodl_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>
37951 main ()
37953 _fmodl(0, 0);
37955 return 0;
37957 _ACEOF
37958 if ac_fn_cxx_try_compile "$LINENO"; then :
37959 glibcxx_cv_func__fmodl_use=yes
37960 else
37961 glibcxx_cv_func__fmodl_use=no
37963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37964 ac_ext=c
37965 ac_cpp='$CPP $CPPFLAGS'
37966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37975 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37977 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37978 for ac_func in _fmodl
37979 do :
37980 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37981 if test "x$ac_cv_func__fmodl" = x""yes; then :
37982 cat >>confdefs.h <<_ACEOF
37983 #define HAVE__FMODL 1
37984 _ACEOF
37987 done
37996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37997 $as_echo_n "checking for frexpl declaration... " >&6; }
37998 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37999 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38000 $as_echo_n "(cached) " >&6
38001 else
38004 ac_ext=cpp
38005 ac_cpp='$CXXCPP $CPPFLAGS'
38006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38011 /* end confdefs.h. */
38012 #include <math.h>
38014 main ()
38016 frexpl(0, 0);
38018 return 0;
38020 _ACEOF
38021 if ac_fn_cxx_try_compile "$LINENO"; then :
38022 glibcxx_cv_func_frexpl_use=yes
38023 else
38024 glibcxx_cv_func_frexpl_use=no
38026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38027 ac_ext=c
38028 ac_cpp='$CPP $CPPFLAGS'
38029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38038 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38040 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38041 for ac_func in frexpl
38042 do :
38043 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38044 if test "x$ac_cv_func_frexpl" = x""yes; then :
38045 cat >>confdefs.h <<_ACEOF
38046 #define HAVE_FREXPL 1
38047 _ACEOF
38050 done
38052 else
38054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38055 $as_echo_n "checking for _frexpl declaration... " >&6; }
38056 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38057 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38058 $as_echo_n "(cached) " >&6
38059 else
38062 ac_ext=cpp
38063 ac_cpp='$CXXCPP $CPPFLAGS'
38064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38069 /* end confdefs.h. */
38070 #include <math.h>
38072 main ()
38074 _frexpl(0, 0);
38076 return 0;
38078 _ACEOF
38079 if ac_fn_cxx_try_compile "$LINENO"; then :
38080 glibcxx_cv_func__frexpl_use=yes
38081 else
38082 glibcxx_cv_func__frexpl_use=no
38084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38085 ac_ext=c
38086 ac_cpp='$CPP $CPPFLAGS'
38087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38096 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38098 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38099 for ac_func in _frexpl
38100 do :
38101 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38102 if test "x$ac_cv_func__frexpl" = x""yes; then :
38103 cat >>confdefs.h <<_ACEOF
38104 #define HAVE__FREXPL 1
38105 _ACEOF
38108 done
38117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38118 $as_echo_n "checking for hypotl declaration... " >&6; }
38119 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38120 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38121 $as_echo_n "(cached) " >&6
38122 else
38125 ac_ext=cpp
38126 ac_cpp='$CXXCPP $CPPFLAGS'
38127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38132 /* end confdefs.h. */
38133 #include <math.h>
38135 main ()
38137 hypotl(0, 0);
38139 return 0;
38141 _ACEOF
38142 if ac_fn_cxx_try_compile "$LINENO"; then :
38143 glibcxx_cv_func_hypotl_use=yes
38144 else
38145 glibcxx_cv_func_hypotl_use=no
38147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38148 ac_ext=c
38149 ac_cpp='$CPP $CPPFLAGS'
38150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38159 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38161 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38162 for ac_func in hypotl
38163 do :
38164 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38165 if test "x$ac_cv_func_hypotl" = x""yes; then :
38166 cat >>confdefs.h <<_ACEOF
38167 #define HAVE_HYPOTL 1
38168 _ACEOF
38171 done
38173 else
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38176 $as_echo_n "checking for _hypotl declaration... " >&6; }
38177 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38178 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38179 $as_echo_n "(cached) " >&6
38180 else
38183 ac_ext=cpp
38184 ac_cpp='$CXXCPP $CPPFLAGS'
38185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38190 /* end confdefs.h. */
38191 #include <math.h>
38193 main ()
38195 _hypotl(0, 0);
38197 return 0;
38199 _ACEOF
38200 if ac_fn_cxx_try_compile "$LINENO"; then :
38201 glibcxx_cv_func__hypotl_use=yes
38202 else
38203 glibcxx_cv_func__hypotl_use=no
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38206 ac_ext=c
38207 ac_cpp='$CPP $CPPFLAGS'
38208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38217 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38219 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38220 for ac_func in _hypotl
38221 do :
38222 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38223 if test "x$ac_cv_func__hypotl" = x""yes; then :
38224 cat >>confdefs.h <<_ACEOF
38225 #define HAVE__HYPOTL 1
38226 _ACEOF
38229 done
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38239 $as_echo_n "checking for ldexpl declaration... " >&6; }
38240 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38241 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38242 $as_echo_n "(cached) " >&6
38243 else
38246 ac_ext=cpp
38247 ac_cpp='$CXXCPP $CPPFLAGS'
38248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38253 /* end confdefs.h. */
38254 #include <math.h>
38256 main ()
38258 ldexpl(0, 0);
38260 return 0;
38262 _ACEOF
38263 if ac_fn_cxx_try_compile "$LINENO"; then :
38264 glibcxx_cv_func_ldexpl_use=yes
38265 else
38266 glibcxx_cv_func_ldexpl_use=no
38268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38269 ac_ext=c
38270 ac_cpp='$CPP $CPPFLAGS'
38271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38280 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38282 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38283 for ac_func in ldexpl
38284 do :
38285 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38286 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38287 cat >>confdefs.h <<_ACEOF
38288 #define HAVE_LDEXPL 1
38289 _ACEOF
38292 done
38294 else
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38297 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38298 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38299 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38300 $as_echo_n "(cached) " >&6
38301 else
38304 ac_ext=cpp
38305 ac_cpp='$CXXCPP $CPPFLAGS'
38306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38311 /* end confdefs.h. */
38312 #include <math.h>
38314 main ()
38316 _ldexpl(0, 0);
38318 return 0;
38320 _ACEOF
38321 if ac_fn_cxx_try_compile "$LINENO"; then :
38322 glibcxx_cv_func__ldexpl_use=yes
38323 else
38324 glibcxx_cv_func__ldexpl_use=no
38326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38327 ac_ext=c
38328 ac_cpp='$CPP $CPPFLAGS'
38329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38338 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38340 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38341 for ac_func in _ldexpl
38342 do :
38343 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38344 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38345 cat >>confdefs.h <<_ACEOF
38346 #define HAVE__LDEXPL 1
38347 _ACEOF
38350 done
38359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38360 $as_echo_n "checking for logl declaration... " >&6; }
38361 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38362 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38363 $as_echo_n "(cached) " >&6
38364 else
38367 ac_ext=cpp
38368 ac_cpp='$CXXCPP $CPPFLAGS'
38369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38374 /* end confdefs.h. */
38375 #include <math.h>
38376 #ifdef HAVE_IEEEFP_H
38377 #include <ieeefp.h>
38378 #endif
38381 main ()
38383 logl(0);
38385 return 0;
38387 _ACEOF
38388 if ac_fn_cxx_try_compile "$LINENO"; then :
38389 glibcxx_cv_func_logl_use=yes
38390 else
38391 glibcxx_cv_func_logl_use=no
38393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38394 ac_ext=c
38395 ac_cpp='$CPP $CPPFLAGS'
38396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38405 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38407 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38408 for ac_func in logl
38409 do :
38410 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38411 if test "x$ac_cv_func_logl" = x""yes; then :
38412 cat >>confdefs.h <<_ACEOF
38413 #define HAVE_LOGL 1
38414 _ACEOF
38417 done
38419 else
38421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38422 $as_echo_n "checking for _logl declaration... " >&6; }
38423 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38424 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38425 $as_echo_n "(cached) " >&6
38426 else
38429 ac_ext=cpp
38430 ac_cpp='$CXXCPP $CPPFLAGS'
38431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38436 /* end confdefs.h. */
38437 #include <math.h>
38438 #ifdef HAVE_IEEEFP_H
38439 #include <ieeefp.h>
38440 #endif
38443 main ()
38445 _logl(0);
38447 return 0;
38449 _ACEOF
38450 if ac_fn_cxx_try_compile "$LINENO"; then :
38451 glibcxx_cv_func__logl_use=yes
38452 else
38453 glibcxx_cv_func__logl_use=no
38455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38456 ac_ext=c
38457 ac_cpp='$CPP $CPPFLAGS'
38458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38467 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38469 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38470 for ac_func in _logl
38471 do :
38472 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38473 if test "x$ac_cv_func__logl" = x""yes; then :
38474 cat >>confdefs.h <<_ACEOF
38475 #define HAVE__LOGL 1
38476 _ACEOF
38479 done
38488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38489 $as_echo_n "checking for log10l declaration... " >&6; }
38490 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38491 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38492 $as_echo_n "(cached) " >&6
38493 else
38496 ac_ext=cpp
38497 ac_cpp='$CXXCPP $CPPFLAGS'
38498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38503 /* end confdefs.h. */
38504 #include <math.h>
38505 #ifdef HAVE_IEEEFP_H
38506 #include <ieeefp.h>
38507 #endif
38510 main ()
38512 log10l(0);
38514 return 0;
38516 _ACEOF
38517 if ac_fn_cxx_try_compile "$LINENO"; then :
38518 glibcxx_cv_func_log10l_use=yes
38519 else
38520 glibcxx_cv_func_log10l_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_log10l_use" >&5
38534 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38536 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38537 for ac_func in log10l
38538 do :
38539 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38540 if test "x$ac_cv_func_log10l" = x""yes; then :
38541 cat >>confdefs.h <<_ACEOF
38542 #define HAVE_LOG10L 1
38543 _ACEOF
38546 done
38548 else
38550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38551 $as_echo_n "checking for _log10l declaration... " >&6; }
38552 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38553 if test "${glibcxx_cv_func__log10l_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>
38567 #ifdef HAVE_IEEEFP_H
38568 #include <ieeefp.h>
38569 #endif
38572 main ()
38574 _log10l(0);
38576 return 0;
38578 _ACEOF
38579 if ac_fn_cxx_try_compile "$LINENO"; then :
38580 glibcxx_cv_func__log10l_use=yes
38581 else
38582 glibcxx_cv_func__log10l_use=no
38584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38585 ac_ext=c
38586 ac_cpp='$CPP $CPPFLAGS'
38587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38596 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38598 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38599 for ac_func in _log10l
38600 do :
38601 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38602 if test "x$ac_cv_func__log10l" = x""yes; then :
38603 cat >>confdefs.h <<_ACEOF
38604 #define HAVE__LOG10L 1
38605 _ACEOF
38608 done
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38618 $as_echo_n "checking for modfl declaration... " >&6; }
38619 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38620 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38621 $as_echo_n "(cached) " >&6
38622 else
38625 ac_ext=cpp
38626 ac_cpp='$CXXCPP $CPPFLAGS'
38627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38632 /* end confdefs.h. */
38633 #include <math.h>
38635 main ()
38637 modfl(0, 0);
38639 return 0;
38641 _ACEOF
38642 if ac_fn_cxx_try_compile "$LINENO"; then :
38643 glibcxx_cv_func_modfl_use=yes
38644 else
38645 glibcxx_cv_func_modfl_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_modfl_use" >&5
38659 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38661 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38662 for ac_func in modfl
38663 do :
38664 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38665 if test "x$ac_cv_func_modfl" = x""yes; then :
38666 cat >>confdefs.h <<_ACEOF
38667 #define HAVE_MODFL 1
38668 _ACEOF
38671 done
38673 else
38675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38676 $as_echo_n "checking for _modfl declaration... " >&6; }
38677 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38678 if test "${glibcxx_cv_func__modfl_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>
38693 main ()
38695 _modfl(0, 0);
38697 return 0;
38699 _ACEOF
38700 if ac_fn_cxx_try_compile "$LINENO"; then :
38701 glibcxx_cv_func__modfl_use=yes
38702 else
38703 glibcxx_cv_func__modfl_use=no
38705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38706 ac_ext=c
38707 ac_cpp='$CPP $CPPFLAGS'
38708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38717 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38719 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38720 for ac_func in _modfl
38721 do :
38722 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38723 if test "x$ac_cv_func__modfl" = x""yes; then :
38724 cat >>confdefs.h <<_ACEOF
38725 #define HAVE__MODFL 1
38726 _ACEOF
38729 done
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38739 $as_echo_n "checking for powl declaration... " >&6; }
38740 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38741 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38742 $as_echo_n "(cached) " >&6
38743 else
38746 ac_ext=cpp
38747 ac_cpp='$CXXCPP $CPPFLAGS'
38748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38753 /* end confdefs.h. */
38754 #include <math.h>
38756 main ()
38758 powl(0, 0);
38760 return 0;
38762 _ACEOF
38763 if ac_fn_cxx_try_compile "$LINENO"; then :
38764 glibcxx_cv_func_powl_use=yes
38765 else
38766 glibcxx_cv_func_powl_use=no
38768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38769 ac_ext=c
38770 ac_cpp='$CPP $CPPFLAGS'
38771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38780 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38782 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38783 for ac_func in powl
38784 do :
38785 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38786 if test "x$ac_cv_func_powl" = x""yes; then :
38787 cat >>confdefs.h <<_ACEOF
38788 #define HAVE_POWL 1
38789 _ACEOF
38792 done
38794 else
38796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38797 $as_echo_n "checking for _powl declaration... " >&6; }
38798 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38799 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38800 $as_echo_n "(cached) " >&6
38801 else
38804 ac_ext=cpp
38805 ac_cpp='$CXXCPP $CPPFLAGS'
38806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38811 /* end confdefs.h. */
38812 #include <math.h>
38814 main ()
38816 _powl(0, 0);
38818 return 0;
38820 _ACEOF
38821 if ac_fn_cxx_try_compile "$LINENO"; then :
38822 glibcxx_cv_func__powl_use=yes
38823 else
38824 glibcxx_cv_func__powl_use=no
38826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38827 ac_ext=c
38828 ac_cpp='$CPP $CPPFLAGS'
38829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38838 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38840 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38841 for ac_func in _powl
38842 do :
38843 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38844 if test "x$ac_cv_func__powl" = x""yes; then :
38845 cat >>confdefs.h <<_ACEOF
38846 #define HAVE__POWL 1
38847 _ACEOF
38850 done
38859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38860 $as_echo_n "checking for sqrtl declaration... " >&6; }
38861 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38862 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38863 $as_echo_n "(cached) " >&6
38864 else
38867 ac_ext=cpp
38868 ac_cpp='$CXXCPP $CPPFLAGS'
38869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38874 /* end confdefs.h. */
38875 #include <math.h>
38876 #ifdef HAVE_IEEEFP_H
38877 #include <ieeefp.h>
38878 #endif
38881 main ()
38883 sqrtl(0);
38885 return 0;
38887 _ACEOF
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889 glibcxx_cv_func_sqrtl_use=yes
38890 else
38891 glibcxx_cv_func_sqrtl_use=no
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38905 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38907 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38908 for ac_func in sqrtl
38909 do :
38910 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38911 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38912 cat >>confdefs.h <<_ACEOF
38913 #define HAVE_SQRTL 1
38914 _ACEOF
38917 done
38919 else
38921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38922 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38923 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38924 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38925 $as_echo_n "(cached) " >&6
38926 else
38929 ac_ext=cpp
38930 ac_cpp='$CXXCPP $CPPFLAGS'
38931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38936 /* end confdefs.h. */
38937 #include <math.h>
38938 #ifdef HAVE_IEEEFP_H
38939 #include <ieeefp.h>
38940 #endif
38943 main ()
38945 _sqrtl(0);
38947 return 0;
38949 _ACEOF
38950 if ac_fn_cxx_try_compile "$LINENO"; then :
38951 glibcxx_cv_func__sqrtl_use=yes
38952 else
38953 glibcxx_cv_func__sqrtl_use=no
38955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38956 ac_ext=c
38957 ac_cpp='$CPP $CPPFLAGS'
38958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38967 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38969 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38970 for ac_func in _sqrtl
38971 do :
38972 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38973 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38974 cat >>confdefs.h <<_ACEOF
38975 #define HAVE__SQRTL 1
38976 _ACEOF
38979 done
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38989 $as_echo_n "checking for sincosl declaration... " >&6; }
38990 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38991 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38992 $as_echo_n "(cached) " >&6
38993 else
38996 ac_ext=cpp
38997 ac_cpp='$CXXCPP $CPPFLAGS'
38998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39003 /* end confdefs.h. */
39004 #include <math.h>
39006 main ()
39008 sincosl(0, 0, 0);
39010 return 0;
39012 _ACEOF
39013 if ac_fn_cxx_try_compile "$LINENO"; then :
39014 glibcxx_cv_func_sincosl_use=yes
39015 else
39016 glibcxx_cv_func_sincosl_use=no
39018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39019 ac_ext=c
39020 ac_cpp='$CPP $CPPFLAGS'
39021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39030 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39032 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39033 for ac_func in sincosl
39034 do :
39035 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39036 if test "x$ac_cv_func_sincosl" = x""yes; then :
39037 cat >>confdefs.h <<_ACEOF
39038 #define HAVE_SINCOSL 1
39039 _ACEOF
39042 done
39044 else
39046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39047 $as_echo_n "checking for _sincosl declaration... " >&6; }
39048 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39049 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39050 $as_echo_n "(cached) " >&6
39051 else
39054 ac_ext=cpp
39055 ac_cpp='$CXXCPP $CPPFLAGS'
39056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39061 /* end confdefs.h. */
39062 #include <math.h>
39064 main ()
39066 _sincosl(0, 0, 0);
39068 return 0;
39070 _ACEOF
39071 if ac_fn_cxx_try_compile "$LINENO"; then :
39072 glibcxx_cv_func__sincosl_use=yes
39073 else
39074 glibcxx_cv_func__sincosl_use=no
39076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39077 ac_ext=c
39078 ac_cpp='$CPP $CPPFLAGS'
39079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39088 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39090 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39091 for ac_func in _sincosl
39092 do :
39093 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39094 if test "x$ac_cv_func__sincosl" = x""yes; then :
39095 cat >>confdefs.h <<_ACEOF
39096 #define HAVE__SINCOSL 1
39097 _ACEOF
39100 done
39109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39110 $as_echo_n "checking for finitel declaration... " >&6; }
39111 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39112 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39113 $as_echo_n "(cached) " >&6
39114 else
39117 ac_ext=cpp
39118 ac_cpp='$CXXCPP $CPPFLAGS'
39119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39124 /* end confdefs.h. */
39125 #include <math.h>
39126 #ifdef HAVE_IEEEFP_H
39127 #include <ieeefp.h>
39128 #endif
39131 main ()
39133 finitel(0);
39135 return 0;
39137 _ACEOF
39138 if ac_fn_cxx_try_compile "$LINENO"; then :
39139 glibcxx_cv_func_finitel_use=yes
39140 else
39141 glibcxx_cv_func_finitel_use=no
39143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39144 ac_ext=c
39145 ac_cpp='$CPP $CPPFLAGS'
39146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39155 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39157 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39158 for ac_func in finitel
39159 do :
39160 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39161 if test "x$ac_cv_func_finitel" = x""yes; then :
39162 cat >>confdefs.h <<_ACEOF
39163 #define HAVE_FINITEL 1
39164 _ACEOF
39167 done
39169 else
39171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39172 $as_echo_n "checking for _finitel declaration... " >&6; }
39173 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39174 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39175 $as_echo_n "(cached) " >&6
39176 else
39179 ac_ext=cpp
39180 ac_cpp='$CXXCPP $CPPFLAGS'
39181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39186 /* end confdefs.h. */
39187 #include <math.h>
39188 #ifdef HAVE_IEEEFP_H
39189 #include <ieeefp.h>
39190 #endif
39193 main ()
39195 _finitel(0);
39197 return 0;
39199 _ACEOF
39200 if ac_fn_cxx_try_compile "$LINENO"; then :
39201 glibcxx_cv_func__finitel_use=yes
39202 else
39203 glibcxx_cv_func__finitel_use=no
39205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39206 ac_ext=c
39207 ac_cpp='$CPP $CPPFLAGS'
39208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39217 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39219 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39220 for ac_func in _finitel
39221 do :
39222 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39223 if test "x$ac_cv_func__finitel" = x""yes; then :
39224 cat >>confdefs.h <<_ACEOF
39225 #define HAVE__FINITEL 1
39226 _ACEOF
39229 done
39237 LIBS="$ac_save_LIBS"
39238 CXXFLAGS="$ac_save_CXXFLAGS"
39241 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39242 ac_save_CXXFLAGS="$CXXFLAGS"
39243 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39247 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39248 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39249 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39250 $as_echo_n "(cached) " >&6
39251 else
39254 ac_ext=cpp
39255 ac_cpp='$CXXCPP $CPPFLAGS'
39256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39261 /* end confdefs.h. */
39262 #include <stdlib.h>
39264 main ()
39266 at_quick_exit(0);
39268 return 0;
39270 _ACEOF
39271 if ac_fn_cxx_try_compile "$LINENO"; then :
39272 glibcxx_cv_func_at_quick_exit_use=yes
39273 else
39274 glibcxx_cv_func_at_quick_exit_use=no
39276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39277 ac_ext=c
39278 ac_cpp='$CPP $CPPFLAGS'
39279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39288 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39289 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39290 for ac_func in at_quick_exit
39291 do :
39292 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39293 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39294 cat >>confdefs.h <<_ACEOF
39295 #define HAVE_AT_QUICK_EXIT 1
39296 _ACEOF
39299 done
39304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39305 $as_echo_n "checking for quick_exit declaration... " >&6; }
39306 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39307 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39308 $as_echo_n "(cached) " >&6
39309 else
39312 ac_ext=cpp
39313 ac_cpp='$CXXCPP $CPPFLAGS'
39314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39319 /* end confdefs.h. */
39320 #include <stdlib.h>
39322 main ()
39324 quick_exit(0);
39326 return 0;
39328 _ACEOF
39329 if ac_fn_cxx_try_compile "$LINENO"; then :
39330 glibcxx_cv_func_quick_exit_use=yes
39331 else
39332 glibcxx_cv_func_quick_exit_use=no
39334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39335 ac_ext=c
39336 ac_cpp='$CPP $CPPFLAGS'
39337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39346 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39347 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39348 for ac_func in quick_exit
39349 do :
39350 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39351 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39352 cat >>confdefs.h <<_ACEOF
39353 #define HAVE_QUICK_EXIT 1
39354 _ACEOF
39357 done
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39363 $as_echo_n "checking for strtold declaration... " >&6; }
39364 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39365 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39366 $as_echo_n "(cached) " >&6
39367 else
39370 ac_ext=cpp
39371 ac_cpp='$CXXCPP $CPPFLAGS'
39372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39377 /* end confdefs.h. */
39378 #include <stdlib.h>
39380 main ()
39382 strtold(0, 0);
39384 return 0;
39386 _ACEOF
39387 if ac_fn_cxx_try_compile "$LINENO"; then :
39388 glibcxx_cv_func_strtold_use=yes
39389 else
39390 glibcxx_cv_func_strtold_use=no
39392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39393 ac_ext=c
39394 ac_cpp='$CPP $CPPFLAGS'
39395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39404 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39405 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39406 for ac_func in strtold
39407 do :
39408 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39409 if test "x$ac_cv_func_strtold" = x""yes; then :
39410 cat >>confdefs.h <<_ACEOF
39411 #define HAVE_STRTOLD 1
39412 _ACEOF
39415 done
39422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39423 $as_echo_n "checking for strtof declaration... " >&6; }
39424 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39425 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39426 $as_echo_n "(cached) " >&6
39427 else
39430 ac_ext=cpp
39431 ac_cpp='$CXXCPP $CPPFLAGS'
39432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39437 /* end confdefs.h. */
39438 #include <stdlib.h>
39440 main ()
39442 strtof(0, 0);
39444 return 0;
39446 _ACEOF
39447 if ac_fn_cxx_try_compile "$LINENO"; then :
39448 glibcxx_cv_func_strtof_use=yes
39449 else
39450 glibcxx_cv_func_strtof_use=no
39452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39453 ac_ext=c
39454 ac_cpp='$CPP $CPPFLAGS'
39455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39464 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39465 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39466 for ac_func in strtof
39467 do :
39468 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39469 if test "x$ac_cv_func_strtof" = x""yes; then :
39470 cat >>confdefs.h <<_ACEOF
39471 #define HAVE_STRTOF 1
39472 _ACEOF
39475 done
39482 CXXFLAGS="$ac_save_CXXFLAGS"
39484 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39486 # We don't yet support AIX's TLS ABI.
39487 #GCC_CHECK_TLS
39493 am_save_CPPFLAGS="$CPPFLAGS"
39495 for element in $INCICONV; do
39496 haveit=
39497 for x in $CPPFLAGS; do
39499 acl_save_prefix="$prefix"
39500 prefix="$acl_final_prefix"
39501 acl_save_exec_prefix="$exec_prefix"
39502 exec_prefix="$acl_final_exec_prefix"
39503 eval x=\"$x\"
39504 exec_prefix="$acl_save_exec_prefix"
39505 prefix="$acl_save_prefix"
39507 if test "X$x" = "X$element"; then
39508 haveit=yes
39509 break
39511 done
39512 if test -z "$haveit"; then
39513 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39515 done
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39519 $as_echo_n "checking for iconv... " >&6; }
39520 if test "${am_cv_func_iconv+set}" = set; then :
39521 $as_echo_n "(cached) " >&6
39522 else
39524 am_cv_func_iconv="no, consider installing GNU libiconv"
39525 am_cv_lib_iconv=no
39526 if test x$gcc_no_link = xyes; then
39527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39530 /* end confdefs.h. */
39531 #include <stdlib.h>
39532 #include <iconv.h>
39534 main ()
39536 iconv_t cd = iconv_open("","");
39537 iconv(cd,NULL,NULL,NULL,NULL);
39538 iconv_close(cd);
39540 return 0;
39542 _ACEOF
39543 if ac_fn_c_try_link "$LINENO"; then :
39544 am_cv_func_iconv=yes
39546 rm -f core conftest.err conftest.$ac_objext \
39547 conftest$ac_exeext conftest.$ac_ext
39548 if test "$am_cv_func_iconv" != yes; then
39549 am_save_LIBS="$LIBS"
39550 LIBS="$LIBS $LIBICONV"
39551 if test x$gcc_no_link = xyes; then
39552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39555 /* end confdefs.h. */
39556 #include <stdlib.h>
39557 #include <iconv.h>
39559 main ()
39561 iconv_t cd = iconv_open("","");
39562 iconv(cd,NULL,NULL,NULL,NULL);
39563 iconv_close(cd);
39565 return 0;
39567 _ACEOF
39568 if ac_fn_c_try_link "$LINENO"; then :
39569 am_cv_lib_iconv=yes
39570 am_cv_func_iconv=yes
39572 rm -f core conftest.err conftest.$ac_objext \
39573 conftest$ac_exeext conftest.$ac_ext
39574 LIBS="$am_save_LIBS"
39578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39579 $as_echo "$am_cv_func_iconv" >&6; }
39580 if test "$am_cv_func_iconv" = yes; then
39582 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39585 if test "$am_cv_lib_iconv" = yes; then
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39587 $as_echo_n "checking how to link with libiconv... " >&6; }
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39589 $as_echo "$LIBICONV" >&6; }
39590 else
39591 CPPFLAGS="$am_save_CPPFLAGS"
39592 LIBICONV=
39593 LTLIBICONV=
39598 if test "$am_cv_func_iconv" = yes; then
39599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39600 $as_echo_n "checking for iconv declaration... " >&6; }
39601 if test "${am_cv_proto_iconv+set}" = set; then :
39602 $as_echo_n "(cached) " >&6
39603 else
39605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39606 /* end confdefs.h. */
39608 #include <stdlib.h>
39609 #include <iconv.h>
39610 extern
39611 #ifdef __cplusplus
39613 #endif
39614 #if defined(__STDC__) || defined(__cplusplus)
39615 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39616 #else
39617 size_t iconv();
39618 #endif
39621 main ()
39625 return 0;
39627 _ACEOF
39628 if ac_fn_c_try_compile "$LINENO"; then :
39629 am_cv_proto_iconv_arg1=""
39630 else
39631 am_cv_proto_iconv_arg1="const"
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39634 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);"
39637 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39639 }$am_cv_proto_iconv" >&5
39640 $as_echo "${ac_t:-
39641 }$am_cv_proto_iconv" >&6; }
39643 cat >>confdefs.h <<_ACEOF
39644 #define ICONV_CONST $am_cv_proto_iconv_arg1
39645 _ACEOF
39651 *-darwin*)
39652 # Darwin versions vary, but the linker should work in a cross environment,
39653 # so we just check for all the features here.
39654 # Check for available headers.
39656 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39658 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39659 ac_save_CXXFLAGS="$CXXFLAGS"
39660 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39663 $as_echo_n "checking for sin in -lm... " >&6; }
39664 if test "${ac_cv_lib_m_sin+set}" = set; then :
39665 $as_echo_n "(cached) " >&6
39666 else
39667 ac_check_lib_save_LIBS=$LIBS
39668 LIBS="-lm $LIBS"
39669 if test x$gcc_no_link = xyes; then
39670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39673 /* end confdefs.h. */
39675 /* Override any GCC internal prototype to avoid an error.
39676 Use char because int might match the return type of a GCC
39677 builtin and then its argument prototype would still apply. */
39678 #ifdef __cplusplus
39679 extern "C"
39680 #endif
39681 char sin ();
39683 main ()
39685 return sin ();
39687 return 0;
39689 _ACEOF
39690 if ac_fn_c_try_link "$LINENO"; then :
39691 ac_cv_lib_m_sin=yes
39692 else
39693 ac_cv_lib_m_sin=no
39695 rm -f core conftest.err conftest.$ac_objext \
39696 conftest$ac_exeext conftest.$ac_ext
39697 LIBS=$ac_check_lib_save_LIBS
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39700 $as_echo "$ac_cv_lib_m_sin" >&6; }
39701 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39702 libm="-lm"
39705 ac_save_LIBS="$LIBS"
39706 LIBS="$LIBS $libm"
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39711 $as_echo_n "checking for isinf declaration... " >&6; }
39712 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39713 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39715 else
39718 ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39726 #include <math.h>
39727 #ifdef HAVE_IEEEFP_H
39728 #include <ieeefp.h>
39729 #endif
39732 main ()
39734 isinf(0);
39736 return 0;
39738 _ACEOF
39739 if ac_fn_cxx_try_compile "$LINENO"; then :
39740 glibcxx_cv_func_isinf_use=yes
39741 else
39742 glibcxx_cv_func_isinf_use=no
39744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39745 ac_ext=c
39746 ac_cpp='$CPP $CPPFLAGS'
39747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39756 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39758 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39759 for ac_func in isinf
39760 do :
39761 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39762 if test "x$ac_cv_func_isinf" = x""yes; then :
39763 cat >>confdefs.h <<_ACEOF
39764 #define HAVE_ISINF 1
39765 _ACEOF
39768 done
39770 else
39772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39773 $as_echo_n "checking for _isinf declaration... " >&6; }
39774 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39775 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39776 $as_echo_n "(cached) " >&6
39777 else
39780 ac_ext=cpp
39781 ac_cpp='$CXXCPP $CPPFLAGS'
39782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39787 /* end confdefs.h. */
39788 #include <math.h>
39789 #ifdef HAVE_IEEEFP_H
39790 #include <ieeefp.h>
39791 #endif
39794 main ()
39796 _isinf(0);
39798 return 0;
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func__isinf_use=yes
39803 else
39804 glibcxx_cv_func__isinf_use=no
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39818 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39820 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39821 for ac_func in _isinf
39822 do :
39823 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39824 if test "x$ac_cv_func__isinf" = x""yes; then :
39825 cat >>confdefs.h <<_ACEOF
39826 #define HAVE__ISINF 1
39827 _ACEOF
39830 done
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39840 $as_echo_n "checking for isnan declaration... " >&6; }
39841 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39842 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39843 $as_echo_n "(cached) " >&6
39844 else
39847 ac_ext=cpp
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h. */
39855 #include <math.h>
39856 #ifdef HAVE_IEEEFP_H
39857 #include <ieeefp.h>
39858 #endif
39861 main ()
39863 isnan(0);
39865 return 0;
39867 _ACEOF
39868 if ac_fn_cxx_try_compile "$LINENO"; then :
39869 glibcxx_cv_func_isnan_use=yes
39870 else
39871 glibcxx_cv_func_isnan_use=no
39873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39874 ac_ext=c
39875 ac_cpp='$CPP $CPPFLAGS'
39876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39885 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39887 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39888 for ac_func in isnan
39889 do :
39890 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39891 if test "x$ac_cv_func_isnan" = x""yes; then :
39892 cat >>confdefs.h <<_ACEOF
39893 #define HAVE_ISNAN 1
39894 _ACEOF
39897 done
39899 else
39901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39902 $as_echo_n "checking for _isnan declaration... " >&6; }
39903 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39904 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39905 $as_echo_n "(cached) " >&6
39906 else
39909 ac_ext=cpp
39910 ac_cpp='$CXXCPP $CPPFLAGS'
39911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39916 /* end confdefs.h. */
39917 #include <math.h>
39918 #ifdef HAVE_IEEEFP_H
39919 #include <ieeefp.h>
39920 #endif
39923 main ()
39925 _isnan(0);
39927 return 0;
39929 _ACEOF
39930 if ac_fn_cxx_try_compile "$LINENO"; then :
39931 glibcxx_cv_func__isnan_use=yes
39932 else
39933 glibcxx_cv_func__isnan_use=no
39935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39936 ac_ext=c
39937 ac_cpp='$CPP $CPPFLAGS'
39938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39947 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39949 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39950 for ac_func in _isnan
39951 do :
39952 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39953 if test "x$ac_cv_func__isnan" = x""yes; then :
39954 cat >>confdefs.h <<_ACEOF
39955 #define HAVE__ISNAN 1
39956 _ACEOF
39959 done
39968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39969 $as_echo_n "checking for finite declaration... " >&6; }
39970 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39971 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39972 $as_echo_n "(cached) " >&6
39973 else
39976 ac_ext=cpp
39977 ac_cpp='$CXXCPP $CPPFLAGS'
39978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39983 /* end confdefs.h. */
39984 #include <math.h>
39985 #ifdef HAVE_IEEEFP_H
39986 #include <ieeefp.h>
39987 #endif
39990 main ()
39992 finite(0);
39994 return 0;
39996 _ACEOF
39997 if ac_fn_cxx_try_compile "$LINENO"; then :
39998 glibcxx_cv_func_finite_use=yes
39999 else
40000 glibcxx_cv_func_finite_use=no
40002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40003 ac_ext=c
40004 ac_cpp='$CPP $CPPFLAGS'
40005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40014 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40016 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40017 for ac_func in finite
40018 do :
40019 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40020 if test "x$ac_cv_func_finite" = x""yes; then :
40021 cat >>confdefs.h <<_ACEOF
40022 #define HAVE_FINITE 1
40023 _ACEOF
40026 done
40028 else
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40031 $as_echo_n "checking for _finite declaration... " >&6; }
40032 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40033 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40034 $as_echo_n "(cached) " >&6
40035 else
40038 ac_ext=cpp
40039 ac_cpp='$CXXCPP $CPPFLAGS'
40040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40045 /* end confdefs.h. */
40046 #include <math.h>
40047 #ifdef HAVE_IEEEFP_H
40048 #include <ieeefp.h>
40049 #endif
40052 main ()
40054 _finite(0);
40056 return 0;
40058 _ACEOF
40059 if ac_fn_cxx_try_compile "$LINENO"; then :
40060 glibcxx_cv_func__finite_use=yes
40061 else
40062 glibcxx_cv_func__finite_use=no
40064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40065 ac_ext=c
40066 ac_cpp='$CPP $CPPFLAGS'
40067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40076 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40078 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40079 for ac_func in _finite
40080 do :
40081 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40082 if test "x$ac_cv_func__finite" = x""yes; then :
40083 cat >>confdefs.h <<_ACEOF
40084 #define HAVE__FINITE 1
40085 _ACEOF
40088 done
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40098 $as_echo_n "checking for sincos declaration... " >&6; }
40099 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40100 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40101 $as_echo_n "(cached) " >&6
40102 else
40105 ac_ext=cpp
40106 ac_cpp='$CXXCPP $CPPFLAGS'
40107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40112 /* end confdefs.h. */
40113 #include <math.h>
40115 main ()
40117 sincos(0, 0, 0);
40119 return 0;
40121 _ACEOF
40122 if ac_fn_cxx_try_compile "$LINENO"; then :
40123 glibcxx_cv_func_sincos_use=yes
40124 else
40125 glibcxx_cv_func_sincos_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_sincos_use" >&5
40139 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40141 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40142 for ac_func in sincos
40143 do :
40144 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40145 if test "x$ac_cv_func_sincos" = x""yes; then :
40146 cat >>confdefs.h <<_ACEOF
40147 #define HAVE_SINCOS 1
40148 _ACEOF
40151 done
40153 else
40155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40156 $as_echo_n "checking for _sincos declaration... " >&6; }
40157 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40158 if test "${glibcxx_cv_func__sincos_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>
40173 main ()
40175 _sincos(0, 0, 0);
40177 return 0;
40179 _ACEOF
40180 if ac_fn_cxx_try_compile "$LINENO"; then :
40181 glibcxx_cv_func__sincos_use=yes
40182 else
40183 glibcxx_cv_func__sincos_use=no
40185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40186 ac_ext=c
40187 ac_cpp='$CPP $CPPFLAGS'
40188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40197 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40199 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40200 for ac_func in _sincos
40201 do :
40202 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40203 if test "x$ac_cv_func__sincos" = x""yes; then :
40204 cat >>confdefs.h <<_ACEOF
40205 #define HAVE__SINCOS 1
40206 _ACEOF
40209 done
40218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40219 $as_echo_n "checking for fpclass declaration... " >&6; }
40220 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40221 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40222 $as_echo_n "(cached) " >&6
40223 else
40226 ac_ext=cpp
40227 ac_cpp='$CXXCPP $CPPFLAGS'
40228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40233 /* end confdefs.h. */
40234 #include <math.h>
40235 #ifdef HAVE_IEEEFP_H
40236 #include <ieeefp.h>
40237 #endif
40240 main ()
40242 fpclass(0);
40244 return 0;
40246 _ACEOF
40247 if ac_fn_cxx_try_compile "$LINENO"; then :
40248 glibcxx_cv_func_fpclass_use=yes
40249 else
40250 glibcxx_cv_func_fpclass_use=no
40252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40253 ac_ext=c
40254 ac_cpp='$CPP $CPPFLAGS'
40255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40264 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40266 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40267 for ac_func in fpclass
40268 do :
40269 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40270 if test "x$ac_cv_func_fpclass" = x""yes; then :
40271 cat >>confdefs.h <<_ACEOF
40272 #define HAVE_FPCLASS 1
40273 _ACEOF
40276 done
40278 else
40280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40281 $as_echo_n "checking for _fpclass declaration... " >&6; }
40282 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40283 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40284 $as_echo_n "(cached) " >&6
40285 else
40288 ac_ext=cpp
40289 ac_cpp='$CXXCPP $CPPFLAGS'
40290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40295 /* end confdefs.h. */
40296 #include <math.h>
40297 #ifdef HAVE_IEEEFP_H
40298 #include <ieeefp.h>
40299 #endif
40302 main ()
40304 _fpclass(0);
40306 return 0;
40308 _ACEOF
40309 if ac_fn_cxx_try_compile "$LINENO"; then :
40310 glibcxx_cv_func__fpclass_use=yes
40311 else
40312 glibcxx_cv_func__fpclass_use=no
40314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40315 ac_ext=c
40316 ac_cpp='$CPP $CPPFLAGS'
40317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40326 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40328 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40329 for ac_func in _fpclass
40330 do :
40331 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40332 if test "x$ac_cv_func__fpclass" = x""yes; then :
40333 cat >>confdefs.h <<_ACEOF
40334 #define HAVE__FPCLASS 1
40335 _ACEOF
40338 done
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40348 $as_echo_n "checking for qfpclass declaration... " >&6; }
40349 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40350 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40351 $as_echo_n "(cached) " >&6
40352 else
40355 ac_ext=cpp
40356 ac_cpp='$CXXCPP $CPPFLAGS'
40357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40362 /* end confdefs.h. */
40363 #include <math.h>
40364 #ifdef HAVE_IEEEFP_H
40365 #include <ieeefp.h>
40366 #endif
40369 main ()
40371 qfpclass(0);
40373 return 0;
40375 _ACEOF
40376 if ac_fn_cxx_try_compile "$LINENO"; then :
40377 glibcxx_cv_func_qfpclass_use=yes
40378 else
40379 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
40393 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40395 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40396 for ac_func in qfpclass
40397 do :
40398 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40399 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40400 cat >>confdefs.h <<_ACEOF
40401 #define HAVE_QFPCLASS 1
40402 _ACEOF
40405 done
40407 else
40409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40410 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40411 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40412 if test "${glibcxx_cv_func__qfpclass_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>
40426 #ifdef HAVE_IEEEFP_H
40427 #include <ieeefp.h>
40428 #endif
40431 main ()
40433 _qfpclass(0);
40435 return 0;
40437 _ACEOF
40438 if ac_fn_cxx_try_compile "$LINENO"; then :
40439 glibcxx_cv_func__qfpclass_use=yes
40440 else
40441 glibcxx_cv_func__qfpclass_use=no
40443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40444 ac_ext=c
40445 ac_cpp='$CPP $CPPFLAGS'
40446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40455 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40457 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40458 for ac_func in _qfpclass
40459 do :
40460 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40461 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40462 cat >>confdefs.h <<_ACEOF
40463 #define HAVE__QFPCLASS 1
40464 _ACEOF
40467 done
40476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40477 $as_echo_n "checking for hypot declaration... " >&6; }
40478 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40479 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40480 $as_echo_n "(cached) " >&6
40481 else
40484 ac_ext=cpp
40485 ac_cpp='$CXXCPP $CPPFLAGS'
40486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40491 /* end confdefs.h. */
40492 #include <math.h>
40494 main ()
40496 hypot(0, 0);
40498 return 0;
40500 _ACEOF
40501 if ac_fn_cxx_try_compile "$LINENO"; then :
40502 glibcxx_cv_func_hypot_use=yes
40503 else
40504 glibcxx_cv_func_hypot_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_hypot_use" >&5
40518 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40520 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40521 for ac_func in hypot
40522 do :
40523 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40524 if test "x$ac_cv_func_hypot" = x""yes; then :
40525 cat >>confdefs.h <<_ACEOF
40526 #define HAVE_HYPOT 1
40527 _ACEOF
40530 done
40532 else
40534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40535 $as_echo_n "checking for _hypot declaration... " >&6; }
40536 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40537 if test "${glibcxx_cv_func__hypot_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>
40552 main ()
40554 _hypot(0, 0);
40556 return 0;
40558 _ACEOF
40559 if ac_fn_cxx_try_compile "$LINENO"; then :
40560 glibcxx_cv_func__hypot_use=yes
40561 else
40562 glibcxx_cv_func__hypot_use=no
40564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40565 ac_ext=c
40566 ac_cpp='$CPP $CPPFLAGS'
40567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40576 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40578 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40579 for ac_func in _hypot
40580 do :
40581 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40582 if test "x$ac_cv_func__hypot" = x""yes; then :
40583 cat >>confdefs.h <<_ACEOF
40584 #define HAVE__HYPOT 1
40585 _ACEOF
40588 done
40597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40598 $as_echo_n "checking for float trig functions... " >&6; }
40599 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40600 $as_echo_n "(cached) " >&6
40601 else
40604 ac_ext=cpp
40605 ac_cpp='$CXXCPP $CPPFLAGS'
40606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40611 /* end confdefs.h. */
40612 #include <math.h>
40614 main ()
40616 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40618 return 0;
40620 _ACEOF
40621 if ac_fn_cxx_try_compile "$LINENO"; then :
40622 glibcxx_cv_func_float_trig_use=yes
40623 else
40624 glibcxx_cv_func_float_trig_use=no
40626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40627 ac_ext=c
40628 ac_cpp='$CPP $CPPFLAGS'
40629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40636 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40637 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40638 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40639 do :
40640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40642 eval as_val=\$$as_ac_var
40643 if test "x$as_val" = x""yes; then :
40644 cat >>confdefs.h <<_ACEOF
40645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40646 _ACEOF
40649 done
40651 else
40652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40653 $as_echo_n "checking for _float trig functions... " >&6; }
40654 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40655 $as_echo_n "(cached) " >&6
40656 else
40659 ac_ext=cpp
40660 ac_cpp='$CXXCPP $CPPFLAGS'
40661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40666 /* end confdefs.h. */
40667 #include <math.h>
40669 main ()
40671 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40673 return 0;
40675 _ACEOF
40676 if ac_fn_cxx_try_compile "$LINENO"; then :
40677 glibcxx_cv_func__float_trig_use=yes
40678 else
40679 glibcxx_cv_func__float_trig_use=no
40681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40682 ac_ext=c
40683 ac_cpp='$CPP $CPPFLAGS'
40684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40691 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40692 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40693 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40694 do :
40695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40697 eval as_val=\$$as_ac_var
40698 if test "x$as_val" = x""yes; then :
40699 cat >>confdefs.h <<_ACEOF
40700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40701 _ACEOF
40704 done
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40714 $as_echo_n "checking for float round functions... " >&6; }
40715 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40716 $as_echo_n "(cached) " >&6
40717 else
40720 ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h. */
40728 #include <math.h>
40730 main ()
40732 ceilf (0); floorf (0);
40734 return 0;
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738 glibcxx_cv_func_float_round_use=yes
40739 else
40740 glibcxx_cv_func_float_round_use=no
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40752 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40753 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40754 for ac_func in ceilf floorf
40755 do :
40756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40758 eval as_val=\$$as_ac_var
40759 if test "x$as_val" = x""yes; then :
40760 cat >>confdefs.h <<_ACEOF
40761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40762 _ACEOF
40765 done
40767 else
40768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40769 $as_echo_n "checking for _float round functions... " >&6; }
40770 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40771 $as_echo_n "(cached) " >&6
40772 else
40775 ac_ext=cpp
40776 ac_cpp='$CXXCPP $CPPFLAGS'
40777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40782 /* end confdefs.h. */
40783 #include <math.h>
40785 main ()
40787 _ceilf (0); _floorf (0);
40789 return 0;
40791 _ACEOF
40792 if ac_fn_cxx_try_compile "$LINENO"; then :
40793 glibcxx_cv_func__float_round_use=yes
40794 else
40795 glibcxx_cv_func__float_round_use=no
40797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40798 ac_ext=c
40799 ac_cpp='$CPP $CPPFLAGS'
40800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40807 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40808 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40809 for ac_func in _ceilf _floorf
40810 do :
40811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40813 eval as_val=\$$as_ac_var
40814 if test "x$as_val" = x""yes; then :
40815 cat >>confdefs.h <<_ACEOF
40816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40817 _ACEOF
40820 done
40830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40831 $as_echo_n "checking for expf declaration... " >&6; }
40832 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40833 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40834 $as_echo_n "(cached) " >&6
40835 else
40838 ac_ext=cpp
40839 ac_cpp='$CXXCPP $CPPFLAGS'
40840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40845 /* end confdefs.h. */
40846 #include <math.h>
40847 #ifdef HAVE_IEEEFP_H
40848 #include <ieeefp.h>
40849 #endif
40852 main ()
40854 expf(0);
40856 return 0;
40858 _ACEOF
40859 if ac_fn_cxx_try_compile "$LINENO"; then :
40860 glibcxx_cv_func_expf_use=yes
40861 else
40862 glibcxx_cv_func_expf_use=no
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40865 ac_ext=c
40866 ac_cpp='$CPP $CPPFLAGS'
40867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40876 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40878 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40879 for ac_func in expf
40880 do :
40881 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40882 if test "x$ac_cv_func_expf" = x""yes; then :
40883 cat >>confdefs.h <<_ACEOF
40884 #define HAVE_EXPF 1
40885 _ACEOF
40888 done
40890 else
40892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40893 $as_echo_n "checking for _expf declaration... " >&6; }
40894 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40895 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40896 $as_echo_n "(cached) " >&6
40897 else
40900 ac_ext=cpp
40901 ac_cpp='$CXXCPP $CPPFLAGS'
40902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40907 /* end confdefs.h. */
40908 #include <math.h>
40909 #ifdef HAVE_IEEEFP_H
40910 #include <ieeefp.h>
40911 #endif
40914 main ()
40916 _expf(0);
40918 return 0;
40920 _ACEOF
40921 if ac_fn_cxx_try_compile "$LINENO"; then :
40922 glibcxx_cv_func__expf_use=yes
40923 else
40924 glibcxx_cv_func__expf_use=no
40926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40927 ac_ext=c
40928 ac_cpp='$CPP $CPPFLAGS'
40929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40938 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40940 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40941 for ac_func in _expf
40942 do :
40943 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40944 if test "x$ac_cv_func__expf" = x""yes; then :
40945 cat >>confdefs.h <<_ACEOF
40946 #define HAVE__EXPF 1
40947 _ACEOF
40950 done
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40960 $as_echo_n "checking for isnanf declaration... " >&6; }
40961 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40962 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40963 $as_echo_n "(cached) " >&6
40964 else
40967 ac_ext=cpp
40968 ac_cpp='$CXXCPP $CPPFLAGS'
40969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40974 /* end confdefs.h. */
40975 #include <math.h>
40976 #ifdef HAVE_IEEEFP_H
40977 #include <ieeefp.h>
40978 #endif
40981 main ()
40983 isnanf(0);
40985 return 0;
40987 _ACEOF
40988 if ac_fn_cxx_try_compile "$LINENO"; then :
40989 glibcxx_cv_func_isnanf_use=yes
40990 else
40991 glibcxx_cv_func_isnanf_use=no
40993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40994 ac_ext=c
40995 ac_cpp='$CPP $CPPFLAGS'
40996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41005 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41007 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41008 for ac_func in isnanf
41009 do :
41010 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41011 if test "x$ac_cv_func_isnanf" = x""yes; then :
41012 cat >>confdefs.h <<_ACEOF
41013 #define HAVE_ISNANF 1
41014 _ACEOF
41017 done
41019 else
41021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41022 $as_echo_n "checking for _isnanf declaration... " >&6; }
41023 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41024 if test "${glibcxx_cv_func__isnanf_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>
41038 #ifdef HAVE_IEEEFP_H
41039 #include <ieeefp.h>
41040 #endif
41043 main ()
41045 _isnanf(0);
41047 return 0;
41049 _ACEOF
41050 if ac_fn_cxx_try_compile "$LINENO"; then :
41051 glibcxx_cv_func__isnanf_use=yes
41052 else
41053 glibcxx_cv_func__isnanf_use=no
41055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41056 ac_ext=c
41057 ac_cpp='$CPP $CPPFLAGS'
41058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41067 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41069 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41070 for ac_func in _isnanf
41071 do :
41072 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41073 if test "x$ac_cv_func__isnanf" = x""yes; then :
41074 cat >>confdefs.h <<_ACEOF
41075 #define HAVE__ISNANF 1
41076 _ACEOF
41079 done
41088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41089 $as_echo_n "checking for isinff declaration... " >&6; }
41090 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41091 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41092 $as_echo_n "(cached) " >&6
41093 else
41096 ac_ext=cpp
41097 ac_cpp='$CXXCPP $CPPFLAGS'
41098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41103 /* end confdefs.h. */
41104 #include <math.h>
41105 #ifdef HAVE_IEEEFP_H
41106 #include <ieeefp.h>
41107 #endif
41110 main ()
41112 isinff(0);
41114 return 0;
41116 _ACEOF
41117 if ac_fn_cxx_try_compile "$LINENO"; then :
41118 glibcxx_cv_func_isinff_use=yes
41119 else
41120 glibcxx_cv_func_isinff_use=no
41122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41123 ac_ext=c
41124 ac_cpp='$CPP $CPPFLAGS'
41125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41134 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41136 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41137 for ac_func in isinff
41138 do :
41139 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41140 if test "x$ac_cv_func_isinff" = x""yes; then :
41141 cat >>confdefs.h <<_ACEOF
41142 #define HAVE_ISINFF 1
41143 _ACEOF
41146 done
41148 else
41150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41151 $as_echo_n "checking for _isinff declaration... " >&6; }
41152 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41153 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41154 $as_echo_n "(cached) " >&6
41155 else
41158 ac_ext=cpp
41159 ac_cpp='$CXXCPP $CPPFLAGS'
41160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41165 /* end confdefs.h. */
41166 #include <math.h>
41167 #ifdef HAVE_IEEEFP_H
41168 #include <ieeefp.h>
41169 #endif
41172 main ()
41174 _isinff(0);
41176 return 0;
41178 _ACEOF
41179 if ac_fn_cxx_try_compile "$LINENO"; then :
41180 glibcxx_cv_func__isinff_use=yes
41181 else
41182 glibcxx_cv_func__isinff_use=no
41184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41185 ac_ext=c
41186 ac_cpp='$CPP $CPPFLAGS'
41187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41196 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41198 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41199 for ac_func in _isinff
41200 do :
41201 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41202 if test "x$ac_cv_func__isinff" = x""yes; then :
41203 cat >>confdefs.h <<_ACEOF
41204 #define HAVE__ISINFF 1
41205 _ACEOF
41208 done
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41218 $as_echo_n "checking for atan2f declaration... " >&6; }
41219 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41220 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41221 $as_echo_n "(cached) " >&6
41222 else
41225 ac_ext=cpp
41226 ac_cpp='$CXXCPP $CPPFLAGS'
41227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41232 /* end confdefs.h. */
41233 #include <math.h>
41235 main ()
41237 atan2f(0, 0);
41239 return 0;
41241 _ACEOF
41242 if ac_fn_cxx_try_compile "$LINENO"; then :
41243 glibcxx_cv_func_atan2f_use=yes
41244 else
41245 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
41259 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41261 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41262 for ac_func in atan2f
41263 do :
41264 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41265 if test "x$ac_cv_func_atan2f" = x""yes; then :
41266 cat >>confdefs.h <<_ACEOF
41267 #define HAVE_ATAN2F 1
41268 _ACEOF
41271 done
41273 else
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41276 $as_echo_n "checking for _atan2f declaration... " >&6; }
41277 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41278 if test "${glibcxx_cv_func__atan2f_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>
41293 main ()
41295 _atan2f(0, 0);
41297 return 0;
41299 _ACEOF
41300 if ac_fn_cxx_try_compile "$LINENO"; then :
41301 glibcxx_cv_func__atan2f_use=yes
41302 else
41303 glibcxx_cv_func__atan2f_use=no
41305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41306 ac_ext=c
41307 ac_cpp='$CPP $CPPFLAGS'
41308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41317 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41319 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41320 for ac_func in _atan2f
41321 do :
41322 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41323 if test "x$ac_cv_func__atan2f" = x""yes; then :
41324 cat >>confdefs.h <<_ACEOF
41325 #define HAVE__ATAN2F 1
41326 _ACEOF
41329 done
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41339 $as_echo_n "checking for fabsf declaration... " >&6; }
41340 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41341 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41342 $as_echo_n "(cached) " >&6
41343 else
41346 ac_ext=cpp
41347 ac_cpp='$CXXCPP $CPPFLAGS'
41348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41353 /* end confdefs.h. */
41354 #include <math.h>
41355 #ifdef HAVE_IEEEFP_H
41356 #include <ieeefp.h>
41357 #endif
41360 main ()
41362 fabsf(0);
41364 return 0;
41366 _ACEOF
41367 if ac_fn_cxx_try_compile "$LINENO"; then :
41368 glibcxx_cv_func_fabsf_use=yes
41369 else
41370 glibcxx_cv_func_fabsf_use=no
41372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41373 ac_ext=c
41374 ac_cpp='$CPP $CPPFLAGS'
41375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41384 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41386 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41387 for ac_func in fabsf
41388 do :
41389 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41390 if test "x$ac_cv_func_fabsf" = x""yes; then :
41391 cat >>confdefs.h <<_ACEOF
41392 #define HAVE_FABSF 1
41393 _ACEOF
41396 done
41398 else
41400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41401 $as_echo_n "checking for _fabsf declaration... " >&6; }
41402 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41403 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41404 $as_echo_n "(cached) " >&6
41405 else
41408 ac_ext=cpp
41409 ac_cpp='$CXXCPP $CPPFLAGS'
41410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41415 /* end confdefs.h. */
41416 #include <math.h>
41417 #ifdef HAVE_IEEEFP_H
41418 #include <ieeefp.h>
41419 #endif
41422 main ()
41424 _fabsf(0);
41426 return 0;
41428 _ACEOF
41429 if ac_fn_cxx_try_compile "$LINENO"; then :
41430 glibcxx_cv_func__fabsf_use=yes
41431 else
41432 glibcxx_cv_func__fabsf_use=no
41434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41435 ac_ext=c
41436 ac_cpp='$CPP $CPPFLAGS'
41437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41446 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41448 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41449 for ac_func in _fabsf
41450 do :
41451 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41452 if test "x$ac_cv_func__fabsf" = x""yes; then :
41453 cat >>confdefs.h <<_ACEOF
41454 #define HAVE__FABSF 1
41455 _ACEOF
41458 done
41467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41468 $as_echo_n "checking for fmodf declaration... " >&6; }
41469 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41470 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41471 $as_echo_n "(cached) " >&6
41472 else
41475 ac_ext=cpp
41476 ac_cpp='$CXXCPP $CPPFLAGS'
41477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41482 /* end confdefs.h. */
41483 #include <math.h>
41485 main ()
41487 fmodf(0, 0);
41489 return 0;
41491 _ACEOF
41492 if ac_fn_cxx_try_compile "$LINENO"; then :
41493 glibcxx_cv_func_fmodf_use=yes
41494 else
41495 glibcxx_cv_func_fmodf_use=no
41497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41498 ac_ext=c
41499 ac_cpp='$CPP $CPPFLAGS'
41500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41509 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41511 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41512 for ac_func in fmodf
41513 do :
41514 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41515 if test "x$ac_cv_func_fmodf" = x""yes; then :
41516 cat >>confdefs.h <<_ACEOF
41517 #define HAVE_FMODF 1
41518 _ACEOF
41521 done
41523 else
41525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41526 $as_echo_n "checking for _fmodf declaration... " >&6; }
41527 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41528 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41529 $as_echo_n "(cached) " >&6
41530 else
41533 ac_ext=cpp
41534 ac_cpp='$CXXCPP $CPPFLAGS'
41535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41540 /* end confdefs.h. */
41541 #include <math.h>
41543 main ()
41545 _fmodf(0, 0);
41547 return 0;
41549 _ACEOF
41550 if ac_fn_cxx_try_compile "$LINENO"; then :
41551 glibcxx_cv_func__fmodf_use=yes
41552 else
41553 glibcxx_cv_func__fmodf_use=no
41555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41556 ac_ext=c
41557 ac_cpp='$CPP $CPPFLAGS'
41558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41567 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41569 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41570 for ac_func in _fmodf
41571 do :
41572 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41573 if test "x$ac_cv_func__fmodf" = x""yes; then :
41574 cat >>confdefs.h <<_ACEOF
41575 #define HAVE__FMODF 1
41576 _ACEOF
41579 done
41588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41589 $as_echo_n "checking for frexpf declaration... " >&6; }
41590 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41591 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41592 $as_echo_n "(cached) " >&6
41593 else
41596 ac_ext=cpp
41597 ac_cpp='$CXXCPP $CPPFLAGS'
41598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41603 /* end confdefs.h. */
41604 #include <math.h>
41606 main ()
41608 frexpf(0, 0);
41610 return 0;
41612 _ACEOF
41613 if ac_fn_cxx_try_compile "$LINENO"; then :
41614 glibcxx_cv_func_frexpf_use=yes
41615 else
41616 glibcxx_cv_func_frexpf_use=no
41618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41619 ac_ext=c
41620 ac_cpp='$CPP $CPPFLAGS'
41621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41630 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41632 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41633 for ac_func in frexpf
41634 do :
41635 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41636 if test "x$ac_cv_func_frexpf" = x""yes; then :
41637 cat >>confdefs.h <<_ACEOF
41638 #define HAVE_FREXPF 1
41639 _ACEOF
41642 done
41644 else
41646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41647 $as_echo_n "checking for _frexpf declaration... " >&6; }
41648 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41649 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41650 $as_echo_n "(cached) " >&6
41651 else
41654 ac_ext=cpp
41655 ac_cpp='$CXXCPP $CPPFLAGS'
41656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41661 /* end confdefs.h. */
41662 #include <math.h>
41664 main ()
41666 _frexpf(0, 0);
41668 return 0;
41670 _ACEOF
41671 if ac_fn_cxx_try_compile "$LINENO"; then :
41672 glibcxx_cv_func__frexpf_use=yes
41673 else
41674 glibcxx_cv_func__frexpf_use=no
41676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41677 ac_ext=c
41678 ac_cpp='$CPP $CPPFLAGS'
41679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41688 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41690 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41691 for ac_func in _frexpf
41692 do :
41693 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41694 if test "x$ac_cv_func__frexpf" = x""yes; then :
41695 cat >>confdefs.h <<_ACEOF
41696 #define HAVE__FREXPF 1
41697 _ACEOF
41700 done
41709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41710 $as_echo_n "checking for hypotf declaration... " >&6; }
41711 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41712 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41713 $as_echo_n "(cached) " >&6
41714 else
41717 ac_ext=cpp
41718 ac_cpp='$CXXCPP $CPPFLAGS'
41719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41724 /* end confdefs.h. */
41725 #include <math.h>
41727 main ()
41729 hypotf(0, 0);
41731 return 0;
41733 _ACEOF
41734 if ac_fn_cxx_try_compile "$LINENO"; then :
41735 glibcxx_cv_func_hypotf_use=yes
41736 else
41737 glibcxx_cv_func_hypotf_use=no
41739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41740 ac_ext=c
41741 ac_cpp='$CPP $CPPFLAGS'
41742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41751 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41753 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41754 for ac_func in hypotf
41755 do :
41756 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41757 if test "x$ac_cv_func_hypotf" = x""yes; then :
41758 cat >>confdefs.h <<_ACEOF
41759 #define HAVE_HYPOTF 1
41760 _ACEOF
41763 done
41765 else
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41768 $as_echo_n "checking for _hypotf declaration... " >&6; }
41769 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41770 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41771 $as_echo_n "(cached) " >&6
41772 else
41775 ac_ext=cpp
41776 ac_cpp='$CXXCPP $CPPFLAGS'
41777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41782 /* end confdefs.h. */
41783 #include <math.h>
41785 main ()
41787 _hypotf(0, 0);
41789 return 0;
41791 _ACEOF
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793 glibcxx_cv_func__hypotf_use=yes
41794 else
41795 glibcxx_cv_func__hypotf_use=no
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41809 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41811 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41812 for ac_func in _hypotf
41813 do :
41814 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41815 if test "x$ac_cv_func__hypotf" = x""yes; then :
41816 cat >>confdefs.h <<_ACEOF
41817 #define HAVE__HYPOTF 1
41818 _ACEOF
41821 done
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41831 $as_echo_n "checking for ldexpf declaration... " >&6; }
41832 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41833 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41834 $as_echo_n "(cached) " >&6
41835 else
41838 ac_ext=cpp
41839 ac_cpp='$CXXCPP $CPPFLAGS'
41840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41845 /* end confdefs.h. */
41846 #include <math.h>
41848 main ()
41850 ldexpf(0, 0);
41852 return 0;
41854 _ACEOF
41855 if ac_fn_cxx_try_compile "$LINENO"; then :
41856 glibcxx_cv_func_ldexpf_use=yes
41857 else
41858 glibcxx_cv_func_ldexpf_use=no
41860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41861 ac_ext=c
41862 ac_cpp='$CPP $CPPFLAGS'
41863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41872 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41874 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41875 for ac_func in ldexpf
41876 do :
41877 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41878 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41879 cat >>confdefs.h <<_ACEOF
41880 #define HAVE_LDEXPF 1
41881 _ACEOF
41884 done
41886 else
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41889 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41890 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41891 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41892 $as_echo_n "(cached) " >&6
41893 else
41896 ac_ext=cpp
41897 ac_cpp='$CXXCPP $CPPFLAGS'
41898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41903 /* end confdefs.h. */
41904 #include <math.h>
41906 main ()
41908 _ldexpf(0, 0);
41910 return 0;
41912 _ACEOF
41913 if ac_fn_cxx_try_compile "$LINENO"; then :
41914 glibcxx_cv_func__ldexpf_use=yes
41915 else
41916 glibcxx_cv_func__ldexpf_use=no
41918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41919 ac_ext=c
41920 ac_cpp='$CPP $CPPFLAGS'
41921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41930 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41932 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41933 for ac_func in _ldexpf
41934 do :
41935 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41936 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41937 cat >>confdefs.h <<_ACEOF
41938 #define HAVE__LDEXPF 1
41939 _ACEOF
41942 done
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41952 $as_echo_n "checking for logf declaration... " >&6; }
41953 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41954 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41955 $as_echo_n "(cached) " >&6
41956 else
41959 ac_ext=cpp
41960 ac_cpp='$CXXCPP $CPPFLAGS'
41961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41966 /* end confdefs.h. */
41967 #include <math.h>
41968 #ifdef HAVE_IEEEFP_H
41969 #include <ieeefp.h>
41970 #endif
41973 main ()
41975 logf(0);
41977 return 0;
41979 _ACEOF
41980 if ac_fn_cxx_try_compile "$LINENO"; then :
41981 glibcxx_cv_func_logf_use=yes
41982 else
41983 glibcxx_cv_func_logf_use=no
41985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41986 ac_ext=c
41987 ac_cpp='$CPP $CPPFLAGS'
41988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41997 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41999 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42000 for ac_func in logf
42001 do :
42002 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42003 if test "x$ac_cv_func_logf" = x""yes; then :
42004 cat >>confdefs.h <<_ACEOF
42005 #define HAVE_LOGF 1
42006 _ACEOF
42009 done
42011 else
42013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42014 $as_echo_n "checking for _logf declaration... " >&6; }
42015 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42016 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42017 $as_echo_n "(cached) " >&6
42018 else
42021 ac_ext=cpp
42022 ac_cpp='$CXXCPP $CPPFLAGS'
42023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42028 /* end confdefs.h. */
42029 #include <math.h>
42030 #ifdef HAVE_IEEEFP_H
42031 #include <ieeefp.h>
42032 #endif
42035 main ()
42037 _logf(0);
42039 return 0;
42041 _ACEOF
42042 if ac_fn_cxx_try_compile "$LINENO"; then :
42043 glibcxx_cv_func__logf_use=yes
42044 else
42045 glibcxx_cv_func__logf_use=no
42047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42048 ac_ext=c
42049 ac_cpp='$CPP $CPPFLAGS'
42050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42059 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42061 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42062 for ac_func in _logf
42063 do :
42064 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42065 if test "x$ac_cv_func__logf" = x""yes; then :
42066 cat >>confdefs.h <<_ACEOF
42067 #define HAVE__LOGF 1
42068 _ACEOF
42071 done
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42081 $as_echo_n "checking for log10f declaration... " >&6; }
42082 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42083 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42084 $as_echo_n "(cached) " >&6
42085 else
42088 ac_ext=cpp
42089 ac_cpp='$CXXCPP $CPPFLAGS'
42090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42095 /* end confdefs.h. */
42096 #include <math.h>
42097 #ifdef HAVE_IEEEFP_H
42098 #include <ieeefp.h>
42099 #endif
42102 main ()
42104 log10f(0);
42106 return 0;
42108 _ACEOF
42109 if ac_fn_cxx_try_compile "$LINENO"; then :
42110 glibcxx_cv_func_log10f_use=yes
42111 else
42112 glibcxx_cv_func_log10f_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_log10f_use" >&5
42126 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42128 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42129 for ac_func in log10f
42130 do :
42131 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42132 if test "x$ac_cv_func_log10f" = x""yes; then :
42133 cat >>confdefs.h <<_ACEOF
42134 #define HAVE_LOG10F 1
42135 _ACEOF
42138 done
42140 else
42142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42143 $as_echo_n "checking for _log10f declaration... " >&6; }
42144 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42145 if test "${glibcxx_cv_func__log10f_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>
42159 #ifdef HAVE_IEEEFP_H
42160 #include <ieeefp.h>
42161 #endif
42164 main ()
42166 _log10f(0);
42168 return 0;
42170 _ACEOF
42171 if ac_fn_cxx_try_compile "$LINENO"; then :
42172 glibcxx_cv_func__log10f_use=yes
42173 else
42174 glibcxx_cv_func__log10f_use=no
42176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42177 ac_ext=c
42178 ac_cpp='$CPP $CPPFLAGS'
42179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42188 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42190 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42191 for ac_func in _log10f
42192 do :
42193 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42194 if test "x$ac_cv_func__log10f" = x""yes; then :
42195 cat >>confdefs.h <<_ACEOF
42196 #define HAVE__LOG10F 1
42197 _ACEOF
42200 done
42209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42210 $as_echo_n "checking for modff declaration... " >&6; }
42211 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42212 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42213 $as_echo_n "(cached) " >&6
42214 else
42217 ac_ext=cpp
42218 ac_cpp='$CXXCPP $CPPFLAGS'
42219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42224 /* end confdefs.h. */
42225 #include <math.h>
42227 main ()
42229 modff(0, 0);
42231 return 0;
42233 _ACEOF
42234 if ac_fn_cxx_try_compile "$LINENO"; then :
42235 glibcxx_cv_func_modff_use=yes
42236 else
42237 glibcxx_cv_func_modff_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_modff_use" >&5
42251 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42253 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42254 for ac_func in modff
42255 do :
42256 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42257 if test "x$ac_cv_func_modff" = x""yes; then :
42258 cat >>confdefs.h <<_ACEOF
42259 #define HAVE_MODFF 1
42260 _ACEOF
42263 done
42265 else
42267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42268 $as_echo_n "checking for _modff declaration... " >&6; }
42269 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42270 if test "${glibcxx_cv_func__modff_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>
42285 main ()
42287 _modff(0, 0);
42289 return 0;
42291 _ACEOF
42292 if ac_fn_cxx_try_compile "$LINENO"; then :
42293 glibcxx_cv_func__modff_use=yes
42294 else
42295 glibcxx_cv_func__modff_use=no
42297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42298 ac_ext=c
42299 ac_cpp='$CPP $CPPFLAGS'
42300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42309 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42311 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42312 for ac_func in _modff
42313 do :
42314 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42315 if test "x$ac_cv_func__modff" = x""yes; then :
42316 cat >>confdefs.h <<_ACEOF
42317 #define HAVE__MODFF 1
42318 _ACEOF
42321 done
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42331 $as_echo_n "checking for modf declaration... " >&6; }
42332 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42333 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42334 $as_echo_n "(cached) " >&6
42335 else
42338 ac_ext=cpp
42339 ac_cpp='$CXXCPP $CPPFLAGS'
42340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42345 /* end confdefs.h. */
42346 #include <math.h>
42348 main ()
42350 modf(0, 0);
42352 return 0;
42354 _ACEOF
42355 if ac_fn_cxx_try_compile "$LINENO"; then :
42356 glibcxx_cv_func_modf_use=yes
42357 else
42358 glibcxx_cv_func_modf_use=no
42360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42361 ac_ext=c
42362 ac_cpp='$CPP $CPPFLAGS'
42363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42372 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42374 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42375 for ac_func in modf
42376 do :
42377 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42378 if test "x$ac_cv_func_modf" = x""yes; then :
42379 cat >>confdefs.h <<_ACEOF
42380 #define HAVE_MODF 1
42381 _ACEOF
42384 done
42386 else
42388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42389 $as_echo_n "checking for _modf declaration... " >&6; }
42390 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42391 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42392 $as_echo_n "(cached) " >&6
42393 else
42396 ac_ext=cpp
42397 ac_cpp='$CXXCPP $CPPFLAGS'
42398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42403 /* end confdefs.h. */
42404 #include <math.h>
42406 main ()
42408 _modf(0, 0);
42410 return 0;
42412 _ACEOF
42413 if ac_fn_cxx_try_compile "$LINENO"; then :
42414 glibcxx_cv_func__modf_use=yes
42415 else
42416 glibcxx_cv_func__modf_use=no
42418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42419 ac_ext=c
42420 ac_cpp='$CPP $CPPFLAGS'
42421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42430 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42432 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42433 for ac_func in _modf
42434 do :
42435 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42436 if test "x$ac_cv_func__modf" = x""yes; then :
42437 cat >>confdefs.h <<_ACEOF
42438 #define HAVE__MODF 1
42439 _ACEOF
42442 done
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42452 $as_echo_n "checking for powf declaration... " >&6; }
42453 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42454 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42455 $as_echo_n "(cached) " >&6
42456 else
42459 ac_ext=cpp
42460 ac_cpp='$CXXCPP $CPPFLAGS'
42461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42466 /* end confdefs.h. */
42467 #include <math.h>
42469 main ()
42471 powf(0, 0);
42473 return 0;
42475 _ACEOF
42476 if ac_fn_cxx_try_compile "$LINENO"; then :
42477 glibcxx_cv_func_powf_use=yes
42478 else
42479 glibcxx_cv_func_powf_use=no
42481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42482 ac_ext=c
42483 ac_cpp='$CPP $CPPFLAGS'
42484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42493 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42495 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42496 for ac_func in powf
42497 do :
42498 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42499 if test "x$ac_cv_func_powf" = x""yes; then :
42500 cat >>confdefs.h <<_ACEOF
42501 #define HAVE_POWF 1
42502 _ACEOF
42505 done
42507 else
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42510 $as_echo_n "checking for _powf declaration... " >&6; }
42511 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42512 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42513 $as_echo_n "(cached) " >&6
42514 else
42517 ac_ext=cpp
42518 ac_cpp='$CXXCPP $CPPFLAGS'
42519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42524 /* end confdefs.h. */
42525 #include <math.h>
42527 main ()
42529 _powf(0, 0);
42531 return 0;
42533 _ACEOF
42534 if ac_fn_cxx_try_compile "$LINENO"; then :
42535 glibcxx_cv_func__powf_use=yes
42536 else
42537 glibcxx_cv_func__powf_use=no
42539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540 ac_ext=c
42541 ac_cpp='$CPP $CPPFLAGS'
42542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42551 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42553 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42554 for ac_func in _powf
42555 do :
42556 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42557 if test "x$ac_cv_func__powf" = x""yes; then :
42558 cat >>confdefs.h <<_ACEOF
42559 #define HAVE__POWF 1
42560 _ACEOF
42563 done
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42573 $as_echo_n "checking for sqrtf declaration... " >&6; }
42574 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42575 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42576 $as_echo_n "(cached) " >&6
42577 else
42580 ac_ext=cpp
42581 ac_cpp='$CXXCPP $CPPFLAGS'
42582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42587 /* end confdefs.h. */
42588 #include <math.h>
42589 #ifdef HAVE_IEEEFP_H
42590 #include <ieeefp.h>
42591 #endif
42594 main ()
42596 sqrtf(0);
42598 return 0;
42600 _ACEOF
42601 if ac_fn_cxx_try_compile "$LINENO"; then :
42602 glibcxx_cv_func_sqrtf_use=yes
42603 else
42604 glibcxx_cv_func_sqrtf_use=no
42606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42607 ac_ext=c
42608 ac_cpp='$CPP $CPPFLAGS'
42609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42618 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42620 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42621 for ac_func in sqrtf
42622 do :
42623 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42624 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42625 cat >>confdefs.h <<_ACEOF
42626 #define HAVE_SQRTF 1
42627 _ACEOF
42630 done
42632 else
42634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42635 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42636 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42637 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42638 $as_echo_n "(cached) " >&6
42639 else
42642 ac_ext=cpp
42643 ac_cpp='$CXXCPP $CPPFLAGS'
42644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42649 /* end confdefs.h. */
42650 #include <math.h>
42651 #ifdef HAVE_IEEEFP_H
42652 #include <ieeefp.h>
42653 #endif
42656 main ()
42658 _sqrtf(0);
42660 return 0;
42662 _ACEOF
42663 if ac_fn_cxx_try_compile "$LINENO"; then :
42664 glibcxx_cv_func__sqrtf_use=yes
42665 else
42666 glibcxx_cv_func__sqrtf_use=no
42668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42669 ac_ext=c
42670 ac_cpp='$CPP $CPPFLAGS'
42671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42680 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42682 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42683 for ac_func in _sqrtf
42684 do :
42685 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42686 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42687 cat >>confdefs.h <<_ACEOF
42688 #define HAVE__SQRTF 1
42689 _ACEOF
42692 done
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42702 $as_echo_n "checking for sincosf declaration... " >&6; }
42703 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42704 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42705 $as_echo_n "(cached) " >&6
42706 else
42709 ac_ext=cpp
42710 ac_cpp='$CXXCPP $CPPFLAGS'
42711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42716 /* end confdefs.h. */
42717 #include <math.h>
42719 main ()
42721 sincosf(0, 0, 0);
42723 return 0;
42725 _ACEOF
42726 if ac_fn_cxx_try_compile "$LINENO"; then :
42727 glibcxx_cv_func_sincosf_use=yes
42728 else
42729 glibcxx_cv_func_sincosf_use=no
42731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42732 ac_ext=c
42733 ac_cpp='$CPP $CPPFLAGS'
42734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42743 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42745 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42746 for ac_func in sincosf
42747 do :
42748 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42749 if test "x$ac_cv_func_sincosf" = x""yes; then :
42750 cat >>confdefs.h <<_ACEOF
42751 #define HAVE_SINCOSF 1
42752 _ACEOF
42755 done
42757 else
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42760 $as_echo_n "checking for _sincosf declaration... " >&6; }
42761 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42762 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42763 $as_echo_n "(cached) " >&6
42764 else
42767 ac_ext=cpp
42768 ac_cpp='$CXXCPP $CPPFLAGS'
42769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42774 /* end confdefs.h. */
42775 #include <math.h>
42777 main ()
42779 _sincosf(0, 0, 0);
42781 return 0;
42783 _ACEOF
42784 if ac_fn_cxx_try_compile "$LINENO"; then :
42785 glibcxx_cv_func__sincosf_use=yes
42786 else
42787 glibcxx_cv_func__sincosf_use=no
42789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42790 ac_ext=c
42791 ac_cpp='$CPP $CPPFLAGS'
42792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42801 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42803 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42804 for ac_func in _sincosf
42805 do :
42806 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42807 if test "x$ac_cv_func__sincosf" = x""yes; then :
42808 cat >>confdefs.h <<_ACEOF
42809 #define HAVE__SINCOSF 1
42810 _ACEOF
42813 done
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42823 $as_echo_n "checking for finitef declaration... " >&6; }
42824 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42825 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42826 $as_echo_n "(cached) " >&6
42827 else
42830 ac_ext=cpp
42831 ac_cpp='$CXXCPP $CPPFLAGS'
42832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42837 /* end confdefs.h. */
42838 #include <math.h>
42839 #ifdef HAVE_IEEEFP_H
42840 #include <ieeefp.h>
42841 #endif
42844 main ()
42846 finitef(0);
42848 return 0;
42850 _ACEOF
42851 if ac_fn_cxx_try_compile "$LINENO"; then :
42852 glibcxx_cv_func_finitef_use=yes
42853 else
42854 glibcxx_cv_func_finitef_use=no
42856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42857 ac_ext=c
42858 ac_cpp='$CPP $CPPFLAGS'
42859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42868 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42870 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42871 for ac_func in finitef
42872 do :
42873 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42874 if test "x$ac_cv_func_finitef" = x""yes; then :
42875 cat >>confdefs.h <<_ACEOF
42876 #define HAVE_FINITEF 1
42877 _ACEOF
42880 done
42882 else
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42885 $as_echo_n "checking for _finitef declaration... " >&6; }
42886 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42887 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42888 $as_echo_n "(cached) " >&6
42889 else
42892 ac_ext=cpp
42893 ac_cpp='$CXXCPP $CPPFLAGS'
42894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42899 /* end confdefs.h. */
42900 #include <math.h>
42901 #ifdef HAVE_IEEEFP_H
42902 #include <ieeefp.h>
42903 #endif
42906 main ()
42908 _finitef(0);
42910 return 0;
42912 _ACEOF
42913 if ac_fn_cxx_try_compile "$LINENO"; then :
42914 glibcxx_cv_func__finitef_use=yes
42915 else
42916 glibcxx_cv_func__finitef_use=no
42918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42919 ac_ext=c
42920 ac_cpp='$CPP $CPPFLAGS'
42921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42930 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42932 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42933 for ac_func in _finitef
42934 do :
42935 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42936 if test "x$ac_cv_func__finitef" = x""yes; then :
42937 cat >>confdefs.h <<_ACEOF
42938 #define HAVE__FINITEF 1
42939 _ACEOF
42942 done
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42952 $as_echo_n "checking for long double trig functions... " >&6; }
42953 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42954 $as_echo_n "(cached) " >&6
42955 else
42958 ac_ext=cpp
42959 ac_cpp='$CXXCPP $CPPFLAGS'
42960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42965 /* end confdefs.h. */
42966 #include <math.h>
42968 main ()
42970 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42972 return 0;
42974 _ACEOF
42975 if ac_fn_cxx_try_compile "$LINENO"; then :
42976 glibcxx_cv_func_long_double_trig_use=yes
42977 else
42978 glibcxx_cv_func_long_double_trig_use=no
42980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42981 ac_ext=c
42982 ac_cpp='$CPP $CPPFLAGS'
42983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42990 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42991 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42992 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42993 do :
42994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42996 eval as_val=\$$as_ac_var
42997 if test "x$as_val" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43000 _ACEOF
43003 done
43005 else
43006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43007 $as_echo_n "checking for _long double trig functions... " >&6; }
43008 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43009 $as_echo_n "(cached) " >&6
43010 else
43013 ac_ext=cpp
43014 ac_cpp='$CXXCPP $CPPFLAGS'
43015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43020 /* end confdefs.h. */
43021 #include <math.h>
43023 main ()
43025 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43027 return 0;
43029 _ACEOF
43030 if ac_fn_cxx_try_compile "$LINENO"; then :
43031 glibcxx_cv_func__long_double_trig_use=yes
43032 else
43033 glibcxx_cv_func__long_double_trig_use=no
43035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43036 ac_ext=c
43037 ac_cpp='$CPP $CPPFLAGS'
43038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43045 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43046 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43047 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43048 do :
43049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43051 eval as_val=\$$as_ac_var
43052 if test "x$as_val" = x""yes; then :
43053 cat >>confdefs.h <<_ACEOF
43054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43055 _ACEOF
43058 done
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43068 $as_echo_n "checking for long double round functions... " >&6; }
43069 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43070 $as_echo_n "(cached) " >&6
43071 else
43074 ac_ext=cpp
43075 ac_cpp='$CXXCPP $CPPFLAGS'
43076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43081 /* end confdefs.h. */
43082 #include <math.h>
43084 main ()
43086 ceill (0); floorl (0);
43088 return 0;
43090 _ACEOF
43091 if ac_fn_cxx_try_compile "$LINENO"; then :
43092 glibcxx_cv_func_long_double_round_use=yes
43093 else
43094 glibcxx_cv_func_long_double_round_use=no
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43106 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43107 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43108 for ac_func in ceill floorl
43109 do :
43110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43112 eval as_val=\$$as_ac_var
43113 if test "x$as_val" = x""yes; then :
43114 cat >>confdefs.h <<_ACEOF
43115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43116 _ACEOF
43119 done
43121 else
43122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43123 $as_echo_n "checking for _long double round functions... " >&6; }
43124 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43125 $as_echo_n "(cached) " >&6
43126 else
43129 ac_ext=cpp
43130 ac_cpp='$CXXCPP $CPPFLAGS'
43131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43136 /* end confdefs.h. */
43137 #include <math.h>
43139 main ()
43141 _ceill (0); _floorl (0);
43143 return 0;
43145 _ACEOF
43146 if ac_fn_cxx_try_compile "$LINENO"; then :
43147 glibcxx_cv_func__long_double_round_use=yes
43148 else
43149 glibcxx_cv_func__long_double_round_use=no
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43161 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43162 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43163 for ac_func in _ceill _floorl
43164 do :
43165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43167 eval as_val=\$$as_ac_var
43168 if test "x$as_val" = x""yes; then :
43169 cat >>confdefs.h <<_ACEOF
43170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43171 _ACEOF
43174 done
43184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43185 $as_echo_n "checking for isnanl declaration... " >&6; }
43186 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43187 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43188 $as_echo_n "(cached) " >&6
43189 else
43192 ac_ext=cpp
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43199 /* end confdefs.h. */
43200 #include <math.h>
43201 #ifdef HAVE_IEEEFP_H
43202 #include <ieeefp.h>
43203 #endif
43206 main ()
43208 isnanl(0);
43210 return 0;
43212 _ACEOF
43213 if ac_fn_cxx_try_compile "$LINENO"; then :
43214 glibcxx_cv_func_isnanl_use=yes
43215 else
43216 glibcxx_cv_func_isnanl_use=no
43218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43219 ac_ext=c
43220 ac_cpp='$CPP $CPPFLAGS'
43221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43230 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43232 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43233 for ac_func in isnanl
43234 do :
43235 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43236 if test "x$ac_cv_func_isnanl" = x""yes; then :
43237 cat >>confdefs.h <<_ACEOF
43238 #define HAVE_ISNANL 1
43239 _ACEOF
43242 done
43244 else
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43247 $as_echo_n "checking for _isnanl declaration... " >&6; }
43248 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43249 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43250 $as_echo_n "(cached) " >&6
43251 else
43254 ac_ext=cpp
43255 ac_cpp='$CXXCPP $CPPFLAGS'
43256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43261 /* end confdefs.h. */
43262 #include <math.h>
43263 #ifdef HAVE_IEEEFP_H
43264 #include <ieeefp.h>
43265 #endif
43268 main ()
43270 _isnanl(0);
43272 return 0;
43274 _ACEOF
43275 if ac_fn_cxx_try_compile "$LINENO"; then :
43276 glibcxx_cv_func__isnanl_use=yes
43277 else
43278 glibcxx_cv_func__isnanl_use=no
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43281 ac_ext=c
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43292 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43294 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43295 for ac_func in _isnanl
43296 do :
43297 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43298 if test "x$ac_cv_func__isnanl" = x""yes; then :
43299 cat >>confdefs.h <<_ACEOF
43300 #define HAVE__ISNANL 1
43301 _ACEOF
43304 done
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43314 $as_echo_n "checking for isinfl declaration... " >&6; }
43315 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43316 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43317 $as_echo_n "(cached) " >&6
43318 else
43321 ac_ext=cpp
43322 ac_cpp='$CXXCPP $CPPFLAGS'
43323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328 /* end confdefs.h. */
43329 #include <math.h>
43330 #ifdef HAVE_IEEEFP_H
43331 #include <ieeefp.h>
43332 #endif
43335 main ()
43337 isinfl(0);
43339 return 0;
43341 _ACEOF
43342 if ac_fn_cxx_try_compile "$LINENO"; then :
43343 glibcxx_cv_func_isinfl_use=yes
43344 else
43345 glibcxx_cv_func_isinfl_use=no
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348 ac_ext=c
43349 ac_cpp='$CPP $CPPFLAGS'
43350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43359 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43361 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43362 for ac_func in isinfl
43363 do :
43364 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43365 if test "x$ac_cv_func_isinfl" = x""yes; then :
43366 cat >>confdefs.h <<_ACEOF
43367 #define HAVE_ISINFL 1
43368 _ACEOF
43371 done
43373 else
43375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43376 $as_echo_n "checking for _isinfl declaration... " >&6; }
43377 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43378 if test "${glibcxx_cv_func__isinfl_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>
43392 #ifdef HAVE_IEEEFP_H
43393 #include <ieeefp.h>
43394 #endif
43397 main ()
43399 _isinfl(0);
43401 return 0;
43403 _ACEOF
43404 if ac_fn_cxx_try_compile "$LINENO"; then :
43405 glibcxx_cv_func__isinfl_use=yes
43406 else
43407 glibcxx_cv_func__isinfl_use=no
43409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43410 ac_ext=c
43411 ac_cpp='$CPP $CPPFLAGS'
43412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43421 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43423 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43424 for ac_func in _isinfl
43425 do :
43426 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43427 if test "x$ac_cv_func__isinfl" = x""yes; then :
43428 cat >>confdefs.h <<_ACEOF
43429 #define HAVE__ISINFL 1
43430 _ACEOF
43433 done
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43443 $as_echo_n "checking for atan2l declaration... " >&6; }
43444 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43445 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43446 $as_echo_n "(cached) " >&6
43447 else
43450 ac_ext=cpp
43451 ac_cpp='$CXXCPP $CPPFLAGS'
43452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43457 /* end confdefs.h. */
43458 #include <math.h>
43460 main ()
43462 atan2l(0, 0);
43464 return 0;
43466 _ACEOF
43467 if ac_fn_cxx_try_compile "$LINENO"; then :
43468 glibcxx_cv_func_atan2l_use=yes
43469 else
43470 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
43484 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43486 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43487 for ac_func in atan2l
43488 do :
43489 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43490 if test "x$ac_cv_func_atan2l" = x""yes; then :
43491 cat >>confdefs.h <<_ACEOF
43492 #define HAVE_ATAN2L 1
43493 _ACEOF
43496 done
43498 else
43500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43501 $as_echo_n "checking for _atan2l declaration... " >&6; }
43502 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43503 if test "${glibcxx_cv_func__atan2l_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>
43518 main ()
43520 _atan2l(0, 0);
43522 return 0;
43524 _ACEOF
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func__atan2l_use=yes
43527 else
43528 glibcxx_cv_func__atan2l_use=no
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43542 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43544 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43545 for ac_func in _atan2l
43546 do :
43547 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43548 if test "x$ac_cv_func__atan2l" = x""yes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE__ATAN2L 1
43551 _ACEOF
43554 done
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43564 $as_echo_n "checking for expl declaration... " >&6; }
43565 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43566 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43580 #ifdef HAVE_IEEEFP_H
43581 #include <ieeefp.h>
43582 #endif
43585 main ()
43587 expl(0);
43589 return 0;
43591 _ACEOF
43592 if ac_fn_cxx_try_compile "$LINENO"; then :
43593 glibcxx_cv_func_expl_use=yes
43594 else
43595 glibcxx_cv_func_expl_use=no
43597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598 ac_ext=c
43599 ac_cpp='$CPP $CPPFLAGS'
43600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43609 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43611 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43612 for ac_func in expl
43613 do :
43614 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43615 if test "x$ac_cv_func_expl" = x""yes; then :
43616 cat >>confdefs.h <<_ACEOF
43617 #define HAVE_EXPL 1
43618 _ACEOF
43621 done
43623 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43626 $as_echo_n "checking for _expl declaration... " >&6; }
43627 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43628 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43629 $as_echo_n "(cached) " >&6
43630 else
43633 ac_ext=cpp
43634 ac_cpp='$CXXCPP $CPPFLAGS'
43635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43640 /* end confdefs.h. */
43641 #include <math.h>
43642 #ifdef HAVE_IEEEFP_H
43643 #include <ieeefp.h>
43644 #endif
43647 main ()
43649 _expl(0);
43651 return 0;
43653 _ACEOF
43654 if ac_fn_cxx_try_compile "$LINENO"; then :
43655 glibcxx_cv_func__expl_use=yes
43656 else
43657 glibcxx_cv_func__expl_use=no
43659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43660 ac_ext=c
43661 ac_cpp='$CPP $CPPFLAGS'
43662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43671 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43673 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43674 for ac_func in _expl
43675 do :
43676 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43677 if test "x$ac_cv_func__expl" = x""yes; then :
43678 cat >>confdefs.h <<_ACEOF
43679 #define HAVE__EXPL 1
43680 _ACEOF
43683 done
43692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43693 $as_echo_n "checking for fabsl declaration... " >&6; }
43694 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43695 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43696 $as_echo_n "(cached) " >&6
43697 else
43700 ac_ext=cpp
43701 ac_cpp='$CXXCPP $CPPFLAGS'
43702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43707 /* end confdefs.h. */
43708 #include <math.h>
43709 #ifdef HAVE_IEEEFP_H
43710 #include <ieeefp.h>
43711 #endif
43714 main ()
43716 fabsl(0);
43718 return 0;
43720 _ACEOF
43721 if ac_fn_cxx_try_compile "$LINENO"; then :
43722 glibcxx_cv_func_fabsl_use=yes
43723 else
43724 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
43738 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43740 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43741 for ac_func in fabsl
43742 do :
43743 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43744 if test "x$ac_cv_func_fabsl" = x""yes; then :
43745 cat >>confdefs.h <<_ACEOF
43746 #define HAVE_FABSL 1
43747 _ACEOF
43750 done
43752 else
43754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43755 $as_echo_n "checking for _fabsl declaration... " >&6; }
43756 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43757 if test "${glibcxx_cv_func__fabsl_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>
43771 #ifdef HAVE_IEEEFP_H
43772 #include <ieeefp.h>
43773 #endif
43776 main ()
43778 _fabsl(0);
43780 return 0;
43782 _ACEOF
43783 if ac_fn_cxx_try_compile "$LINENO"; then :
43784 glibcxx_cv_func__fabsl_use=yes
43785 else
43786 glibcxx_cv_func__fabsl_use=no
43788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43789 ac_ext=c
43790 ac_cpp='$CPP $CPPFLAGS'
43791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43800 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43802 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43803 for ac_func in _fabsl
43804 do :
43805 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43806 if test "x$ac_cv_func__fabsl" = x""yes; then :
43807 cat >>confdefs.h <<_ACEOF
43808 #define HAVE__FABSL 1
43809 _ACEOF
43812 done
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43822 $as_echo_n "checking for fmodl declaration... " >&6; }
43823 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43824 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43825 $as_echo_n "(cached) " >&6
43826 else
43829 ac_ext=cpp
43830 ac_cpp='$CXXCPP $CPPFLAGS'
43831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43836 /* end confdefs.h. */
43837 #include <math.h>
43839 main ()
43841 fmodl(0, 0);
43843 return 0;
43845 _ACEOF
43846 if ac_fn_cxx_try_compile "$LINENO"; then :
43847 glibcxx_cv_func_fmodl_use=yes
43848 else
43849 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
43863 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43865 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43866 for ac_func in fmodl
43867 do :
43868 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43869 if test "x$ac_cv_func_fmodl" = x""yes; then :
43870 cat >>confdefs.h <<_ACEOF
43871 #define HAVE_FMODL 1
43872 _ACEOF
43875 done
43877 else
43879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43880 $as_echo_n "checking for _fmodl declaration... " >&6; }
43881 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43882 if test "${glibcxx_cv_func__fmodl_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>
43897 main ()
43899 _fmodl(0, 0);
43901 return 0;
43903 _ACEOF
43904 if ac_fn_cxx_try_compile "$LINENO"; then :
43905 glibcxx_cv_func__fmodl_use=yes
43906 else
43907 glibcxx_cv_func__fmodl_use=no
43909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43910 ac_ext=c
43911 ac_cpp='$CPP $CPPFLAGS'
43912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43921 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43923 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43924 for ac_func in _fmodl
43925 do :
43926 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43927 if test "x$ac_cv_func__fmodl" = x""yes; then :
43928 cat >>confdefs.h <<_ACEOF
43929 #define HAVE__FMODL 1
43930 _ACEOF
43933 done
43942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43943 $as_echo_n "checking for frexpl declaration... " >&6; }
43944 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43945 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43946 $as_echo_n "(cached) " >&6
43947 else
43950 ac_ext=cpp
43951 ac_cpp='$CXXCPP $CPPFLAGS'
43952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43957 /* end confdefs.h. */
43958 #include <math.h>
43960 main ()
43962 frexpl(0, 0);
43964 return 0;
43966 _ACEOF
43967 if ac_fn_cxx_try_compile "$LINENO"; then :
43968 glibcxx_cv_func_frexpl_use=yes
43969 else
43970 glibcxx_cv_func_frexpl_use=no
43972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43973 ac_ext=c
43974 ac_cpp='$CPP $CPPFLAGS'
43975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43984 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43986 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43987 for ac_func in frexpl
43988 do :
43989 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43990 if test "x$ac_cv_func_frexpl" = x""yes; then :
43991 cat >>confdefs.h <<_ACEOF
43992 #define HAVE_FREXPL 1
43993 _ACEOF
43996 done
43998 else
44000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44001 $as_echo_n "checking for _frexpl declaration... " >&6; }
44002 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44003 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44004 $as_echo_n "(cached) " >&6
44005 else
44008 ac_ext=cpp
44009 ac_cpp='$CXXCPP $CPPFLAGS'
44010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44015 /* end confdefs.h. */
44016 #include <math.h>
44018 main ()
44020 _frexpl(0, 0);
44022 return 0;
44024 _ACEOF
44025 if ac_fn_cxx_try_compile "$LINENO"; then :
44026 glibcxx_cv_func__frexpl_use=yes
44027 else
44028 glibcxx_cv_func__frexpl_use=no
44030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44031 ac_ext=c
44032 ac_cpp='$CPP $CPPFLAGS'
44033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44042 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44044 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44045 for ac_func in _frexpl
44046 do :
44047 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44048 if test "x$ac_cv_func__frexpl" = x""yes; then :
44049 cat >>confdefs.h <<_ACEOF
44050 #define HAVE__FREXPL 1
44051 _ACEOF
44054 done
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44064 $as_echo_n "checking for hypotl declaration... " >&6; }
44065 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44066 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44067 $as_echo_n "(cached) " >&6
44068 else
44071 ac_ext=cpp
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44078 /* end confdefs.h. */
44079 #include <math.h>
44081 main ()
44083 hypotl(0, 0);
44085 return 0;
44087 _ACEOF
44088 if ac_fn_cxx_try_compile "$LINENO"; then :
44089 glibcxx_cv_func_hypotl_use=yes
44090 else
44091 glibcxx_cv_func_hypotl_use=no
44093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44094 ac_ext=c
44095 ac_cpp='$CPP $CPPFLAGS'
44096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44105 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44107 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44108 for ac_func in hypotl
44109 do :
44110 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44111 if test "x$ac_cv_func_hypotl" = x""yes; then :
44112 cat >>confdefs.h <<_ACEOF
44113 #define HAVE_HYPOTL 1
44114 _ACEOF
44117 done
44119 else
44121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44122 $as_echo_n "checking for _hypotl declaration... " >&6; }
44123 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44124 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44125 $as_echo_n "(cached) " >&6
44126 else
44129 ac_ext=cpp
44130 ac_cpp='$CXXCPP $CPPFLAGS'
44131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44136 /* end confdefs.h. */
44137 #include <math.h>
44139 main ()
44141 _hypotl(0, 0);
44143 return 0;
44145 _ACEOF
44146 if ac_fn_cxx_try_compile "$LINENO"; then :
44147 glibcxx_cv_func__hypotl_use=yes
44148 else
44149 glibcxx_cv_func__hypotl_use=no
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44163 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44165 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44166 for ac_func in _hypotl
44167 do :
44168 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44169 if test "x$ac_cv_func__hypotl" = x""yes; then :
44170 cat >>confdefs.h <<_ACEOF
44171 #define HAVE__HYPOTL 1
44172 _ACEOF
44175 done
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44185 $as_echo_n "checking for ldexpl declaration... " >&6; }
44186 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44187 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44188 $as_echo_n "(cached) " >&6
44189 else
44192 ac_ext=cpp
44193 ac_cpp='$CXXCPP $CPPFLAGS'
44194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 #include <math.h>
44202 main ()
44204 ldexpl(0, 0);
44206 return 0;
44208 _ACEOF
44209 if ac_fn_cxx_try_compile "$LINENO"; then :
44210 glibcxx_cv_func_ldexpl_use=yes
44211 else
44212 glibcxx_cv_func_ldexpl_use=no
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215 ac_ext=c
44216 ac_cpp='$CPP $CPPFLAGS'
44217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44226 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44228 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44229 for ac_func in ldexpl
44230 do :
44231 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44232 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44233 cat >>confdefs.h <<_ACEOF
44234 #define HAVE_LDEXPL 1
44235 _ACEOF
44238 done
44240 else
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44243 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44244 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44245 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44246 $as_echo_n "(cached) " >&6
44247 else
44250 ac_ext=cpp
44251 ac_cpp='$CXXCPP $CPPFLAGS'
44252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44257 /* end confdefs.h. */
44258 #include <math.h>
44260 main ()
44262 _ldexpl(0, 0);
44264 return 0;
44266 _ACEOF
44267 if ac_fn_cxx_try_compile "$LINENO"; then :
44268 glibcxx_cv_func__ldexpl_use=yes
44269 else
44270 glibcxx_cv_func__ldexpl_use=no
44272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44284 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44286 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44287 for ac_func in _ldexpl
44288 do :
44289 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44290 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44291 cat >>confdefs.h <<_ACEOF
44292 #define HAVE__LDEXPL 1
44293 _ACEOF
44296 done
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44306 $as_echo_n "checking for logl declaration... " >&6; }
44307 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44308 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44309 $as_echo_n "(cached) " >&6
44310 else
44313 ac_ext=cpp
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44320 /* end confdefs.h. */
44321 #include <math.h>
44322 #ifdef HAVE_IEEEFP_H
44323 #include <ieeefp.h>
44324 #endif
44327 main ()
44329 logl(0);
44331 return 0;
44333 _ACEOF
44334 if ac_fn_cxx_try_compile "$LINENO"; then :
44335 glibcxx_cv_func_logl_use=yes
44336 else
44337 glibcxx_cv_func_logl_use=no
44339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44340 ac_ext=c
44341 ac_cpp='$CPP $CPPFLAGS'
44342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44351 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44353 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44354 for ac_func in logl
44355 do :
44356 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44357 if test "x$ac_cv_func_logl" = x""yes; then :
44358 cat >>confdefs.h <<_ACEOF
44359 #define HAVE_LOGL 1
44360 _ACEOF
44363 done
44365 else
44367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44368 $as_echo_n "checking for _logl declaration... " >&6; }
44369 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44370 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44371 $as_echo_n "(cached) " >&6
44372 else
44375 ac_ext=cpp
44376 ac_cpp='$CXXCPP $CPPFLAGS'
44377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44382 /* end confdefs.h. */
44383 #include <math.h>
44384 #ifdef HAVE_IEEEFP_H
44385 #include <ieeefp.h>
44386 #endif
44389 main ()
44391 _logl(0);
44393 return 0;
44395 _ACEOF
44396 if ac_fn_cxx_try_compile "$LINENO"; then :
44397 glibcxx_cv_func__logl_use=yes
44398 else
44399 glibcxx_cv_func__logl_use=no
44401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 ac_ext=c
44403 ac_cpp='$CPP $CPPFLAGS'
44404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44413 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44415 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44416 for ac_func in _logl
44417 do :
44418 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44419 if test "x$ac_cv_func__logl" = x""yes; then :
44420 cat >>confdefs.h <<_ACEOF
44421 #define HAVE__LOGL 1
44422 _ACEOF
44425 done
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44435 $as_echo_n "checking for log10l declaration... " >&6; }
44436 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44437 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44438 $as_echo_n "(cached) " >&6
44439 else
44442 ac_ext=cpp
44443 ac_cpp='$CXXCPP $CPPFLAGS'
44444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449 /* end confdefs.h. */
44450 #include <math.h>
44451 #ifdef HAVE_IEEEFP_H
44452 #include <ieeefp.h>
44453 #endif
44456 main ()
44458 log10l(0);
44460 return 0;
44462 _ACEOF
44463 if ac_fn_cxx_try_compile "$LINENO"; then :
44464 glibcxx_cv_func_log10l_use=yes
44465 else
44466 glibcxx_cv_func_log10l_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_log10l_use" >&5
44480 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44482 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44483 for ac_func in log10l
44484 do :
44485 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44486 if test "x$ac_cv_func_log10l" = x""yes; then :
44487 cat >>confdefs.h <<_ACEOF
44488 #define HAVE_LOG10L 1
44489 _ACEOF
44492 done
44494 else
44496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44497 $as_echo_n "checking for _log10l declaration... " >&6; }
44498 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44499 if test "${glibcxx_cv_func__log10l_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>
44513 #ifdef HAVE_IEEEFP_H
44514 #include <ieeefp.h>
44515 #endif
44518 main ()
44520 _log10l(0);
44522 return 0;
44524 _ACEOF
44525 if ac_fn_cxx_try_compile "$LINENO"; then :
44526 glibcxx_cv_func__log10l_use=yes
44527 else
44528 glibcxx_cv_func__log10l_use=no
44530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44531 ac_ext=c
44532 ac_cpp='$CPP $CPPFLAGS'
44533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44542 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44544 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44545 for ac_func in _log10l
44546 do :
44547 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44548 if test "x$ac_cv_func__log10l" = x""yes; then :
44549 cat >>confdefs.h <<_ACEOF
44550 #define HAVE__LOG10L 1
44551 _ACEOF
44554 done
44563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44564 $as_echo_n "checking for modfl declaration... " >&6; }
44565 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44566 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44567 $as_echo_n "(cached) " >&6
44568 else
44571 ac_ext=cpp
44572 ac_cpp='$CXXCPP $CPPFLAGS'
44573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44578 /* end confdefs.h. */
44579 #include <math.h>
44581 main ()
44583 modfl(0, 0);
44585 return 0;
44587 _ACEOF
44588 if ac_fn_cxx_try_compile "$LINENO"; then :
44589 glibcxx_cv_func_modfl_use=yes
44590 else
44591 glibcxx_cv_func_modfl_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_modfl_use" >&5
44605 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44607 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44608 for ac_func in modfl
44609 do :
44610 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44611 if test "x$ac_cv_func_modfl" = x""yes; then :
44612 cat >>confdefs.h <<_ACEOF
44613 #define HAVE_MODFL 1
44614 _ACEOF
44617 done
44619 else
44621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44622 $as_echo_n "checking for _modfl declaration... " >&6; }
44623 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44624 if test "${glibcxx_cv_func__modfl_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>
44639 main ()
44641 _modfl(0, 0);
44643 return 0;
44645 _ACEOF
44646 if ac_fn_cxx_try_compile "$LINENO"; then :
44647 glibcxx_cv_func__modfl_use=yes
44648 else
44649 glibcxx_cv_func__modfl_use=no
44651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44652 ac_ext=c
44653 ac_cpp='$CPP $CPPFLAGS'
44654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44663 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44665 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44666 for ac_func in _modfl
44667 do :
44668 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44669 if test "x$ac_cv_func__modfl" = x""yes; then :
44670 cat >>confdefs.h <<_ACEOF
44671 #define HAVE__MODFL 1
44672 _ACEOF
44675 done
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44685 $as_echo_n "checking for powl declaration... " >&6; }
44686 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44687 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44688 $as_echo_n "(cached) " >&6
44689 else
44692 ac_ext=cpp
44693 ac_cpp='$CXXCPP $CPPFLAGS'
44694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44699 /* end confdefs.h. */
44700 #include <math.h>
44702 main ()
44704 powl(0, 0);
44706 return 0;
44708 _ACEOF
44709 if ac_fn_cxx_try_compile "$LINENO"; then :
44710 glibcxx_cv_func_powl_use=yes
44711 else
44712 glibcxx_cv_func_powl_use=no
44714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44715 ac_ext=c
44716 ac_cpp='$CPP $CPPFLAGS'
44717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44726 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44728 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44729 for ac_func in powl
44730 do :
44731 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44732 if test "x$ac_cv_func_powl" = x""yes; then :
44733 cat >>confdefs.h <<_ACEOF
44734 #define HAVE_POWL 1
44735 _ACEOF
44738 done
44740 else
44742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44743 $as_echo_n "checking for _powl declaration... " >&6; }
44744 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44745 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44746 $as_echo_n "(cached) " >&6
44747 else
44750 ac_ext=cpp
44751 ac_cpp='$CXXCPP $CPPFLAGS'
44752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44757 /* end confdefs.h. */
44758 #include <math.h>
44760 main ()
44762 _powl(0, 0);
44764 return 0;
44766 _ACEOF
44767 if ac_fn_cxx_try_compile "$LINENO"; then :
44768 glibcxx_cv_func__powl_use=yes
44769 else
44770 glibcxx_cv_func__powl_use=no
44772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44773 ac_ext=c
44774 ac_cpp='$CPP $CPPFLAGS'
44775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44784 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44786 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44787 for ac_func in _powl
44788 do :
44789 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44790 if test "x$ac_cv_func__powl" = x""yes; then :
44791 cat >>confdefs.h <<_ACEOF
44792 #define HAVE__POWL 1
44793 _ACEOF
44796 done
44805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44806 $as_echo_n "checking for sqrtl declaration... " >&6; }
44807 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44808 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44809 $as_echo_n "(cached) " >&6
44810 else
44813 ac_ext=cpp
44814 ac_cpp='$CXXCPP $CPPFLAGS'
44815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44820 /* end confdefs.h. */
44821 #include <math.h>
44822 #ifdef HAVE_IEEEFP_H
44823 #include <ieeefp.h>
44824 #endif
44827 main ()
44829 sqrtl(0);
44831 return 0;
44833 _ACEOF
44834 if ac_fn_cxx_try_compile "$LINENO"; then :
44835 glibcxx_cv_func_sqrtl_use=yes
44836 else
44837 glibcxx_cv_func_sqrtl_use=no
44839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44840 ac_ext=c
44841 ac_cpp='$CPP $CPPFLAGS'
44842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44851 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44853 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44854 for ac_func in sqrtl
44855 do :
44856 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44857 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44858 cat >>confdefs.h <<_ACEOF
44859 #define HAVE_SQRTL 1
44860 _ACEOF
44863 done
44865 else
44867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44868 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44869 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44870 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44871 $as_echo_n "(cached) " >&6
44872 else
44875 ac_ext=cpp
44876 ac_cpp='$CXXCPP $CPPFLAGS'
44877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44882 /* end confdefs.h. */
44883 #include <math.h>
44884 #ifdef HAVE_IEEEFP_H
44885 #include <ieeefp.h>
44886 #endif
44889 main ()
44891 _sqrtl(0);
44893 return 0;
44895 _ACEOF
44896 if ac_fn_cxx_try_compile "$LINENO"; then :
44897 glibcxx_cv_func__sqrtl_use=yes
44898 else
44899 glibcxx_cv_func__sqrtl_use=no
44901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44902 ac_ext=c
44903 ac_cpp='$CPP $CPPFLAGS'
44904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44913 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44915 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44916 for ac_func in _sqrtl
44917 do :
44918 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44919 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44920 cat >>confdefs.h <<_ACEOF
44921 #define HAVE__SQRTL 1
44922 _ACEOF
44925 done
44934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44935 $as_echo_n "checking for sincosl declaration... " >&6; }
44936 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44937 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44938 $as_echo_n "(cached) " >&6
44939 else
44942 ac_ext=cpp
44943 ac_cpp='$CXXCPP $CPPFLAGS'
44944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44949 /* end confdefs.h. */
44950 #include <math.h>
44952 main ()
44954 sincosl(0, 0, 0);
44956 return 0;
44958 _ACEOF
44959 if ac_fn_cxx_try_compile "$LINENO"; then :
44960 glibcxx_cv_func_sincosl_use=yes
44961 else
44962 glibcxx_cv_func_sincosl_use=no
44964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44965 ac_ext=c
44966 ac_cpp='$CPP $CPPFLAGS'
44967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44976 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44978 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44979 for ac_func in sincosl
44980 do :
44981 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44982 if test "x$ac_cv_func_sincosl" = x""yes; then :
44983 cat >>confdefs.h <<_ACEOF
44984 #define HAVE_SINCOSL 1
44985 _ACEOF
44988 done
44990 else
44992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44993 $as_echo_n "checking for _sincosl declaration... " >&6; }
44994 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44995 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44996 $as_echo_n "(cached) " >&6
44997 else
45000 ac_ext=cpp
45001 ac_cpp='$CXXCPP $CPPFLAGS'
45002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45007 /* end confdefs.h. */
45008 #include <math.h>
45010 main ()
45012 _sincosl(0, 0, 0);
45014 return 0;
45016 _ACEOF
45017 if ac_fn_cxx_try_compile "$LINENO"; then :
45018 glibcxx_cv_func__sincosl_use=yes
45019 else
45020 glibcxx_cv_func__sincosl_use=no
45022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45023 ac_ext=c
45024 ac_cpp='$CPP $CPPFLAGS'
45025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45034 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45036 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45037 for ac_func in _sincosl
45038 do :
45039 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45040 if test "x$ac_cv_func__sincosl" = x""yes; then :
45041 cat >>confdefs.h <<_ACEOF
45042 #define HAVE__SINCOSL 1
45043 _ACEOF
45046 done
45055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45056 $as_echo_n "checking for finitel declaration... " >&6; }
45057 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45058 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45059 $as_echo_n "(cached) " >&6
45060 else
45063 ac_ext=cpp
45064 ac_cpp='$CXXCPP $CPPFLAGS'
45065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45070 /* end confdefs.h. */
45071 #include <math.h>
45072 #ifdef HAVE_IEEEFP_H
45073 #include <ieeefp.h>
45074 #endif
45077 main ()
45079 finitel(0);
45081 return 0;
45083 _ACEOF
45084 if ac_fn_cxx_try_compile "$LINENO"; then :
45085 glibcxx_cv_func_finitel_use=yes
45086 else
45087 glibcxx_cv_func_finitel_use=no
45089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45090 ac_ext=c
45091 ac_cpp='$CPP $CPPFLAGS'
45092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45101 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45103 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45104 for ac_func in finitel
45105 do :
45106 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45107 if test "x$ac_cv_func_finitel" = x""yes; then :
45108 cat >>confdefs.h <<_ACEOF
45109 #define HAVE_FINITEL 1
45110 _ACEOF
45113 done
45115 else
45117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45118 $as_echo_n "checking for _finitel declaration... " >&6; }
45119 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45120 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45121 $as_echo_n "(cached) " >&6
45122 else
45125 ac_ext=cpp
45126 ac_cpp='$CXXCPP $CPPFLAGS'
45127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45132 /* end confdefs.h. */
45133 #include <math.h>
45134 #ifdef HAVE_IEEEFP_H
45135 #include <ieeefp.h>
45136 #endif
45139 main ()
45141 _finitel(0);
45143 return 0;
45145 _ACEOF
45146 if ac_fn_cxx_try_compile "$LINENO"; then :
45147 glibcxx_cv_func__finitel_use=yes
45148 else
45149 glibcxx_cv_func__finitel_use=no
45151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45152 ac_ext=c
45153 ac_cpp='$CPP $CPPFLAGS'
45154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45163 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45165 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45166 for ac_func in _finitel
45167 do :
45168 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45169 if test "x$ac_cv_func__finitel" = x""yes; then :
45170 cat >>confdefs.h <<_ACEOF
45171 #define HAVE__FINITEL 1
45172 _ACEOF
45175 done
45183 LIBS="$ac_save_LIBS"
45184 CXXFLAGS="$ac_save_CXXFLAGS"
45187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45188 ac_save_CXXFLAGS="$CXXFLAGS"
45189 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45193 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45194 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45195 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45196 $as_echo_n "(cached) " >&6
45197 else
45200 ac_ext=cpp
45201 ac_cpp='$CXXCPP $CPPFLAGS'
45202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45207 /* end confdefs.h. */
45208 #include <stdlib.h>
45210 main ()
45212 at_quick_exit(0);
45214 return 0;
45216 _ACEOF
45217 if ac_fn_cxx_try_compile "$LINENO"; then :
45218 glibcxx_cv_func_at_quick_exit_use=yes
45219 else
45220 glibcxx_cv_func_at_quick_exit_use=no
45222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45223 ac_ext=c
45224 ac_cpp='$CPP $CPPFLAGS'
45225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45234 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45235 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45236 for ac_func in at_quick_exit
45237 do :
45238 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45239 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45240 cat >>confdefs.h <<_ACEOF
45241 #define HAVE_AT_QUICK_EXIT 1
45242 _ACEOF
45245 done
45250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45251 $as_echo_n "checking for quick_exit declaration... " >&6; }
45252 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45253 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45254 $as_echo_n "(cached) " >&6
45255 else
45258 ac_ext=cpp
45259 ac_cpp='$CXXCPP $CPPFLAGS'
45260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45265 /* end confdefs.h. */
45266 #include <stdlib.h>
45268 main ()
45270 quick_exit(0);
45272 return 0;
45274 _ACEOF
45275 if ac_fn_cxx_try_compile "$LINENO"; then :
45276 glibcxx_cv_func_quick_exit_use=yes
45277 else
45278 glibcxx_cv_func_quick_exit_use=no
45280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45281 ac_ext=c
45282 ac_cpp='$CPP $CPPFLAGS'
45283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45292 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45293 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45294 for ac_func in quick_exit
45295 do :
45296 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45297 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45298 cat >>confdefs.h <<_ACEOF
45299 #define HAVE_QUICK_EXIT 1
45300 _ACEOF
45303 done
45308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45309 $as_echo_n "checking for strtold declaration... " >&6; }
45310 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45311 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45312 $as_echo_n "(cached) " >&6
45313 else
45316 ac_ext=cpp
45317 ac_cpp='$CXXCPP $CPPFLAGS'
45318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45323 /* end confdefs.h. */
45324 #include <stdlib.h>
45326 main ()
45328 strtold(0, 0);
45330 return 0;
45332 _ACEOF
45333 if ac_fn_cxx_try_compile "$LINENO"; then :
45334 glibcxx_cv_func_strtold_use=yes
45335 else
45336 glibcxx_cv_func_strtold_use=no
45338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45339 ac_ext=c
45340 ac_cpp='$CPP $CPPFLAGS'
45341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45350 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45351 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45352 for ac_func in strtold
45353 do :
45354 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45355 if test "x$ac_cv_func_strtold" = x""yes; then :
45356 cat >>confdefs.h <<_ACEOF
45357 #define HAVE_STRTOLD 1
45358 _ACEOF
45361 done
45368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45369 $as_echo_n "checking for strtof declaration... " >&6; }
45370 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45371 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45372 $as_echo_n "(cached) " >&6
45373 else
45376 ac_ext=cpp
45377 ac_cpp='$CXXCPP $CPPFLAGS'
45378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45383 /* end confdefs.h. */
45384 #include <stdlib.h>
45386 main ()
45388 strtof(0, 0);
45390 return 0;
45392 _ACEOF
45393 if ac_fn_cxx_try_compile "$LINENO"; then :
45394 glibcxx_cv_func_strtof_use=yes
45395 else
45396 glibcxx_cv_func_strtof_use=no
45398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45399 ac_ext=c
45400 ac_cpp='$CPP $CPPFLAGS'
45401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45410 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45411 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45412 for ac_func in strtof
45413 do :
45414 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45415 if test "x$ac_cv_func_strtof" = x""yes; then :
45416 cat >>confdefs.h <<_ACEOF
45417 #define HAVE_STRTOF 1
45418 _ACEOF
45421 done
45428 CXXFLAGS="$ac_save_CXXFLAGS"
45432 *djgpp)
45433 # GLIBCXX_CHECK_MATH_SUPPORT
45434 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45436 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45438 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45440 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45442 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45446 *-freebsd*)
45447 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45450 # If we're not using GNU ld, then there's no point in even trying these
45451 # tests. Check for that first. We should have already tested for gld
45452 # by now (in libtool), but require it now just to be safe...
45453 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45454 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45458 # The name set by libtool depends on the version of libtool. Shame on us
45459 # for depending on an impl detail, but c'est la vie. Older versions used
45460 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45461 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45462 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45463 # set (hence we're using an older libtool), then set it.
45464 if test x${with_gnu_ld+set} != xset; then
45465 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45466 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45467 with_gnu_ld=no
45468 else
45469 with_gnu_ld=$ac_cv_prog_gnu_ld
45473 # Start by getting the version number. I think the libtool test already
45474 # does some of this, but throws away the result.
45475 glibcxx_ld_is_gold=no
45476 if test x"$with_gnu_ld" = x"yes"; then
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45478 $as_echo_n "checking for ld version... " >&6; }
45480 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45481 glibcxx_ld_is_gold=yes
45483 ldver=`$LD --version 2>/dev/null |
45484 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'`
45486 glibcxx_gnu_ld_version=`echo $ldver | \
45487 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45489 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45492 # Set --gc-sections.
45493 glibcxx_have_gc_sections=no
45494 if test "$glibcxx_ld_is_gold" = "yes"; then
45495 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45496 glibcxx_have_gc_sections=yes
45498 else
45499 glibcxx_gcsections_min_ld=21602
45500 if test x"$with_gnu_ld" = x"yes" &&
45501 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45502 glibcxx_have_gc_sections=yes
45505 if test "$glibcxx_have_gc_sections" = "yes"; then
45506 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45507 # NB: This flag only works reliably after 2.16.1. Configure tests
45508 # for this are difficult, so hard wire a value that should work.
45510 ac_test_CFLAGS="${CFLAGS+set}"
45511 ac_save_CFLAGS="$CFLAGS"
45512 CFLAGS='-Wl,--gc-sections'
45514 # Check for -Wl,--gc-sections
45515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45516 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45517 if test x$gcc_no_link = xyes; then
45518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45521 /* end confdefs.h. */
45522 int one(void) { return 1; }
45523 int two(void) { return 2; }
45526 main ()
45528 two();
45530 return 0;
45532 _ACEOF
45533 if ac_fn_c_try_link "$LINENO"; then :
45534 ac_gcsections=yes
45535 else
45536 ac_gcsections=no
45538 rm -f core conftest.err conftest.$ac_objext \
45539 conftest$ac_exeext conftest.$ac_ext
45540 if test "$ac_gcsections" = "yes"; then
45541 rm -f conftest.c
45542 touch conftest.c
45543 if $CC -c conftest.c; then
45544 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45545 grep "Warning: gc-sections option ignored" > /dev/null; then
45546 ac_gcsections=no
45549 rm -f conftest.c conftest.o conftest
45551 if test "$ac_gcsections" = "yes"; then
45552 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45555 $as_echo "$ac_gcsections" >&6; }
45557 if test "$ac_test_CFLAGS" = set; then
45558 CFLAGS="$ac_save_CFLAGS"
45559 else
45560 # this is the suspicious part
45561 CFLAGS=''
45565 # Set -z,relro.
45566 # Note this is only for shared objects.
45567 ac_ld_relro=no
45568 if test x"$with_gnu_ld" = x"yes"; then
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45570 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45571 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45572 if test -n "$cxx_z_relo"; then
45573 OPT_LDFLAGS="-Wl,-z,relro"
45574 ac_ld_relro=yes
45576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45577 $as_echo "$ac_ld_relro" >&6; }
45580 # Set linker optimization flags.
45581 if test x"$with_gnu_ld" = x"yes"; then
45582 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45588 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45590 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45592 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45594 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45596 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45598 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45600 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45602 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45604 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45607 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45609 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45611 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45613 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45615 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45617 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45619 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45621 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45623 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45625 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45627 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45629 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45631 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45633 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45635 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45637 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45639 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45641 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45643 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45645 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45647 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45649 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45651 if test x"long_double_math_on_this_cpu" = x"yes"; then
45652 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45654 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45656 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45660 *-hpux*)
45661 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45664 # If we're not using GNU ld, then there's no point in even trying these
45665 # tests. Check for that first. We should have already tested for gld
45666 # by now (in libtool), but require it now just to be safe...
45667 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45668 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45672 # The name set by libtool depends on the version of libtool. Shame on us
45673 # for depending on an impl detail, but c'est la vie. Older versions used
45674 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45675 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45676 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45677 # set (hence we're using an older libtool), then set it.
45678 if test x${with_gnu_ld+set} != xset; then
45679 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45680 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45681 with_gnu_ld=no
45682 else
45683 with_gnu_ld=$ac_cv_prog_gnu_ld
45687 # Start by getting the version number. I think the libtool test already
45688 # does some of this, but throws away the result.
45689 glibcxx_ld_is_gold=no
45690 if test x"$with_gnu_ld" = x"yes"; then
45691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45692 $as_echo_n "checking for ld version... " >&6; }
45694 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45695 glibcxx_ld_is_gold=yes
45697 ldver=`$LD --version 2>/dev/null |
45698 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'`
45700 glibcxx_gnu_ld_version=`echo $ldver | \
45701 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45703 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45706 # Set --gc-sections.
45707 glibcxx_have_gc_sections=no
45708 if test "$glibcxx_ld_is_gold" = "yes"; then
45709 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45710 glibcxx_have_gc_sections=yes
45712 else
45713 glibcxx_gcsections_min_ld=21602
45714 if test x"$with_gnu_ld" = x"yes" &&
45715 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45716 glibcxx_have_gc_sections=yes
45719 if test "$glibcxx_have_gc_sections" = "yes"; then
45720 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45721 # NB: This flag only works reliably after 2.16.1. Configure tests
45722 # for this are difficult, so hard wire a value that should work.
45724 ac_test_CFLAGS="${CFLAGS+set}"
45725 ac_save_CFLAGS="$CFLAGS"
45726 CFLAGS='-Wl,--gc-sections'
45728 # Check for -Wl,--gc-sections
45729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45730 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45731 if test x$gcc_no_link = xyes; then
45732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45735 /* end confdefs.h. */
45736 int one(void) { return 1; }
45737 int two(void) { return 2; }
45740 main ()
45742 two();
45744 return 0;
45746 _ACEOF
45747 if ac_fn_c_try_link "$LINENO"; then :
45748 ac_gcsections=yes
45749 else
45750 ac_gcsections=no
45752 rm -f core conftest.err conftest.$ac_objext \
45753 conftest$ac_exeext conftest.$ac_ext
45754 if test "$ac_gcsections" = "yes"; then
45755 rm -f conftest.c
45756 touch conftest.c
45757 if $CC -c conftest.c; then
45758 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45759 grep "Warning: gc-sections option ignored" > /dev/null; then
45760 ac_gcsections=no
45763 rm -f conftest.c conftest.o conftest
45765 if test "$ac_gcsections" = "yes"; then
45766 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45769 $as_echo "$ac_gcsections" >&6; }
45771 if test "$ac_test_CFLAGS" = set; then
45772 CFLAGS="$ac_save_CFLAGS"
45773 else
45774 # this is the suspicious part
45775 CFLAGS=''
45779 # Set -z,relro.
45780 # Note this is only for shared objects.
45781 ac_ld_relro=no
45782 if test x"$with_gnu_ld" = x"yes"; then
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45784 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45785 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45786 if test -n "$cxx_z_relo"; then
45787 OPT_LDFLAGS="-Wl,-z,relro"
45788 ac_ld_relro=yes
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45791 $as_echo "$ac_ld_relro" >&6; }
45794 # Set linker optimization flags.
45795 if test x"$with_gnu_ld" = x"yes"; then
45796 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45803 # GLIBCXX_CHECK_MATH_SUPPORT
45804 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45806 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45808 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45810 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45812 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45814 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45816 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45818 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45820 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45822 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45824 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45826 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45828 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45830 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45832 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45834 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45836 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45838 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45840 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45842 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45844 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45847 # GLIBCXX_CHECK_STDLIB_SUPPORT
45848 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45853 # Check whether --enable-tls was given.
45854 if test "${enable_tls+set}" = set; then :
45855 enableval=$enable_tls;
45856 case "$enableval" in
45857 yes|no) ;;
45858 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45859 esac
45861 else
45862 enable_tls=yes
45866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45867 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45868 if test "${gcc_cv_have_tls+set}" = set; then :
45869 $as_echo_n "(cached) " >&6
45870 else
45872 if test "$cross_compiling" = yes; then :
45873 if test x$gcc_no_link = xyes; then
45874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45877 /* end confdefs.h. */
45878 __thread int a; int b; int main() { return a = b; }
45879 _ACEOF
45880 if ac_fn_c_try_link "$LINENO"; then :
45881 chktls_save_LDFLAGS="$LDFLAGS"
45882 case $host in
45883 *-*-linux*)
45884 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45886 esac
45887 chktls_save_CFLAGS="$CFLAGS"
45888 CFLAGS="-fPIC $CFLAGS"
45889 if test x$gcc_no_link = xyes; then
45890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45893 /* end confdefs.h. */
45894 int f() { return 0; }
45895 _ACEOF
45896 if ac_fn_c_try_link "$LINENO"; then :
45897 if test x$gcc_no_link = xyes; then
45898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45901 /* end confdefs.h. */
45902 __thread int a; int b; int f() { return a = b; }
45903 _ACEOF
45904 if ac_fn_c_try_link "$LINENO"; then :
45905 gcc_cv_have_tls=yes
45906 else
45907 gcc_cv_have_tls=no
45909 rm -f core conftest.err conftest.$ac_objext \
45910 conftest$ac_exeext conftest.$ac_ext
45911 else
45912 gcc_cv_have_tls=yes
45914 rm -f core conftest.err conftest.$ac_objext \
45915 conftest$ac_exeext conftest.$ac_ext
45916 CFLAGS="$chktls_save_CFLAGS"
45917 LDFLAGS="$chktls_save_LDFLAGS"
45918 else
45919 gcc_cv_have_tls=no
45921 rm -f core conftest.err conftest.$ac_objext \
45922 conftest$ac_exeext conftest.$ac_ext
45925 else
45926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45927 /* end confdefs.h. */
45928 __thread int a; int b; int main() { return a = b; }
45929 _ACEOF
45930 if ac_fn_c_try_run "$LINENO"; then :
45931 chktls_save_LDFLAGS="$LDFLAGS"
45932 LDFLAGS="-static $LDFLAGS"
45933 if test x$gcc_no_link = xyes; then
45934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45937 /* end confdefs.h. */
45938 int main() { return 0; }
45939 _ACEOF
45940 if ac_fn_c_try_link "$LINENO"; then :
45941 if test "$cross_compiling" = yes; then :
45942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45944 as_fn_error "cannot run test program while cross compiling
45945 See \`config.log' for more details." "$LINENO" 5; }
45946 else
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 __thread int a; int b; int main() { return a = b; }
45950 _ACEOF
45951 if ac_fn_c_try_run "$LINENO"; then :
45952 gcc_cv_have_tls=yes
45953 else
45954 gcc_cv_have_tls=no
45956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45957 conftest.$ac_objext conftest.beam conftest.$ac_ext
45960 else
45961 gcc_cv_have_tls=yes
45963 rm -f core conftest.err conftest.$ac_objext \
45964 conftest$ac_exeext conftest.$ac_ext
45965 LDFLAGS="$chktls_save_LDFLAGS"
45966 if test $gcc_cv_have_tls = yes; then
45967 chktls_save_CFLAGS="$CFLAGS"
45968 thread_CFLAGS=failed
45969 for flag in '' '-pthread' '-lpthread'; do
45970 CFLAGS="$flag $chktls_save_CFLAGS"
45971 if test x$gcc_no_link = xyes; then
45972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h. */
45976 #include <pthread.h>
45977 void *g(void *d) { return NULL; }
45979 main ()
45981 pthread_t t; pthread_create(&t,NULL,g,NULL);
45983 return 0;
45985 _ACEOF
45986 if ac_fn_c_try_link "$LINENO"; then :
45987 thread_CFLAGS="$flag"
45989 rm -f core conftest.err conftest.$ac_objext \
45990 conftest$ac_exeext conftest.$ac_ext
45991 if test "X$thread_CFLAGS" != Xfailed; then
45992 break
45994 done
45995 CFLAGS="$chktls_save_CFLAGS"
45996 if test "X$thread_CFLAGS" != Xfailed; then
45997 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45998 if test "$cross_compiling" = yes; then :
45999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46001 as_fn_error "cannot run test program while cross compiling
46002 See \`config.log' for more details." "$LINENO" 5; }
46003 else
46004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46005 /* end confdefs.h. */
46006 #include <pthread.h>
46007 __thread int a;
46008 static int *volatile a_in_other_thread;
46009 static void *
46010 thread_func (void *arg)
46012 a_in_other_thread = &a;
46013 return (void *)0;
46016 main ()
46018 pthread_t thread;
46019 void *thread_retval;
46020 int *volatile a_in_main_thread;
46021 a_in_main_thread = &a;
46022 if (pthread_create (&thread, (pthread_attr_t *)0,
46023 thread_func, (void *)0))
46024 return 0;
46025 if (pthread_join (thread, &thread_retval))
46026 return 0;
46027 return (a_in_other_thread == a_in_main_thread);
46029 return 0;
46031 _ACEOF
46032 if ac_fn_c_try_run "$LINENO"; then :
46033 gcc_cv_have_tls=yes
46034 else
46035 gcc_cv_have_tls=no
46037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46038 conftest.$ac_objext conftest.beam conftest.$ac_ext
46041 CFLAGS="$chktls_save_CFLAGS"
46044 else
46045 gcc_cv_have_tls=no
46047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46048 conftest.$ac_objext conftest.beam conftest.$ac_ext
46052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46053 $as_echo "$gcc_cv_have_tls" >&6; }
46054 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46056 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46059 case "$target" in
46060 *-hpux10*)
46061 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46063 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46065 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46067 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46069 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46072 esac
46074 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46076 # All these tests are for C++; save the language and the compiler flags.
46077 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46078 # found in GLIBCXX_CONFIGURE.
46080 ac_ext=cpp
46081 ac_cpp='$CXXCPP $CPPFLAGS'
46082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46086 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46087 ac_save_CXXFLAGS="$CXXFLAGS"
46089 # Check for maintainer-mode bits.
46090 if test x"$USE_MAINTAINER_MODE" = xno; then
46091 WERROR=''
46092 else
46093 WERROR='-Werror'
46096 # Check for -ffunction-sections -fdata-sections
46097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46098 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46099 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46101 /* end confdefs.h. */
46102 int foo; void bar() { };
46104 main ()
46108 return 0;
46110 _ACEOF
46111 if ac_fn_cxx_try_compile "$LINENO"; then :
46112 ac_fdsections=yes
46113 else
46114 ac_fdsections=no
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117 if test "$ac_test_CXXFLAGS" = set; then
46118 CXXFLAGS="$ac_save_CXXFLAGS"
46119 else
46120 # this is the suspicious part
46121 CXXFLAGS=''
46123 if test x"$ac_fdsections" = x"yes"; then
46124 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46127 $as_echo "$ac_fdsections" >&6; }
46129 ac_ext=c
46130 ac_cpp='$CPP $CPPFLAGS'
46131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46139 # If we're not using GNU ld, then there's no point in even trying these
46140 # tests. Check for that first. We should have already tested for gld
46141 # by now (in libtool), but require it now just to be safe...
46142 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46143 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46147 # The name set by libtool depends on the version of libtool. Shame on us
46148 # for depending on an impl detail, but c'est la vie. Older versions used
46149 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46150 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46151 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46152 # set (hence we're using an older libtool), then set it.
46153 if test x${with_gnu_ld+set} != xset; then
46154 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46155 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46156 with_gnu_ld=no
46157 else
46158 with_gnu_ld=$ac_cv_prog_gnu_ld
46162 # Start by getting the version number. I think the libtool test already
46163 # does some of this, but throws away the result.
46164 glibcxx_ld_is_gold=no
46165 if test x"$with_gnu_ld" = x"yes"; then
46166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46167 $as_echo_n "checking for ld version... " >&6; }
46169 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46170 glibcxx_ld_is_gold=yes
46172 ldver=`$LD --version 2>/dev/null |
46173 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'`
46175 glibcxx_gnu_ld_version=`echo $ldver | \
46176 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46178 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46181 # Set --gc-sections.
46182 glibcxx_have_gc_sections=no
46183 if test "$glibcxx_ld_is_gold" = "yes"; then
46184 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46185 glibcxx_have_gc_sections=yes
46187 else
46188 glibcxx_gcsections_min_ld=21602
46189 if test x"$with_gnu_ld" = x"yes" &&
46190 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46191 glibcxx_have_gc_sections=yes
46194 if test "$glibcxx_have_gc_sections" = "yes"; then
46195 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46196 # NB: This flag only works reliably after 2.16.1. Configure tests
46197 # for this are difficult, so hard wire a value that should work.
46199 ac_test_CFLAGS="${CFLAGS+set}"
46200 ac_save_CFLAGS="$CFLAGS"
46201 CFLAGS='-Wl,--gc-sections'
46203 # Check for -Wl,--gc-sections
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46205 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46206 if test x$gcc_no_link = xyes; then
46207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46210 /* end confdefs.h. */
46211 int one(void) { return 1; }
46212 int two(void) { return 2; }
46215 main ()
46217 two();
46219 return 0;
46221 _ACEOF
46222 if ac_fn_c_try_link "$LINENO"; then :
46223 ac_gcsections=yes
46224 else
46225 ac_gcsections=no
46227 rm -f core conftest.err conftest.$ac_objext \
46228 conftest$ac_exeext conftest.$ac_ext
46229 if test "$ac_gcsections" = "yes"; then
46230 rm -f conftest.c
46231 touch conftest.c
46232 if $CC -c conftest.c; then
46233 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46234 grep "Warning: gc-sections option ignored" > /dev/null; then
46235 ac_gcsections=no
46238 rm -f conftest.c conftest.o conftest
46240 if test "$ac_gcsections" = "yes"; then
46241 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46244 $as_echo "$ac_gcsections" >&6; }
46246 if test "$ac_test_CFLAGS" = set; then
46247 CFLAGS="$ac_save_CFLAGS"
46248 else
46249 # this is the suspicious part
46250 CFLAGS=''
46254 # Set -z,relro.
46255 # Note this is only for shared objects.
46256 ac_ld_relro=no
46257 if test x"$with_gnu_ld" = x"yes"; then
46258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46259 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46260 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46261 if test -n "$cxx_z_relo"; then
46262 OPT_LDFLAGS="-Wl,-z,relro"
46263 ac_ld_relro=yes
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46266 $as_echo "$ac_ld_relro" >&6; }
46269 # Set linker optimization flags.
46270 if test x"$with_gnu_ld" = x"yes"; then
46271 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46278 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46279 ac_save_CXXFLAGS="$CXXFLAGS"
46280 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46283 $as_echo_n "checking for sin in -lm... " >&6; }
46284 if test "${ac_cv_lib_m_sin+set}" = set; then :
46285 $as_echo_n "(cached) " >&6
46286 else
46287 ac_check_lib_save_LIBS=$LIBS
46288 LIBS="-lm $LIBS"
46289 if test x$gcc_no_link = xyes; then
46290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46293 /* end confdefs.h. */
46295 /* Override any GCC internal prototype to avoid an error.
46296 Use char because int might match the return type of a GCC
46297 builtin and then its argument prototype would still apply. */
46298 #ifdef __cplusplus
46299 extern "C"
46300 #endif
46301 char sin ();
46303 main ()
46305 return sin ();
46307 return 0;
46309 _ACEOF
46310 if ac_fn_c_try_link "$LINENO"; then :
46311 ac_cv_lib_m_sin=yes
46312 else
46313 ac_cv_lib_m_sin=no
46315 rm -f core conftest.err conftest.$ac_objext \
46316 conftest$ac_exeext conftest.$ac_ext
46317 LIBS=$ac_check_lib_save_LIBS
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46320 $as_echo "$ac_cv_lib_m_sin" >&6; }
46321 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46322 libm="-lm"
46325 ac_save_LIBS="$LIBS"
46326 LIBS="$LIBS $libm"
46330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46331 $as_echo_n "checking for isinf declaration... " >&6; }
46332 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46333 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46334 $as_echo_n "(cached) " >&6
46335 else
46338 ac_ext=cpp
46339 ac_cpp='$CXXCPP $CPPFLAGS'
46340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46345 /* end confdefs.h. */
46346 #include <math.h>
46347 #ifdef HAVE_IEEEFP_H
46348 #include <ieeefp.h>
46349 #endif
46352 main ()
46354 isinf(0);
46356 return 0;
46358 _ACEOF
46359 if ac_fn_cxx_try_compile "$LINENO"; then :
46360 glibcxx_cv_func_isinf_use=yes
46361 else
46362 glibcxx_cv_func_isinf_use=no
46364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46365 ac_ext=c
46366 ac_cpp='$CPP $CPPFLAGS'
46367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46376 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46378 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46379 for ac_func in isinf
46380 do :
46381 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46382 if test "x$ac_cv_func_isinf" = x""yes; then :
46383 cat >>confdefs.h <<_ACEOF
46384 #define HAVE_ISINF 1
46385 _ACEOF
46388 done
46390 else
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46393 $as_echo_n "checking for _isinf declaration... " >&6; }
46394 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46395 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46396 $as_echo_n "(cached) " >&6
46397 else
46400 ac_ext=cpp
46401 ac_cpp='$CXXCPP $CPPFLAGS'
46402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46407 /* end confdefs.h. */
46408 #include <math.h>
46409 #ifdef HAVE_IEEEFP_H
46410 #include <ieeefp.h>
46411 #endif
46414 main ()
46416 _isinf(0);
46418 return 0;
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func__isinf_use=yes
46423 else
46424 glibcxx_cv_func__isinf_use=no
46426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46427 ac_ext=c
46428 ac_cpp='$CPP $CPPFLAGS'
46429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46438 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46440 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46441 for ac_func in _isinf
46442 do :
46443 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46444 if test "x$ac_cv_func__isinf" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE__ISINF 1
46447 _ACEOF
46450 done
46459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46460 $as_echo_n "checking for isnan declaration... " >&6; }
46461 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46462 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46463 $as_echo_n "(cached) " >&6
46464 else
46467 ac_ext=cpp
46468 ac_cpp='$CXXCPP $CPPFLAGS'
46469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46474 /* end confdefs.h. */
46475 #include <math.h>
46476 #ifdef HAVE_IEEEFP_H
46477 #include <ieeefp.h>
46478 #endif
46481 main ()
46483 isnan(0);
46485 return 0;
46487 _ACEOF
46488 if ac_fn_cxx_try_compile "$LINENO"; then :
46489 glibcxx_cv_func_isnan_use=yes
46490 else
46491 glibcxx_cv_func_isnan_use=no
46493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46494 ac_ext=c
46495 ac_cpp='$CPP $CPPFLAGS'
46496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46505 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46507 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46508 for ac_func in isnan
46509 do :
46510 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46511 if test "x$ac_cv_func_isnan" = x""yes; then :
46512 cat >>confdefs.h <<_ACEOF
46513 #define HAVE_ISNAN 1
46514 _ACEOF
46517 done
46519 else
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46522 $as_echo_n "checking for _isnan declaration... " >&6; }
46523 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46524 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46525 $as_echo_n "(cached) " >&6
46526 else
46529 ac_ext=cpp
46530 ac_cpp='$CXXCPP $CPPFLAGS'
46531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46536 /* end confdefs.h. */
46537 #include <math.h>
46538 #ifdef HAVE_IEEEFP_H
46539 #include <ieeefp.h>
46540 #endif
46543 main ()
46545 _isnan(0);
46547 return 0;
46549 _ACEOF
46550 if ac_fn_cxx_try_compile "$LINENO"; then :
46551 glibcxx_cv_func__isnan_use=yes
46552 else
46553 glibcxx_cv_func__isnan_use=no
46555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46556 ac_ext=c
46557 ac_cpp='$CPP $CPPFLAGS'
46558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46567 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46569 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46570 for ac_func in _isnan
46571 do :
46572 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46573 if test "x$ac_cv_func__isnan" = x""yes; then :
46574 cat >>confdefs.h <<_ACEOF
46575 #define HAVE__ISNAN 1
46576 _ACEOF
46579 done
46588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46589 $as_echo_n "checking for finite declaration... " >&6; }
46590 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46591 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46592 $as_echo_n "(cached) " >&6
46593 else
46596 ac_ext=cpp
46597 ac_cpp='$CXXCPP $CPPFLAGS'
46598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46603 /* end confdefs.h. */
46604 #include <math.h>
46605 #ifdef HAVE_IEEEFP_H
46606 #include <ieeefp.h>
46607 #endif
46610 main ()
46612 finite(0);
46614 return 0;
46616 _ACEOF
46617 if ac_fn_cxx_try_compile "$LINENO"; then :
46618 glibcxx_cv_func_finite_use=yes
46619 else
46620 glibcxx_cv_func_finite_use=no
46622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46623 ac_ext=c
46624 ac_cpp='$CPP $CPPFLAGS'
46625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46634 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46636 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46637 for ac_func in finite
46638 do :
46639 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46640 if test "x$ac_cv_func_finite" = x""yes; then :
46641 cat >>confdefs.h <<_ACEOF
46642 #define HAVE_FINITE 1
46643 _ACEOF
46646 done
46648 else
46650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46651 $as_echo_n "checking for _finite declaration... " >&6; }
46652 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46653 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46654 $as_echo_n "(cached) " >&6
46655 else
46658 ac_ext=cpp
46659 ac_cpp='$CXXCPP $CPPFLAGS'
46660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46665 /* end confdefs.h. */
46666 #include <math.h>
46667 #ifdef HAVE_IEEEFP_H
46668 #include <ieeefp.h>
46669 #endif
46672 main ()
46674 _finite(0);
46676 return 0;
46678 _ACEOF
46679 if ac_fn_cxx_try_compile "$LINENO"; then :
46680 glibcxx_cv_func__finite_use=yes
46681 else
46682 glibcxx_cv_func__finite_use=no
46684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46685 ac_ext=c
46686 ac_cpp='$CPP $CPPFLAGS'
46687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46696 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46698 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46699 for ac_func in _finite
46700 do :
46701 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46702 if test "x$ac_cv_func__finite" = x""yes; then :
46703 cat >>confdefs.h <<_ACEOF
46704 #define HAVE__FINITE 1
46705 _ACEOF
46708 done
46717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46718 $as_echo_n "checking for sincos declaration... " >&6; }
46719 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46720 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46721 $as_echo_n "(cached) " >&6
46722 else
46725 ac_ext=cpp
46726 ac_cpp='$CXXCPP $CPPFLAGS'
46727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46732 /* end confdefs.h. */
46733 #include <math.h>
46735 main ()
46737 sincos(0, 0, 0);
46739 return 0;
46741 _ACEOF
46742 if ac_fn_cxx_try_compile "$LINENO"; then :
46743 glibcxx_cv_func_sincos_use=yes
46744 else
46745 glibcxx_cv_func_sincos_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_sincos_use" >&5
46759 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46761 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46762 for ac_func in sincos
46763 do :
46764 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46765 if test "x$ac_cv_func_sincos" = x""yes; then :
46766 cat >>confdefs.h <<_ACEOF
46767 #define HAVE_SINCOS 1
46768 _ACEOF
46771 done
46773 else
46775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46776 $as_echo_n "checking for _sincos declaration... " >&6; }
46777 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46778 if test "${glibcxx_cv_func__sincos_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>
46793 main ()
46795 _sincos(0, 0, 0);
46797 return 0;
46799 _ACEOF
46800 if ac_fn_cxx_try_compile "$LINENO"; then :
46801 glibcxx_cv_func__sincos_use=yes
46802 else
46803 glibcxx_cv_func__sincos_use=no
46805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46806 ac_ext=c
46807 ac_cpp='$CPP $CPPFLAGS'
46808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46817 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46819 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46820 for ac_func in _sincos
46821 do :
46822 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46823 if test "x$ac_cv_func__sincos" = x""yes; then :
46824 cat >>confdefs.h <<_ACEOF
46825 #define HAVE__SINCOS 1
46826 _ACEOF
46829 done
46838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46839 $as_echo_n "checking for fpclass declaration... " >&6; }
46840 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46841 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46842 $as_echo_n "(cached) " >&6
46843 else
46846 ac_ext=cpp
46847 ac_cpp='$CXXCPP $CPPFLAGS'
46848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46853 /* end confdefs.h. */
46854 #include <math.h>
46855 #ifdef HAVE_IEEEFP_H
46856 #include <ieeefp.h>
46857 #endif
46860 main ()
46862 fpclass(0);
46864 return 0;
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868 glibcxx_cv_func_fpclass_use=yes
46869 else
46870 glibcxx_cv_func_fpclass_use=no
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873 ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46884 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46886 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46887 for ac_func in fpclass
46888 do :
46889 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46890 if test "x$ac_cv_func_fpclass" = x""yes; then :
46891 cat >>confdefs.h <<_ACEOF
46892 #define HAVE_FPCLASS 1
46893 _ACEOF
46896 done
46898 else
46900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46901 $as_echo_n "checking for _fpclass declaration... " >&6; }
46902 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46903 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46904 $as_echo_n "(cached) " >&6
46905 else
46908 ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h. */
46916 #include <math.h>
46917 #ifdef HAVE_IEEEFP_H
46918 #include <ieeefp.h>
46919 #endif
46922 main ()
46924 _fpclass(0);
46926 return 0;
46928 _ACEOF
46929 if ac_fn_cxx_try_compile "$LINENO"; then :
46930 glibcxx_cv_func__fpclass_use=yes
46931 else
46932 glibcxx_cv_func__fpclass_use=no
46934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46935 ac_ext=c
46936 ac_cpp='$CPP $CPPFLAGS'
46937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46946 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46948 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46949 for ac_func in _fpclass
46950 do :
46951 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46952 if test "x$ac_cv_func__fpclass" = x""yes; then :
46953 cat >>confdefs.h <<_ACEOF
46954 #define HAVE__FPCLASS 1
46955 _ACEOF
46958 done
46967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46968 $as_echo_n "checking for qfpclass declaration... " >&6; }
46969 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46970 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46971 $as_echo_n "(cached) " >&6
46972 else
46975 ac_ext=cpp
46976 ac_cpp='$CXXCPP $CPPFLAGS'
46977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46982 /* end confdefs.h. */
46983 #include <math.h>
46984 #ifdef HAVE_IEEEFP_H
46985 #include <ieeefp.h>
46986 #endif
46989 main ()
46991 qfpclass(0);
46993 return 0;
46995 _ACEOF
46996 if ac_fn_cxx_try_compile "$LINENO"; then :
46997 glibcxx_cv_func_qfpclass_use=yes
46998 else
46999 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
47013 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47015 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47016 for ac_func in qfpclass
47017 do :
47018 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47019 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47020 cat >>confdefs.h <<_ACEOF
47021 #define HAVE_QFPCLASS 1
47022 _ACEOF
47025 done
47027 else
47029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47030 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47031 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47032 if test "${glibcxx_cv_func__qfpclass_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>
47046 #ifdef HAVE_IEEEFP_H
47047 #include <ieeefp.h>
47048 #endif
47051 main ()
47053 _qfpclass(0);
47055 return 0;
47057 _ACEOF
47058 if ac_fn_cxx_try_compile "$LINENO"; then :
47059 glibcxx_cv_func__qfpclass_use=yes
47060 else
47061 glibcxx_cv_func__qfpclass_use=no
47063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47064 ac_ext=c
47065 ac_cpp='$CPP $CPPFLAGS'
47066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47075 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47077 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47078 for ac_func in _qfpclass
47079 do :
47080 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47081 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47082 cat >>confdefs.h <<_ACEOF
47083 #define HAVE__QFPCLASS 1
47084 _ACEOF
47087 done
47096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47097 $as_echo_n "checking for hypot declaration... " >&6; }
47098 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47099 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47100 $as_echo_n "(cached) " >&6
47101 else
47104 ac_ext=cpp
47105 ac_cpp='$CXXCPP $CPPFLAGS'
47106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47111 /* end confdefs.h. */
47112 #include <math.h>
47114 main ()
47116 hypot(0, 0);
47118 return 0;
47120 _ACEOF
47121 if ac_fn_cxx_try_compile "$LINENO"; then :
47122 glibcxx_cv_func_hypot_use=yes
47123 else
47124 glibcxx_cv_func_hypot_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_hypot_use" >&5
47138 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47140 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47141 for ac_func in hypot
47142 do :
47143 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47144 if test "x$ac_cv_func_hypot" = x""yes; then :
47145 cat >>confdefs.h <<_ACEOF
47146 #define HAVE_HYPOT 1
47147 _ACEOF
47150 done
47152 else
47154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47155 $as_echo_n "checking for _hypot declaration... " >&6; }
47156 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47157 if test "${glibcxx_cv_func__hypot_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>
47172 main ()
47174 _hypot(0, 0);
47176 return 0;
47178 _ACEOF
47179 if ac_fn_cxx_try_compile "$LINENO"; then :
47180 glibcxx_cv_func__hypot_use=yes
47181 else
47182 glibcxx_cv_func__hypot_use=no
47184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47185 ac_ext=c
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47196 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47198 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47199 for ac_func in _hypot
47200 do :
47201 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47202 if test "x$ac_cv_func__hypot" = x""yes; then :
47203 cat >>confdefs.h <<_ACEOF
47204 #define HAVE__HYPOT 1
47205 _ACEOF
47208 done
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47218 $as_echo_n "checking for float trig functions... " >&6; }
47219 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47220 $as_echo_n "(cached) " >&6
47221 else
47224 ac_ext=cpp
47225 ac_cpp='$CXXCPP $CPPFLAGS'
47226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47232 #include <math.h>
47234 main ()
47236 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47238 return 0;
47240 _ACEOF
47241 if ac_fn_cxx_try_compile "$LINENO"; then :
47242 glibcxx_cv_func_float_trig_use=yes
47243 else
47244 glibcxx_cv_func_float_trig_use=no
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47256 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47257 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47258 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47259 do :
47260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47262 eval as_val=\$$as_ac_var
47263 if test "x$as_val" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47266 _ACEOF
47269 done
47271 else
47272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47273 $as_echo_n "checking for _float trig functions... " >&6; }
47274 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47275 $as_echo_n "(cached) " >&6
47276 else
47279 ac_ext=cpp
47280 ac_cpp='$CXXCPP $CPPFLAGS'
47281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47286 /* end confdefs.h. */
47287 #include <math.h>
47289 main ()
47291 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47293 return 0;
47295 _ACEOF
47296 if ac_fn_cxx_try_compile "$LINENO"; then :
47297 glibcxx_cv_func__float_trig_use=yes
47298 else
47299 glibcxx_cv_func__float_trig_use=no
47301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47302 ac_ext=c
47303 ac_cpp='$CPP $CPPFLAGS'
47304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47311 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47312 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47313 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47314 do :
47315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47317 eval as_val=\$$as_ac_var
47318 if test "x$as_val" = x""yes; then :
47319 cat >>confdefs.h <<_ACEOF
47320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47321 _ACEOF
47324 done
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47334 $as_echo_n "checking for float round functions... " >&6; }
47335 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47336 $as_echo_n "(cached) " >&6
47337 else
47340 ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h. */
47348 #include <math.h>
47350 main ()
47352 ceilf (0); floorf (0);
47354 return 0;
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358 glibcxx_cv_func_float_round_use=yes
47359 else
47360 glibcxx_cv_func_float_round_use=no
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47372 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47373 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47374 for ac_func in ceilf floorf
47375 do :
47376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47378 eval as_val=\$$as_ac_var
47379 if test "x$as_val" = x""yes; then :
47380 cat >>confdefs.h <<_ACEOF
47381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47382 _ACEOF
47385 done
47387 else
47388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47389 $as_echo_n "checking for _float round functions... " >&6; }
47390 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47391 $as_echo_n "(cached) " >&6
47392 else
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h. */
47403 #include <math.h>
47405 main ()
47407 _ceilf (0); _floorf (0);
47409 return 0;
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func__float_round_use=yes
47414 else
47415 glibcxx_cv_func__float_round_use=no
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47427 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47428 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47429 for ac_func in _ceilf _floorf
47430 do :
47431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47433 eval as_val=\$$as_ac_var
47434 if test "x$as_val" = x""yes; then :
47435 cat >>confdefs.h <<_ACEOF
47436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47437 _ACEOF
47440 done
47450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47451 $as_echo_n "checking for expf declaration... " >&6; }
47452 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47453 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47454 $as_echo_n "(cached) " >&6
47455 else
47458 ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <math.h>
47467 #ifdef HAVE_IEEEFP_H
47468 #include <ieeefp.h>
47469 #endif
47472 main ()
47474 expf(0);
47476 return 0;
47478 _ACEOF
47479 if ac_fn_cxx_try_compile "$LINENO"; then :
47480 glibcxx_cv_func_expf_use=yes
47481 else
47482 glibcxx_cv_func_expf_use=no
47484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47485 ac_ext=c
47486 ac_cpp='$CPP $CPPFLAGS'
47487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47496 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47498 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47499 for ac_func in expf
47500 do :
47501 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47502 if test "x$ac_cv_func_expf" = x""yes; then :
47503 cat >>confdefs.h <<_ACEOF
47504 #define HAVE_EXPF 1
47505 _ACEOF
47508 done
47510 else
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47513 $as_echo_n "checking for _expf declaration... " >&6; }
47514 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47515 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47516 $as_echo_n "(cached) " >&6
47517 else
47520 ac_ext=cpp
47521 ac_cpp='$CXXCPP $CPPFLAGS'
47522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47527 /* end confdefs.h. */
47528 #include <math.h>
47529 #ifdef HAVE_IEEEFP_H
47530 #include <ieeefp.h>
47531 #endif
47534 main ()
47536 _expf(0);
47538 return 0;
47540 _ACEOF
47541 if ac_fn_cxx_try_compile "$LINENO"; then :
47542 glibcxx_cv_func__expf_use=yes
47543 else
47544 glibcxx_cv_func__expf_use=no
47546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47547 ac_ext=c
47548 ac_cpp='$CPP $CPPFLAGS'
47549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47558 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47560 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47561 for ac_func in _expf
47562 do :
47563 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47564 if test "x$ac_cv_func__expf" = x""yes; then :
47565 cat >>confdefs.h <<_ACEOF
47566 #define HAVE__EXPF 1
47567 _ACEOF
47570 done
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47580 $as_echo_n "checking for isnanf declaration... " >&6; }
47581 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47582 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47583 $as_echo_n "(cached) " >&6
47584 else
47587 ac_ext=cpp
47588 ac_cpp='$CXXCPP $CPPFLAGS'
47589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47594 /* end confdefs.h. */
47595 #include <math.h>
47596 #ifdef HAVE_IEEEFP_H
47597 #include <ieeefp.h>
47598 #endif
47601 main ()
47603 isnanf(0);
47605 return 0;
47607 _ACEOF
47608 if ac_fn_cxx_try_compile "$LINENO"; then :
47609 glibcxx_cv_func_isnanf_use=yes
47610 else
47611 glibcxx_cv_func_isnanf_use=no
47613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47614 ac_ext=c
47615 ac_cpp='$CPP $CPPFLAGS'
47616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47625 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47627 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47628 for ac_func in isnanf
47629 do :
47630 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47631 if test "x$ac_cv_func_isnanf" = x""yes; then :
47632 cat >>confdefs.h <<_ACEOF
47633 #define HAVE_ISNANF 1
47634 _ACEOF
47637 done
47639 else
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47642 $as_echo_n "checking for _isnanf declaration... " >&6; }
47643 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47644 if test "${glibcxx_cv_func__isnanf_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>
47658 #ifdef HAVE_IEEEFP_H
47659 #include <ieeefp.h>
47660 #endif
47663 main ()
47665 _isnanf(0);
47667 return 0;
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func__isnanf_use=yes
47672 else
47673 glibcxx_cv_func__isnanf_use=no
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47687 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47689 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47690 for ac_func in _isnanf
47691 do :
47692 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47693 if test "x$ac_cv_func__isnanf" = x""yes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE__ISNANF 1
47696 _ACEOF
47699 done
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47709 $as_echo_n "checking for isinff declaration... " >&6; }
47710 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47711 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47712 $as_echo_n "(cached) " >&6
47713 else
47716 ac_ext=cpp
47717 ac_cpp='$CXXCPP $CPPFLAGS'
47718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47723 /* end confdefs.h. */
47724 #include <math.h>
47725 #ifdef HAVE_IEEEFP_H
47726 #include <ieeefp.h>
47727 #endif
47730 main ()
47732 isinff(0);
47734 return 0;
47736 _ACEOF
47737 if ac_fn_cxx_try_compile "$LINENO"; then :
47738 glibcxx_cv_func_isinff_use=yes
47739 else
47740 glibcxx_cv_func_isinff_use=no
47742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47743 ac_ext=c
47744 ac_cpp='$CPP $CPPFLAGS'
47745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47754 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47756 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47757 for ac_func in isinff
47758 do :
47759 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47760 if test "x$ac_cv_func_isinff" = x""yes; then :
47761 cat >>confdefs.h <<_ACEOF
47762 #define HAVE_ISINFF 1
47763 _ACEOF
47766 done
47768 else
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47771 $as_echo_n "checking for _isinff declaration... " >&6; }
47772 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47773 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47774 $as_echo_n "(cached) " >&6
47775 else
47778 ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47786 #include <math.h>
47787 #ifdef HAVE_IEEEFP_H
47788 #include <ieeefp.h>
47789 #endif
47792 main ()
47794 _isinff(0);
47796 return 0;
47798 _ACEOF
47799 if ac_fn_cxx_try_compile "$LINENO"; then :
47800 glibcxx_cv_func__isinff_use=yes
47801 else
47802 glibcxx_cv_func__isinff_use=no
47804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47805 ac_ext=c
47806 ac_cpp='$CPP $CPPFLAGS'
47807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47816 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47818 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47819 for ac_func in _isinff
47820 do :
47821 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47822 if test "x$ac_cv_func__isinff" = x""yes; then :
47823 cat >>confdefs.h <<_ACEOF
47824 #define HAVE__ISINFF 1
47825 _ACEOF
47828 done
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47838 $as_echo_n "checking for atan2f declaration... " >&6; }
47839 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47840 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47855 main ()
47857 atan2f(0, 0);
47859 return 0;
47861 _ACEOF
47862 if ac_fn_cxx_try_compile "$LINENO"; then :
47863 glibcxx_cv_func_atan2f_use=yes
47864 else
47865 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
47879 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47881 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47882 for ac_func in atan2f
47883 do :
47884 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47885 if test "x$ac_cv_func_atan2f" = x""yes; then :
47886 cat >>confdefs.h <<_ACEOF
47887 #define HAVE_ATAN2F 1
47888 _ACEOF
47891 done
47893 else
47895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47896 $as_echo_n "checking for _atan2f declaration... " >&6; }
47897 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47898 if test "${glibcxx_cv_func__atan2f_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>
47913 main ()
47915 _atan2f(0, 0);
47917 return 0;
47919 _ACEOF
47920 if ac_fn_cxx_try_compile "$LINENO"; then :
47921 glibcxx_cv_func__atan2f_use=yes
47922 else
47923 glibcxx_cv_func__atan2f_use=no
47925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47926 ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47937 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47939 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47940 for ac_func in _atan2f
47941 do :
47942 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47943 if test "x$ac_cv_func__atan2f" = x""yes; then :
47944 cat >>confdefs.h <<_ACEOF
47945 #define HAVE__ATAN2F 1
47946 _ACEOF
47949 done
47958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47959 $as_echo_n "checking for fabsf declaration... " >&6; }
47960 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47961 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47962 $as_echo_n "(cached) " >&6
47963 else
47966 ac_ext=cpp
47967 ac_cpp='$CXXCPP $CPPFLAGS'
47968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47973 /* end confdefs.h. */
47974 #include <math.h>
47975 #ifdef HAVE_IEEEFP_H
47976 #include <ieeefp.h>
47977 #endif
47980 main ()
47982 fabsf(0);
47984 return 0;
47986 _ACEOF
47987 if ac_fn_cxx_try_compile "$LINENO"; then :
47988 glibcxx_cv_func_fabsf_use=yes
47989 else
47990 glibcxx_cv_func_fabsf_use=no
47992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47993 ac_ext=c
47994 ac_cpp='$CPP $CPPFLAGS'
47995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48004 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48006 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48007 for ac_func in fabsf
48008 do :
48009 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48010 if test "x$ac_cv_func_fabsf" = x""yes; then :
48011 cat >>confdefs.h <<_ACEOF
48012 #define HAVE_FABSF 1
48013 _ACEOF
48016 done
48018 else
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48021 $as_echo_n "checking for _fabsf declaration... " >&6; }
48022 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48023 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48024 $as_echo_n "(cached) " >&6
48025 else
48028 ac_ext=cpp
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48035 /* end confdefs.h. */
48036 #include <math.h>
48037 #ifdef HAVE_IEEEFP_H
48038 #include <ieeefp.h>
48039 #endif
48042 main ()
48044 _fabsf(0);
48046 return 0;
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050 glibcxx_cv_func__fabsf_use=yes
48051 else
48052 glibcxx_cv_func__fabsf_use=no
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055 ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48066 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48068 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48069 for ac_func in _fabsf
48070 do :
48071 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48072 if test "x$ac_cv_func__fabsf" = x""yes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE__FABSF 1
48075 _ACEOF
48078 done
48087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48088 $as_echo_n "checking for fmodf declaration... " >&6; }
48089 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48090 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48091 $as_echo_n "(cached) " >&6
48092 else
48095 ac_ext=cpp
48096 ac_cpp='$CXXCPP $CPPFLAGS'
48097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48102 /* end confdefs.h. */
48103 #include <math.h>
48105 main ()
48107 fmodf(0, 0);
48109 return 0;
48111 _ACEOF
48112 if ac_fn_cxx_try_compile "$LINENO"; then :
48113 glibcxx_cv_func_fmodf_use=yes
48114 else
48115 glibcxx_cv_func_fmodf_use=no
48117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48118 ac_ext=c
48119 ac_cpp='$CPP $CPPFLAGS'
48120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48129 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48131 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48132 for ac_func in fmodf
48133 do :
48134 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48135 if test "x$ac_cv_func_fmodf" = x""yes; then :
48136 cat >>confdefs.h <<_ACEOF
48137 #define HAVE_FMODF 1
48138 _ACEOF
48141 done
48143 else
48145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48146 $as_echo_n "checking for _fmodf declaration... " >&6; }
48147 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48148 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48149 $as_echo_n "(cached) " >&6
48150 else
48153 ac_ext=cpp
48154 ac_cpp='$CXXCPP $CPPFLAGS'
48155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48160 /* end confdefs.h. */
48161 #include <math.h>
48163 main ()
48165 _fmodf(0, 0);
48167 return 0;
48169 _ACEOF
48170 if ac_fn_cxx_try_compile "$LINENO"; then :
48171 glibcxx_cv_func__fmodf_use=yes
48172 else
48173 glibcxx_cv_func__fmodf_use=no
48175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48176 ac_ext=c
48177 ac_cpp='$CPP $CPPFLAGS'
48178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48187 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48189 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48190 for ac_func in _fmodf
48191 do :
48192 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48193 if test "x$ac_cv_func__fmodf" = x""yes; then :
48194 cat >>confdefs.h <<_ACEOF
48195 #define HAVE__FMODF 1
48196 _ACEOF
48199 done
48208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48209 $as_echo_n "checking for frexpf declaration... " >&6; }
48210 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48211 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48212 $as_echo_n "(cached) " >&6
48213 else
48216 ac_ext=cpp
48217 ac_cpp='$CXXCPP $CPPFLAGS'
48218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48223 /* end confdefs.h. */
48224 #include <math.h>
48226 main ()
48228 frexpf(0, 0);
48230 return 0;
48232 _ACEOF
48233 if ac_fn_cxx_try_compile "$LINENO"; then :
48234 glibcxx_cv_func_frexpf_use=yes
48235 else
48236 glibcxx_cv_func_frexpf_use=no
48238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48239 ac_ext=c
48240 ac_cpp='$CPP $CPPFLAGS'
48241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48250 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48252 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48253 for ac_func in frexpf
48254 do :
48255 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48256 if test "x$ac_cv_func_frexpf" = x""yes; then :
48257 cat >>confdefs.h <<_ACEOF
48258 #define HAVE_FREXPF 1
48259 _ACEOF
48262 done
48264 else
48266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48267 $as_echo_n "checking for _frexpf declaration... " >&6; }
48268 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48269 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48270 $as_echo_n "(cached) " >&6
48271 else
48274 ac_ext=cpp
48275 ac_cpp='$CXXCPP $CPPFLAGS'
48276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48281 /* end confdefs.h. */
48282 #include <math.h>
48284 main ()
48286 _frexpf(0, 0);
48288 return 0;
48290 _ACEOF
48291 if ac_fn_cxx_try_compile "$LINENO"; then :
48292 glibcxx_cv_func__frexpf_use=yes
48293 else
48294 glibcxx_cv_func__frexpf_use=no
48296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48297 ac_ext=c
48298 ac_cpp='$CPP $CPPFLAGS'
48299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48308 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48310 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48311 for ac_func in _frexpf
48312 do :
48313 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48314 if test "x$ac_cv_func__frexpf" = x""yes; then :
48315 cat >>confdefs.h <<_ACEOF
48316 #define HAVE__FREXPF 1
48317 _ACEOF
48320 done
48329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48330 $as_echo_n "checking for hypotf declaration... " >&6; }
48331 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48332 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48333 $as_echo_n "(cached) " >&6
48334 else
48337 ac_ext=cpp
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48344 /* end confdefs.h. */
48345 #include <math.h>
48347 main ()
48349 hypotf(0, 0);
48351 return 0;
48353 _ACEOF
48354 if ac_fn_cxx_try_compile "$LINENO"; then :
48355 glibcxx_cv_func_hypotf_use=yes
48356 else
48357 glibcxx_cv_func_hypotf_use=no
48359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48360 ac_ext=c
48361 ac_cpp='$CPP $CPPFLAGS'
48362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48371 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48373 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48374 for ac_func in hypotf
48375 do :
48376 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48377 if test "x$ac_cv_func_hypotf" = x""yes; then :
48378 cat >>confdefs.h <<_ACEOF
48379 #define HAVE_HYPOTF 1
48380 _ACEOF
48383 done
48385 else
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48388 $as_echo_n "checking for _hypotf declaration... " >&6; }
48389 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48390 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48391 $as_echo_n "(cached) " >&6
48392 else
48395 ac_ext=cpp
48396 ac_cpp='$CXXCPP $CPPFLAGS'
48397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48402 /* end confdefs.h. */
48403 #include <math.h>
48405 main ()
48407 _hypotf(0, 0);
48409 return 0;
48411 _ACEOF
48412 if ac_fn_cxx_try_compile "$LINENO"; then :
48413 glibcxx_cv_func__hypotf_use=yes
48414 else
48415 glibcxx_cv_func__hypotf_use=no
48417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48418 ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48429 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48431 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48432 for ac_func in _hypotf
48433 do :
48434 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48435 if test "x$ac_cv_func__hypotf" = x""yes; then :
48436 cat >>confdefs.h <<_ACEOF
48437 #define HAVE__HYPOTF 1
48438 _ACEOF
48441 done
48450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48451 $as_echo_n "checking for ldexpf declaration... " >&6; }
48452 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48453 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48454 $as_echo_n "(cached) " >&6
48455 else
48458 ac_ext=cpp
48459 ac_cpp='$CXXCPP $CPPFLAGS'
48460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48465 /* end confdefs.h. */
48466 #include <math.h>
48468 main ()
48470 ldexpf(0, 0);
48472 return 0;
48474 _ACEOF
48475 if ac_fn_cxx_try_compile "$LINENO"; then :
48476 glibcxx_cv_func_ldexpf_use=yes
48477 else
48478 glibcxx_cv_func_ldexpf_use=no
48480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48481 ac_ext=c
48482 ac_cpp='$CPP $CPPFLAGS'
48483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48492 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48494 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48495 for ac_func in ldexpf
48496 do :
48497 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48498 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48499 cat >>confdefs.h <<_ACEOF
48500 #define HAVE_LDEXPF 1
48501 _ACEOF
48504 done
48506 else
48508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48509 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48510 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48511 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48512 $as_echo_n "(cached) " >&6
48513 else
48516 ac_ext=cpp
48517 ac_cpp='$CXXCPP $CPPFLAGS'
48518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48523 /* end confdefs.h. */
48524 #include <math.h>
48526 main ()
48528 _ldexpf(0, 0);
48530 return 0;
48532 _ACEOF
48533 if ac_fn_cxx_try_compile "$LINENO"; then :
48534 glibcxx_cv_func__ldexpf_use=yes
48535 else
48536 glibcxx_cv_func__ldexpf_use=no
48538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48539 ac_ext=c
48540 ac_cpp='$CPP $CPPFLAGS'
48541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48550 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48552 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48553 for ac_func in _ldexpf
48554 do :
48555 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48556 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48557 cat >>confdefs.h <<_ACEOF
48558 #define HAVE__LDEXPF 1
48559 _ACEOF
48562 done
48571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48572 $as_echo_n "checking for logf declaration... " >&6; }
48573 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48574 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48575 $as_echo_n "(cached) " >&6
48576 else
48579 ac_ext=cpp
48580 ac_cpp='$CXXCPP $CPPFLAGS'
48581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48586 /* end confdefs.h. */
48587 #include <math.h>
48588 #ifdef HAVE_IEEEFP_H
48589 #include <ieeefp.h>
48590 #endif
48593 main ()
48595 logf(0);
48597 return 0;
48599 _ACEOF
48600 if ac_fn_cxx_try_compile "$LINENO"; then :
48601 glibcxx_cv_func_logf_use=yes
48602 else
48603 glibcxx_cv_func_logf_use=no
48605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48606 ac_ext=c
48607 ac_cpp='$CPP $CPPFLAGS'
48608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48617 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48619 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48620 for ac_func in logf
48621 do :
48622 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48623 if test "x$ac_cv_func_logf" = x""yes; then :
48624 cat >>confdefs.h <<_ACEOF
48625 #define HAVE_LOGF 1
48626 _ACEOF
48629 done
48631 else
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48634 $as_echo_n "checking for _logf declaration... " >&6; }
48635 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48636 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48650 #ifdef HAVE_IEEEFP_H
48651 #include <ieeefp.h>
48652 #endif
48655 main ()
48657 _logf(0);
48659 return 0;
48661 _ACEOF
48662 if ac_fn_cxx_try_compile "$LINENO"; then :
48663 glibcxx_cv_func__logf_use=yes
48664 else
48665 glibcxx_cv_func__logf_use=no
48667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48668 ac_ext=c
48669 ac_cpp='$CPP $CPPFLAGS'
48670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48679 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48681 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48682 for ac_func in _logf
48683 do :
48684 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48685 if test "x$ac_cv_func__logf" = x""yes; then :
48686 cat >>confdefs.h <<_ACEOF
48687 #define HAVE__LOGF 1
48688 _ACEOF
48691 done
48700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48701 $as_echo_n "checking for log10f declaration... " >&6; }
48702 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48703 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48704 $as_echo_n "(cached) " >&6
48705 else
48708 ac_ext=cpp
48709 ac_cpp='$CXXCPP $CPPFLAGS'
48710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48715 /* end confdefs.h. */
48716 #include <math.h>
48717 #ifdef HAVE_IEEEFP_H
48718 #include <ieeefp.h>
48719 #endif
48722 main ()
48724 log10f(0);
48726 return 0;
48728 _ACEOF
48729 if ac_fn_cxx_try_compile "$LINENO"; then :
48730 glibcxx_cv_func_log10f_use=yes
48731 else
48732 glibcxx_cv_func_log10f_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_log10f_use" >&5
48746 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48748 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48749 for ac_func in log10f
48750 do :
48751 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48752 if test "x$ac_cv_func_log10f" = x""yes; then :
48753 cat >>confdefs.h <<_ACEOF
48754 #define HAVE_LOG10F 1
48755 _ACEOF
48758 done
48760 else
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48763 $as_echo_n "checking for _log10f declaration... " >&6; }
48764 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48765 if test "${glibcxx_cv_func__log10f_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>
48779 #ifdef HAVE_IEEEFP_H
48780 #include <ieeefp.h>
48781 #endif
48784 main ()
48786 _log10f(0);
48788 return 0;
48790 _ACEOF
48791 if ac_fn_cxx_try_compile "$LINENO"; then :
48792 glibcxx_cv_func__log10f_use=yes
48793 else
48794 glibcxx_cv_func__log10f_use=no
48796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48797 ac_ext=c
48798 ac_cpp='$CPP $CPPFLAGS'
48799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48808 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48810 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48811 for ac_func in _log10f
48812 do :
48813 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48814 if test "x$ac_cv_func__log10f" = x""yes; then :
48815 cat >>confdefs.h <<_ACEOF
48816 #define HAVE__LOG10F 1
48817 _ACEOF
48820 done
48829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48830 $as_echo_n "checking for modff declaration... " >&6; }
48831 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48832 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48833 $as_echo_n "(cached) " >&6
48834 else
48837 ac_ext=cpp
48838 ac_cpp='$CXXCPP $CPPFLAGS'
48839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48844 /* end confdefs.h. */
48845 #include <math.h>
48847 main ()
48849 modff(0, 0);
48851 return 0;
48853 _ACEOF
48854 if ac_fn_cxx_try_compile "$LINENO"; then :
48855 glibcxx_cv_func_modff_use=yes
48856 else
48857 glibcxx_cv_func_modff_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_modff_use" >&5
48871 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48873 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48874 for ac_func in modff
48875 do :
48876 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48877 if test "x$ac_cv_func_modff" = x""yes; then :
48878 cat >>confdefs.h <<_ACEOF
48879 #define HAVE_MODFF 1
48880 _ACEOF
48883 done
48885 else
48887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48888 $as_echo_n "checking for _modff declaration... " >&6; }
48889 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48890 if test "${glibcxx_cv_func__modff_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>
48905 main ()
48907 _modff(0, 0);
48909 return 0;
48911 _ACEOF
48912 if ac_fn_cxx_try_compile "$LINENO"; then :
48913 glibcxx_cv_func__modff_use=yes
48914 else
48915 glibcxx_cv_func__modff_use=no
48917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48918 ac_ext=c
48919 ac_cpp='$CPP $CPPFLAGS'
48920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48929 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48931 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48932 for ac_func in _modff
48933 do :
48934 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48935 if test "x$ac_cv_func__modff" = x""yes; then :
48936 cat >>confdefs.h <<_ACEOF
48937 #define HAVE__MODFF 1
48938 _ACEOF
48941 done
48950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48951 $as_echo_n "checking for modf declaration... " >&6; }
48952 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48953 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48954 $as_echo_n "(cached) " >&6
48955 else
48958 ac_ext=cpp
48959 ac_cpp='$CXXCPP $CPPFLAGS'
48960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48965 /* end confdefs.h. */
48966 #include <math.h>
48968 main ()
48970 modf(0, 0);
48972 return 0;
48974 _ACEOF
48975 if ac_fn_cxx_try_compile "$LINENO"; then :
48976 glibcxx_cv_func_modf_use=yes
48977 else
48978 glibcxx_cv_func_modf_use=no
48980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48981 ac_ext=c
48982 ac_cpp='$CPP $CPPFLAGS'
48983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48992 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48994 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48995 for ac_func in modf
48996 do :
48997 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48998 if test "x$ac_cv_func_modf" = x""yes; then :
48999 cat >>confdefs.h <<_ACEOF
49000 #define HAVE_MODF 1
49001 _ACEOF
49004 done
49006 else
49008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49009 $as_echo_n "checking for _modf declaration... " >&6; }
49010 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49011 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49012 $as_echo_n "(cached) " >&6
49013 else
49016 ac_ext=cpp
49017 ac_cpp='$CXXCPP $CPPFLAGS'
49018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49023 /* end confdefs.h. */
49024 #include <math.h>
49026 main ()
49028 _modf(0, 0);
49030 return 0;
49032 _ACEOF
49033 if ac_fn_cxx_try_compile "$LINENO"; then :
49034 glibcxx_cv_func__modf_use=yes
49035 else
49036 glibcxx_cv_func__modf_use=no
49038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49039 ac_ext=c
49040 ac_cpp='$CPP $CPPFLAGS'
49041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49050 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49052 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49053 for ac_func in _modf
49054 do :
49055 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49056 if test "x$ac_cv_func__modf" = x""yes; then :
49057 cat >>confdefs.h <<_ACEOF
49058 #define HAVE__MODF 1
49059 _ACEOF
49062 done
49071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49072 $as_echo_n "checking for powf declaration... " >&6; }
49073 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49074 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49075 $as_echo_n "(cached) " >&6
49076 else
49079 ac_ext=cpp
49080 ac_cpp='$CXXCPP $CPPFLAGS'
49081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49086 /* end confdefs.h. */
49087 #include <math.h>
49089 main ()
49091 powf(0, 0);
49093 return 0;
49095 _ACEOF
49096 if ac_fn_cxx_try_compile "$LINENO"; then :
49097 glibcxx_cv_func_powf_use=yes
49098 else
49099 glibcxx_cv_func_powf_use=no
49101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49102 ac_ext=c
49103 ac_cpp='$CPP $CPPFLAGS'
49104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49113 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49115 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49116 for ac_func in powf
49117 do :
49118 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49119 if test "x$ac_cv_func_powf" = x""yes; then :
49120 cat >>confdefs.h <<_ACEOF
49121 #define HAVE_POWF 1
49122 _ACEOF
49125 done
49127 else
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49130 $as_echo_n "checking for _powf declaration... " >&6; }
49131 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49132 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49133 $as_echo_n "(cached) " >&6
49134 else
49137 ac_ext=cpp
49138 ac_cpp='$CXXCPP $CPPFLAGS'
49139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49144 /* end confdefs.h. */
49145 #include <math.h>
49147 main ()
49149 _powf(0, 0);
49151 return 0;
49153 _ACEOF
49154 if ac_fn_cxx_try_compile "$LINENO"; then :
49155 glibcxx_cv_func__powf_use=yes
49156 else
49157 glibcxx_cv_func__powf_use=no
49159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49160 ac_ext=c
49161 ac_cpp='$CPP $CPPFLAGS'
49162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49171 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49173 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49174 for ac_func in _powf
49175 do :
49176 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49177 if test "x$ac_cv_func__powf" = x""yes; then :
49178 cat >>confdefs.h <<_ACEOF
49179 #define HAVE__POWF 1
49180 _ACEOF
49183 done
49192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49193 $as_echo_n "checking for sqrtf declaration... " >&6; }
49194 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49195 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49196 $as_echo_n "(cached) " >&6
49197 else
49200 ac_ext=cpp
49201 ac_cpp='$CXXCPP $CPPFLAGS'
49202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49207 /* end confdefs.h. */
49208 #include <math.h>
49209 #ifdef HAVE_IEEEFP_H
49210 #include <ieeefp.h>
49211 #endif
49214 main ()
49216 sqrtf(0);
49218 return 0;
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222 glibcxx_cv_func_sqrtf_use=yes
49223 else
49224 glibcxx_cv_func_sqrtf_use=no
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227 ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49238 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49240 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49241 for ac_func in sqrtf
49242 do :
49243 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49244 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49245 cat >>confdefs.h <<_ACEOF
49246 #define HAVE_SQRTF 1
49247 _ACEOF
49250 done
49252 else
49254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49255 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49256 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49257 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49258 $as_echo_n "(cached) " >&6
49259 else
49262 ac_ext=cpp
49263 ac_cpp='$CXXCPP $CPPFLAGS'
49264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49269 /* end confdefs.h. */
49270 #include <math.h>
49271 #ifdef HAVE_IEEEFP_H
49272 #include <ieeefp.h>
49273 #endif
49276 main ()
49278 _sqrtf(0);
49280 return 0;
49282 _ACEOF
49283 if ac_fn_cxx_try_compile "$LINENO"; then :
49284 glibcxx_cv_func__sqrtf_use=yes
49285 else
49286 glibcxx_cv_func__sqrtf_use=no
49288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49289 ac_ext=c
49290 ac_cpp='$CPP $CPPFLAGS'
49291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49300 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49302 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49303 for ac_func in _sqrtf
49304 do :
49305 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49306 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49307 cat >>confdefs.h <<_ACEOF
49308 #define HAVE__SQRTF 1
49309 _ACEOF
49312 done
49321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49322 $as_echo_n "checking for sincosf declaration... " >&6; }
49323 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49324 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49325 $as_echo_n "(cached) " >&6
49326 else
49329 ac_ext=cpp
49330 ac_cpp='$CXXCPP $CPPFLAGS'
49331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49336 /* end confdefs.h. */
49337 #include <math.h>
49339 main ()
49341 sincosf(0, 0, 0);
49343 return 0;
49345 _ACEOF
49346 if ac_fn_cxx_try_compile "$LINENO"; then :
49347 glibcxx_cv_func_sincosf_use=yes
49348 else
49349 glibcxx_cv_func_sincosf_use=no
49351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49352 ac_ext=c
49353 ac_cpp='$CPP $CPPFLAGS'
49354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49363 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49365 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49366 for ac_func in sincosf
49367 do :
49368 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49369 if test "x$ac_cv_func_sincosf" = x""yes; then :
49370 cat >>confdefs.h <<_ACEOF
49371 #define HAVE_SINCOSF 1
49372 _ACEOF
49375 done
49377 else
49379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49380 $as_echo_n "checking for _sincosf declaration... " >&6; }
49381 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49382 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49383 $as_echo_n "(cached) " >&6
49384 else
49387 ac_ext=cpp
49388 ac_cpp='$CXXCPP $CPPFLAGS'
49389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49394 /* end confdefs.h. */
49395 #include <math.h>
49397 main ()
49399 _sincosf(0, 0, 0);
49401 return 0;
49403 _ACEOF
49404 if ac_fn_cxx_try_compile "$LINENO"; then :
49405 glibcxx_cv_func__sincosf_use=yes
49406 else
49407 glibcxx_cv_func__sincosf_use=no
49409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49410 ac_ext=c
49411 ac_cpp='$CPP $CPPFLAGS'
49412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49421 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49423 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49424 for ac_func in _sincosf
49425 do :
49426 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49427 if test "x$ac_cv_func__sincosf" = x""yes; then :
49428 cat >>confdefs.h <<_ACEOF
49429 #define HAVE__SINCOSF 1
49430 _ACEOF
49433 done
49442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49443 $as_echo_n "checking for finitef declaration... " >&6; }
49444 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49445 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49446 $as_echo_n "(cached) " >&6
49447 else
49450 ac_ext=cpp
49451 ac_cpp='$CXXCPP $CPPFLAGS'
49452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49457 /* end confdefs.h. */
49458 #include <math.h>
49459 #ifdef HAVE_IEEEFP_H
49460 #include <ieeefp.h>
49461 #endif
49464 main ()
49466 finitef(0);
49468 return 0;
49470 _ACEOF
49471 if ac_fn_cxx_try_compile "$LINENO"; then :
49472 glibcxx_cv_func_finitef_use=yes
49473 else
49474 glibcxx_cv_func_finitef_use=no
49476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49477 ac_ext=c
49478 ac_cpp='$CPP $CPPFLAGS'
49479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49488 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49490 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49491 for ac_func in finitef
49492 do :
49493 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49494 if test "x$ac_cv_func_finitef" = x""yes; then :
49495 cat >>confdefs.h <<_ACEOF
49496 #define HAVE_FINITEF 1
49497 _ACEOF
49500 done
49502 else
49504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49505 $as_echo_n "checking for _finitef declaration... " >&6; }
49506 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49507 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49508 $as_echo_n "(cached) " >&6
49509 else
49512 ac_ext=cpp
49513 ac_cpp='$CXXCPP $CPPFLAGS'
49514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49519 /* end confdefs.h. */
49520 #include <math.h>
49521 #ifdef HAVE_IEEEFP_H
49522 #include <ieeefp.h>
49523 #endif
49526 main ()
49528 _finitef(0);
49530 return 0;
49532 _ACEOF
49533 if ac_fn_cxx_try_compile "$LINENO"; then :
49534 glibcxx_cv_func__finitef_use=yes
49535 else
49536 glibcxx_cv_func__finitef_use=no
49538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49539 ac_ext=c
49540 ac_cpp='$CPP $CPPFLAGS'
49541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49550 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49552 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49553 for ac_func in _finitef
49554 do :
49555 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49556 if test "x$ac_cv_func__finitef" = x""yes; then :
49557 cat >>confdefs.h <<_ACEOF
49558 #define HAVE__FINITEF 1
49559 _ACEOF
49562 done
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49572 $as_echo_n "checking for long double trig functions... " >&6; }
49573 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49588 main ()
49590 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49592 return 0;
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func_long_double_trig_use=yes
49597 else
49598 glibcxx_cv_func_long_double_trig_use=no
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49610 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49611 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49612 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49613 do :
49614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49616 eval as_val=\$$as_ac_var
49617 if test "x$as_val" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49620 _ACEOF
49623 done
49625 else
49626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49627 $as_echo_n "checking for _long double trig functions... " >&6; }
49628 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49629 $as_echo_n "(cached) " >&6
49630 else
49633 ac_ext=cpp
49634 ac_cpp='$CXXCPP $CPPFLAGS'
49635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49640 /* end confdefs.h. */
49641 #include <math.h>
49643 main ()
49645 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49647 return 0;
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651 glibcxx_cv_func__long_double_trig_use=yes
49652 else
49653 glibcxx_cv_func__long_double_trig_use=no
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49665 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49666 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49667 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49668 do :
49669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49671 eval as_val=\$$as_ac_var
49672 if test "x$as_val" = x""yes; then :
49673 cat >>confdefs.h <<_ACEOF
49674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49675 _ACEOF
49678 done
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49688 $as_echo_n "checking for long double round functions... " >&6; }
49689 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49691 else
49694 ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49702 #include <math.h>
49704 main ()
49706 ceill (0); floorl (0);
49708 return 0;
49710 _ACEOF
49711 if ac_fn_cxx_try_compile "$LINENO"; then :
49712 glibcxx_cv_func_long_double_round_use=yes
49713 else
49714 glibcxx_cv_func_long_double_round_use=no
49716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49717 ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49726 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49727 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49728 for ac_func in ceill floorl
49729 do :
49730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49732 eval as_val=\$$as_ac_var
49733 if test "x$as_val" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49736 _ACEOF
49739 done
49741 else
49742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49743 $as_echo_n "checking for _long double round functions... " >&6; }
49744 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49745 $as_echo_n "(cached) " >&6
49746 else
49749 ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h. */
49757 #include <math.h>
49759 main ()
49761 _ceill (0); _floorl (0);
49763 return 0;
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func__long_double_round_use=yes
49768 else
49769 glibcxx_cv_func__long_double_round_use=no
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49781 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49782 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49783 for ac_func in _ceill _floorl
49784 do :
49785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49787 eval as_val=\$$as_ac_var
49788 if test "x$as_val" = x""yes; then :
49789 cat >>confdefs.h <<_ACEOF
49790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49791 _ACEOF
49794 done
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49805 $as_echo_n "checking for isnanl declaration... " >&6; }
49806 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49807 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49808 $as_echo_n "(cached) " >&6
49809 else
49812 ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h. */
49820 #include <math.h>
49821 #ifdef HAVE_IEEEFP_H
49822 #include <ieeefp.h>
49823 #endif
49826 main ()
49828 isnanl(0);
49830 return 0;
49832 _ACEOF
49833 if ac_fn_cxx_try_compile "$LINENO"; then :
49834 glibcxx_cv_func_isnanl_use=yes
49835 else
49836 glibcxx_cv_func_isnanl_use=no
49838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49839 ac_ext=c
49840 ac_cpp='$CPP $CPPFLAGS'
49841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49850 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49852 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49853 for ac_func in isnanl
49854 do :
49855 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49856 if test "x$ac_cv_func_isnanl" = x""yes; then :
49857 cat >>confdefs.h <<_ACEOF
49858 #define HAVE_ISNANL 1
49859 _ACEOF
49862 done
49864 else
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49867 $as_echo_n "checking for _isnanl declaration... " >&6; }
49868 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49869 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49870 $as_echo_n "(cached) " >&6
49871 else
49874 ac_ext=cpp
49875 ac_cpp='$CXXCPP $CPPFLAGS'
49876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49881 /* end confdefs.h. */
49882 #include <math.h>
49883 #ifdef HAVE_IEEEFP_H
49884 #include <ieeefp.h>
49885 #endif
49888 main ()
49890 _isnanl(0);
49892 return 0;
49894 _ACEOF
49895 if ac_fn_cxx_try_compile "$LINENO"; then :
49896 glibcxx_cv_func__isnanl_use=yes
49897 else
49898 glibcxx_cv_func__isnanl_use=no
49900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49901 ac_ext=c
49902 ac_cpp='$CPP $CPPFLAGS'
49903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49912 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49914 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49915 for ac_func in _isnanl
49916 do :
49917 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49918 if test "x$ac_cv_func__isnanl" = x""yes; then :
49919 cat >>confdefs.h <<_ACEOF
49920 #define HAVE__ISNANL 1
49921 _ACEOF
49924 done
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49934 $as_echo_n "checking for isinfl declaration... " >&6; }
49935 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49936 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49937 $as_echo_n "(cached) " >&6
49938 else
49941 ac_ext=cpp
49942 ac_cpp='$CXXCPP $CPPFLAGS'
49943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49948 /* end confdefs.h. */
49949 #include <math.h>
49950 #ifdef HAVE_IEEEFP_H
49951 #include <ieeefp.h>
49952 #endif
49955 main ()
49957 isinfl(0);
49959 return 0;
49961 _ACEOF
49962 if ac_fn_cxx_try_compile "$LINENO"; then :
49963 glibcxx_cv_func_isinfl_use=yes
49964 else
49965 glibcxx_cv_func_isinfl_use=no
49967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49968 ac_ext=c
49969 ac_cpp='$CPP $CPPFLAGS'
49970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49979 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49981 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49982 for ac_func in isinfl
49983 do :
49984 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49985 if test "x$ac_cv_func_isinfl" = x""yes; then :
49986 cat >>confdefs.h <<_ACEOF
49987 #define HAVE_ISINFL 1
49988 _ACEOF
49991 done
49993 else
49995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49996 $as_echo_n "checking for _isinfl declaration... " >&6; }
49997 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49998 if test "${glibcxx_cv_func__isinfl_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>
50012 #ifdef HAVE_IEEEFP_H
50013 #include <ieeefp.h>
50014 #endif
50017 main ()
50019 _isinfl(0);
50021 return 0;
50023 _ACEOF
50024 if ac_fn_cxx_try_compile "$LINENO"; then :
50025 glibcxx_cv_func__isinfl_use=yes
50026 else
50027 glibcxx_cv_func__isinfl_use=no
50029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50030 ac_ext=c
50031 ac_cpp='$CPP $CPPFLAGS'
50032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50041 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50043 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50044 for ac_func in _isinfl
50045 do :
50046 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50047 if test "x$ac_cv_func__isinfl" = x""yes; then :
50048 cat >>confdefs.h <<_ACEOF
50049 #define HAVE__ISINFL 1
50050 _ACEOF
50053 done
50062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50063 $as_echo_n "checking for atan2l declaration... " >&6; }
50064 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50065 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50066 $as_echo_n "(cached) " >&6
50067 else
50070 ac_ext=cpp
50071 ac_cpp='$CXXCPP $CPPFLAGS'
50072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50077 /* end confdefs.h. */
50078 #include <math.h>
50080 main ()
50082 atan2l(0, 0);
50084 return 0;
50086 _ACEOF
50087 if ac_fn_cxx_try_compile "$LINENO"; then :
50088 glibcxx_cv_func_atan2l_use=yes
50089 else
50090 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
50104 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50106 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50107 for ac_func in atan2l
50108 do :
50109 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50110 if test "x$ac_cv_func_atan2l" = x""yes; then :
50111 cat >>confdefs.h <<_ACEOF
50112 #define HAVE_ATAN2L 1
50113 _ACEOF
50116 done
50118 else
50120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50121 $as_echo_n "checking for _atan2l declaration... " >&6; }
50122 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50123 if test "${glibcxx_cv_func__atan2l_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>
50138 main ()
50140 _atan2l(0, 0);
50142 return 0;
50144 _ACEOF
50145 if ac_fn_cxx_try_compile "$LINENO"; then :
50146 glibcxx_cv_func__atan2l_use=yes
50147 else
50148 glibcxx_cv_func__atan2l_use=no
50150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50151 ac_ext=c
50152 ac_cpp='$CPP $CPPFLAGS'
50153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50162 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50164 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50165 for ac_func in _atan2l
50166 do :
50167 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50168 if test "x$ac_cv_func__atan2l" = x""yes; then :
50169 cat >>confdefs.h <<_ACEOF
50170 #define HAVE__ATAN2L 1
50171 _ACEOF
50174 done
50183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50184 $as_echo_n "checking for expl declaration... " >&6; }
50185 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50186 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50187 $as_echo_n "(cached) " >&6
50188 else
50191 ac_ext=cpp
50192 ac_cpp='$CXXCPP $CPPFLAGS'
50193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50198 /* end confdefs.h. */
50199 #include <math.h>
50200 #ifdef HAVE_IEEEFP_H
50201 #include <ieeefp.h>
50202 #endif
50205 main ()
50207 expl(0);
50209 return 0;
50211 _ACEOF
50212 if ac_fn_cxx_try_compile "$LINENO"; then :
50213 glibcxx_cv_func_expl_use=yes
50214 else
50215 glibcxx_cv_func_expl_use=no
50217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50218 ac_ext=c
50219 ac_cpp='$CPP $CPPFLAGS'
50220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50229 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50231 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50232 for ac_func in expl
50233 do :
50234 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50235 if test "x$ac_cv_func_expl" = x""yes; then :
50236 cat >>confdefs.h <<_ACEOF
50237 #define HAVE_EXPL 1
50238 _ACEOF
50241 done
50243 else
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50246 $as_echo_n "checking for _expl declaration... " >&6; }
50247 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50248 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50250 else
50253 ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50261 #include <math.h>
50262 #ifdef HAVE_IEEEFP_H
50263 #include <ieeefp.h>
50264 #endif
50267 main ()
50269 _expl(0);
50271 return 0;
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func__expl_use=yes
50276 else
50277 glibcxx_cv_func__expl_use=no
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50291 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50293 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50294 for ac_func in _expl
50295 do :
50296 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50297 if test "x$ac_cv_func__expl" = x""yes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE__EXPL 1
50300 _ACEOF
50303 done
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50313 $as_echo_n "checking for fabsl declaration... " >&6; }
50314 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50315 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50316 $as_echo_n "(cached) " >&6
50317 else
50320 ac_ext=cpp
50321 ac_cpp='$CXXCPP $CPPFLAGS'
50322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327 /* end confdefs.h. */
50328 #include <math.h>
50329 #ifdef HAVE_IEEEFP_H
50330 #include <ieeefp.h>
50331 #endif
50334 main ()
50336 fabsl(0);
50338 return 0;
50340 _ACEOF
50341 if ac_fn_cxx_try_compile "$LINENO"; then :
50342 glibcxx_cv_func_fabsl_use=yes
50343 else
50344 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
50358 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50360 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50361 for ac_func in fabsl
50362 do :
50363 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50364 if test "x$ac_cv_func_fabsl" = x""yes; then :
50365 cat >>confdefs.h <<_ACEOF
50366 #define HAVE_FABSL 1
50367 _ACEOF
50370 done
50372 else
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50375 $as_echo_n "checking for _fabsl declaration... " >&6; }
50376 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50377 if test "${glibcxx_cv_func__fabsl_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>
50391 #ifdef HAVE_IEEEFP_H
50392 #include <ieeefp.h>
50393 #endif
50396 main ()
50398 _fabsl(0);
50400 return 0;
50402 _ACEOF
50403 if ac_fn_cxx_try_compile "$LINENO"; then :
50404 glibcxx_cv_func__fabsl_use=yes
50405 else
50406 glibcxx_cv_func__fabsl_use=no
50408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50409 ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50420 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50422 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50423 for ac_func in _fabsl
50424 do :
50425 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50426 if test "x$ac_cv_func__fabsl" = x""yes; then :
50427 cat >>confdefs.h <<_ACEOF
50428 #define HAVE__FABSL 1
50429 _ACEOF
50432 done
50441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50442 $as_echo_n "checking for fmodl declaration... " >&6; }
50443 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50444 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50445 $as_echo_n "(cached) " >&6
50446 else
50449 ac_ext=cpp
50450 ac_cpp='$CXXCPP $CPPFLAGS'
50451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50456 /* end confdefs.h. */
50457 #include <math.h>
50459 main ()
50461 fmodl(0, 0);
50463 return 0;
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func_fmodl_use=yes
50468 else
50469 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
50483 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50485 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50486 for ac_func in fmodl
50487 do :
50488 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50489 if test "x$ac_cv_func_fmodl" = x""yes; then :
50490 cat >>confdefs.h <<_ACEOF
50491 #define HAVE_FMODL 1
50492 _ACEOF
50495 done
50497 else
50499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50500 $as_echo_n "checking for _fmodl declaration... " >&6; }
50501 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50502 if test "${glibcxx_cv_func__fmodl_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>
50517 main ()
50519 _fmodl(0, 0);
50521 return 0;
50523 _ACEOF
50524 if ac_fn_cxx_try_compile "$LINENO"; then :
50525 glibcxx_cv_func__fmodl_use=yes
50526 else
50527 glibcxx_cv_func__fmodl_use=no
50529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50530 ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50541 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50543 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50544 for ac_func in _fmodl
50545 do :
50546 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50547 if test "x$ac_cv_func__fmodl" = x""yes; then :
50548 cat >>confdefs.h <<_ACEOF
50549 #define HAVE__FMODL 1
50550 _ACEOF
50553 done
50562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50563 $as_echo_n "checking for frexpl declaration... " >&6; }
50564 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50565 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50566 $as_echo_n "(cached) " >&6
50567 else
50570 ac_ext=cpp
50571 ac_cpp='$CXXCPP $CPPFLAGS'
50572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h. */
50578 #include <math.h>
50580 main ()
50582 frexpl(0, 0);
50584 return 0;
50586 _ACEOF
50587 if ac_fn_cxx_try_compile "$LINENO"; then :
50588 glibcxx_cv_func_frexpl_use=yes
50589 else
50590 glibcxx_cv_func_frexpl_use=no
50592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50593 ac_ext=c
50594 ac_cpp='$CPP $CPPFLAGS'
50595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50604 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50606 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50607 for ac_func in frexpl
50608 do :
50609 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50610 if test "x$ac_cv_func_frexpl" = x""yes; then :
50611 cat >>confdefs.h <<_ACEOF
50612 #define HAVE_FREXPL 1
50613 _ACEOF
50616 done
50618 else
50620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50621 $as_echo_n "checking for _frexpl declaration... " >&6; }
50622 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50623 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50624 $as_echo_n "(cached) " >&6
50625 else
50628 ac_ext=cpp
50629 ac_cpp='$CXXCPP $CPPFLAGS'
50630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50635 /* end confdefs.h. */
50636 #include <math.h>
50638 main ()
50640 _frexpl(0, 0);
50642 return 0;
50644 _ACEOF
50645 if ac_fn_cxx_try_compile "$LINENO"; then :
50646 glibcxx_cv_func__frexpl_use=yes
50647 else
50648 glibcxx_cv_func__frexpl_use=no
50650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50651 ac_ext=c
50652 ac_cpp='$CPP $CPPFLAGS'
50653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50662 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50664 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50665 for ac_func in _frexpl
50666 do :
50667 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50668 if test "x$ac_cv_func__frexpl" = x""yes; then :
50669 cat >>confdefs.h <<_ACEOF
50670 #define HAVE__FREXPL 1
50671 _ACEOF
50674 done
50683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50684 $as_echo_n "checking for hypotl declaration... " >&6; }
50685 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50686 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50687 $as_echo_n "(cached) " >&6
50688 else
50691 ac_ext=cpp
50692 ac_cpp='$CXXCPP $CPPFLAGS'
50693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50698 /* end confdefs.h. */
50699 #include <math.h>
50701 main ()
50703 hypotl(0, 0);
50705 return 0;
50707 _ACEOF
50708 if ac_fn_cxx_try_compile "$LINENO"; then :
50709 glibcxx_cv_func_hypotl_use=yes
50710 else
50711 glibcxx_cv_func_hypotl_use=no
50713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50714 ac_ext=c
50715 ac_cpp='$CPP $CPPFLAGS'
50716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50725 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50727 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50728 for ac_func in hypotl
50729 do :
50730 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50731 if test "x$ac_cv_func_hypotl" = x""yes; then :
50732 cat >>confdefs.h <<_ACEOF
50733 #define HAVE_HYPOTL 1
50734 _ACEOF
50737 done
50739 else
50741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50742 $as_echo_n "checking for _hypotl declaration... " >&6; }
50743 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50744 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50745 $as_echo_n "(cached) " >&6
50746 else
50749 ac_ext=cpp
50750 ac_cpp='$CXXCPP $CPPFLAGS'
50751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50756 /* end confdefs.h. */
50757 #include <math.h>
50759 main ()
50761 _hypotl(0, 0);
50763 return 0;
50765 _ACEOF
50766 if ac_fn_cxx_try_compile "$LINENO"; then :
50767 glibcxx_cv_func__hypotl_use=yes
50768 else
50769 glibcxx_cv_func__hypotl_use=no
50771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50772 ac_ext=c
50773 ac_cpp='$CPP $CPPFLAGS'
50774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50783 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50785 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50786 for ac_func in _hypotl
50787 do :
50788 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50789 if test "x$ac_cv_func__hypotl" = x""yes; then :
50790 cat >>confdefs.h <<_ACEOF
50791 #define HAVE__HYPOTL 1
50792 _ACEOF
50795 done
50804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50805 $as_echo_n "checking for ldexpl declaration... " >&6; }
50806 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50807 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50808 $as_echo_n "(cached) " >&6
50809 else
50812 ac_ext=cpp
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50819 /* end confdefs.h. */
50820 #include <math.h>
50822 main ()
50824 ldexpl(0, 0);
50826 return 0;
50828 _ACEOF
50829 if ac_fn_cxx_try_compile "$LINENO"; then :
50830 glibcxx_cv_func_ldexpl_use=yes
50831 else
50832 glibcxx_cv_func_ldexpl_use=no
50834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50835 ac_ext=c
50836 ac_cpp='$CPP $CPPFLAGS'
50837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50846 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50848 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50849 for ac_func in ldexpl
50850 do :
50851 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50852 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50853 cat >>confdefs.h <<_ACEOF
50854 #define HAVE_LDEXPL 1
50855 _ACEOF
50858 done
50860 else
50862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50863 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50864 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50865 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50866 $as_echo_n "(cached) " >&6
50867 else
50870 ac_ext=cpp
50871 ac_cpp='$CXXCPP $CPPFLAGS'
50872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50877 /* end confdefs.h. */
50878 #include <math.h>
50880 main ()
50882 _ldexpl(0, 0);
50884 return 0;
50886 _ACEOF
50887 if ac_fn_cxx_try_compile "$LINENO"; then :
50888 glibcxx_cv_func__ldexpl_use=yes
50889 else
50890 glibcxx_cv_func__ldexpl_use=no
50892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50893 ac_ext=c
50894 ac_cpp='$CPP $CPPFLAGS'
50895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50904 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50906 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50907 for ac_func in _ldexpl
50908 do :
50909 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50910 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50911 cat >>confdefs.h <<_ACEOF
50912 #define HAVE__LDEXPL 1
50913 _ACEOF
50916 done
50925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50926 $as_echo_n "checking for logl declaration... " >&6; }
50927 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50928 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50929 $as_echo_n "(cached) " >&6
50930 else
50933 ac_ext=cpp
50934 ac_cpp='$CXXCPP $CPPFLAGS'
50935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50940 /* end confdefs.h. */
50941 #include <math.h>
50942 #ifdef HAVE_IEEEFP_H
50943 #include <ieeefp.h>
50944 #endif
50947 main ()
50949 logl(0);
50951 return 0;
50953 _ACEOF
50954 if ac_fn_cxx_try_compile "$LINENO"; then :
50955 glibcxx_cv_func_logl_use=yes
50956 else
50957 glibcxx_cv_func_logl_use=no
50959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50960 ac_ext=c
50961 ac_cpp='$CPP $CPPFLAGS'
50962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50971 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50973 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50974 for ac_func in logl
50975 do :
50976 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50977 if test "x$ac_cv_func_logl" = x""yes; then :
50978 cat >>confdefs.h <<_ACEOF
50979 #define HAVE_LOGL 1
50980 _ACEOF
50983 done
50985 else
50987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50988 $as_echo_n "checking for _logl declaration... " >&6; }
50989 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50990 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50991 $as_echo_n "(cached) " >&6
50992 else
50995 ac_ext=cpp
50996 ac_cpp='$CXXCPP $CPPFLAGS'
50997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51002 /* end confdefs.h. */
51003 #include <math.h>
51004 #ifdef HAVE_IEEEFP_H
51005 #include <ieeefp.h>
51006 #endif
51009 main ()
51011 _logl(0);
51013 return 0;
51015 _ACEOF
51016 if ac_fn_cxx_try_compile "$LINENO"; then :
51017 glibcxx_cv_func__logl_use=yes
51018 else
51019 glibcxx_cv_func__logl_use=no
51021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51022 ac_ext=c
51023 ac_cpp='$CPP $CPPFLAGS'
51024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51033 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51035 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51036 for ac_func in _logl
51037 do :
51038 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51039 if test "x$ac_cv_func__logl" = x""yes; then :
51040 cat >>confdefs.h <<_ACEOF
51041 #define HAVE__LOGL 1
51042 _ACEOF
51045 done
51054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51055 $as_echo_n "checking for log10l declaration... " >&6; }
51056 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51057 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51058 $as_echo_n "(cached) " >&6
51059 else
51062 ac_ext=cpp
51063 ac_cpp='$CXXCPP $CPPFLAGS'
51064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51069 /* end confdefs.h. */
51070 #include <math.h>
51071 #ifdef HAVE_IEEEFP_H
51072 #include <ieeefp.h>
51073 #endif
51076 main ()
51078 log10l(0);
51080 return 0;
51082 _ACEOF
51083 if ac_fn_cxx_try_compile "$LINENO"; then :
51084 glibcxx_cv_func_log10l_use=yes
51085 else
51086 glibcxx_cv_func_log10l_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_log10l_use" >&5
51100 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51102 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51103 for ac_func in log10l
51104 do :
51105 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51106 if test "x$ac_cv_func_log10l" = x""yes; then :
51107 cat >>confdefs.h <<_ACEOF
51108 #define HAVE_LOG10L 1
51109 _ACEOF
51112 done
51114 else
51116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51117 $as_echo_n "checking for _log10l declaration... " >&6; }
51118 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51119 if test "${glibcxx_cv_func__log10l_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>
51133 #ifdef HAVE_IEEEFP_H
51134 #include <ieeefp.h>
51135 #endif
51138 main ()
51140 _log10l(0);
51142 return 0;
51144 _ACEOF
51145 if ac_fn_cxx_try_compile "$LINENO"; then :
51146 glibcxx_cv_func__log10l_use=yes
51147 else
51148 glibcxx_cv_func__log10l_use=no
51150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51151 ac_ext=c
51152 ac_cpp='$CPP $CPPFLAGS'
51153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51162 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51164 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51165 for ac_func in _log10l
51166 do :
51167 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51168 if test "x$ac_cv_func__log10l" = x""yes; then :
51169 cat >>confdefs.h <<_ACEOF
51170 #define HAVE__LOG10L 1
51171 _ACEOF
51174 done
51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51184 $as_echo_n "checking for modfl declaration... " >&6; }
51185 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51186 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51187 $as_echo_n "(cached) " >&6
51188 else
51191 ac_ext=cpp
51192 ac_cpp='$CXXCPP $CPPFLAGS'
51193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51198 /* end confdefs.h. */
51199 #include <math.h>
51201 main ()
51203 modfl(0, 0);
51205 return 0;
51207 _ACEOF
51208 if ac_fn_cxx_try_compile "$LINENO"; then :
51209 glibcxx_cv_func_modfl_use=yes
51210 else
51211 glibcxx_cv_func_modfl_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_modfl_use" >&5
51225 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51227 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51228 for ac_func in modfl
51229 do :
51230 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51231 if test "x$ac_cv_func_modfl" = x""yes; then :
51232 cat >>confdefs.h <<_ACEOF
51233 #define HAVE_MODFL 1
51234 _ACEOF
51237 done
51239 else
51241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51242 $as_echo_n "checking for _modfl declaration... " >&6; }
51243 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51244 if test "${glibcxx_cv_func__modfl_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>
51259 main ()
51261 _modfl(0, 0);
51263 return 0;
51265 _ACEOF
51266 if ac_fn_cxx_try_compile "$LINENO"; then :
51267 glibcxx_cv_func__modfl_use=yes
51268 else
51269 glibcxx_cv_func__modfl_use=no
51271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51272 ac_ext=c
51273 ac_cpp='$CPP $CPPFLAGS'
51274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51283 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51285 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51286 for ac_func in _modfl
51287 do :
51288 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51289 if test "x$ac_cv_func__modfl" = x""yes; then :
51290 cat >>confdefs.h <<_ACEOF
51291 #define HAVE__MODFL 1
51292 _ACEOF
51295 done
51304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51305 $as_echo_n "checking for powl declaration... " >&6; }
51306 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51307 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51308 $as_echo_n "(cached) " >&6
51309 else
51312 ac_ext=cpp
51313 ac_cpp='$CXXCPP $CPPFLAGS'
51314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51319 /* end confdefs.h. */
51320 #include <math.h>
51322 main ()
51324 powl(0, 0);
51326 return 0;
51328 _ACEOF
51329 if ac_fn_cxx_try_compile "$LINENO"; then :
51330 glibcxx_cv_func_powl_use=yes
51331 else
51332 glibcxx_cv_func_powl_use=no
51334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51335 ac_ext=c
51336 ac_cpp='$CPP $CPPFLAGS'
51337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51346 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51348 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51349 for ac_func in powl
51350 do :
51351 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51352 if test "x$ac_cv_func_powl" = x""yes; then :
51353 cat >>confdefs.h <<_ACEOF
51354 #define HAVE_POWL 1
51355 _ACEOF
51358 done
51360 else
51362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51363 $as_echo_n "checking for _powl declaration... " >&6; }
51364 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51365 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51366 $as_echo_n "(cached) " >&6
51367 else
51370 ac_ext=cpp
51371 ac_cpp='$CXXCPP $CPPFLAGS'
51372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51377 /* end confdefs.h. */
51378 #include <math.h>
51380 main ()
51382 _powl(0, 0);
51384 return 0;
51386 _ACEOF
51387 if ac_fn_cxx_try_compile "$LINENO"; then :
51388 glibcxx_cv_func__powl_use=yes
51389 else
51390 glibcxx_cv_func__powl_use=no
51392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51393 ac_ext=c
51394 ac_cpp='$CPP $CPPFLAGS'
51395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51404 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51406 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51407 for ac_func in _powl
51408 do :
51409 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51410 if test "x$ac_cv_func__powl" = x""yes; then :
51411 cat >>confdefs.h <<_ACEOF
51412 #define HAVE__POWL 1
51413 _ACEOF
51416 done
51425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51426 $as_echo_n "checking for sqrtl declaration... " >&6; }
51427 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51428 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51429 $as_echo_n "(cached) " >&6
51430 else
51433 ac_ext=cpp
51434 ac_cpp='$CXXCPP $CPPFLAGS'
51435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51440 /* end confdefs.h. */
51441 #include <math.h>
51442 #ifdef HAVE_IEEEFP_H
51443 #include <ieeefp.h>
51444 #endif
51447 main ()
51449 sqrtl(0);
51451 return 0;
51453 _ACEOF
51454 if ac_fn_cxx_try_compile "$LINENO"; then :
51455 glibcxx_cv_func_sqrtl_use=yes
51456 else
51457 glibcxx_cv_func_sqrtl_use=no
51459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51460 ac_ext=c
51461 ac_cpp='$CPP $CPPFLAGS'
51462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51471 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51473 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51474 for ac_func in sqrtl
51475 do :
51476 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51477 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51478 cat >>confdefs.h <<_ACEOF
51479 #define HAVE_SQRTL 1
51480 _ACEOF
51483 done
51485 else
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51488 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51489 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51490 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51491 $as_echo_n "(cached) " >&6
51492 else
51495 ac_ext=cpp
51496 ac_cpp='$CXXCPP $CPPFLAGS'
51497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51502 /* end confdefs.h. */
51503 #include <math.h>
51504 #ifdef HAVE_IEEEFP_H
51505 #include <ieeefp.h>
51506 #endif
51509 main ()
51511 _sqrtl(0);
51513 return 0;
51515 _ACEOF
51516 if ac_fn_cxx_try_compile "$LINENO"; then :
51517 glibcxx_cv_func__sqrtl_use=yes
51518 else
51519 glibcxx_cv_func__sqrtl_use=no
51521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51522 ac_ext=c
51523 ac_cpp='$CPP $CPPFLAGS'
51524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51533 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51535 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51536 for ac_func in _sqrtl
51537 do :
51538 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51539 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51540 cat >>confdefs.h <<_ACEOF
51541 #define HAVE__SQRTL 1
51542 _ACEOF
51545 done
51554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51555 $as_echo_n "checking for sincosl declaration... " >&6; }
51556 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51557 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51558 $as_echo_n "(cached) " >&6
51559 else
51562 ac_ext=cpp
51563 ac_cpp='$CXXCPP $CPPFLAGS'
51564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51569 /* end confdefs.h. */
51570 #include <math.h>
51572 main ()
51574 sincosl(0, 0, 0);
51576 return 0;
51578 _ACEOF
51579 if ac_fn_cxx_try_compile "$LINENO"; then :
51580 glibcxx_cv_func_sincosl_use=yes
51581 else
51582 glibcxx_cv_func_sincosl_use=no
51584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51585 ac_ext=c
51586 ac_cpp='$CPP $CPPFLAGS'
51587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51596 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51598 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51599 for ac_func in sincosl
51600 do :
51601 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51602 if test "x$ac_cv_func_sincosl" = x""yes; then :
51603 cat >>confdefs.h <<_ACEOF
51604 #define HAVE_SINCOSL 1
51605 _ACEOF
51608 done
51610 else
51612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51613 $as_echo_n "checking for _sincosl declaration... " >&6; }
51614 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51615 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51616 $as_echo_n "(cached) " >&6
51617 else
51620 ac_ext=cpp
51621 ac_cpp='$CXXCPP $CPPFLAGS'
51622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51627 /* end confdefs.h. */
51628 #include <math.h>
51630 main ()
51632 _sincosl(0, 0, 0);
51634 return 0;
51636 _ACEOF
51637 if ac_fn_cxx_try_compile "$LINENO"; then :
51638 glibcxx_cv_func__sincosl_use=yes
51639 else
51640 glibcxx_cv_func__sincosl_use=no
51642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51643 ac_ext=c
51644 ac_cpp='$CPP $CPPFLAGS'
51645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51654 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51656 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51657 for ac_func in _sincosl
51658 do :
51659 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51660 if test "x$ac_cv_func__sincosl" = x""yes; then :
51661 cat >>confdefs.h <<_ACEOF
51662 #define HAVE__SINCOSL 1
51663 _ACEOF
51666 done
51675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51676 $as_echo_n "checking for finitel declaration... " >&6; }
51677 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51678 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51679 $as_echo_n "(cached) " >&6
51680 else
51683 ac_ext=cpp
51684 ac_cpp='$CXXCPP $CPPFLAGS'
51685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51690 /* end confdefs.h. */
51691 #include <math.h>
51692 #ifdef HAVE_IEEEFP_H
51693 #include <ieeefp.h>
51694 #endif
51697 main ()
51699 finitel(0);
51701 return 0;
51703 _ACEOF
51704 if ac_fn_cxx_try_compile "$LINENO"; then :
51705 glibcxx_cv_func_finitel_use=yes
51706 else
51707 glibcxx_cv_func_finitel_use=no
51709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51710 ac_ext=c
51711 ac_cpp='$CPP $CPPFLAGS'
51712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51721 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51723 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51724 for ac_func in finitel
51725 do :
51726 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51727 if test "x$ac_cv_func_finitel" = x""yes; then :
51728 cat >>confdefs.h <<_ACEOF
51729 #define HAVE_FINITEL 1
51730 _ACEOF
51733 done
51735 else
51737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51738 $as_echo_n "checking for _finitel declaration... " >&6; }
51739 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51740 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51741 $as_echo_n "(cached) " >&6
51742 else
51745 ac_ext=cpp
51746 ac_cpp='$CXXCPP $CPPFLAGS'
51747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51752 /* end confdefs.h. */
51753 #include <math.h>
51754 #ifdef HAVE_IEEEFP_H
51755 #include <ieeefp.h>
51756 #endif
51759 main ()
51761 _finitel(0);
51763 return 0;
51765 _ACEOF
51766 if ac_fn_cxx_try_compile "$LINENO"; then :
51767 glibcxx_cv_func__finitel_use=yes
51768 else
51769 glibcxx_cv_func__finitel_use=no
51771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51772 ac_ext=c
51773 ac_cpp='$CPP $CPPFLAGS'
51774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51783 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51785 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51786 for ac_func in _finitel
51787 do :
51788 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51789 if test "x$ac_cv_func__finitel" = x""yes; then :
51790 cat >>confdefs.h <<_ACEOF
51791 #define HAVE__FINITEL 1
51792 _ACEOF
51795 done
51803 LIBS="$ac_save_LIBS"
51804 CXXFLAGS="$ac_save_CXXFLAGS"
51807 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51808 ac_save_CXXFLAGS="$CXXFLAGS"
51809 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51813 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51814 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51815 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51816 $as_echo_n "(cached) " >&6
51817 else
51820 ac_ext=cpp
51821 ac_cpp='$CXXCPP $CPPFLAGS'
51822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51827 /* end confdefs.h. */
51828 #include <stdlib.h>
51830 main ()
51832 at_quick_exit(0);
51834 return 0;
51836 _ACEOF
51837 if ac_fn_cxx_try_compile "$LINENO"; then :
51838 glibcxx_cv_func_at_quick_exit_use=yes
51839 else
51840 glibcxx_cv_func_at_quick_exit_use=no
51842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51843 ac_ext=c
51844 ac_cpp='$CPP $CPPFLAGS'
51845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51854 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51855 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51856 for ac_func in at_quick_exit
51857 do :
51858 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51859 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51860 cat >>confdefs.h <<_ACEOF
51861 #define HAVE_AT_QUICK_EXIT 1
51862 _ACEOF
51865 done
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51871 $as_echo_n "checking for quick_exit declaration... " >&6; }
51872 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51873 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51874 $as_echo_n "(cached) " >&6
51875 else
51878 ac_ext=cpp
51879 ac_cpp='$CXXCPP $CPPFLAGS'
51880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51885 /* end confdefs.h. */
51886 #include <stdlib.h>
51888 main ()
51890 quick_exit(0);
51892 return 0;
51894 _ACEOF
51895 if ac_fn_cxx_try_compile "$LINENO"; then :
51896 glibcxx_cv_func_quick_exit_use=yes
51897 else
51898 glibcxx_cv_func_quick_exit_use=no
51900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51901 ac_ext=c
51902 ac_cpp='$CPP $CPPFLAGS'
51903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51912 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51913 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51914 for ac_func in quick_exit
51915 do :
51916 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51917 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51918 cat >>confdefs.h <<_ACEOF
51919 #define HAVE_QUICK_EXIT 1
51920 _ACEOF
51923 done
51928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51929 $as_echo_n "checking for strtold declaration... " >&6; }
51930 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51931 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51932 $as_echo_n "(cached) " >&6
51933 else
51936 ac_ext=cpp
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51943 /* end confdefs.h. */
51944 #include <stdlib.h>
51946 main ()
51948 strtold(0, 0);
51950 return 0;
51952 _ACEOF
51953 if ac_fn_cxx_try_compile "$LINENO"; then :
51954 glibcxx_cv_func_strtold_use=yes
51955 else
51956 glibcxx_cv_func_strtold_use=no
51958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51959 ac_ext=c
51960 ac_cpp='$CPP $CPPFLAGS'
51961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51970 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51971 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51972 for ac_func in strtold
51973 do :
51974 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51975 if test "x$ac_cv_func_strtold" = x""yes; then :
51976 cat >>confdefs.h <<_ACEOF
51977 #define HAVE_STRTOLD 1
51978 _ACEOF
51981 done
51988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51989 $as_echo_n "checking for strtof declaration... " >&6; }
51990 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51991 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51992 $as_echo_n "(cached) " >&6
51993 else
51996 ac_ext=cpp
51997 ac_cpp='$CXXCPP $CPPFLAGS'
51998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003 /* end confdefs.h. */
52004 #include <stdlib.h>
52006 main ()
52008 strtof(0, 0);
52010 return 0;
52012 _ACEOF
52013 if ac_fn_cxx_try_compile "$LINENO"; then :
52014 glibcxx_cv_func_strtof_use=yes
52015 else
52016 glibcxx_cv_func_strtof_use=no
52018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52019 ac_ext=c
52020 ac_cpp='$CPP $CPPFLAGS'
52021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52030 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52031 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52032 for ac_func in strtof
52033 do :
52034 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52035 if test "x$ac_cv_func_strtof" = x""yes; then :
52036 cat >>confdefs.h <<_ACEOF
52037 #define HAVE_STRTOF 1
52038 _ACEOF
52041 done
52048 CXXFLAGS="$ac_save_CXXFLAGS"
52050 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52054 # Check whether --enable-tls was given.
52055 if test "${enable_tls+set}" = set; then :
52056 enableval=$enable_tls;
52057 case "$enableval" in
52058 yes|no) ;;
52059 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52060 esac
52062 else
52063 enable_tls=yes
52067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52068 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52069 if test "${gcc_cv_have_tls+set}" = set; then :
52070 $as_echo_n "(cached) " >&6
52071 else
52073 if test "$cross_compiling" = yes; then :
52074 if test x$gcc_no_link = xyes; then
52075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52078 /* end confdefs.h. */
52079 __thread int a; int b; int main() { return a = b; }
52080 _ACEOF
52081 if ac_fn_c_try_link "$LINENO"; then :
52082 chktls_save_LDFLAGS="$LDFLAGS"
52083 case $host in
52084 *-*-linux*)
52085 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52087 esac
52088 chktls_save_CFLAGS="$CFLAGS"
52089 CFLAGS="-fPIC $CFLAGS"
52090 if test x$gcc_no_link = xyes; then
52091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52094 /* end confdefs.h. */
52095 int f() { return 0; }
52096 _ACEOF
52097 if ac_fn_c_try_link "$LINENO"; then :
52098 if test x$gcc_no_link = xyes; then
52099 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52102 /* end confdefs.h. */
52103 __thread int a; int b; int f() { return a = b; }
52104 _ACEOF
52105 if ac_fn_c_try_link "$LINENO"; then :
52106 gcc_cv_have_tls=yes
52107 else
52108 gcc_cv_have_tls=no
52110 rm -f core conftest.err conftest.$ac_objext \
52111 conftest$ac_exeext conftest.$ac_ext
52112 else
52113 gcc_cv_have_tls=yes
52115 rm -f core conftest.err conftest.$ac_objext \
52116 conftest$ac_exeext conftest.$ac_ext
52117 CFLAGS="$chktls_save_CFLAGS"
52118 LDFLAGS="$chktls_save_LDFLAGS"
52119 else
52120 gcc_cv_have_tls=no
52122 rm -f core conftest.err conftest.$ac_objext \
52123 conftest$ac_exeext conftest.$ac_ext
52126 else
52127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52128 /* end confdefs.h. */
52129 __thread int a; int b; int main() { return a = b; }
52130 _ACEOF
52131 if ac_fn_c_try_run "$LINENO"; then :
52132 chktls_save_LDFLAGS="$LDFLAGS"
52133 LDFLAGS="-static $LDFLAGS"
52134 if test x$gcc_no_link = xyes; then
52135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52138 /* end confdefs.h. */
52139 int main() { return 0; }
52140 _ACEOF
52141 if ac_fn_c_try_link "$LINENO"; then :
52142 if test "$cross_compiling" = yes; then :
52143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52145 as_fn_error "cannot run test program while cross compiling
52146 See \`config.log' for more details." "$LINENO" 5; }
52147 else
52148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52149 /* end confdefs.h. */
52150 __thread int a; int b; int main() { return a = b; }
52151 _ACEOF
52152 if ac_fn_c_try_run "$LINENO"; then :
52153 gcc_cv_have_tls=yes
52154 else
52155 gcc_cv_have_tls=no
52157 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52158 conftest.$ac_objext conftest.beam conftest.$ac_ext
52161 else
52162 gcc_cv_have_tls=yes
52164 rm -f core conftest.err conftest.$ac_objext \
52165 conftest$ac_exeext conftest.$ac_ext
52166 LDFLAGS="$chktls_save_LDFLAGS"
52167 if test $gcc_cv_have_tls = yes; then
52168 chktls_save_CFLAGS="$CFLAGS"
52169 thread_CFLAGS=failed
52170 for flag in '' '-pthread' '-lpthread'; do
52171 CFLAGS="$flag $chktls_save_CFLAGS"
52172 if test x$gcc_no_link = xyes; then
52173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176 /* end confdefs.h. */
52177 #include <pthread.h>
52178 void *g(void *d) { return NULL; }
52180 main ()
52182 pthread_t t; pthread_create(&t,NULL,g,NULL);
52184 return 0;
52186 _ACEOF
52187 if ac_fn_c_try_link "$LINENO"; then :
52188 thread_CFLAGS="$flag"
52190 rm -f core conftest.err conftest.$ac_objext \
52191 conftest$ac_exeext conftest.$ac_ext
52192 if test "X$thread_CFLAGS" != Xfailed; then
52193 break
52195 done
52196 CFLAGS="$chktls_save_CFLAGS"
52197 if test "X$thread_CFLAGS" != Xfailed; then
52198 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52199 if test "$cross_compiling" = yes; then :
52200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52202 as_fn_error "cannot run test program while cross compiling
52203 See \`config.log' for more details." "$LINENO" 5; }
52204 else
52205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52206 /* end confdefs.h. */
52207 #include <pthread.h>
52208 __thread int a;
52209 static int *volatile a_in_other_thread;
52210 static void *
52211 thread_func (void *arg)
52213 a_in_other_thread = &a;
52214 return (void *)0;
52217 main ()
52219 pthread_t thread;
52220 void *thread_retval;
52221 int *volatile a_in_main_thread;
52222 a_in_main_thread = &a;
52223 if (pthread_create (&thread, (pthread_attr_t *)0,
52224 thread_func, (void *)0))
52225 return 0;
52226 if (pthread_join (thread, &thread_retval))
52227 return 0;
52228 return (a_in_other_thread == a_in_main_thread);
52230 return 0;
52232 _ACEOF
52233 if ac_fn_c_try_run "$LINENO"; then :
52234 gcc_cv_have_tls=yes
52235 else
52236 gcc_cv_have_tls=no
52238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52239 conftest.$ac_objext conftest.beam conftest.$ac_ext
52242 CFLAGS="$chktls_save_CFLAGS"
52245 else
52246 gcc_cv_have_tls=no
52248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52249 conftest.$ac_objext conftest.beam conftest.$ac_ext
52253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52254 $as_echo "$gcc_cv_have_tls" >&6; }
52255 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52257 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52265 am_save_CPPFLAGS="$CPPFLAGS"
52267 for element in $INCICONV; do
52268 haveit=
52269 for x in $CPPFLAGS; do
52271 acl_save_prefix="$prefix"
52272 prefix="$acl_final_prefix"
52273 acl_save_exec_prefix="$exec_prefix"
52274 exec_prefix="$acl_final_exec_prefix"
52275 eval x=\"$x\"
52276 exec_prefix="$acl_save_exec_prefix"
52277 prefix="$acl_save_prefix"
52279 if test "X$x" = "X$element"; then
52280 haveit=yes
52281 break
52283 done
52284 if test -z "$haveit"; then
52285 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52287 done
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52291 $as_echo_n "checking for iconv... " >&6; }
52292 if test "${am_cv_func_iconv+set}" = set; then :
52293 $as_echo_n "(cached) " >&6
52294 else
52296 am_cv_func_iconv="no, consider installing GNU libiconv"
52297 am_cv_lib_iconv=no
52298 if test x$gcc_no_link = xyes; then
52299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52302 /* end confdefs.h. */
52303 #include <stdlib.h>
52304 #include <iconv.h>
52306 main ()
52308 iconv_t cd = iconv_open("","");
52309 iconv(cd,NULL,NULL,NULL,NULL);
52310 iconv_close(cd);
52312 return 0;
52314 _ACEOF
52315 if ac_fn_c_try_link "$LINENO"; then :
52316 am_cv_func_iconv=yes
52318 rm -f core conftest.err conftest.$ac_objext \
52319 conftest$ac_exeext conftest.$ac_ext
52320 if test "$am_cv_func_iconv" != yes; then
52321 am_save_LIBS="$LIBS"
52322 LIBS="$LIBS $LIBICONV"
52323 if test x$gcc_no_link = xyes; then
52324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52327 /* end confdefs.h. */
52328 #include <stdlib.h>
52329 #include <iconv.h>
52331 main ()
52333 iconv_t cd = iconv_open("","");
52334 iconv(cd,NULL,NULL,NULL,NULL);
52335 iconv_close(cd);
52337 return 0;
52339 _ACEOF
52340 if ac_fn_c_try_link "$LINENO"; then :
52341 am_cv_lib_iconv=yes
52342 am_cv_func_iconv=yes
52344 rm -f core conftest.err conftest.$ac_objext \
52345 conftest$ac_exeext conftest.$ac_ext
52346 LIBS="$am_save_LIBS"
52350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52351 $as_echo "$am_cv_func_iconv" >&6; }
52352 if test "$am_cv_func_iconv" = yes; then
52354 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52357 if test "$am_cv_lib_iconv" = yes; then
52358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52359 $as_echo_n "checking how to link with libiconv... " >&6; }
52360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52361 $as_echo "$LIBICONV" >&6; }
52362 else
52363 CPPFLAGS="$am_save_CPPFLAGS"
52364 LIBICONV=
52365 LTLIBICONV=
52370 if test "$am_cv_func_iconv" = yes; then
52371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52372 $as_echo_n "checking for iconv declaration... " >&6; }
52373 if test "${am_cv_proto_iconv+set}" = set; then :
52374 $as_echo_n "(cached) " >&6
52375 else
52377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52378 /* end confdefs.h. */
52380 #include <stdlib.h>
52381 #include <iconv.h>
52382 extern
52383 #ifdef __cplusplus
52385 #endif
52386 #if defined(__STDC__) || defined(__cplusplus)
52387 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52388 #else
52389 size_t iconv();
52390 #endif
52393 main ()
52397 return 0;
52399 _ACEOF
52400 if ac_fn_c_try_compile "$LINENO"; then :
52401 am_cv_proto_iconv_arg1=""
52402 else
52403 am_cv_proto_iconv_arg1="const"
52405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52406 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);"
52409 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52411 }$am_cv_proto_iconv" >&5
52412 $as_echo "${ac_t:-
52413 }$am_cv_proto_iconv" >&6; }
52415 cat >>confdefs.h <<_ACEOF
52416 #define ICONV_CONST $am_cv_proto_iconv_arg1
52417 _ACEOF
52422 *-mingw32*)
52424 # If we're not using GNU ld, then there's no point in even trying these
52425 # tests. Check for that first. We should have already tested for gld
52426 # by now (in libtool), but require it now just to be safe...
52427 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52428 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52432 # The name set by libtool depends on the version of libtool. Shame on us
52433 # for depending on an impl detail, but c'est la vie. Older versions used
52434 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52435 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52436 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52437 # set (hence we're using an older libtool), then set it.
52438 if test x${with_gnu_ld+set} != xset; then
52439 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52440 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52441 with_gnu_ld=no
52442 else
52443 with_gnu_ld=$ac_cv_prog_gnu_ld
52447 # Start by getting the version number. I think the libtool test already
52448 # does some of this, but throws away the result.
52449 glibcxx_ld_is_gold=no
52450 if test x"$with_gnu_ld" = x"yes"; then
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52452 $as_echo_n "checking for ld version... " >&6; }
52454 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52455 glibcxx_ld_is_gold=yes
52457 ldver=`$LD --version 2>/dev/null |
52458 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'`
52460 glibcxx_gnu_ld_version=`echo $ldver | \
52461 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52463 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52466 # Set --gc-sections.
52467 glibcxx_have_gc_sections=no
52468 if test "$glibcxx_ld_is_gold" = "yes"; then
52469 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52470 glibcxx_have_gc_sections=yes
52472 else
52473 glibcxx_gcsections_min_ld=21602
52474 if test x"$with_gnu_ld" = x"yes" &&
52475 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52476 glibcxx_have_gc_sections=yes
52479 if test "$glibcxx_have_gc_sections" = "yes"; then
52480 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52481 # NB: This flag only works reliably after 2.16.1. Configure tests
52482 # for this are difficult, so hard wire a value that should work.
52484 ac_test_CFLAGS="${CFLAGS+set}"
52485 ac_save_CFLAGS="$CFLAGS"
52486 CFLAGS='-Wl,--gc-sections'
52488 # Check for -Wl,--gc-sections
52489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52490 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52491 if test x$gcc_no_link = xyes; then
52492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52495 /* end confdefs.h. */
52496 int one(void) { return 1; }
52497 int two(void) { return 2; }
52500 main ()
52502 two();
52504 return 0;
52506 _ACEOF
52507 if ac_fn_c_try_link "$LINENO"; then :
52508 ac_gcsections=yes
52509 else
52510 ac_gcsections=no
52512 rm -f core conftest.err conftest.$ac_objext \
52513 conftest$ac_exeext conftest.$ac_ext
52514 if test "$ac_gcsections" = "yes"; then
52515 rm -f conftest.c
52516 touch conftest.c
52517 if $CC -c conftest.c; then
52518 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52519 grep "Warning: gc-sections option ignored" > /dev/null; then
52520 ac_gcsections=no
52523 rm -f conftest.c conftest.o conftest
52525 if test "$ac_gcsections" = "yes"; then
52526 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52529 $as_echo "$ac_gcsections" >&6; }
52531 if test "$ac_test_CFLAGS" = set; then
52532 CFLAGS="$ac_save_CFLAGS"
52533 else
52534 # this is the suspicious part
52535 CFLAGS=''
52539 # Set -z,relro.
52540 # Note this is only for shared objects.
52541 ac_ld_relro=no
52542 if test x"$with_gnu_ld" = x"yes"; then
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52544 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52545 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52546 if test -n "$cxx_z_relo"; then
52547 OPT_LDFLAGS="-Wl,-z,relro"
52548 ac_ld_relro=yes
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52551 $as_echo "$ac_ld_relro" >&6; }
52554 # Set linker optimization flags.
52555 if test x"$with_gnu_ld" = x"yes"; then
52556 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52563 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52564 ac_save_CXXFLAGS="$CXXFLAGS"
52565 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52568 $as_echo_n "checking for sin in -lm... " >&6; }
52569 if test "${ac_cv_lib_m_sin+set}" = set; then :
52570 $as_echo_n "(cached) " >&6
52571 else
52572 ac_check_lib_save_LIBS=$LIBS
52573 LIBS="-lm $LIBS"
52574 if test x$gcc_no_link = xyes; then
52575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52578 /* end confdefs.h. */
52580 /* Override any GCC internal prototype to avoid an error.
52581 Use char because int might match the return type of a GCC
52582 builtin and then its argument prototype would still apply. */
52583 #ifdef __cplusplus
52584 extern "C"
52585 #endif
52586 char sin ();
52588 main ()
52590 return sin ();
52592 return 0;
52594 _ACEOF
52595 if ac_fn_c_try_link "$LINENO"; then :
52596 ac_cv_lib_m_sin=yes
52597 else
52598 ac_cv_lib_m_sin=no
52600 rm -f core conftest.err conftest.$ac_objext \
52601 conftest$ac_exeext conftest.$ac_ext
52602 LIBS=$ac_check_lib_save_LIBS
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52605 $as_echo "$ac_cv_lib_m_sin" >&6; }
52606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52607 libm="-lm"
52610 ac_save_LIBS="$LIBS"
52611 LIBS="$LIBS $libm"
52615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52616 $as_echo_n "checking for isinf declaration... " >&6; }
52617 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52618 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52619 $as_echo_n "(cached) " >&6
52620 else
52623 ac_ext=cpp
52624 ac_cpp='$CXXCPP $CPPFLAGS'
52625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52630 /* end confdefs.h. */
52631 #include <math.h>
52632 #ifdef HAVE_IEEEFP_H
52633 #include <ieeefp.h>
52634 #endif
52637 main ()
52639 isinf(0);
52641 return 0;
52643 _ACEOF
52644 if ac_fn_cxx_try_compile "$LINENO"; then :
52645 glibcxx_cv_func_isinf_use=yes
52646 else
52647 glibcxx_cv_func_isinf_use=no
52649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52650 ac_ext=c
52651 ac_cpp='$CPP $CPPFLAGS'
52652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52661 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52663 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52664 for ac_func in isinf
52665 do :
52666 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52667 if test "x$ac_cv_func_isinf" = x""yes; then :
52668 cat >>confdefs.h <<_ACEOF
52669 #define HAVE_ISINF 1
52670 _ACEOF
52673 done
52675 else
52677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52678 $as_echo_n "checking for _isinf declaration... " >&6; }
52679 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52680 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52681 $as_echo_n "(cached) " >&6
52682 else
52685 ac_ext=cpp
52686 ac_cpp='$CXXCPP $CPPFLAGS'
52687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52692 /* end confdefs.h. */
52693 #include <math.h>
52694 #ifdef HAVE_IEEEFP_H
52695 #include <ieeefp.h>
52696 #endif
52699 main ()
52701 _isinf(0);
52703 return 0;
52705 _ACEOF
52706 if ac_fn_cxx_try_compile "$LINENO"; then :
52707 glibcxx_cv_func__isinf_use=yes
52708 else
52709 glibcxx_cv_func__isinf_use=no
52711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52712 ac_ext=c
52713 ac_cpp='$CPP $CPPFLAGS'
52714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52723 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52725 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52726 for ac_func in _isinf
52727 do :
52728 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52729 if test "x$ac_cv_func__isinf" = x""yes; then :
52730 cat >>confdefs.h <<_ACEOF
52731 #define HAVE__ISINF 1
52732 _ACEOF
52735 done
52744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52745 $as_echo_n "checking for isnan declaration... " >&6; }
52746 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52747 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52748 $as_echo_n "(cached) " >&6
52749 else
52752 ac_ext=cpp
52753 ac_cpp='$CXXCPP $CPPFLAGS'
52754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52759 /* end confdefs.h. */
52760 #include <math.h>
52761 #ifdef HAVE_IEEEFP_H
52762 #include <ieeefp.h>
52763 #endif
52766 main ()
52768 isnan(0);
52770 return 0;
52772 _ACEOF
52773 if ac_fn_cxx_try_compile "$LINENO"; then :
52774 glibcxx_cv_func_isnan_use=yes
52775 else
52776 glibcxx_cv_func_isnan_use=no
52778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52779 ac_ext=c
52780 ac_cpp='$CPP $CPPFLAGS'
52781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52790 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52792 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52793 for ac_func in isnan
52794 do :
52795 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52796 if test "x$ac_cv_func_isnan" = x""yes; then :
52797 cat >>confdefs.h <<_ACEOF
52798 #define HAVE_ISNAN 1
52799 _ACEOF
52802 done
52804 else
52806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52807 $as_echo_n "checking for _isnan declaration... " >&6; }
52808 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52809 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52810 $as_echo_n "(cached) " >&6
52811 else
52814 ac_ext=cpp
52815 ac_cpp='$CXXCPP $CPPFLAGS'
52816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52821 /* end confdefs.h. */
52822 #include <math.h>
52823 #ifdef HAVE_IEEEFP_H
52824 #include <ieeefp.h>
52825 #endif
52828 main ()
52830 _isnan(0);
52832 return 0;
52834 _ACEOF
52835 if ac_fn_cxx_try_compile "$LINENO"; then :
52836 glibcxx_cv_func__isnan_use=yes
52837 else
52838 glibcxx_cv_func__isnan_use=no
52840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52841 ac_ext=c
52842 ac_cpp='$CPP $CPPFLAGS'
52843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52852 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52854 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52855 for ac_func in _isnan
52856 do :
52857 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52858 if test "x$ac_cv_func__isnan" = x""yes; then :
52859 cat >>confdefs.h <<_ACEOF
52860 #define HAVE__ISNAN 1
52861 _ACEOF
52864 done
52873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52874 $as_echo_n "checking for finite declaration... " >&6; }
52875 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52876 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52877 $as_echo_n "(cached) " >&6
52878 else
52881 ac_ext=cpp
52882 ac_cpp='$CXXCPP $CPPFLAGS'
52883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52888 /* end confdefs.h. */
52889 #include <math.h>
52890 #ifdef HAVE_IEEEFP_H
52891 #include <ieeefp.h>
52892 #endif
52895 main ()
52897 finite(0);
52899 return 0;
52901 _ACEOF
52902 if ac_fn_cxx_try_compile "$LINENO"; then :
52903 glibcxx_cv_func_finite_use=yes
52904 else
52905 glibcxx_cv_func_finite_use=no
52907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52908 ac_ext=c
52909 ac_cpp='$CPP $CPPFLAGS'
52910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52919 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52921 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52922 for ac_func in finite
52923 do :
52924 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52925 if test "x$ac_cv_func_finite" = x""yes; then :
52926 cat >>confdefs.h <<_ACEOF
52927 #define HAVE_FINITE 1
52928 _ACEOF
52931 done
52933 else
52935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52936 $as_echo_n "checking for _finite declaration... " >&6; }
52937 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52938 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52939 $as_echo_n "(cached) " >&6
52940 else
52943 ac_ext=cpp
52944 ac_cpp='$CXXCPP $CPPFLAGS'
52945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52950 /* end confdefs.h. */
52951 #include <math.h>
52952 #ifdef HAVE_IEEEFP_H
52953 #include <ieeefp.h>
52954 #endif
52957 main ()
52959 _finite(0);
52961 return 0;
52963 _ACEOF
52964 if ac_fn_cxx_try_compile "$LINENO"; then :
52965 glibcxx_cv_func__finite_use=yes
52966 else
52967 glibcxx_cv_func__finite_use=no
52969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52970 ac_ext=c
52971 ac_cpp='$CPP $CPPFLAGS'
52972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52981 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52983 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52984 for ac_func in _finite
52985 do :
52986 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52987 if test "x$ac_cv_func__finite" = x""yes; then :
52988 cat >>confdefs.h <<_ACEOF
52989 #define HAVE__FINITE 1
52990 _ACEOF
52993 done
53002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53003 $as_echo_n "checking for sincos declaration... " >&6; }
53004 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53005 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53006 $as_echo_n "(cached) " >&6
53007 else
53010 ac_ext=cpp
53011 ac_cpp='$CXXCPP $CPPFLAGS'
53012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53017 /* end confdefs.h. */
53018 #include <math.h>
53020 main ()
53022 sincos(0, 0, 0);
53024 return 0;
53026 _ACEOF
53027 if ac_fn_cxx_try_compile "$LINENO"; then :
53028 glibcxx_cv_func_sincos_use=yes
53029 else
53030 glibcxx_cv_func_sincos_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_sincos_use" >&5
53044 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53046 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53047 for ac_func in sincos
53048 do :
53049 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53050 if test "x$ac_cv_func_sincos" = x""yes; then :
53051 cat >>confdefs.h <<_ACEOF
53052 #define HAVE_SINCOS 1
53053 _ACEOF
53056 done
53058 else
53060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53061 $as_echo_n "checking for _sincos declaration... " >&6; }
53062 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53063 if test "${glibcxx_cv_func__sincos_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>
53078 main ()
53080 _sincos(0, 0, 0);
53082 return 0;
53084 _ACEOF
53085 if ac_fn_cxx_try_compile "$LINENO"; then :
53086 glibcxx_cv_func__sincos_use=yes
53087 else
53088 glibcxx_cv_func__sincos_use=no
53090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53091 ac_ext=c
53092 ac_cpp='$CPP $CPPFLAGS'
53093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53102 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53104 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53105 for ac_func in _sincos
53106 do :
53107 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53108 if test "x$ac_cv_func__sincos" = x""yes; then :
53109 cat >>confdefs.h <<_ACEOF
53110 #define HAVE__SINCOS 1
53111 _ACEOF
53114 done
53123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53124 $as_echo_n "checking for fpclass declaration... " >&6; }
53125 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53126 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53127 $as_echo_n "(cached) " >&6
53128 else
53131 ac_ext=cpp
53132 ac_cpp='$CXXCPP $CPPFLAGS'
53133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53138 /* end confdefs.h. */
53139 #include <math.h>
53140 #ifdef HAVE_IEEEFP_H
53141 #include <ieeefp.h>
53142 #endif
53145 main ()
53147 fpclass(0);
53149 return 0;
53151 _ACEOF
53152 if ac_fn_cxx_try_compile "$LINENO"; then :
53153 glibcxx_cv_func_fpclass_use=yes
53154 else
53155 glibcxx_cv_func_fpclass_use=no
53157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53158 ac_ext=c
53159 ac_cpp='$CPP $CPPFLAGS'
53160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53169 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53171 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53172 for ac_func in fpclass
53173 do :
53174 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53175 if test "x$ac_cv_func_fpclass" = x""yes; then :
53176 cat >>confdefs.h <<_ACEOF
53177 #define HAVE_FPCLASS 1
53178 _ACEOF
53181 done
53183 else
53185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53186 $as_echo_n "checking for _fpclass declaration... " >&6; }
53187 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53188 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53189 $as_echo_n "(cached) " >&6
53190 else
53193 ac_ext=cpp
53194 ac_cpp='$CXXCPP $CPPFLAGS'
53195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53200 /* end confdefs.h. */
53201 #include <math.h>
53202 #ifdef HAVE_IEEEFP_H
53203 #include <ieeefp.h>
53204 #endif
53207 main ()
53209 _fpclass(0);
53211 return 0;
53213 _ACEOF
53214 if ac_fn_cxx_try_compile "$LINENO"; then :
53215 glibcxx_cv_func__fpclass_use=yes
53216 else
53217 glibcxx_cv_func__fpclass_use=no
53219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53220 ac_ext=c
53221 ac_cpp='$CPP $CPPFLAGS'
53222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53231 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53233 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53234 for ac_func in _fpclass
53235 do :
53236 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53237 if test "x$ac_cv_func__fpclass" = x""yes; then :
53238 cat >>confdefs.h <<_ACEOF
53239 #define HAVE__FPCLASS 1
53240 _ACEOF
53243 done
53252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53253 $as_echo_n "checking for qfpclass declaration... " >&6; }
53254 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53255 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53256 $as_echo_n "(cached) " >&6
53257 else
53260 ac_ext=cpp
53261 ac_cpp='$CXXCPP $CPPFLAGS'
53262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53267 /* end confdefs.h. */
53268 #include <math.h>
53269 #ifdef HAVE_IEEEFP_H
53270 #include <ieeefp.h>
53271 #endif
53274 main ()
53276 qfpclass(0);
53278 return 0;
53280 _ACEOF
53281 if ac_fn_cxx_try_compile "$LINENO"; then :
53282 glibcxx_cv_func_qfpclass_use=yes
53283 else
53284 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
53298 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53300 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53301 for ac_func in qfpclass
53302 do :
53303 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53304 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53305 cat >>confdefs.h <<_ACEOF
53306 #define HAVE_QFPCLASS 1
53307 _ACEOF
53310 done
53312 else
53314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53315 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53316 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53317 if test "${glibcxx_cv_func__qfpclass_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>
53331 #ifdef HAVE_IEEEFP_H
53332 #include <ieeefp.h>
53333 #endif
53336 main ()
53338 _qfpclass(0);
53340 return 0;
53342 _ACEOF
53343 if ac_fn_cxx_try_compile "$LINENO"; then :
53344 glibcxx_cv_func__qfpclass_use=yes
53345 else
53346 glibcxx_cv_func__qfpclass_use=no
53348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53349 ac_ext=c
53350 ac_cpp='$CPP $CPPFLAGS'
53351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53360 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53362 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53363 for ac_func in _qfpclass
53364 do :
53365 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53366 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53367 cat >>confdefs.h <<_ACEOF
53368 #define HAVE__QFPCLASS 1
53369 _ACEOF
53372 done
53381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53382 $as_echo_n "checking for hypot declaration... " >&6; }
53383 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53384 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53385 $as_echo_n "(cached) " >&6
53386 else
53389 ac_ext=cpp
53390 ac_cpp='$CXXCPP $CPPFLAGS'
53391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53396 /* end confdefs.h. */
53397 #include <math.h>
53399 main ()
53401 hypot(0, 0);
53403 return 0;
53405 _ACEOF
53406 if ac_fn_cxx_try_compile "$LINENO"; then :
53407 glibcxx_cv_func_hypot_use=yes
53408 else
53409 glibcxx_cv_func_hypot_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_hypot_use" >&5
53423 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53425 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53426 for ac_func in hypot
53427 do :
53428 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53429 if test "x$ac_cv_func_hypot" = x""yes; then :
53430 cat >>confdefs.h <<_ACEOF
53431 #define HAVE_HYPOT 1
53432 _ACEOF
53435 done
53437 else
53439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53440 $as_echo_n "checking for _hypot declaration... " >&6; }
53441 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53442 if test "${glibcxx_cv_func__hypot_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>
53457 main ()
53459 _hypot(0, 0);
53461 return 0;
53463 _ACEOF
53464 if ac_fn_cxx_try_compile "$LINENO"; then :
53465 glibcxx_cv_func__hypot_use=yes
53466 else
53467 glibcxx_cv_func__hypot_use=no
53469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53470 ac_ext=c
53471 ac_cpp='$CPP $CPPFLAGS'
53472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53481 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53483 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53484 for ac_func in _hypot
53485 do :
53486 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53487 if test "x$ac_cv_func__hypot" = x""yes; then :
53488 cat >>confdefs.h <<_ACEOF
53489 #define HAVE__HYPOT 1
53490 _ACEOF
53493 done
53502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53503 $as_echo_n "checking for float trig functions... " >&6; }
53504 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53505 $as_echo_n "(cached) " >&6
53506 else
53509 ac_ext=cpp
53510 ac_cpp='$CXXCPP $CPPFLAGS'
53511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53516 /* end confdefs.h. */
53517 #include <math.h>
53519 main ()
53521 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53523 return 0;
53525 _ACEOF
53526 if ac_fn_cxx_try_compile "$LINENO"; then :
53527 glibcxx_cv_func_float_trig_use=yes
53528 else
53529 glibcxx_cv_func_float_trig_use=no
53531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53532 ac_ext=c
53533 ac_cpp='$CPP $CPPFLAGS'
53534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53541 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53542 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53543 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53544 do :
53545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53547 eval as_val=\$$as_ac_var
53548 if test "x$as_val" = x""yes; then :
53549 cat >>confdefs.h <<_ACEOF
53550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53551 _ACEOF
53554 done
53556 else
53557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53558 $as_echo_n "checking for _float trig functions... " >&6; }
53559 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53574 main ()
53576 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53578 return 0;
53580 _ACEOF
53581 if ac_fn_cxx_try_compile "$LINENO"; then :
53582 glibcxx_cv_func__float_trig_use=yes
53583 else
53584 glibcxx_cv_func__float_trig_use=no
53586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53587 ac_ext=c
53588 ac_cpp='$CPP $CPPFLAGS'
53589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53596 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53597 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53598 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53599 do :
53600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53602 eval as_val=\$$as_ac_var
53603 if test "x$as_val" = x""yes; then :
53604 cat >>confdefs.h <<_ACEOF
53605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53606 _ACEOF
53609 done
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53619 $as_echo_n "checking for float round functions... " >&6; }
53620 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53621 $as_echo_n "(cached) " >&6
53622 else
53625 ac_ext=cpp
53626 ac_cpp='$CXXCPP $CPPFLAGS'
53627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53632 /* end confdefs.h. */
53633 #include <math.h>
53635 main ()
53637 ceilf (0); floorf (0);
53639 return 0;
53641 _ACEOF
53642 if ac_fn_cxx_try_compile "$LINENO"; then :
53643 glibcxx_cv_func_float_round_use=yes
53644 else
53645 glibcxx_cv_func_float_round_use=no
53647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53648 ac_ext=c
53649 ac_cpp='$CPP $CPPFLAGS'
53650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53657 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53658 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53659 for ac_func in ceilf floorf
53660 do :
53661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53663 eval as_val=\$$as_ac_var
53664 if test "x$as_val" = x""yes; then :
53665 cat >>confdefs.h <<_ACEOF
53666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53667 _ACEOF
53670 done
53672 else
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53674 $as_echo_n "checking for _float round functions... " >&6; }
53675 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53676 $as_echo_n "(cached) " >&6
53677 else
53680 ac_ext=cpp
53681 ac_cpp='$CXXCPP $CPPFLAGS'
53682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53687 /* end confdefs.h. */
53688 #include <math.h>
53690 main ()
53692 _ceilf (0); _floorf (0);
53694 return 0;
53696 _ACEOF
53697 if ac_fn_cxx_try_compile "$LINENO"; then :
53698 glibcxx_cv_func__float_round_use=yes
53699 else
53700 glibcxx_cv_func__float_round_use=no
53702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53703 ac_ext=c
53704 ac_cpp='$CPP $CPPFLAGS'
53705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53712 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53713 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53714 for ac_func in _ceilf _floorf
53715 do :
53716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53718 eval as_val=\$$as_ac_var
53719 if test "x$as_val" = x""yes; then :
53720 cat >>confdefs.h <<_ACEOF
53721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53722 _ACEOF
53725 done
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53736 $as_echo_n "checking for expf declaration... " >&6; }
53737 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53738 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53739 $as_echo_n "(cached) " >&6
53740 else
53743 ac_ext=cpp
53744 ac_cpp='$CXXCPP $CPPFLAGS'
53745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53750 /* end confdefs.h. */
53751 #include <math.h>
53752 #ifdef HAVE_IEEEFP_H
53753 #include <ieeefp.h>
53754 #endif
53757 main ()
53759 expf(0);
53761 return 0;
53763 _ACEOF
53764 if ac_fn_cxx_try_compile "$LINENO"; then :
53765 glibcxx_cv_func_expf_use=yes
53766 else
53767 glibcxx_cv_func_expf_use=no
53769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53770 ac_ext=c
53771 ac_cpp='$CPP $CPPFLAGS'
53772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53781 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53783 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53784 for ac_func in expf
53785 do :
53786 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53787 if test "x$ac_cv_func_expf" = x""yes; then :
53788 cat >>confdefs.h <<_ACEOF
53789 #define HAVE_EXPF 1
53790 _ACEOF
53793 done
53795 else
53797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53798 $as_echo_n "checking for _expf declaration... " >&6; }
53799 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53800 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53801 $as_echo_n "(cached) " >&6
53802 else
53805 ac_ext=cpp
53806 ac_cpp='$CXXCPP $CPPFLAGS'
53807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53812 /* end confdefs.h. */
53813 #include <math.h>
53814 #ifdef HAVE_IEEEFP_H
53815 #include <ieeefp.h>
53816 #endif
53819 main ()
53821 _expf(0);
53823 return 0;
53825 _ACEOF
53826 if ac_fn_cxx_try_compile "$LINENO"; then :
53827 glibcxx_cv_func__expf_use=yes
53828 else
53829 glibcxx_cv_func__expf_use=no
53831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53832 ac_ext=c
53833 ac_cpp='$CPP $CPPFLAGS'
53834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53843 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53845 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53846 for ac_func in _expf
53847 do :
53848 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53849 if test "x$ac_cv_func__expf" = x""yes; then :
53850 cat >>confdefs.h <<_ACEOF
53851 #define HAVE__EXPF 1
53852 _ACEOF
53855 done
53864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53865 $as_echo_n "checking for isnanf declaration... " >&6; }
53866 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53867 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53868 $as_echo_n "(cached) " >&6
53869 else
53872 ac_ext=cpp
53873 ac_cpp='$CXXCPP $CPPFLAGS'
53874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53879 /* end confdefs.h. */
53880 #include <math.h>
53881 #ifdef HAVE_IEEEFP_H
53882 #include <ieeefp.h>
53883 #endif
53886 main ()
53888 isnanf(0);
53890 return 0;
53892 _ACEOF
53893 if ac_fn_cxx_try_compile "$LINENO"; then :
53894 glibcxx_cv_func_isnanf_use=yes
53895 else
53896 glibcxx_cv_func_isnanf_use=no
53898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53899 ac_ext=c
53900 ac_cpp='$CPP $CPPFLAGS'
53901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53910 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53912 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53913 for ac_func in isnanf
53914 do :
53915 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53916 if test "x$ac_cv_func_isnanf" = x""yes; then :
53917 cat >>confdefs.h <<_ACEOF
53918 #define HAVE_ISNANF 1
53919 _ACEOF
53922 done
53924 else
53926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53927 $as_echo_n "checking for _isnanf declaration... " >&6; }
53928 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53929 if test "${glibcxx_cv_func__isnanf_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>
53943 #ifdef HAVE_IEEEFP_H
53944 #include <ieeefp.h>
53945 #endif
53948 main ()
53950 _isnanf(0);
53952 return 0;
53954 _ACEOF
53955 if ac_fn_cxx_try_compile "$LINENO"; then :
53956 glibcxx_cv_func__isnanf_use=yes
53957 else
53958 glibcxx_cv_func__isnanf_use=no
53960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53961 ac_ext=c
53962 ac_cpp='$CPP $CPPFLAGS'
53963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53972 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53974 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53975 for ac_func in _isnanf
53976 do :
53977 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53978 if test "x$ac_cv_func__isnanf" = x""yes; then :
53979 cat >>confdefs.h <<_ACEOF
53980 #define HAVE__ISNANF 1
53981 _ACEOF
53984 done
53993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53994 $as_echo_n "checking for isinff declaration... " >&6; }
53995 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53996 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53997 $as_echo_n "(cached) " >&6
53998 else
54001 ac_ext=cpp
54002 ac_cpp='$CXXCPP $CPPFLAGS'
54003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54008 /* end confdefs.h. */
54009 #include <math.h>
54010 #ifdef HAVE_IEEEFP_H
54011 #include <ieeefp.h>
54012 #endif
54015 main ()
54017 isinff(0);
54019 return 0;
54021 _ACEOF
54022 if ac_fn_cxx_try_compile "$LINENO"; then :
54023 glibcxx_cv_func_isinff_use=yes
54024 else
54025 glibcxx_cv_func_isinff_use=no
54027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54028 ac_ext=c
54029 ac_cpp='$CPP $CPPFLAGS'
54030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54039 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54041 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54042 for ac_func in isinff
54043 do :
54044 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54045 if test "x$ac_cv_func_isinff" = x""yes; then :
54046 cat >>confdefs.h <<_ACEOF
54047 #define HAVE_ISINFF 1
54048 _ACEOF
54051 done
54053 else
54055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54056 $as_echo_n "checking for _isinff declaration... " >&6; }
54057 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54058 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54059 $as_echo_n "(cached) " >&6
54060 else
54063 ac_ext=cpp
54064 ac_cpp='$CXXCPP $CPPFLAGS'
54065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54070 /* end confdefs.h. */
54071 #include <math.h>
54072 #ifdef HAVE_IEEEFP_H
54073 #include <ieeefp.h>
54074 #endif
54077 main ()
54079 _isinff(0);
54081 return 0;
54083 _ACEOF
54084 if ac_fn_cxx_try_compile "$LINENO"; then :
54085 glibcxx_cv_func__isinff_use=yes
54086 else
54087 glibcxx_cv_func__isinff_use=no
54089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54090 ac_ext=c
54091 ac_cpp='$CPP $CPPFLAGS'
54092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54101 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54103 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54104 for ac_func in _isinff
54105 do :
54106 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54107 if test "x$ac_cv_func__isinff" = x""yes; then :
54108 cat >>confdefs.h <<_ACEOF
54109 #define HAVE__ISINFF 1
54110 _ACEOF
54113 done
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54123 $as_echo_n "checking for atan2f declaration... " >&6; }
54124 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54125 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54126 $as_echo_n "(cached) " >&6
54127 else
54130 ac_ext=cpp
54131 ac_cpp='$CXXCPP $CPPFLAGS'
54132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54137 /* end confdefs.h. */
54138 #include <math.h>
54140 main ()
54142 atan2f(0, 0);
54144 return 0;
54146 _ACEOF
54147 if ac_fn_cxx_try_compile "$LINENO"; then :
54148 glibcxx_cv_func_atan2f_use=yes
54149 else
54150 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
54164 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54166 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54167 for ac_func in atan2f
54168 do :
54169 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54170 if test "x$ac_cv_func_atan2f" = x""yes; then :
54171 cat >>confdefs.h <<_ACEOF
54172 #define HAVE_ATAN2F 1
54173 _ACEOF
54176 done
54178 else
54180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54181 $as_echo_n "checking for _atan2f declaration... " >&6; }
54182 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54183 if test "${glibcxx_cv_func__atan2f_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>
54198 main ()
54200 _atan2f(0, 0);
54202 return 0;
54204 _ACEOF
54205 if ac_fn_cxx_try_compile "$LINENO"; then :
54206 glibcxx_cv_func__atan2f_use=yes
54207 else
54208 glibcxx_cv_func__atan2f_use=no
54210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54211 ac_ext=c
54212 ac_cpp='$CPP $CPPFLAGS'
54213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54222 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54224 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54225 for ac_func in _atan2f
54226 do :
54227 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54228 if test "x$ac_cv_func__atan2f" = x""yes; then :
54229 cat >>confdefs.h <<_ACEOF
54230 #define HAVE__ATAN2F 1
54231 _ACEOF
54234 done
54243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54244 $as_echo_n "checking for fabsf declaration... " >&6; }
54245 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54246 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54247 $as_echo_n "(cached) " >&6
54248 else
54251 ac_ext=cpp
54252 ac_cpp='$CXXCPP $CPPFLAGS'
54253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54258 /* end confdefs.h. */
54259 #include <math.h>
54260 #ifdef HAVE_IEEEFP_H
54261 #include <ieeefp.h>
54262 #endif
54265 main ()
54267 fabsf(0);
54269 return 0;
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func_fabsf_use=yes
54274 else
54275 glibcxx_cv_func_fabsf_use=no
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278 ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54289 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54291 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54292 for ac_func in fabsf
54293 do :
54294 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54295 if test "x$ac_cv_func_fabsf" = x""yes; then :
54296 cat >>confdefs.h <<_ACEOF
54297 #define HAVE_FABSF 1
54298 _ACEOF
54301 done
54303 else
54305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54306 $as_echo_n "checking for _fabsf declaration... " >&6; }
54307 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54308 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54309 $as_echo_n "(cached) " >&6
54310 else
54313 ac_ext=cpp
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54320 /* end confdefs.h. */
54321 #include <math.h>
54322 #ifdef HAVE_IEEEFP_H
54323 #include <ieeefp.h>
54324 #endif
54327 main ()
54329 _fabsf(0);
54331 return 0;
54333 _ACEOF
54334 if ac_fn_cxx_try_compile "$LINENO"; then :
54335 glibcxx_cv_func__fabsf_use=yes
54336 else
54337 glibcxx_cv_func__fabsf_use=no
54339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54340 ac_ext=c
54341 ac_cpp='$CPP $CPPFLAGS'
54342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54351 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54353 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54354 for ac_func in _fabsf
54355 do :
54356 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54357 if test "x$ac_cv_func__fabsf" = x""yes; then :
54358 cat >>confdefs.h <<_ACEOF
54359 #define HAVE__FABSF 1
54360 _ACEOF
54363 done
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54373 $as_echo_n "checking for fmodf declaration... " >&6; }
54374 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54375 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54376 $as_echo_n "(cached) " >&6
54377 else
54380 ac_ext=cpp
54381 ac_cpp='$CXXCPP $CPPFLAGS'
54382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54387 /* end confdefs.h. */
54388 #include <math.h>
54390 main ()
54392 fmodf(0, 0);
54394 return 0;
54396 _ACEOF
54397 if ac_fn_cxx_try_compile "$LINENO"; then :
54398 glibcxx_cv_func_fmodf_use=yes
54399 else
54400 glibcxx_cv_func_fmodf_use=no
54402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54403 ac_ext=c
54404 ac_cpp='$CPP $CPPFLAGS'
54405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54414 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54416 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54417 for ac_func in fmodf
54418 do :
54419 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54420 if test "x$ac_cv_func_fmodf" = x""yes; then :
54421 cat >>confdefs.h <<_ACEOF
54422 #define HAVE_FMODF 1
54423 _ACEOF
54426 done
54428 else
54430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54431 $as_echo_n "checking for _fmodf declaration... " >&6; }
54432 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54433 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54434 $as_echo_n "(cached) " >&6
54435 else
54438 ac_ext=cpp
54439 ac_cpp='$CXXCPP $CPPFLAGS'
54440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54445 /* end confdefs.h. */
54446 #include <math.h>
54448 main ()
54450 _fmodf(0, 0);
54452 return 0;
54454 _ACEOF
54455 if ac_fn_cxx_try_compile "$LINENO"; then :
54456 glibcxx_cv_func__fmodf_use=yes
54457 else
54458 glibcxx_cv_func__fmodf_use=no
54460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54461 ac_ext=c
54462 ac_cpp='$CPP $CPPFLAGS'
54463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54472 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54474 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54475 for ac_func in _fmodf
54476 do :
54477 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54478 if test "x$ac_cv_func__fmodf" = x""yes; then :
54479 cat >>confdefs.h <<_ACEOF
54480 #define HAVE__FMODF 1
54481 _ACEOF
54484 done
54493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54494 $as_echo_n "checking for frexpf declaration... " >&6; }
54495 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54496 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54497 $as_echo_n "(cached) " >&6
54498 else
54501 ac_ext=cpp
54502 ac_cpp='$CXXCPP $CPPFLAGS'
54503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54508 /* end confdefs.h. */
54509 #include <math.h>
54511 main ()
54513 frexpf(0, 0);
54515 return 0;
54517 _ACEOF
54518 if ac_fn_cxx_try_compile "$LINENO"; then :
54519 glibcxx_cv_func_frexpf_use=yes
54520 else
54521 glibcxx_cv_func_frexpf_use=no
54523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54524 ac_ext=c
54525 ac_cpp='$CPP $CPPFLAGS'
54526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54535 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54537 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54538 for ac_func in frexpf
54539 do :
54540 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54541 if test "x$ac_cv_func_frexpf" = x""yes; then :
54542 cat >>confdefs.h <<_ACEOF
54543 #define HAVE_FREXPF 1
54544 _ACEOF
54547 done
54549 else
54551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54552 $as_echo_n "checking for _frexpf declaration... " >&6; }
54553 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54554 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54555 $as_echo_n "(cached) " >&6
54556 else
54559 ac_ext=cpp
54560 ac_cpp='$CXXCPP $CPPFLAGS'
54561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54566 /* end confdefs.h. */
54567 #include <math.h>
54569 main ()
54571 _frexpf(0, 0);
54573 return 0;
54575 _ACEOF
54576 if ac_fn_cxx_try_compile "$LINENO"; then :
54577 glibcxx_cv_func__frexpf_use=yes
54578 else
54579 glibcxx_cv_func__frexpf_use=no
54581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54582 ac_ext=c
54583 ac_cpp='$CPP $CPPFLAGS'
54584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54593 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54595 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54596 for ac_func in _frexpf
54597 do :
54598 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54599 if test "x$ac_cv_func__frexpf" = x""yes; then :
54600 cat >>confdefs.h <<_ACEOF
54601 #define HAVE__FREXPF 1
54602 _ACEOF
54605 done
54614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54615 $as_echo_n "checking for hypotf declaration... " >&6; }
54616 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54617 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54618 $as_echo_n "(cached) " >&6
54619 else
54622 ac_ext=cpp
54623 ac_cpp='$CXXCPP $CPPFLAGS'
54624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54629 /* end confdefs.h. */
54630 #include <math.h>
54632 main ()
54634 hypotf(0, 0);
54636 return 0;
54638 _ACEOF
54639 if ac_fn_cxx_try_compile "$LINENO"; then :
54640 glibcxx_cv_func_hypotf_use=yes
54641 else
54642 glibcxx_cv_func_hypotf_use=no
54644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54645 ac_ext=c
54646 ac_cpp='$CPP $CPPFLAGS'
54647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54656 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54658 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54659 for ac_func in hypotf
54660 do :
54661 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54662 if test "x$ac_cv_func_hypotf" = x""yes; then :
54663 cat >>confdefs.h <<_ACEOF
54664 #define HAVE_HYPOTF 1
54665 _ACEOF
54668 done
54670 else
54672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54673 $as_echo_n "checking for _hypotf declaration... " >&6; }
54674 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54675 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54676 $as_echo_n "(cached) " >&6
54677 else
54680 ac_ext=cpp
54681 ac_cpp='$CXXCPP $CPPFLAGS'
54682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54687 /* end confdefs.h. */
54688 #include <math.h>
54690 main ()
54692 _hypotf(0, 0);
54694 return 0;
54696 _ACEOF
54697 if ac_fn_cxx_try_compile "$LINENO"; then :
54698 glibcxx_cv_func__hypotf_use=yes
54699 else
54700 glibcxx_cv_func__hypotf_use=no
54702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54703 ac_ext=c
54704 ac_cpp='$CPP $CPPFLAGS'
54705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54714 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54716 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54717 for ac_func in _hypotf
54718 do :
54719 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54720 if test "x$ac_cv_func__hypotf" = x""yes; then :
54721 cat >>confdefs.h <<_ACEOF
54722 #define HAVE__HYPOTF 1
54723 _ACEOF
54726 done
54735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54736 $as_echo_n "checking for ldexpf declaration... " >&6; }
54737 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54738 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54739 $as_echo_n "(cached) " >&6
54740 else
54743 ac_ext=cpp
54744 ac_cpp='$CXXCPP $CPPFLAGS'
54745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54750 /* end confdefs.h. */
54751 #include <math.h>
54753 main ()
54755 ldexpf(0, 0);
54757 return 0;
54759 _ACEOF
54760 if ac_fn_cxx_try_compile "$LINENO"; then :
54761 glibcxx_cv_func_ldexpf_use=yes
54762 else
54763 glibcxx_cv_func_ldexpf_use=no
54765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54766 ac_ext=c
54767 ac_cpp='$CPP $CPPFLAGS'
54768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54777 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54779 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54780 for ac_func in ldexpf
54781 do :
54782 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54783 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54784 cat >>confdefs.h <<_ACEOF
54785 #define HAVE_LDEXPF 1
54786 _ACEOF
54789 done
54791 else
54793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54794 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54795 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54796 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54797 $as_echo_n "(cached) " >&6
54798 else
54801 ac_ext=cpp
54802 ac_cpp='$CXXCPP $CPPFLAGS'
54803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54808 /* end confdefs.h. */
54809 #include <math.h>
54811 main ()
54813 _ldexpf(0, 0);
54815 return 0;
54817 _ACEOF
54818 if ac_fn_cxx_try_compile "$LINENO"; then :
54819 glibcxx_cv_func__ldexpf_use=yes
54820 else
54821 glibcxx_cv_func__ldexpf_use=no
54823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54824 ac_ext=c
54825 ac_cpp='$CPP $CPPFLAGS'
54826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54835 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54837 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54838 for ac_func in _ldexpf
54839 do :
54840 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54841 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54842 cat >>confdefs.h <<_ACEOF
54843 #define HAVE__LDEXPF 1
54844 _ACEOF
54847 done
54856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54857 $as_echo_n "checking for logf declaration... " >&6; }
54858 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54859 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54860 $as_echo_n "(cached) " >&6
54861 else
54864 ac_ext=cpp
54865 ac_cpp='$CXXCPP $CPPFLAGS'
54866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54871 /* end confdefs.h. */
54872 #include <math.h>
54873 #ifdef HAVE_IEEEFP_H
54874 #include <ieeefp.h>
54875 #endif
54878 main ()
54880 logf(0);
54882 return 0;
54884 _ACEOF
54885 if ac_fn_cxx_try_compile "$LINENO"; then :
54886 glibcxx_cv_func_logf_use=yes
54887 else
54888 glibcxx_cv_func_logf_use=no
54890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54891 ac_ext=c
54892 ac_cpp='$CPP $CPPFLAGS'
54893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54902 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54904 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54905 for ac_func in logf
54906 do :
54907 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54908 if test "x$ac_cv_func_logf" = x""yes; then :
54909 cat >>confdefs.h <<_ACEOF
54910 #define HAVE_LOGF 1
54911 _ACEOF
54914 done
54916 else
54918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54919 $as_echo_n "checking for _logf declaration... " >&6; }
54920 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54921 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54922 $as_echo_n "(cached) " >&6
54923 else
54926 ac_ext=cpp
54927 ac_cpp='$CXXCPP $CPPFLAGS'
54928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54933 /* end confdefs.h. */
54934 #include <math.h>
54935 #ifdef HAVE_IEEEFP_H
54936 #include <ieeefp.h>
54937 #endif
54940 main ()
54942 _logf(0);
54944 return 0;
54946 _ACEOF
54947 if ac_fn_cxx_try_compile "$LINENO"; then :
54948 glibcxx_cv_func__logf_use=yes
54949 else
54950 glibcxx_cv_func__logf_use=no
54952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54953 ac_ext=c
54954 ac_cpp='$CPP $CPPFLAGS'
54955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54964 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54966 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54967 for ac_func in _logf
54968 do :
54969 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54970 if test "x$ac_cv_func__logf" = x""yes; then :
54971 cat >>confdefs.h <<_ACEOF
54972 #define HAVE__LOGF 1
54973 _ACEOF
54976 done
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54986 $as_echo_n "checking for log10f declaration... " >&6; }
54987 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54988 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54989 $as_echo_n "(cached) " >&6
54990 else
54993 ac_ext=cpp
54994 ac_cpp='$CXXCPP $CPPFLAGS'
54995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55000 /* end confdefs.h. */
55001 #include <math.h>
55002 #ifdef HAVE_IEEEFP_H
55003 #include <ieeefp.h>
55004 #endif
55007 main ()
55009 log10f(0);
55011 return 0;
55013 _ACEOF
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015 glibcxx_cv_func_log10f_use=yes
55016 else
55017 glibcxx_cv_func_log10f_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_log10f_use" >&5
55031 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55033 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55034 for ac_func in log10f
55035 do :
55036 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55037 if test "x$ac_cv_func_log10f" = x""yes; then :
55038 cat >>confdefs.h <<_ACEOF
55039 #define HAVE_LOG10F 1
55040 _ACEOF
55043 done
55045 else
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55048 $as_echo_n "checking for _log10f declaration... " >&6; }
55049 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55050 if test "${glibcxx_cv_func__log10f_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>
55064 #ifdef HAVE_IEEEFP_H
55065 #include <ieeefp.h>
55066 #endif
55069 main ()
55071 _log10f(0);
55073 return 0;
55075 _ACEOF
55076 if ac_fn_cxx_try_compile "$LINENO"; then :
55077 glibcxx_cv_func__log10f_use=yes
55078 else
55079 glibcxx_cv_func__log10f_use=no
55081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55082 ac_ext=c
55083 ac_cpp='$CPP $CPPFLAGS'
55084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55093 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55095 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55096 for ac_func in _log10f
55097 do :
55098 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55099 if test "x$ac_cv_func__log10f" = x""yes; then :
55100 cat >>confdefs.h <<_ACEOF
55101 #define HAVE__LOG10F 1
55102 _ACEOF
55105 done
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55115 $as_echo_n "checking for modff declaration... " >&6; }
55116 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55117 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55118 $as_echo_n "(cached) " >&6
55119 else
55122 ac_ext=cpp
55123 ac_cpp='$CXXCPP $CPPFLAGS'
55124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55129 /* end confdefs.h. */
55130 #include <math.h>
55132 main ()
55134 modff(0, 0);
55136 return 0;
55138 _ACEOF
55139 if ac_fn_cxx_try_compile "$LINENO"; then :
55140 glibcxx_cv_func_modff_use=yes
55141 else
55142 glibcxx_cv_func_modff_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_modff_use" >&5
55156 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55158 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55159 for ac_func in modff
55160 do :
55161 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55162 if test "x$ac_cv_func_modff" = x""yes; then :
55163 cat >>confdefs.h <<_ACEOF
55164 #define HAVE_MODFF 1
55165 _ACEOF
55168 done
55170 else
55172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55173 $as_echo_n "checking for _modff declaration... " >&6; }
55174 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55175 if test "${glibcxx_cv_func__modff_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>
55190 main ()
55192 _modff(0, 0);
55194 return 0;
55196 _ACEOF
55197 if ac_fn_cxx_try_compile "$LINENO"; then :
55198 glibcxx_cv_func__modff_use=yes
55199 else
55200 glibcxx_cv_func__modff_use=no
55202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55203 ac_ext=c
55204 ac_cpp='$CPP $CPPFLAGS'
55205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55214 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55216 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55217 for ac_func in _modff
55218 do :
55219 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55220 if test "x$ac_cv_func__modff" = x""yes; then :
55221 cat >>confdefs.h <<_ACEOF
55222 #define HAVE__MODFF 1
55223 _ACEOF
55226 done
55235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55236 $as_echo_n "checking for modf declaration... " >&6; }
55237 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55238 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55239 $as_echo_n "(cached) " >&6
55240 else
55243 ac_ext=cpp
55244 ac_cpp='$CXXCPP $CPPFLAGS'
55245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55250 /* end confdefs.h. */
55251 #include <math.h>
55253 main ()
55255 modf(0, 0);
55257 return 0;
55259 _ACEOF
55260 if ac_fn_cxx_try_compile "$LINENO"; then :
55261 glibcxx_cv_func_modf_use=yes
55262 else
55263 glibcxx_cv_func_modf_use=no
55265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55266 ac_ext=c
55267 ac_cpp='$CPP $CPPFLAGS'
55268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55277 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55279 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55280 for ac_func in modf
55281 do :
55282 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55283 if test "x$ac_cv_func_modf" = x""yes; then :
55284 cat >>confdefs.h <<_ACEOF
55285 #define HAVE_MODF 1
55286 _ACEOF
55289 done
55291 else
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55294 $as_echo_n "checking for _modf declaration... " >&6; }
55295 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55296 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55297 $as_echo_n "(cached) " >&6
55298 else
55301 ac_ext=cpp
55302 ac_cpp='$CXXCPP $CPPFLAGS'
55303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55308 /* end confdefs.h. */
55309 #include <math.h>
55311 main ()
55313 _modf(0, 0);
55315 return 0;
55317 _ACEOF
55318 if ac_fn_cxx_try_compile "$LINENO"; then :
55319 glibcxx_cv_func__modf_use=yes
55320 else
55321 glibcxx_cv_func__modf_use=no
55323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55324 ac_ext=c
55325 ac_cpp='$CPP $CPPFLAGS'
55326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55335 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55337 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55338 for ac_func in _modf
55339 do :
55340 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55341 if test "x$ac_cv_func__modf" = x""yes; then :
55342 cat >>confdefs.h <<_ACEOF
55343 #define HAVE__MODF 1
55344 _ACEOF
55347 done
55356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55357 $as_echo_n "checking for powf declaration... " >&6; }
55358 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55359 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55360 $as_echo_n "(cached) " >&6
55361 else
55364 ac_ext=cpp
55365 ac_cpp='$CXXCPP $CPPFLAGS'
55366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55371 /* end confdefs.h. */
55372 #include <math.h>
55374 main ()
55376 powf(0, 0);
55378 return 0;
55380 _ACEOF
55381 if ac_fn_cxx_try_compile "$LINENO"; then :
55382 glibcxx_cv_func_powf_use=yes
55383 else
55384 glibcxx_cv_func_powf_use=no
55386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55387 ac_ext=c
55388 ac_cpp='$CPP $CPPFLAGS'
55389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55398 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55400 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55401 for ac_func in powf
55402 do :
55403 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55404 if test "x$ac_cv_func_powf" = x""yes; then :
55405 cat >>confdefs.h <<_ACEOF
55406 #define HAVE_POWF 1
55407 _ACEOF
55410 done
55412 else
55414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55415 $as_echo_n "checking for _powf declaration... " >&6; }
55416 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55417 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55418 $as_echo_n "(cached) " >&6
55419 else
55422 ac_ext=cpp
55423 ac_cpp='$CXXCPP $CPPFLAGS'
55424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55429 /* end confdefs.h. */
55430 #include <math.h>
55432 main ()
55434 _powf(0, 0);
55436 return 0;
55438 _ACEOF
55439 if ac_fn_cxx_try_compile "$LINENO"; then :
55440 glibcxx_cv_func__powf_use=yes
55441 else
55442 glibcxx_cv_func__powf_use=no
55444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55445 ac_ext=c
55446 ac_cpp='$CPP $CPPFLAGS'
55447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55456 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55458 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55459 for ac_func in _powf
55460 do :
55461 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55462 if test "x$ac_cv_func__powf" = x""yes; then :
55463 cat >>confdefs.h <<_ACEOF
55464 #define HAVE__POWF 1
55465 _ACEOF
55468 done
55477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55478 $as_echo_n "checking for sqrtf declaration... " >&6; }
55479 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55480 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55481 $as_echo_n "(cached) " >&6
55482 else
55485 ac_ext=cpp
55486 ac_cpp='$CXXCPP $CPPFLAGS'
55487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55492 /* end confdefs.h. */
55493 #include <math.h>
55494 #ifdef HAVE_IEEEFP_H
55495 #include <ieeefp.h>
55496 #endif
55499 main ()
55501 sqrtf(0);
55503 return 0;
55505 _ACEOF
55506 if ac_fn_cxx_try_compile "$LINENO"; then :
55507 glibcxx_cv_func_sqrtf_use=yes
55508 else
55509 glibcxx_cv_func_sqrtf_use=no
55511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55512 ac_ext=c
55513 ac_cpp='$CPP $CPPFLAGS'
55514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55523 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55525 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55526 for ac_func in sqrtf
55527 do :
55528 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55529 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55530 cat >>confdefs.h <<_ACEOF
55531 #define HAVE_SQRTF 1
55532 _ACEOF
55535 done
55537 else
55539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55540 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55541 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55542 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55543 $as_echo_n "(cached) " >&6
55544 else
55547 ac_ext=cpp
55548 ac_cpp='$CXXCPP $CPPFLAGS'
55549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55554 /* end confdefs.h. */
55555 #include <math.h>
55556 #ifdef HAVE_IEEEFP_H
55557 #include <ieeefp.h>
55558 #endif
55561 main ()
55563 _sqrtf(0);
55565 return 0;
55567 _ACEOF
55568 if ac_fn_cxx_try_compile "$LINENO"; then :
55569 glibcxx_cv_func__sqrtf_use=yes
55570 else
55571 glibcxx_cv_func__sqrtf_use=no
55573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55574 ac_ext=c
55575 ac_cpp='$CPP $CPPFLAGS'
55576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55585 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55587 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55588 for ac_func in _sqrtf
55589 do :
55590 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55591 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55592 cat >>confdefs.h <<_ACEOF
55593 #define HAVE__SQRTF 1
55594 _ACEOF
55597 done
55606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55607 $as_echo_n "checking for sincosf declaration... " >&6; }
55608 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55609 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55610 $as_echo_n "(cached) " >&6
55611 else
55614 ac_ext=cpp
55615 ac_cpp='$CXXCPP $CPPFLAGS'
55616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55621 /* end confdefs.h. */
55622 #include <math.h>
55624 main ()
55626 sincosf(0, 0, 0);
55628 return 0;
55630 _ACEOF
55631 if ac_fn_cxx_try_compile "$LINENO"; then :
55632 glibcxx_cv_func_sincosf_use=yes
55633 else
55634 glibcxx_cv_func_sincosf_use=no
55636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55637 ac_ext=c
55638 ac_cpp='$CPP $CPPFLAGS'
55639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55648 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55650 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55651 for ac_func in sincosf
55652 do :
55653 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55654 if test "x$ac_cv_func_sincosf" = x""yes; then :
55655 cat >>confdefs.h <<_ACEOF
55656 #define HAVE_SINCOSF 1
55657 _ACEOF
55660 done
55662 else
55664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55665 $as_echo_n "checking for _sincosf declaration... " >&6; }
55666 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55667 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55668 $as_echo_n "(cached) " >&6
55669 else
55672 ac_ext=cpp
55673 ac_cpp='$CXXCPP $CPPFLAGS'
55674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55679 /* end confdefs.h. */
55680 #include <math.h>
55682 main ()
55684 _sincosf(0, 0, 0);
55686 return 0;
55688 _ACEOF
55689 if ac_fn_cxx_try_compile "$LINENO"; then :
55690 glibcxx_cv_func__sincosf_use=yes
55691 else
55692 glibcxx_cv_func__sincosf_use=no
55694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55695 ac_ext=c
55696 ac_cpp='$CPP $CPPFLAGS'
55697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55706 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55708 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55709 for ac_func in _sincosf
55710 do :
55711 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55712 if test "x$ac_cv_func__sincosf" = x""yes; then :
55713 cat >>confdefs.h <<_ACEOF
55714 #define HAVE__SINCOSF 1
55715 _ACEOF
55718 done
55727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55728 $as_echo_n "checking for finitef declaration... " >&6; }
55729 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55730 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55731 $as_echo_n "(cached) " >&6
55732 else
55735 ac_ext=cpp
55736 ac_cpp='$CXXCPP $CPPFLAGS'
55737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55742 /* end confdefs.h. */
55743 #include <math.h>
55744 #ifdef HAVE_IEEEFP_H
55745 #include <ieeefp.h>
55746 #endif
55749 main ()
55751 finitef(0);
55753 return 0;
55755 _ACEOF
55756 if ac_fn_cxx_try_compile "$LINENO"; then :
55757 glibcxx_cv_func_finitef_use=yes
55758 else
55759 glibcxx_cv_func_finitef_use=no
55761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55762 ac_ext=c
55763 ac_cpp='$CPP $CPPFLAGS'
55764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55773 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55775 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55776 for ac_func in finitef
55777 do :
55778 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55779 if test "x$ac_cv_func_finitef" = x""yes; then :
55780 cat >>confdefs.h <<_ACEOF
55781 #define HAVE_FINITEF 1
55782 _ACEOF
55785 done
55787 else
55789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55790 $as_echo_n "checking for _finitef declaration... " >&6; }
55791 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55792 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55793 $as_echo_n "(cached) " >&6
55794 else
55797 ac_ext=cpp
55798 ac_cpp='$CXXCPP $CPPFLAGS'
55799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55804 /* end confdefs.h. */
55805 #include <math.h>
55806 #ifdef HAVE_IEEEFP_H
55807 #include <ieeefp.h>
55808 #endif
55811 main ()
55813 _finitef(0);
55815 return 0;
55817 _ACEOF
55818 if ac_fn_cxx_try_compile "$LINENO"; then :
55819 glibcxx_cv_func__finitef_use=yes
55820 else
55821 glibcxx_cv_func__finitef_use=no
55823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55824 ac_ext=c
55825 ac_cpp='$CPP $CPPFLAGS'
55826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55835 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55837 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55838 for ac_func in _finitef
55839 do :
55840 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55841 if test "x$ac_cv_func__finitef" = x""yes; then :
55842 cat >>confdefs.h <<_ACEOF
55843 #define HAVE__FINITEF 1
55844 _ACEOF
55847 done
55856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55857 $as_echo_n "checking for long double trig functions... " >&6; }
55858 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55859 $as_echo_n "(cached) " >&6
55860 else
55863 ac_ext=cpp
55864 ac_cpp='$CXXCPP $CPPFLAGS'
55865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55870 /* end confdefs.h. */
55871 #include <math.h>
55873 main ()
55875 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55877 return 0;
55879 _ACEOF
55880 if ac_fn_cxx_try_compile "$LINENO"; then :
55881 glibcxx_cv_func_long_double_trig_use=yes
55882 else
55883 glibcxx_cv_func_long_double_trig_use=no
55885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55886 ac_ext=c
55887 ac_cpp='$CPP $CPPFLAGS'
55888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55895 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55896 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55897 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55898 do :
55899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55901 eval as_val=\$$as_ac_var
55902 if test "x$as_val" = x""yes; then :
55903 cat >>confdefs.h <<_ACEOF
55904 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55905 _ACEOF
55908 done
55910 else
55911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55912 $as_echo_n "checking for _long double trig functions... " >&6; }
55913 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55914 $as_echo_n "(cached) " >&6
55915 else
55918 ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h. */
55926 #include <math.h>
55928 main ()
55930 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55932 return 0;
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936 glibcxx_cv_func__long_double_trig_use=yes
55937 else
55938 glibcxx_cv_func__long_double_trig_use=no
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941 ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55950 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55951 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55952 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55953 do :
55954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55956 eval as_val=\$$as_ac_var
55957 if test "x$as_val" = x""yes; then :
55958 cat >>confdefs.h <<_ACEOF
55959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55960 _ACEOF
55963 done
55972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55973 $as_echo_n "checking for long double round functions... " >&6; }
55974 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55975 $as_echo_n "(cached) " >&6
55976 else
55979 ac_ext=cpp
55980 ac_cpp='$CXXCPP $CPPFLAGS'
55981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55986 /* end confdefs.h. */
55987 #include <math.h>
55989 main ()
55991 ceill (0); floorl (0);
55993 return 0;
55995 _ACEOF
55996 if ac_fn_cxx_try_compile "$LINENO"; then :
55997 glibcxx_cv_func_long_double_round_use=yes
55998 else
55999 glibcxx_cv_func_long_double_round_use=no
56001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56002 ac_ext=c
56003 ac_cpp='$CPP $CPPFLAGS'
56004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56011 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56012 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56013 for ac_func in ceill floorl
56014 do :
56015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56017 eval as_val=\$$as_ac_var
56018 if test "x$as_val" = x""yes; then :
56019 cat >>confdefs.h <<_ACEOF
56020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56021 _ACEOF
56024 done
56026 else
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56028 $as_echo_n "checking for _long double round functions... " >&6; }
56029 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56030 $as_echo_n "(cached) " >&6
56031 else
56034 ac_ext=cpp
56035 ac_cpp='$CXXCPP $CPPFLAGS'
56036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56041 /* end confdefs.h. */
56042 #include <math.h>
56044 main ()
56046 _ceill (0); _floorl (0);
56048 return 0;
56050 _ACEOF
56051 if ac_fn_cxx_try_compile "$LINENO"; then :
56052 glibcxx_cv_func__long_double_round_use=yes
56053 else
56054 glibcxx_cv_func__long_double_round_use=no
56056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56057 ac_ext=c
56058 ac_cpp='$CPP $CPPFLAGS'
56059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56066 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56067 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56068 for ac_func in _ceill _floorl
56069 do :
56070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56072 eval as_val=\$$as_ac_var
56073 if test "x$as_val" = x""yes; then :
56074 cat >>confdefs.h <<_ACEOF
56075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56076 _ACEOF
56079 done
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56090 $as_echo_n "checking for isnanl declaration... " >&6; }
56091 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56092 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56093 $as_echo_n "(cached) " >&6
56094 else
56097 ac_ext=cpp
56098 ac_cpp='$CXXCPP $CPPFLAGS'
56099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56104 /* end confdefs.h. */
56105 #include <math.h>
56106 #ifdef HAVE_IEEEFP_H
56107 #include <ieeefp.h>
56108 #endif
56111 main ()
56113 isnanl(0);
56115 return 0;
56117 _ACEOF
56118 if ac_fn_cxx_try_compile "$LINENO"; then :
56119 glibcxx_cv_func_isnanl_use=yes
56120 else
56121 glibcxx_cv_func_isnanl_use=no
56123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56124 ac_ext=c
56125 ac_cpp='$CPP $CPPFLAGS'
56126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56135 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56137 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56138 for ac_func in isnanl
56139 do :
56140 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56141 if test "x$ac_cv_func_isnanl" = x""yes; then :
56142 cat >>confdefs.h <<_ACEOF
56143 #define HAVE_ISNANL 1
56144 _ACEOF
56147 done
56149 else
56151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56152 $as_echo_n "checking for _isnanl declaration... " >&6; }
56153 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56154 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56155 $as_echo_n "(cached) " >&6
56156 else
56159 ac_ext=cpp
56160 ac_cpp='$CXXCPP $CPPFLAGS'
56161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56166 /* end confdefs.h. */
56167 #include <math.h>
56168 #ifdef HAVE_IEEEFP_H
56169 #include <ieeefp.h>
56170 #endif
56173 main ()
56175 _isnanl(0);
56177 return 0;
56179 _ACEOF
56180 if ac_fn_cxx_try_compile "$LINENO"; then :
56181 glibcxx_cv_func__isnanl_use=yes
56182 else
56183 glibcxx_cv_func__isnanl_use=no
56185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56186 ac_ext=c
56187 ac_cpp='$CPP $CPPFLAGS'
56188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56197 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56199 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56200 for ac_func in _isnanl
56201 do :
56202 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56203 if test "x$ac_cv_func__isnanl" = x""yes; then :
56204 cat >>confdefs.h <<_ACEOF
56205 #define HAVE__ISNANL 1
56206 _ACEOF
56209 done
56218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56219 $as_echo_n "checking for isinfl declaration... " >&6; }
56220 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56221 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56222 $as_echo_n "(cached) " >&6
56223 else
56226 ac_ext=cpp
56227 ac_cpp='$CXXCPP $CPPFLAGS'
56228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56233 /* end confdefs.h. */
56234 #include <math.h>
56235 #ifdef HAVE_IEEEFP_H
56236 #include <ieeefp.h>
56237 #endif
56240 main ()
56242 isinfl(0);
56244 return 0;
56246 _ACEOF
56247 if ac_fn_cxx_try_compile "$LINENO"; then :
56248 glibcxx_cv_func_isinfl_use=yes
56249 else
56250 glibcxx_cv_func_isinfl_use=no
56252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56253 ac_ext=c
56254 ac_cpp='$CPP $CPPFLAGS'
56255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56264 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56266 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56267 for ac_func in isinfl
56268 do :
56269 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56270 if test "x$ac_cv_func_isinfl" = x""yes; then :
56271 cat >>confdefs.h <<_ACEOF
56272 #define HAVE_ISINFL 1
56273 _ACEOF
56276 done
56278 else
56280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56281 $as_echo_n "checking for _isinfl declaration... " >&6; }
56282 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56283 if test "${glibcxx_cv_func__isinfl_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>
56297 #ifdef HAVE_IEEEFP_H
56298 #include <ieeefp.h>
56299 #endif
56302 main ()
56304 _isinfl(0);
56306 return 0;
56308 _ACEOF
56309 if ac_fn_cxx_try_compile "$LINENO"; then :
56310 glibcxx_cv_func__isinfl_use=yes
56311 else
56312 glibcxx_cv_func__isinfl_use=no
56314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56315 ac_ext=c
56316 ac_cpp='$CPP $CPPFLAGS'
56317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56326 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56328 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56329 for ac_func in _isinfl
56330 do :
56331 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56332 if test "x$ac_cv_func__isinfl" = x""yes; then :
56333 cat >>confdefs.h <<_ACEOF
56334 #define HAVE__ISINFL 1
56335 _ACEOF
56338 done
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56348 $as_echo_n "checking for atan2l declaration... " >&6; }
56349 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56350 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56351 $as_echo_n "(cached) " >&6
56352 else
56355 ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h. */
56363 #include <math.h>
56365 main ()
56367 atan2l(0, 0);
56369 return 0;
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func_atan2l_use=yes
56374 else
56375 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
56389 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56391 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56392 for ac_func in atan2l
56393 do :
56394 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56395 if test "x$ac_cv_func_atan2l" = x""yes; then :
56396 cat >>confdefs.h <<_ACEOF
56397 #define HAVE_ATAN2L 1
56398 _ACEOF
56401 done
56403 else
56405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56406 $as_echo_n "checking for _atan2l declaration... " >&6; }
56407 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56408 if test "${glibcxx_cv_func__atan2l_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>
56423 main ()
56425 _atan2l(0, 0);
56427 return 0;
56429 _ACEOF
56430 if ac_fn_cxx_try_compile "$LINENO"; then :
56431 glibcxx_cv_func__atan2l_use=yes
56432 else
56433 glibcxx_cv_func__atan2l_use=no
56435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56436 ac_ext=c
56437 ac_cpp='$CPP $CPPFLAGS'
56438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56447 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56449 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56450 for ac_func in _atan2l
56451 do :
56452 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56453 if test "x$ac_cv_func__atan2l" = x""yes; then :
56454 cat >>confdefs.h <<_ACEOF
56455 #define HAVE__ATAN2L 1
56456 _ACEOF
56459 done
56468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56469 $as_echo_n "checking for expl declaration... " >&6; }
56470 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56471 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56472 $as_echo_n "(cached) " >&6
56473 else
56476 ac_ext=cpp
56477 ac_cpp='$CXXCPP $CPPFLAGS'
56478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56483 /* end confdefs.h. */
56484 #include <math.h>
56485 #ifdef HAVE_IEEEFP_H
56486 #include <ieeefp.h>
56487 #endif
56490 main ()
56492 expl(0);
56494 return 0;
56496 _ACEOF
56497 if ac_fn_cxx_try_compile "$LINENO"; then :
56498 glibcxx_cv_func_expl_use=yes
56499 else
56500 glibcxx_cv_func_expl_use=no
56502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56503 ac_ext=c
56504 ac_cpp='$CPP $CPPFLAGS'
56505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56514 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56516 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56517 for ac_func in expl
56518 do :
56519 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56520 if test "x$ac_cv_func_expl" = x""yes; then :
56521 cat >>confdefs.h <<_ACEOF
56522 #define HAVE_EXPL 1
56523 _ACEOF
56526 done
56528 else
56530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56531 $as_echo_n "checking for _expl declaration... " >&6; }
56532 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56533 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56534 $as_echo_n "(cached) " >&6
56535 else
56538 ac_ext=cpp
56539 ac_cpp='$CXXCPP $CPPFLAGS'
56540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56545 /* end confdefs.h. */
56546 #include <math.h>
56547 #ifdef HAVE_IEEEFP_H
56548 #include <ieeefp.h>
56549 #endif
56552 main ()
56554 _expl(0);
56556 return 0;
56558 _ACEOF
56559 if ac_fn_cxx_try_compile "$LINENO"; then :
56560 glibcxx_cv_func__expl_use=yes
56561 else
56562 glibcxx_cv_func__expl_use=no
56564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56565 ac_ext=c
56566 ac_cpp='$CPP $CPPFLAGS'
56567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56576 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56578 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56579 for ac_func in _expl
56580 do :
56581 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56582 if test "x$ac_cv_func__expl" = x""yes; then :
56583 cat >>confdefs.h <<_ACEOF
56584 #define HAVE__EXPL 1
56585 _ACEOF
56588 done
56597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56598 $as_echo_n "checking for fabsl declaration... " >&6; }
56599 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56600 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56601 $as_echo_n "(cached) " >&6
56602 else
56605 ac_ext=cpp
56606 ac_cpp='$CXXCPP $CPPFLAGS'
56607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56612 /* end confdefs.h. */
56613 #include <math.h>
56614 #ifdef HAVE_IEEEFP_H
56615 #include <ieeefp.h>
56616 #endif
56619 main ()
56621 fabsl(0);
56623 return 0;
56625 _ACEOF
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627 glibcxx_cv_func_fabsl_use=yes
56628 else
56629 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
56643 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56645 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56646 for ac_func in fabsl
56647 do :
56648 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56649 if test "x$ac_cv_func_fabsl" = x""yes; then :
56650 cat >>confdefs.h <<_ACEOF
56651 #define HAVE_FABSL 1
56652 _ACEOF
56655 done
56657 else
56659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56660 $as_echo_n "checking for _fabsl declaration... " >&6; }
56661 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56662 if test "${glibcxx_cv_func__fabsl_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>
56676 #ifdef HAVE_IEEEFP_H
56677 #include <ieeefp.h>
56678 #endif
56681 main ()
56683 _fabsl(0);
56685 return 0;
56687 _ACEOF
56688 if ac_fn_cxx_try_compile "$LINENO"; then :
56689 glibcxx_cv_func__fabsl_use=yes
56690 else
56691 glibcxx_cv_func__fabsl_use=no
56693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56694 ac_ext=c
56695 ac_cpp='$CPP $CPPFLAGS'
56696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56705 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56707 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56708 for ac_func in _fabsl
56709 do :
56710 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56711 if test "x$ac_cv_func__fabsl" = x""yes; then :
56712 cat >>confdefs.h <<_ACEOF
56713 #define HAVE__FABSL 1
56714 _ACEOF
56717 done
56726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56727 $as_echo_n "checking for fmodl declaration... " >&6; }
56728 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56729 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56730 $as_echo_n "(cached) " >&6
56731 else
56734 ac_ext=cpp
56735 ac_cpp='$CXXCPP $CPPFLAGS'
56736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56741 /* end confdefs.h. */
56742 #include <math.h>
56744 main ()
56746 fmodl(0, 0);
56748 return 0;
56750 _ACEOF
56751 if ac_fn_cxx_try_compile "$LINENO"; then :
56752 glibcxx_cv_func_fmodl_use=yes
56753 else
56754 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
56768 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56770 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56771 for ac_func in fmodl
56772 do :
56773 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56774 if test "x$ac_cv_func_fmodl" = x""yes; then :
56775 cat >>confdefs.h <<_ACEOF
56776 #define HAVE_FMODL 1
56777 _ACEOF
56780 done
56782 else
56784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56785 $as_echo_n "checking for _fmodl declaration... " >&6; }
56786 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56787 if test "${glibcxx_cv_func__fmodl_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>
56802 main ()
56804 _fmodl(0, 0);
56806 return 0;
56808 _ACEOF
56809 if ac_fn_cxx_try_compile "$LINENO"; then :
56810 glibcxx_cv_func__fmodl_use=yes
56811 else
56812 glibcxx_cv_func__fmodl_use=no
56814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56815 ac_ext=c
56816 ac_cpp='$CPP $CPPFLAGS'
56817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56826 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56828 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56829 for ac_func in _fmodl
56830 do :
56831 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56832 if test "x$ac_cv_func__fmodl" = x""yes; then :
56833 cat >>confdefs.h <<_ACEOF
56834 #define HAVE__FMODL 1
56835 _ACEOF
56838 done
56847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56848 $as_echo_n "checking for frexpl declaration... " >&6; }
56849 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56850 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56851 $as_echo_n "(cached) " >&6
56852 else
56855 ac_ext=cpp
56856 ac_cpp='$CXXCPP $CPPFLAGS'
56857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56862 /* end confdefs.h. */
56863 #include <math.h>
56865 main ()
56867 frexpl(0, 0);
56869 return 0;
56871 _ACEOF
56872 if ac_fn_cxx_try_compile "$LINENO"; then :
56873 glibcxx_cv_func_frexpl_use=yes
56874 else
56875 glibcxx_cv_func_frexpl_use=no
56877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56878 ac_ext=c
56879 ac_cpp='$CPP $CPPFLAGS'
56880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56889 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56891 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56892 for ac_func in frexpl
56893 do :
56894 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56895 if test "x$ac_cv_func_frexpl" = x""yes; then :
56896 cat >>confdefs.h <<_ACEOF
56897 #define HAVE_FREXPL 1
56898 _ACEOF
56901 done
56903 else
56905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56906 $as_echo_n "checking for _frexpl declaration... " >&6; }
56907 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56908 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56909 $as_echo_n "(cached) " >&6
56910 else
56913 ac_ext=cpp
56914 ac_cpp='$CXXCPP $CPPFLAGS'
56915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56920 /* end confdefs.h. */
56921 #include <math.h>
56923 main ()
56925 _frexpl(0, 0);
56927 return 0;
56929 _ACEOF
56930 if ac_fn_cxx_try_compile "$LINENO"; then :
56931 glibcxx_cv_func__frexpl_use=yes
56932 else
56933 glibcxx_cv_func__frexpl_use=no
56935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56936 ac_ext=c
56937 ac_cpp='$CPP $CPPFLAGS'
56938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56947 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56949 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56950 for ac_func in _frexpl
56951 do :
56952 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56953 if test "x$ac_cv_func__frexpl" = x""yes; then :
56954 cat >>confdefs.h <<_ACEOF
56955 #define HAVE__FREXPL 1
56956 _ACEOF
56959 done
56968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56969 $as_echo_n "checking for hypotl declaration... " >&6; }
56970 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56971 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56972 $as_echo_n "(cached) " >&6
56973 else
56976 ac_ext=cpp
56977 ac_cpp='$CXXCPP $CPPFLAGS'
56978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56983 /* end confdefs.h. */
56984 #include <math.h>
56986 main ()
56988 hypotl(0, 0);
56990 return 0;
56992 _ACEOF
56993 if ac_fn_cxx_try_compile "$LINENO"; then :
56994 glibcxx_cv_func_hypotl_use=yes
56995 else
56996 glibcxx_cv_func_hypotl_use=no
56998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56999 ac_ext=c
57000 ac_cpp='$CPP $CPPFLAGS'
57001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57010 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57012 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57013 for ac_func in hypotl
57014 do :
57015 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57016 if test "x$ac_cv_func_hypotl" = x""yes; then :
57017 cat >>confdefs.h <<_ACEOF
57018 #define HAVE_HYPOTL 1
57019 _ACEOF
57022 done
57024 else
57026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57027 $as_echo_n "checking for _hypotl declaration... " >&6; }
57028 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57029 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57030 $as_echo_n "(cached) " >&6
57031 else
57034 ac_ext=cpp
57035 ac_cpp='$CXXCPP $CPPFLAGS'
57036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57041 /* end confdefs.h. */
57042 #include <math.h>
57044 main ()
57046 _hypotl(0, 0);
57048 return 0;
57050 _ACEOF
57051 if ac_fn_cxx_try_compile "$LINENO"; then :
57052 glibcxx_cv_func__hypotl_use=yes
57053 else
57054 glibcxx_cv_func__hypotl_use=no
57056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57057 ac_ext=c
57058 ac_cpp='$CPP $CPPFLAGS'
57059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57068 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57070 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57071 for ac_func in _hypotl
57072 do :
57073 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57074 if test "x$ac_cv_func__hypotl" = x""yes; then :
57075 cat >>confdefs.h <<_ACEOF
57076 #define HAVE__HYPOTL 1
57077 _ACEOF
57080 done
57089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57090 $as_echo_n "checking for ldexpl declaration... " >&6; }
57091 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57092 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57093 $as_echo_n "(cached) " >&6
57094 else
57097 ac_ext=cpp
57098 ac_cpp='$CXXCPP $CPPFLAGS'
57099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57104 /* end confdefs.h. */
57105 #include <math.h>
57107 main ()
57109 ldexpl(0, 0);
57111 return 0;
57113 _ACEOF
57114 if ac_fn_cxx_try_compile "$LINENO"; then :
57115 glibcxx_cv_func_ldexpl_use=yes
57116 else
57117 glibcxx_cv_func_ldexpl_use=no
57119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57120 ac_ext=c
57121 ac_cpp='$CPP $CPPFLAGS'
57122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57131 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57133 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57134 for ac_func in ldexpl
57135 do :
57136 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57137 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57138 cat >>confdefs.h <<_ACEOF
57139 #define HAVE_LDEXPL 1
57140 _ACEOF
57143 done
57145 else
57147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57148 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57149 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57150 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57151 $as_echo_n "(cached) " >&6
57152 else
57155 ac_ext=cpp
57156 ac_cpp='$CXXCPP $CPPFLAGS'
57157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57162 /* end confdefs.h. */
57163 #include <math.h>
57165 main ()
57167 _ldexpl(0, 0);
57169 return 0;
57171 _ACEOF
57172 if ac_fn_cxx_try_compile "$LINENO"; then :
57173 glibcxx_cv_func__ldexpl_use=yes
57174 else
57175 glibcxx_cv_func__ldexpl_use=no
57177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57178 ac_ext=c
57179 ac_cpp='$CPP $CPPFLAGS'
57180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57189 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57191 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57192 for ac_func in _ldexpl
57193 do :
57194 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57195 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57196 cat >>confdefs.h <<_ACEOF
57197 #define HAVE__LDEXPL 1
57198 _ACEOF
57201 done
57210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57211 $as_echo_n "checking for logl declaration... " >&6; }
57212 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57213 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57214 $as_echo_n "(cached) " >&6
57215 else
57218 ac_ext=cpp
57219 ac_cpp='$CXXCPP $CPPFLAGS'
57220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57225 /* end confdefs.h. */
57226 #include <math.h>
57227 #ifdef HAVE_IEEEFP_H
57228 #include <ieeefp.h>
57229 #endif
57232 main ()
57234 logl(0);
57236 return 0;
57238 _ACEOF
57239 if ac_fn_cxx_try_compile "$LINENO"; then :
57240 glibcxx_cv_func_logl_use=yes
57241 else
57242 glibcxx_cv_func_logl_use=no
57244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57245 ac_ext=c
57246 ac_cpp='$CPP $CPPFLAGS'
57247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57256 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57258 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57259 for ac_func in logl
57260 do :
57261 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57262 if test "x$ac_cv_func_logl" = x""yes; then :
57263 cat >>confdefs.h <<_ACEOF
57264 #define HAVE_LOGL 1
57265 _ACEOF
57268 done
57270 else
57272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57273 $as_echo_n "checking for _logl declaration... " >&6; }
57274 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57275 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57276 $as_echo_n "(cached) " >&6
57277 else
57280 ac_ext=cpp
57281 ac_cpp='$CXXCPP $CPPFLAGS'
57282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57287 /* end confdefs.h. */
57288 #include <math.h>
57289 #ifdef HAVE_IEEEFP_H
57290 #include <ieeefp.h>
57291 #endif
57294 main ()
57296 _logl(0);
57298 return 0;
57300 _ACEOF
57301 if ac_fn_cxx_try_compile "$LINENO"; then :
57302 glibcxx_cv_func__logl_use=yes
57303 else
57304 glibcxx_cv_func__logl_use=no
57306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57307 ac_ext=c
57308 ac_cpp='$CPP $CPPFLAGS'
57309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57318 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57320 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57321 for ac_func in _logl
57322 do :
57323 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57324 if test "x$ac_cv_func__logl" = x""yes; then :
57325 cat >>confdefs.h <<_ACEOF
57326 #define HAVE__LOGL 1
57327 _ACEOF
57330 done
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57340 $as_echo_n "checking for log10l declaration... " >&6; }
57341 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57342 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57343 $as_echo_n "(cached) " >&6
57344 else
57347 ac_ext=cpp
57348 ac_cpp='$CXXCPP $CPPFLAGS'
57349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57354 /* end confdefs.h. */
57355 #include <math.h>
57356 #ifdef HAVE_IEEEFP_H
57357 #include <ieeefp.h>
57358 #endif
57361 main ()
57363 log10l(0);
57365 return 0;
57367 _ACEOF
57368 if ac_fn_cxx_try_compile "$LINENO"; then :
57369 glibcxx_cv_func_log10l_use=yes
57370 else
57371 glibcxx_cv_func_log10l_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_log10l_use" >&5
57385 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57387 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57388 for ac_func in log10l
57389 do :
57390 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57391 if test "x$ac_cv_func_log10l" = x""yes; then :
57392 cat >>confdefs.h <<_ACEOF
57393 #define HAVE_LOG10L 1
57394 _ACEOF
57397 done
57399 else
57401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57402 $as_echo_n "checking for _log10l declaration... " >&6; }
57403 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57404 if test "${glibcxx_cv_func__log10l_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>
57418 #ifdef HAVE_IEEEFP_H
57419 #include <ieeefp.h>
57420 #endif
57423 main ()
57425 _log10l(0);
57427 return 0;
57429 _ACEOF
57430 if ac_fn_cxx_try_compile "$LINENO"; then :
57431 glibcxx_cv_func__log10l_use=yes
57432 else
57433 glibcxx_cv_func__log10l_use=no
57435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57436 ac_ext=c
57437 ac_cpp='$CPP $CPPFLAGS'
57438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57447 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57449 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57450 for ac_func in _log10l
57451 do :
57452 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57453 if test "x$ac_cv_func__log10l" = x""yes; then :
57454 cat >>confdefs.h <<_ACEOF
57455 #define HAVE__LOG10L 1
57456 _ACEOF
57459 done
57468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57469 $as_echo_n "checking for modfl declaration... " >&6; }
57470 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57471 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57472 $as_echo_n "(cached) " >&6
57473 else
57476 ac_ext=cpp
57477 ac_cpp='$CXXCPP $CPPFLAGS'
57478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57483 /* end confdefs.h. */
57484 #include <math.h>
57486 main ()
57488 modfl(0, 0);
57490 return 0;
57492 _ACEOF
57493 if ac_fn_cxx_try_compile "$LINENO"; then :
57494 glibcxx_cv_func_modfl_use=yes
57495 else
57496 glibcxx_cv_func_modfl_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_modfl_use" >&5
57510 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57512 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57513 for ac_func in modfl
57514 do :
57515 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57516 if test "x$ac_cv_func_modfl" = x""yes; then :
57517 cat >>confdefs.h <<_ACEOF
57518 #define HAVE_MODFL 1
57519 _ACEOF
57522 done
57524 else
57526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57527 $as_echo_n "checking for _modfl declaration... " >&6; }
57528 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57529 if test "${glibcxx_cv_func__modfl_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>
57544 main ()
57546 _modfl(0, 0);
57548 return 0;
57550 _ACEOF
57551 if ac_fn_cxx_try_compile "$LINENO"; then :
57552 glibcxx_cv_func__modfl_use=yes
57553 else
57554 glibcxx_cv_func__modfl_use=no
57556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57557 ac_ext=c
57558 ac_cpp='$CPP $CPPFLAGS'
57559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57568 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57570 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57571 for ac_func in _modfl
57572 do :
57573 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57574 if test "x$ac_cv_func__modfl" = x""yes; then :
57575 cat >>confdefs.h <<_ACEOF
57576 #define HAVE__MODFL 1
57577 _ACEOF
57580 done
57589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57590 $as_echo_n "checking for powl declaration... " >&6; }
57591 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57592 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57593 $as_echo_n "(cached) " >&6
57594 else
57597 ac_ext=cpp
57598 ac_cpp='$CXXCPP $CPPFLAGS'
57599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57604 /* end confdefs.h. */
57605 #include <math.h>
57607 main ()
57609 powl(0, 0);
57611 return 0;
57613 _ACEOF
57614 if ac_fn_cxx_try_compile "$LINENO"; then :
57615 glibcxx_cv_func_powl_use=yes
57616 else
57617 glibcxx_cv_func_powl_use=no
57619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57620 ac_ext=c
57621 ac_cpp='$CPP $CPPFLAGS'
57622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57631 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57633 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57634 for ac_func in powl
57635 do :
57636 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57637 if test "x$ac_cv_func_powl" = x""yes; then :
57638 cat >>confdefs.h <<_ACEOF
57639 #define HAVE_POWL 1
57640 _ACEOF
57643 done
57645 else
57647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57648 $as_echo_n "checking for _powl declaration... " >&6; }
57649 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57650 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57651 $as_echo_n "(cached) " >&6
57652 else
57655 ac_ext=cpp
57656 ac_cpp='$CXXCPP $CPPFLAGS'
57657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57662 /* end confdefs.h. */
57663 #include <math.h>
57665 main ()
57667 _powl(0, 0);
57669 return 0;
57671 _ACEOF
57672 if ac_fn_cxx_try_compile "$LINENO"; then :
57673 glibcxx_cv_func__powl_use=yes
57674 else
57675 glibcxx_cv_func__powl_use=no
57677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57678 ac_ext=c
57679 ac_cpp='$CPP $CPPFLAGS'
57680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57689 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57691 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57692 for ac_func in _powl
57693 do :
57694 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57695 if test "x$ac_cv_func__powl" = x""yes; then :
57696 cat >>confdefs.h <<_ACEOF
57697 #define HAVE__POWL 1
57698 _ACEOF
57701 done
57710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57711 $as_echo_n "checking for sqrtl declaration... " >&6; }
57712 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57713 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57714 $as_echo_n "(cached) " >&6
57715 else
57718 ac_ext=cpp
57719 ac_cpp='$CXXCPP $CPPFLAGS'
57720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57725 /* end confdefs.h. */
57726 #include <math.h>
57727 #ifdef HAVE_IEEEFP_H
57728 #include <ieeefp.h>
57729 #endif
57732 main ()
57734 sqrtl(0);
57736 return 0;
57738 _ACEOF
57739 if ac_fn_cxx_try_compile "$LINENO"; then :
57740 glibcxx_cv_func_sqrtl_use=yes
57741 else
57742 glibcxx_cv_func_sqrtl_use=no
57744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57745 ac_ext=c
57746 ac_cpp='$CPP $CPPFLAGS'
57747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57756 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57758 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57759 for ac_func in sqrtl
57760 do :
57761 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57762 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57763 cat >>confdefs.h <<_ACEOF
57764 #define HAVE_SQRTL 1
57765 _ACEOF
57768 done
57770 else
57772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57773 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57774 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57775 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57776 $as_echo_n "(cached) " >&6
57777 else
57780 ac_ext=cpp
57781 ac_cpp='$CXXCPP $CPPFLAGS'
57782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57787 /* end confdefs.h. */
57788 #include <math.h>
57789 #ifdef HAVE_IEEEFP_H
57790 #include <ieeefp.h>
57791 #endif
57794 main ()
57796 _sqrtl(0);
57798 return 0;
57800 _ACEOF
57801 if ac_fn_cxx_try_compile "$LINENO"; then :
57802 glibcxx_cv_func__sqrtl_use=yes
57803 else
57804 glibcxx_cv_func__sqrtl_use=no
57806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57807 ac_ext=c
57808 ac_cpp='$CPP $CPPFLAGS'
57809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57818 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57820 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57821 for ac_func in _sqrtl
57822 do :
57823 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57824 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57825 cat >>confdefs.h <<_ACEOF
57826 #define HAVE__SQRTL 1
57827 _ACEOF
57830 done
57839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57840 $as_echo_n "checking for sincosl declaration... " >&6; }
57841 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57842 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57843 $as_echo_n "(cached) " >&6
57844 else
57847 ac_ext=cpp
57848 ac_cpp='$CXXCPP $CPPFLAGS'
57849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57854 /* end confdefs.h. */
57855 #include <math.h>
57857 main ()
57859 sincosl(0, 0, 0);
57861 return 0;
57863 _ACEOF
57864 if ac_fn_cxx_try_compile "$LINENO"; then :
57865 glibcxx_cv_func_sincosl_use=yes
57866 else
57867 glibcxx_cv_func_sincosl_use=no
57869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57870 ac_ext=c
57871 ac_cpp='$CPP $CPPFLAGS'
57872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57881 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57883 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57884 for ac_func in sincosl
57885 do :
57886 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57887 if test "x$ac_cv_func_sincosl" = x""yes; then :
57888 cat >>confdefs.h <<_ACEOF
57889 #define HAVE_SINCOSL 1
57890 _ACEOF
57893 done
57895 else
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57898 $as_echo_n "checking for _sincosl declaration... " >&6; }
57899 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57900 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57901 $as_echo_n "(cached) " >&6
57902 else
57905 ac_ext=cpp
57906 ac_cpp='$CXXCPP $CPPFLAGS'
57907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57912 /* end confdefs.h. */
57913 #include <math.h>
57915 main ()
57917 _sincosl(0, 0, 0);
57919 return 0;
57921 _ACEOF
57922 if ac_fn_cxx_try_compile "$LINENO"; then :
57923 glibcxx_cv_func__sincosl_use=yes
57924 else
57925 glibcxx_cv_func__sincosl_use=no
57927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57928 ac_ext=c
57929 ac_cpp='$CPP $CPPFLAGS'
57930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57939 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57941 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57942 for ac_func in _sincosl
57943 do :
57944 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57945 if test "x$ac_cv_func__sincosl" = x""yes; then :
57946 cat >>confdefs.h <<_ACEOF
57947 #define HAVE__SINCOSL 1
57948 _ACEOF
57951 done
57960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57961 $as_echo_n "checking for finitel declaration... " >&6; }
57962 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57963 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57964 $as_echo_n "(cached) " >&6
57965 else
57968 ac_ext=cpp
57969 ac_cpp='$CXXCPP $CPPFLAGS'
57970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57975 /* end confdefs.h. */
57976 #include <math.h>
57977 #ifdef HAVE_IEEEFP_H
57978 #include <ieeefp.h>
57979 #endif
57982 main ()
57984 finitel(0);
57986 return 0;
57988 _ACEOF
57989 if ac_fn_cxx_try_compile "$LINENO"; then :
57990 glibcxx_cv_func_finitel_use=yes
57991 else
57992 glibcxx_cv_func_finitel_use=no
57994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57995 ac_ext=c
57996 ac_cpp='$CPP $CPPFLAGS'
57997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58006 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58008 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58009 for ac_func in finitel
58010 do :
58011 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58012 if test "x$ac_cv_func_finitel" = x""yes; then :
58013 cat >>confdefs.h <<_ACEOF
58014 #define HAVE_FINITEL 1
58015 _ACEOF
58018 done
58020 else
58022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58023 $as_echo_n "checking for _finitel declaration... " >&6; }
58024 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58025 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58026 $as_echo_n "(cached) " >&6
58027 else
58030 ac_ext=cpp
58031 ac_cpp='$CXXCPP $CPPFLAGS'
58032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58037 /* end confdefs.h. */
58038 #include <math.h>
58039 #ifdef HAVE_IEEEFP_H
58040 #include <ieeefp.h>
58041 #endif
58044 main ()
58046 _finitel(0);
58048 return 0;
58050 _ACEOF
58051 if ac_fn_cxx_try_compile "$LINENO"; then :
58052 glibcxx_cv_func__finitel_use=yes
58053 else
58054 glibcxx_cv_func__finitel_use=no
58056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58057 ac_ext=c
58058 ac_cpp='$CPP $CPPFLAGS'
58059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58068 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58070 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58071 for ac_func in _finitel
58072 do :
58073 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58074 if test "x$ac_cv_func__finitel" = x""yes; then :
58075 cat >>confdefs.h <<_ACEOF
58076 #define HAVE__FINITEL 1
58077 _ACEOF
58080 done
58088 LIBS="$ac_save_LIBS"
58089 CXXFLAGS="$ac_save_CXXFLAGS"
58092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58093 ac_save_CXXFLAGS="$CXXFLAGS"
58094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58098 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58099 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58100 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58101 $as_echo_n "(cached) " >&6
58102 else
58105 ac_ext=cpp
58106 ac_cpp='$CXXCPP $CPPFLAGS'
58107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58112 /* end confdefs.h. */
58113 #include <stdlib.h>
58115 main ()
58117 at_quick_exit(0);
58119 return 0;
58121 _ACEOF
58122 if ac_fn_cxx_try_compile "$LINENO"; then :
58123 glibcxx_cv_func_at_quick_exit_use=yes
58124 else
58125 glibcxx_cv_func_at_quick_exit_use=no
58127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58128 ac_ext=c
58129 ac_cpp='$CPP $CPPFLAGS'
58130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58139 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58140 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58141 for ac_func in at_quick_exit
58142 do :
58143 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58144 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58145 cat >>confdefs.h <<_ACEOF
58146 #define HAVE_AT_QUICK_EXIT 1
58147 _ACEOF
58150 done
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58156 $as_echo_n "checking for quick_exit declaration... " >&6; }
58157 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58158 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58159 $as_echo_n "(cached) " >&6
58160 else
58163 ac_ext=cpp
58164 ac_cpp='$CXXCPP $CPPFLAGS'
58165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58170 /* end confdefs.h. */
58171 #include <stdlib.h>
58173 main ()
58175 quick_exit(0);
58177 return 0;
58179 _ACEOF
58180 if ac_fn_cxx_try_compile "$LINENO"; then :
58181 glibcxx_cv_func_quick_exit_use=yes
58182 else
58183 glibcxx_cv_func_quick_exit_use=no
58185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58186 ac_ext=c
58187 ac_cpp='$CPP $CPPFLAGS'
58188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58197 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58198 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58199 for ac_func in quick_exit
58200 do :
58201 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58202 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58203 cat >>confdefs.h <<_ACEOF
58204 #define HAVE_QUICK_EXIT 1
58205 _ACEOF
58208 done
58213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58214 $as_echo_n "checking for strtold declaration... " >&6; }
58215 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58216 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58217 $as_echo_n "(cached) " >&6
58218 else
58221 ac_ext=cpp
58222 ac_cpp='$CXXCPP $CPPFLAGS'
58223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58228 /* end confdefs.h. */
58229 #include <stdlib.h>
58231 main ()
58233 strtold(0, 0);
58235 return 0;
58237 _ACEOF
58238 if ac_fn_cxx_try_compile "$LINENO"; then :
58239 glibcxx_cv_func_strtold_use=yes
58240 else
58241 glibcxx_cv_func_strtold_use=no
58243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58244 ac_ext=c
58245 ac_cpp='$CPP $CPPFLAGS'
58246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58255 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58256 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58257 for ac_func in strtold
58258 do :
58259 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58260 if test "x$ac_cv_func_strtold" = x""yes; then :
58261 cat >>confdefs.h <<_ACEOF
58262 #define HAVE_STRTOLD 1
58263 _ACEOF
58266 done
58273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58274 $as_echo_n "checking for strtof declaration... " >&6; }
58275 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58276 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58277 $as_echo_n "(cached) " >&6
58278 else
58281 ac_ext=cpp
58282 ac_cpp='$CXXCPP $CPPFLAGS'
58283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58288 /* end confdefs.h. */
58289 #include <stdlib.h>
58291 main ()
58293 strtof(0, 0);
58295 return 0;
58297 _ACEOF
58298 if ac_fn_cxx_try_compile "$LINENO"; then :
58299 glibcxx_cv_func_strtof_use=yes
58300 else
58301 glibcxx_cv_func_strtof_use=no
58303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58304 ac_ext=c
58305 ac_cpp='$CPP $CPPFLAGS'
58306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58315 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58316 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58317 for ac_func in strtof
58318 do :
58319 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58320 if test "x$ac_cv_func_strtof" = x""yes; then :
58321 cat >>confdefs.h <<_ACEOF
58322 #define HAVE_STRTOF 1
58323 _ACEOF
58326 done
58333 CXXFLAGS="$ac_save_CXXFLAGS"
58336 *-netbsd*)
58337 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58340 # If we're not using GNU ld, then there's no point in even trying these
58341 # tests. Check for that first. We should have already tested for gld
58342 # by now (in libtool), but require it now just to be safe...
58343 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58344 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58348 # The name set by libtool depends on the version of libtool. Shame on us
58349 # for depending on an impl detail, but c'est la vie. Older versions used
58350 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58351 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58352 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58353 # set (hence we're using an older libtool), then set it.
58354 if test x${with_gnu_ld+set} != xset; then
58355 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58356 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58357 with_gnu_ld=no
58358 else
58359 with_gnu_ld=$ac_cv_prog_gnu_ld
58363 # Start by getting the version number. I think the libtool test already
58364 # does some of this, but throws away the result.
58365 glibcxx_ld_is_gold=no
58366 if test x"$with_gnu_ld" = x"yes"; then
58367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58368 $as_echo_n "checking for ld version... " >&6; }
58370 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58371 glibcxx_ld_is_gold=yes
58373 ldver=`$LD --version 2>/dev/null |
58374 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'`
58376 glibcxx_gnu_ld_version=`echo $ldver | \
58377 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58379 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58382 # Set --gc-sections.
58383 glibcxx_have_gc_sections=no
58384 if test "$glibcxx_ld_is_gold" = "yes"; then
58385 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58386 glibcxx_have_gc_sections=yes
58388 else
58389 glibcxx_gcsections_min_ld=21602
58390 if test x"$with_gnu_ld" = x"yes" &&
58391 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58392 glibcxx_have_gc_sections=yes
58395 if test "$glibcxx_have_gc_sections" = "yes"; then
58396 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58397 # NB: This flag only works reliably after 2.16.1. Configure tests
58398 # for this are difficult, so hard wire a value that should work.
58400 ac_test_CFLAGS="${CFLAGS+set}"
58401 ac_save_CFLAGS="$CFLAGS"
58402 CFLAGS='-Wl,--gc-sections'
58404 # Check for -Wl,--gc-sections
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58406 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58407 if test x$gcc_no_link = xyes; then
58408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 int one(void) { return 1; }
58413 int two(void) { return 2; }
58416 main ()
58418 two();
58420 return 0;
58422 _ACEOF
58423 if ac_fn_c_try_link "$LINENO"; then :
58424 ac_gcsections=yes
58425 else
58426 ac_gcsections=no
58428 rm -f core conftest.err conftest.$ac_objext \
58429 conftest$ac_exeext conftest.$ac_ext
58430 if test "$ac_gcsections" = "yes"; then
58431 rm -f conftest.c
58432 touch conftest.c
58433 if $CC -c conftest.c; then
58434 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58435 grep "Warning: gc-sections option ignored" > /dev/null; then
58436 ac_gcsections=no
58439 rm -f conftest.c conftest.o conftest
58441 if test "$ac_gcsections" = "yes"; then
58442 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58445 $as_echo "$ac_gcsections" >&6; }
58447 if test "$ac_test_CFLAGS" = set; then
58448 CFLAGS="$ac_save_CFLAGS"
58449 else
58450 # this is the suspicious part
58451 CFLAGS=''
58455 # Set -z,relro.
58456 # Note this is only for shared objects.
58457 ac_ld_relro=no
58458 if test x"$with_gnu_ld" = x"yes"; then
58459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58460 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58461 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58462 if test -n "$cxx_z_relo"; then
58463 OPT_LDFLAGS="-Wl,-z,relro"
58464 ac_ld_relro=yes
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58467 $as_echo "$ac_ld_relro" >&6; }
58470 # Set linker optimization flags.
58471 if test x"$with_gnu_ld" = x"yes"; then
58472 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58478 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58480 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58482 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58484 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58486 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58488 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58490 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58492 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58494 if test x"long_double_math_on_this_cpu" = x"yes"; then
58495 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58497 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58499 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58503 *-qnx6.1* | *-qnx6.2*)
58504 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58507 # If we're not using GNU ld, then there's no point in even trying these
58508 # tests. Check for that first. We should have already tested for gld
58509 # by now (in libtool), but require it now just to be safe...
58510 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58511 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58515 # The name set by libtool depends on the version of libtool. Shame on us
58516 # for depending on an impl detail, but c'est la vie. Older versions used
58517 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58518 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58519 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58520 # set (hence we're using an older libtool), then set it.
58521 if test x${with_gnu_ld+set} != xset; then
58522 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58523 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58524 with_gnu_ld=no
58525 else
58526 with_gnu_ld=$ac_cv_prog_gnu_ld
58530 # Start by getting the version number. I think the libtool test already
58531 # does some of this, but throws away the result.
58532 glibcxx_ld_is_gold=no
58533 if test x"$with_gnu_ld" = x"yes"; then
58534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58535 $as_echo_n "checking for ld version... " >&6; }
58537 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58538 glibcxx_ld_is_gold=yes
58540 ldver=`$LD --version 2>/dev/null |
58541 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'`
58543 glibcxx_gnu_ld_version=`echo $ldver | \
58544 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58546 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58549 # Set --gc-sections.
58550 glibcxx_have_gc_sections=no
58551 if test "$glibcxx_ld_is_gold" = "yes"; then
58552 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58553 glibcxx_have_gc_sections=yes
58555 else
58556 glibcxx_gcsections_min_ld=21602
58557 if test x"$with_gnu_ld" = x"yes" &&
58558 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58559 glibcxx_have_gc_sections=yes
58562 if test "$glibcxx_have_gc_sections" = "yes"; then
58563 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58564 # NB: This flag only works reliably after 2.16.1. Configure tests
58565 # for this are difficult, so hard wire a value that should work.
58567 ac_test_CFLAGS="${CFLAGS+set}"
58568 ac_save_CFLAGS="$CFLAGS"
58569 CFLAGS='-Wl,--gc-sections'
58571 # Check for -Wl,--gc-sections
58572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58573 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58574 if test x$gcc_no_link = xyes; then
58575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58578 /* end confdefs.h. */
58579 int one(void) { return 1; }
58580 int two(void) { return 2; }
58583 main ()
58585 two();
58587 return 0;
58589 _ACEOF
58590 if ac_fn_c_try_link "$LINENO"; then :
58591 ac_gcsections=yes
58592 else
58593 ac_gcsections=no
58595 rm -f core conftest.err conftest.$ac_objext \
58596 conftest$ac_exeext conftest.$ac_ext
58597 if test "$ac_gcsections" = "yes"; then
58598 rm -f conftest.c
58599 touch conftest.c
58600 if $CC -c conftest.c; then
58601 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58602 grep "Warning: gc-sections option ignored" > /dev/null; then
58603 ac_gcsections=no
58606 rm -f conftest.c conftest.o conftest
58608 if test "$ac_gcsections" = "yes"; then
58609 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58612 $as_echo "$ac_gcsections" >&6; }
58614 if test "$ac_test_CFLAGS" = set; then
58615 CFLAGS="$ac_save_CFLAGS"
58616 else
58617 # this is the suspicious part
58618 CFLAGS=''
58622 # Set -z,relro.
58623 # Note this is only for shared objects.
58624 ac_ld_relro=no
58625 if test x"$with_gnu_ld" = x"yes"; then
58626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58627 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58628 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58629 if test -n "$cxx_z_relo"; then
58630 OPT_LDFLAGS="-Wl,-z,relro"
58631 ac_ld_relro=yes
58633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58634 $as_echo "$ac_ld_relro" >&6; }
58637 # Set linker optimization flags.
58638 if test x"$with_gnu_ld" = x"yes"; then
58639 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58645 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58647 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58649 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58651 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58653 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58655 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58657 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58659 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58661 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58663 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58665 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58667 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58670 *-rtems*)
58672 # All these tests are for C++; save the language and the compiler flags.
58673 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58674 # found in GLIBCXX_CONFIGURE.
58676 ac_ext=cpp
58677 ac_cpp='$CXXCPP $CPPFLAGS'
58678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58682 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58683 ac_save_CXXFLAGS="$CXXFLAGS"
58685 # Check for maintainer-mode bits.
58686 if test x"$USE_MAINTAINER_MODE" = xno; then
58687 WERROR=''
58688 else
58689 WERROR='-Werror'
58692 # Check for -ffunction-sections -fdata-sections
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58694 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58695 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h. */
58698 int foo; void bar() { };
58700 main ()
58704 return 0;
58706 _ACEOF
58707 if ac_fn_cxx_try_compile "$LINENO"; then :
58708 ac_fdsections=yes
58709 else
58710 ac_fdsections=no
58712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58713 if test "$ac_test_CXXFLAGS" = set; then
58714 CXXFLAGS="$ac_save_CXXFLAGS"
58715 else
58716 # this is the suspicious part
58717 CXXFLAGS=''
58719 if test x"$ac_fdsections" = x"yes"; then
58720 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58723 $as_echo "$ac_fdsections" >&6; }
58725 ac_ext=c
58726 ac_cpp='$CPP $CPPFLAGS'
58727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58735 # If we're not using GNU ld, then there's no point in even trying these
58736 # tests. Check for that first. We should have already tested for gld
58737 # by now (in libtool), but require it now just to be safe...
58738 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58739 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58743 # The name set by libtool depends on the version of libtool. Shame on us
58744 # for depending on an impl detail, but c'est la vie. Older versions used
58745 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58746 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58747 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58748 # set (hence we're using an older libtool), then set it.
58749 if test x${with_gnu_ld+set} != xset; then
58750 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58751 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58752 with_gnu_ld=no
58753 else
58754 with_gnu_ld=$ac_cv_prog_gnu_ld
58758 # Start by getting the version number. I think the libtool test already
58759 # does some of this, but throws away the result.
58760 glibcxx_ld_is_gold=no
58761 if test x"$with_gnu_ld" = x"yes"; then
58762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58763 $as_echo_n "checking for ld version... " >&6; }
58765 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58766 glibcxx_ld_is_gold=yes
58768 ldver=`$LD --version 2>/dev/null |
58769 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'`
58771 glibcxx_gnu_ld_version=`echo $ldver | \
58772 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58774 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58777 # Set --gc-sections.
58778 glibcxx_have_gc_sections=no
58779 if test "$glibcxx_ld_is_gold" = "yes"; then
58780 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58781 glibcxx_have_gc_sections=yes
58783 else
58784 glibcxx_gcsections_min_ld=21602
58785 if test x"$with_gnu_ld" = x"yes" &&
58786 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58787 glibcxx_have_gc_sections=yes
58790 if test "$glibcxx_have_gc_sections" = "yes"; then
58791 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58792 # NB: This flag only works reliably after 2.16.1. Configure tests
58793 # for this are difficult, so hard wire a value that should work.
58795 ac_test_CFLAGS="${CFLAGS+set}"
58796 ac_save_CFLAGS="$CFLAGS"
58797 CFLAGS='-Wl,--gc-sections'
58799 # Check for -Wl,--gc-sections
58800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58801 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58802 if test x$gcc_no_link = xyes; then
58803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58806 /* end confdefs.h. */
58807 int one(void) { return 1; }
58808 int two(void) { return 2; }
58811 main ()
58813 two();
58815 return 0;
58817 _ACEOF
58818 if ac_fn_c_try_link "$LINENO"; then :
58819 ac_gcsections=yes
58820 else
58821 ac_gcsections=no
58823 rm -f core conftest.err conftest.$ac_objext \
58824 conftest$ac_exeext conftest.$ac_ext
58825 if test "$ac_gcsections" = "yes"; then
58826 rm -f conftest.c
58827 touch conftest.c
58828 if $CC -c conftest.c; then
58829 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58830 grep "Warning: gc-sections option ignored" > /dev/null; then
58831 ac_gcsections=no
58834 rm -f conftest.c conftest.o conftest
58836 if test "$ac_gcsections" = "yes"; then
58837 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58840 $as_echo "$ac_gcsections" >&6; }
58842 if test "$ac_test_CFLAGS" = set; then
58843 CFLAGS="$ac_save_CFLAGS"
58844 else
58845 # this is the suspicious part
58846 CFLAGS=''
58850 # Set -z,relro.
58851 # Note this is only for shared objects.
58852 ac_ld_relro=no
58853 if test x"$with_gnu_ld" = x"yes"; then
58854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58855 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58856 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58857 if test -n "$cxx_z_relo"; then
58858 OPT_LDFLAGS="-Wl,-z,relro"
58859 ac_ld_relro=yes
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58862 $as_echo "$ac_ld_relro" >&6; }
58865 # Set linker optimization flags.
58866 if test x"$with_gnu_ld" = x"yes"; then
58867 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58874 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58875 ac_save_CXXFLAGS="$CXXFLAGS"
58876 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58879 $as_echo_n "checking for sin in -lm... " >&6; }
58880 if test "${ac_cv_lib_m_sin+set}" = set; then :
58881 $as_echo_n "(cached) " >&6
58882 else
58883 ac_check_lib_save_LIBS=$LIBS
58884 LIBS="-lm $LIBS"
58885 if test x$gcc_no_link = xyes; then
58886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58889 /* end confdefs.h. */
58891 /* Override any GCC internal prototype to avoid an error.
58892 Use char because int might match the return type of a GCC
58893 builtin and then its argument prototype would still apply. */
58894 #ifdef __cplusplus
58895 extern "C"
58896 #endif
58897 char sin ();
58899 main ()
58901 return sin ();
58903 return 0;
58905 _ACEOF
58906 if ac_fn_c_try_link "$LINENO"; then :
58907 ac_cv_lib_m_sin=yes
58908 else
58909 ac_cv_lib_m_sin=no
58911 rm -f core conftest.err conftest.$ac_objext \
58912 conftest$ac_exeext conftest.$ac_ext
58913 LIBS=$ac_check_lib_save_LIBS
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58916 $as_echo "$ac_cv_lib_m_sin" >&6; }
58917 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58918 libm="-lm"
58921 ac_save_LIBS="$LIBS"
58922 LIBS="$LIBS $libm"
58926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58927 $as_echo_n "checking for isinf declaration... " >&6; }
58928 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58929 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58930 $as_echo_n "(cached) " >&6
58931 else
58934 ac_ext=cpp
58935 ac_cpp='$CXXCPP $CPPFLAGS'
58936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58941 /* end confdefs.h. */
58942 #include <math.h>
58943 #ifdef HAVE_IEEEFP_H
58944 #include <ieeefp.h>
58945 #endif
58948 main ()
58950 isinf(0);
58952 return 0;
58954 _ACEOF
58955 if ac_fn_cxx_try_compile "$LINENO"; then :
58956 glibcxx_cv_func_isinf_use=yes
58957 else
58958 glibcxx_cv_func_isinf_use=no
58960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58961 ac_ext=c
58962 ac_cpp='$CPP $CPPFLAGS'
58963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58972 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58974 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58975 for ac_func in isinf
58976 do :
58977 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58978 if test "x$ac_cv_func_isinf" = x""yes; then :
58979 cat >>confdefs.h <<_ACEOF
58980 #define HAVE_ISINF 1
58981 _ACEOF
58984 done
58986 else
58988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58989 $as_echo_n "checking for _isinf declaration... " >&6; }
58990 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58991 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58992 $as_echo_n "(cached) " >&6
58993 else
58996 ac_ext=cpp
58997 ac_cpp='$CXXCPP $CPPFLAGS'
58998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59003 /* end confdefs.h. */
59004 #include <math.h>
59005 #ifdef HAVE_IEEEFP_H
59006 #include <ieeefp.h>
59007 #endif
59010 main ()
59012 _isinf(0);
59014 return 0;
59016 _ACEOF
59017 if ac_fn_cxx_try_compile "$LINENO"; then :
59018 glibcxx_cv_func__isinf_use=yes
59019 else
59020 glibcxx_cv_func__isinf_use=no
59022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59023 ac_ext=c
59024 ac_cpp='$CPP $CPPFLAGS'
59025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59034 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59036 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59037 for ac_func in _isinf
59038 do :
59039 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59040 if test "x$ac_cv_func__isinf" = x""yes; then :
59041 cat >>confdefs.h <<_ACEOF
59042 #define HAVE__ISINF 1
59043 _ACEOF
59046 done
59055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59056 $as_echo_n "checking for isnan declaration... " >&6; }
59057 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59058 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59059 $as_echo_n "(cached) " >&6
59060 else
59063 ac_ext=cpp
59064 ac_cpp='$CXXCPP $CPPFLAGS'
59065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59070 /* end confdefs.h. */
59071 #include <math.h>
59072 #ifdef HAVE_IEEEFP_H
59073 #include <ieeefp.h>
59074 #endif
59077 main ()
59079 isnan(0);
59081 return 0;
59083 _ACEOF
59084 if ac_fn_cxx_try_compile "$LINENO"; then :
59085 glibcxx_cv_func_isnan_use=yes
59086 else
59087 glibcxx_cv_func_isnan_use=no
59089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59090 ac_ext=c
59091 ac_cpp='$CPP $CPPFLAGS'
59092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59101 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59103 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59104 for ac_func in isnan
59105 do :
59106 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59107 if test "x$ac_cv_func_isnan" = x""yes; then :
59108 cat >>confdefs.h <<_ACEOF
59109 #define HAVE_ISNAN 1
59110 _ACEOF
59113 done
59115 else
59117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59118 $as_echo_n "checking for _isnan declaration... " >&6; }
59119 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59120 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59121 $as_echo_n "(cached) " >&6
59122 else
59125 ac_ext=cpp
59126 ac_cpp='$CXXCPP $CPPFLAGS'
59127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59132 /* end confdefs.h. */
59133 #include <math.h>
59134 #ifdef HAVE_IEEEFP_H
59135 #include <ieeefp.h>
59136 #endif
59139 main ()
59141 _isnan(0);
59143 return 0;
59145 _ACEOF
59146 if ac_fn_cxx_try_compile "$LINENO"; then :
59147 glibcxx_cv_func__isnan_use=yes
59148 else
59149 glibcxx_cv_func__isnan_use=no
59151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59152 ac_ext=c
59153 ac_cpp='$CPP $CPPFLAGS'
59154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59163 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59165 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59166 for ac_func in _isnan
59167 do :
59168 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59169 if test "x$ac_cv_func__isnan" = x""yes; then :
59170 cat >>confdefs.h <<_ACEOF
59171 #define HAVE__ISNAN 1
59172 _ACEOF
59175 done
59184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59185 $as_echo_n "checking for finite declaration... " >&6; }
59186 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59187 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59188 $as_echo_n "(cached) " >&6
59189 else
59192 ac_ext=cpp
59193 ac_cpp='$CXXCPP $CPPFLAGS'
59194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59199 /* end confdefs.h. */
59200 #include <math.h>
59201 #ifdef HAVE_IEEEFP_H
59202 #include <ieeefp.h>
59203 #endif
59206 main ()
59208 finite(0);
59210 return 0;
59212 _ACEOF
59213 if ac_fn_cxx_try_compile "$LINENO"; then :
59214 glibcxx_cv_func_finite_use=yes
59215 else
59216 glibcxx_cv_func_finite_use=no
59218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59219 ac_ext=c
59220 ac_cpp='$CPP $CPPFLAGS'
59221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59230 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59232 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59233 for ac_func in finite
59234 do :
59235 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59236 if test "x$ac_cv_func_finite" = x""yes; then :
59237 cat >>confdefs.h <<_ACEOF
59238 #define HAVE_FINITE 1
59239 _ACEOF
59242 done
59244 else
59246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59247 $as_echo_n "checking for _finite declaration... " >&6; }
59248 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59249 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59254 ac_ext=cpp
59255 ac_cpp='$CXXCPP $CPPFLAGS'
59256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59261 /* end confdefs.h. */
59262 #include <math.h>
59263 #ifdef HAVE_IEEEFP_H
59264 #include <ieeefp.h>
59265 #endif
59268 main ()
59270 _finite(0);
59272 return 0;
59274 _ACEOF
59275 if ac_fn_cxx_try_compile "$LINENO"; then :
59276 glibcxx_cv_func__finite_use=yes
59277 else
59278 glibcxx_cv_func__finite_use=no
59280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59281 ac_ext=c
59282 ac_cpp='$CPP $CPPFLAGS'
59283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59292 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59294 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59295 for ac_func in _finite
59296 do :
59297 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59298 if test "x$ac_cv_func__finite" = x""yes; then :
59299 cat >>confdefs.h <<_ACEOF
59300 #define HAVE__FINITE 1
59301 _ACEOF
59304 done
59313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59314 $as_echo_n "checking for sincos declaration... " >&6; }
59315 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59316 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59317 $as_echo_n "(cached) " >&6
59318 else
59321 ac_ext=cpp
59322 ac_cpp='$CXXCPP $CPPFLAGS'
59323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59328 /* end confdefs.h. */
59329 #include <math.h>
59331 main ()
59333 sincos(0, 0, 0);
59335 return 0;
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_sincos_use=yes
59340 else
59341 glibcxx_cv_func_sincos_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_sincos_use" >&5
59355 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59357 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59358 for ac_func in sincos
59359 do :
59360 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59361 if test "x$ac_cv_func_sincos" = x""yes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_SINCOS 1
59364 _ACEOF
59367 done
59369 else
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59372 $as_echo_n "checking for _sincos declaration... " >&6; }
59373 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59374 if test "${glibcxx_cv_func__sincos_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>
59389 main ()
59391 _sincos(0, 0, 0);
59393 return 0;
59395 _ACEOF
59396 if ac_fn_cxx_try_compile "$LINENO"; then :
59397 glibcxx_cv_func__sincos_use=yes
59398 else
59399 glibcxx_cv_func__sincos_use=no
59401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59402 ac_ext=c
59403 ac_cpp='$CPP $CPPFLAGS'
59404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59413 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59415 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59416 for ac_func in _sincos
59417 do :
59418 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59419 if test "x$ac_cv_func__sincos" = x""yes; then :
59420 cat >>confdefs.h <<_ACEOF
59421 #define HAVE__SINCOS 1
59422 _ACEOF
59425 done
59434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59435 $as_echo_n "checking for fpclass declaration... " >&6; }
59436 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59437 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59438 $as_echo_n "(cached) " >&6
59439 else
59442 ac_ext=cpp
59443 ac_cpp='$CXXCPP $CPPFLAGS'
59444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59449 /* end confdefs.h. */
59450 #include <math.h>
59451 #ifdef HAVE_IEEEFP_H
59452 #include <ieeefp.h>
59453 #endif
59456 main ()
59458 fpclass(0);
59460 return 0;
59462 _ACEOF
59463 if ac_fn_cxx_try_compile "$LINENO"; then :
59464 glibcxx_cv_func_fpclass_use=yes
59465 else
59466 glibcxx_cv_func_fpclass_use=no
59468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59469 ac_ext=c
59470 ac_cpp='$CPP $CPPFLAGS'
59471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59480 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59482 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59483 for ac_func in fpclass
59484 do :
59485 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59486 if test "x$ac_cv_func_fpclass" = x""yes; then :
59487 cat >>confdefs.h <<_ACEOF
59488 #define HAVE_FPCLASS 1
59489 _ACEOF
59492 done
59494 else
59496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59497 $as_echo_n "checking for _fpclass declaration... " >&6; }
59498 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59499 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59500 $as_echo_n "(cached) " >&6
59501 else
59504 ac_ext=cpp
59505 ac_cpp='$CXXCPP $CPPFLAGS'
59506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59511 /* end confdefs.h. */
59512 #include <math.h>
59513 #ifdef HAVE_IEEEFP_H
59514 #include <ieeefp.h>
59515 #endif
59518 main ()
59520 _fpclass(0);
59522 return 0;
59524 _ACEOF
59525 if ac_fn_cxx_try_compile "$LINENO"; then :
59526 glibcxx_cv_func__fpclass_use=yes
59527 else
59528 glibcxx_cv_func__fpclass_use=no
59530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59531 ac_ext=c
59532 ac_cpp='$CPP $CPPFLAGS'
59533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59542 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59544 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59545 for ac_func in _fpclass
59546 do :
59547 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59548 if test "x$ac_cv_func__fpclass" = x""yes; then :
59549 cat >>confdefs.h <<_ACEOF
59550 #define HAVE__FPCLASS 1
59551 _ACEOF
59554 done
59563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59564 $as_echo_n "checking for qfpclass declaration... " >&6; }
59565 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59566 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59567 $as_echo_n "(cached) " >&6
59568 else
59571 ac_ext=cpp
59572 ac_cpp='$CXXCPP $CPPFLAGS'
59573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59578 /* end confdefs.h. */
59579 #include <math.h>
59580 #ifdef HAVE_IEEEFP_H
59581 #include <ieeefp.h>
59582 #endif
59585 main ()
59587 qfpclass(0);
59589 return 0;
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func_qfpclass_use=yes
59594 else
59595 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
59609 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59611 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59612 for ac_func in qfpclass
59613 do :
59614 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59615 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE_QFPCLASS 1
59618 _ACEOF
59621 done
59623 else
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59626 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59627 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59628 if test "${glibcxx_cv_func__qfpclass_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>
59642 #ifdef HAVE_IEEEFP_H
59643 #include <ieeefp.h>
59644 #endif
59647 main ()
59649 _qfpclass(0);
59651 return 0;
59653 _ACEOF
59654 if ac_fn_cxx_try_compile "$LINENO"; then :
59655 glibcxx_cv_func__qfpclass_use=yes
59656 else
59657 glibcxx_cv_func__qfpclass_use=no
59659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59660 ac_ext=c
59661 ac_cpp='$CPP $CPPFLAGS'
59662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59671 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59673 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59674 for ac_func in _qfpclass
59675 do :
59676 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59677 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59678 cat >>confdefs.h <<_ACEOF
59679 #define HAVE__QFPCLASS 1
59680 _ACEOF
59683 done
59692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59693 $as_echo_n "checking for hypot declaration... " >&6; }
59694 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59695 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59696 $as_echo_n "(cached) " >&6
59697 else
59700 ac_ext=cpp
59701 ac_cpp='$CXXCPP $CPPFLAGS'
59702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59707 /* end confdefs.h. */
59708 #include <math.h>
59710 main ()
59712 hypot(0, 0);
59714 return 0;
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func_hypot_use=yes
59719 else
59720 glibcxx_cv_func_hypot_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_hypot_use" >&5
59734 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59736 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59737 for ac_func in hypot
59738 do :
59739 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59740 if test "x$ac_cv_func_hypot" = x""yes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE_HYPOT 1
59743 _ACEOF
59746 done
59748 else
59750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59751 $as_echo_n "checking for _hypot declaration... " >&6; }
59752 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59753 if test "${glibcxx_cv_func__hypot_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>
59768 main ()
59770 _hypot(0, 0);
59772 return 0;
59774 _ACEOF
59775 if ac_fn_cxx_try_compile "$LINENO"; then :
59776 glibcxx_cv_func__hypot_use=yes
59777 else
59778 glibcxx_cv_func__hypot_use=no
59780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59781 ac_ext=c
59782 ac_cpp='$CPP $CPPFLAGS'
59783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59792 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59794 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59795 for ac_func in _hypot
59796 do :
59797 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59798 if test "x$ac_cv_func__hypot" = x""yes; then :
59799 cat >>confdefs.h <<_ACEOF
59800 #define HAVE__HYPOT 1
59801 _ACEOF
59804 done
59813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59814 $as_echo_n "checking for float trig functions... " >&6; }
59815 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59816 $as_echo_n "(cached) " >&6
59817 else
59820 ac_ext=cpp
59821 ac_cpp='$CXXCPP $CPPFLAGS'
59822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59827 /* end confdefs.h. */
59828 #include <math.h>
59830 main ()
59832 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59834 return 0;
59836 _ACEOF
59837 if ac_fn_cxx_try_compile "$LINENO"; then :
59838 glibcxx_cv_func_float_trig_use=yes
59839 else
59840 glibcxx_cv_func_float_trig_use=no
59842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59843 ac_ext=c
59844 ac_cpp='$CPP $CPPFLAGS'
59845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59852 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59853 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59854 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59855 do :
59856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59858 eval as_val=\$$as_ac_var
59859 if test "x$as_val" = x""yes; then :
59860 cat >>confdefs.h <<_ACEOF
59861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59862 _ACEOF
59865 done
59867 else
59868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59869 $as_echo_n "checking for _float trig functions... " >&6; }
59870 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59871 $as_echo_n "(cached) " >&6
59872 else
59875 ac_ext=cpp
59876 ac_cpp='$CXXCPP $CPPFLAGS'
59877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59882 /* end confdefs.h. */
59883 #include <math.h>
59885 main ()
59887 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59889 return 0;
59891 _ACEOF
59892 if ac_fn_cxx_try_compile "$LINENO"; then :
59893 glibcxx_cv_func__float_trig_use=yes
59894 else
59895 glibcxx_cv_func__float_trig_use=no
59897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59898 ac_ext=c
59899 ac_cpp='$CPP $CPPFLAGS'
59900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59907 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59908 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59909 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59910 do :
59911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59913 eval as_val=\$$as_ac_var
59914 if test "x$as_val" = x""yes; then :
59915 cat >>confdefs.h <<_ACEOF
59916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59917 _ACEOF
59920 done
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59930 $as_echo_n "checking for float round functions... " >&6; }
59931 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59932 $as_echo_n "(cached) " >&6
59933 else
59936 ac_ext=cpp
59937 ac_cpp='$CXXCPP $CPPFLAGS'
59938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943 /* end confdefs.h. */
59944 #include <math.h>
59946 main ()
59948 ceilf (0); floorf (0);
59950 return 0;
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954 glibcxx_cv_func_float_round_use=yes
59955 else
59956 glibcxx_cv_func_float_round_use=no
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959 ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59968 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59969 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59970 for ac_func in ceilf floorf
59971 do :
59972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59974 eval as_val=\$$as_ac_var
59975 if test "x$as_val" = x""yes; then :
59976 cat >>confdefs.h <<_ACEOF
59977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59978 _ACEOF
59981 done
59983 else
59984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59985 $as_echo_n "checking for _float round functions... " >&6; }
59986 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59987 $as_echo_n "(cached) " >&6
59988 else
59991 ac_ext=cpp
59992 ac_cpp='$CXXCPP $CPPFLAGS'
59993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59998 /* end confdefs.h. */
59999 #include <math.h>
60001 main ()
60003 _ceilf (0); _floorf (0);
60005 return 0;
60007 _ACEOF
60008 if ac_fn_cxx_try_compile "$LINENO"; then :
60009 glibcxx_cv_func__float_round_use=yes
60010 else
60011 glibcxx_cv_func__float_round_use=no
60013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60014 ac_ext=c
60015 ac_cpp='$CPP $CPPFLAGS'
60016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60023 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60024 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60025 for ac_func in _ceilf _floorf
60026 do :
60027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60029 eval as_val=\$$as_ac_var
60030 if test "x$as_val" = x""yes; then :
60031 cat >>confdefs.h <<_ACEOF
60032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60033 _ACEOF
60036 done
60046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60047 $as_echo_n "checking for expf declaration... " >&6; }
60048 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60049 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60050 $as_echo_n "(cached) " >&6
60051 else
60054 ac_ext=cpp
60055 ac_cpp='$CXXCPP $CPPFLAGS'
60056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60061 /* end confdefs.h. */
60062 #include <math.h>
60063 #ifdef HAVE_IEEEFP_H
60064 #include <ieeefp.h>
60065 #endif
60068 main ()
60070 expf(0);
60072 return 0;
60074 _ACEOF
60075 if ac_fn_cxx_try_compile "$LINENO"; then :
60076 glibcxx_cv_func_expf_use=yes
60077 else
60078 glibcxx_cv_func_expf_use=no
60080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60081 ac_ext=c
60082 ac_cpp='$CPP $CPPFLAGS'
60083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60092 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60094 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60095 for ac_func in expf
60096 do :
60097 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60098 if test "x$ac_cv_func_expf" = x""yes; then :
60099 cat >>confdefs.h <<_ACEOF
60100 #define HAVE_EXPF 1
60101 _ACEOF
60104 done
60106 else
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60109 $as_echo_n "checking for _expf declaration... " >&6; }
60110 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60111 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60112 $as_echo_n "(cached) " >&6
60113 else
60116 ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60124 #include <math.h>
60125 #ifdef HAVE_IEEEFP_H
60126 #include <ieeefp.h>
60127 #endif
60130 main ()
60132 _expf(0);
60134 return 0;
60136 _ACEOF
60137 if ac_fn_cxx_try_compile "$LINENO"; then :
60138 glibcxx_cv_func__expf_use=yes
60139 else
60140 glibcxx_cv_func__expf_use=no
60142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60143 ac_ext=c
60144 ac_cpp='$CPP $CPPFLAGS'
60145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60154 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60156 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60157 for ac_func in _expf
60158 do :
60159 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60160 if test "x$ac_cv_func__expf" = x""yes; then :
60161 cat >>confdefs.h <<_ACEOF
60162 #define HAVE__EXPF 1
60163 _ACEOF
60166 done
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60176 $as_echo_n "checking for isnanf declaration... " >&6; }
60177 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60178 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60179 $as_echo_n "(cached) " >&6
60180 else
60183 ac_ext=cpp
60184 ac_cpp='$CXXCPP $CPPFLAGS'
60185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60190 /* end confdefs.h. */
60191 #include <math.h>
60192 #ifdef HAVE_IEEEFP_H
60193 #include <ieeefp.h>
60194 #endif
60197 main ()
60199 isnanf(0);
60201 return 0;
60203 _ACEOF
60204 if ac_fn_cxx_try_compile "$LINENO"; then :
60205 glibcxx_cv_func_isnanf_use=yes
60206 else
60207 glibcxx_cv_func_isnanf_use=no
60209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60210 ac_ext=c
60211 ac_cpp='$CPP $CPPFLAGS'
60212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60221 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60223 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60224 for ac_func in isnanf
60225 do :
60226 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60227 if test "x$ac_cv_func_isnanf" = x""yes; then :
60228 cat >>confdefs.h <<_ACEOF
60229 #define HAVE_ISNANF 1
60230 _ACEOF
60233 done
60235 else
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60238 $as_echo_n "checking for _isnanf declaration... " >&6; }
60239 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60240 if test "${glibcxx_cv_func__isnanf_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>
60254 #ifdef HAVE_IEEEFP_H
60255 #include <ieeefp.h>
60256 #endif
60259 main ()
60261 _isnanf(0);
60263 return 0;
60265 _ACEOF
60266 if ac_fn_cxx_try_compile "$LINENO"; then :
60267 glibcxx_cv_func__isnanf_use=yes
60268 else
60269 glibcxx_cv_func__isnanf_use=no
60271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60272 ac_ext=c
60273 ac_cpp='$CPP $CPPFLAGS'
60274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60283 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60285 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60286 for ac_func in _isnanf
60287 do :
60288 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60289 if test "x$ac_cv_func__isnanf" = x""yes; then :
60290 cat >>confdefs.h <<_ACEOF
60291 #define HAVE__ISNANF 1
60292 _ACEOF
60295 done
60304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60305 $as_echo_n "checking for isinff declaration... " >&6; }
60306 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60307 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60308 $as_echo_n "(cached) " >&6
60309 else
60312 ac_ext=cpp
60313 ac_cpp='$CXXCPP $CPPFLAGS'
60314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60319 /* end confdefs.h. */
60320 #include <math.h>
60321 #ifdef HAVE_IEEEFP_H
60322 #include <ieeefp.h>
60323 #endif
60326 main ()
60328 isinff(0);
60330 return 0;
60332 _ACEOF
60333 if ac_fn_cxx_try_compile "$LINENO"; then :
60334 glibcxx_cv_func_isinff_use=yes
60335 else
60336 glibcxx_cv_func_isinff_use=no
60338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60339 ac_ext=c
60340 ac_cpp='$CPP $CPPFLAGS'
60341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60350 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60352 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60353 for ac_func in isinff
60354 do :
60355 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60356 if test "x$ac_cv_func_isinff" = x""yes; then :
60357 cat >>confdefs.h <<_ACEOF
60358 #define HAVE_ISINFF 1
60359 _ACEOF
60362 done
60364 else
60366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60367 $as_echo_n "checking for _isinff declaration... " >&6; }
60368 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60369 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60370 $as_echo_n "(cached) " >&6
60371 else
60374 ac_ext=cpp
60375 ac_cpp='$CXXCPP $CPPFLAGS'
60376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60381 /* end confdefs.h. */
60382 #include <math.h>
60383 #ifdef HAVE_IEEEFP_H
60384 #include <ieeefp.h>
60385 #endif
60388 main ()
60390 _isinff(0);
60392 return 0;
60394 _ACEOF
60395 if ac_fn_cxx_try_compile "$LINENO"; then :
60396 glibcxx_cv_func__isinff_use=yes
60397 else
60398 glibcxx_cv_func__isinff_use=no
60400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60401 ac_ext=c
60402 ac_cpp='$CPP $CPPFLAGS'
60403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60412 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60414 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60415 for ac_func in _isinff
60416 do :
60417 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60418 if test "x$ac_cv_func__isinff" = x""yes; then :
60419 cat >>confdefs.h <<_ACEOF
60420 #define HAVE__ISINFF 1
60421 _ACEOF
60424 done
60433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60434 $as_echo_n "checking for atan2f declaration... " >&6; }
60435 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60436 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60437 $as_echo_n "(cached) " >&6
60438 else
60441 ac_ext=cpp
60442 ac_cpp='$CXXCPP $CPPFLAGS'
60443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60448 /* end confdefs.h. */
60449 #include <math.h>
60451 main ()
60453 atan2f(0, 0);
60455 return 0;
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459 glibcxx_cv_func_atan2f_use=yes
60460 else
60461 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
60475 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60477 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60478 for ac_func in atan2f
60479 do :
60480 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60481 if test "x$ac_cv_func_atan2f" = x""yes; then :
60482 cat >>confdefs.h <<_ACEOF
60483 #define HAVE_ATAN2F 1
60484 _ACEOF
60487 done
60489 else
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60492 $as_echo_n "checking for _atan2f declaration... " >&6; }
60493 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60494 if test "${glibcxx_cv_func__atan2f_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>
60509 main ()
60511 _atan2f(0, 0);
60513 return 0;
60515 _ACEOF
60516 if ac_fn_cxx_try_compile "$LINENO"; then :
60517 glibcxx_cv_func__atan2f_use=yes
60518 else
60519 glibcxx_cv_func__atan2f_use=no
60521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60522 ac_ext=c
60523 ac_cpp='$CPP $CPPFLAGS'
60524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60533 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60535 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60536 for ac_func in _atan2f
60537 do :
60538 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60539 if test "x$ac_cv_func__atan2f" = x""yes; then :
60540 cat >>confdefs.h <<_ACEOF
60541 #define HAVE__ATAN2F 1
60542 _ACEOF
60545 done
60554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60555 $as_echo_n "checking for fabsf declaration... " >&6; }
60556 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60557 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60558 $as_echo_n "(cached) " >&6
60559 else
60562 ac_ext=cpp
60563 ac_cpp='$CXXCPP $CPPFLAGS'
60564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60569 /* end confdefs.h. */
60570 #include <math.h>
60571 #ifdef HAVE_IEEEFP_H
60572 #include <ieeefp.h>
60573 #endif
60576 main ()
60578 fabsf(0);
60580 return 0;
60582 _ACEOF
60583 if ac_fn_cxx_try_compile "$LINENO"; then :
60584 glibcxx_cv_func_fabsf_use=yes
60585 else
60586 glibcxx_cv_func_fabsf_use=no
60588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60589 ac_ext=c
60590 ac_cpp='$CPP $CPPFLAGS'
60591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60600 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60602 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60603 for ac_func in fabsf
60604 do :
60605 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60606 if test "x$ac_cv_func_fabsf" = x""yes; then :
60607 cat >>confdefs.h <<_ACEOF
60608 #define HAVE_FABSF 1
60609 _ACEOF
60612 done
60614 else
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60617 $as_echo_n "checking for _fabsf declaration... " >&6; }
60618 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60619 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60620 $as_echo_n "(cached) " >&6
60621 else
60624 ac_ext=cpp
60625 ac_cpp='$CXXCPP $CPPFLAGS'
60626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60631 /* end confdefs.h. */
60632 #include <math.h>
60633 #ifdef HAVE_IEEEFP_H
60634 #include <ieeefp.h>
60635 #endif
60638 main ()
60640 _fabsf(0);
60642 return 0;
60644 _ACEOF
60645 if ac_fn_cxx_try_compile "$LINENO"; then :
60646 glibcxx_cv_func__fabsf_use=yes
60647 else
60648 glibcxx_cv_func__fabsf_use=no
60650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60651 ac_ext=c
60652 ac_cpp='$CPP $CPPFLAGS'
60653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60662 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60664 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60665 for ac_func in _fabsf
60666 do :
60667 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60668 if test "x$ac_cv_func__fabsf" = x""yes; then :
60669 cat >>confdefs.h <<_ACEOF
60670 #define HAVE__FABSF 1
60671 _ACEOF
60674 done
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60684 $as_echo_n "checking for fmodf declaration... " >&6; }
60685 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60686 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60687 $as_echo_n "(cached) " >&6
60688 else
60691 ac_ext=cpp
60692 ac_cpp='$CXXCPP $CPPFLAGS'
60693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60698 /* end confdefs.h. */
60699 #include <math.h>
60701 main ()
60703 fmodf(0, 0);
60705 return 0;
60707 _ACEOF
60708 if ac_fn_cxx_try_compile "$LINENO"; then :
60709 glibcxx_cv_func_fmodf_use=yes
60710 else
60711 glibcxx_cv_func_fmodf_use=no
60713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60714 ac_ext=c
60715 ac_cpp='$CPP $CPPFLAGS'
60716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60725 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60727 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60728 for ac_func in fmodf
60729 do :
60730 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60731 if test "x$ac_cv_func_fmodf" = x""yes; then :
60732 cat >>confdefs.h <<_ACEOF
60733 #define HAVE_FMODF 1
60734 _ACEOF
60737 done
60739 else
60741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60742 $as_echo_n "checking for _fmodf declaration... " >&6; }
60743 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60744 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60745 $as_echo_n "(cached) " >&6
60746 else
60749 ac_ext=cpp
60750 ac_cpp='$CXXCPP $CPPFLAGS'
60751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60756 /* end confdefs.h. */
60757 #include <math.h>
60759 main ()
60761 _fmodf(0, 0);
60763 return 0;
60765 _ACEOF
60766 if ac_fn_cxx_try_compile "$LINENO"; then :
60767 glibcxx_cv_func__fmodf_use=yes
60768 else
60769 glibcxx_cv_func__fmodf_use=no
60771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60772 ac_ext=c
60773 ac_cpp='$CPP $CPPFLAGS'
60774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60783 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60785 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60786 for ac_func in _fmodf
60787 do :
60788 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60789 if test "x$ac_cv_func__fmodf" = x""yes; then :
60790 cat >>confdefs.h <<_ACEOF
60791 #define HAVE__FMODF 1
60792 _ACEOF
60795 done
60804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60805 $as_echo_n "checking for frexpf declaration... " >&6; }
60806 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60807 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60808 $as_echo_n "(cached) " >&6
60809 else
60812 ac_ext=cpp
60813 ac_cpp='$CXXCPP $CPPFLAGS'
60814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60819 /* end confdefs.h. */
60820 #include <math.h>
60822 main ()
60824 frexpf(0, 0);
60826 return 0;
60828 _ACEOF
60829 if ac_fn_cxx_try_compile "$LINENO"; then :
60830 glibcxx_cv_func_frexpf_use=yes
60831 else
60832 glibcxx_cv_func_frexpf_use=no
60834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60835 ac_ext=c
60836 ac_cpp='$CPP $CPPFLAGS'
60837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60846 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60848 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60849 for ac_func in frexpf
60850 do :
60851 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60852 if test "x$ac_cv_func_frexpf" = x""yes; then :
60853 cat >>confdefs.h <<_ACEOF
60854 #define HAVE_FREXPF 1
60855 _ACEOF
60858 done
60860 else
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60863 $as_echo_n "checking for _frexpf declaration... " >&6; }
60864 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60865 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60866 $as_echo_n "(cached) " >&6
60867 else
60870 ac_ext=cpp
60871 ac_cpp='$CXXCPP $CPPFLAGS'
60872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60877 /* end confdefs.h. */
60878 #include <math.h>
60880 main ()
60882 _frexpf(0, 0);
60884 return 0;
60886 _ACEOF
60887 if ac_fn_cxx_try_compile "$LINENO"; then :
60888 glibcxx_cv_func__frexpf_use=yes
60889 else
60890 glibcxx_cv_func__frexpf_use=no
60892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60893 ac_ext=c
60894 ac_cpp='$CPP $CPPFLAGS'
60895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60904 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60906 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60907 for ac_func in _frexpf
60908 do :
60909 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60910 if test "x$ac_cv_func__frexpf" = x""yes; then :
60911 cat >>confdefs.h <<_ACEOF
60912 #define HAVE__FREXPF 1
60913 _ACEOF
60916 done
60925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60926 $as_echo_n "checking for hypotf declaration... " >&6; }
60927 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60928 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60929 $as_echo_n "(cached) " >&6
60930 else
60933 ac_ext=cpp
60934 ac_cpp='$CXXCPP $CPPFLAGS'
60935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60940 /* end confdefs.h. */
60941 #include <math.h>
60943 main ()
60945 hypotf(0, 0);
60947 return 0;
60949 _ACEOF
60950 if ac_fn_cxx_try_compile "$LINENO"; then :
60951 glibcxx_cv_func_hypotf_use=yes
60952 else
60953 glibcxx_cv_func_hypotf_use=no
60955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60956 ac_ext=c
60957 ac_cpp='$CPP $CPPFLAGS'
60958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60967 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60969 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60970 for ac_func in hypotf
60971 do :
60972 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60973 if test "x$ac_cv_func_hypotf" = x""yes; then :
60974 cat >>confdefs.h <<_ACEOF
60975 #define HAVE_HYPOTF 1
60976 _ACEOF
60979 done
60981 else
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60984 $as_echo_n "checking for _hypotf declaration... " >&6; }
60985 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60986 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60987 $as_echo_n "(cached) " >&6
60988 else
60991 ac_ext=cpp
60992 ac_cpp='$CXXCPP $CPPFLAGS'
60993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60998 /* end confdefs.h. */
60999 #include <math.h>
61001 main ()
61003 _hypotf(0, 0);
61005 return 0;
61007 _ACEOF
61008 if ac_fn_cxx_try_compile "$LINENO"; then :
61009 glibcxx_cv_func__hypotf_use=yes
61010 else
61011 glibcxx_cv_func__hypotf_use=no
61013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61014 ac_ext=c
61015 ac_cpp='$CPP $CPPFLAGS'
61016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61025 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61027 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61028 for ac_func in _hypotf
61029 do :
61030 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61031 if test "x$ac_cv_func__hypotf" = x""yes; then :
61032 cat >>confdefs.h <<_ACEOF
61033 #define HAVE__HYPOTF 1
61034 _ACEOF
61037 done
61046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61047 $as_echo_n "checking for ldexpf declaration... " >&6; }
61048 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61049 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61050 $as_echo_n "(cached) " >&6
61051 else
61054 ac_ext=cpp
61055 ac_cpp='$CXXCPP $CPPFLAGS'
61056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61061 /* end confdefs.h. */
61062 #include <math.h>
61064 main ()
61066 ldexpf(0, 0);
61068 return 0;
61070 _ACEOF
61071 if ac_fn_cxx_try_compile "$LINENO"; then :
61072 glibcxx_cv_func_ldexpf_use=yes
61073 else
61074 glibcxx_cv_func_ldexpf_use=no
61076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61077 ac_ext=c
61078 ac_cpp='$CPP $CPPFLAGS'
61079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61088 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61090 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61091 for ac_func in ldexpf
61092 do :
61093 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61094 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61095 cat >>confdefs.h <<_ACEOF
61096 #define HAVE_LDEXPF 1
61097 _ACEOF
61100 done
61102 else
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61105 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61106 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61107 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61108 $as_echo_n "(cached) " >&6
61109 else
61112 ac_ext=cpp
61113 ac_cpp='$CXXCPP $CPPFLAGS'
61114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61119 /* end confdefs.h. */
61120 #include <math.h>
61122 main ()
61124 _ldexpf(0, 0);
61126 return 0;
61128 _ACEOF
61129 if ac_fn_cxx_try_compile "$LINENO"; then :
61130 glibcxx_cv_func__ldexpf_use=yes
61131 else
61132 glibcxx_cv_func__ldexpf_use=no
61134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61146 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61148 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61149 for ac_func in _ldexpf
61150 do :
61151 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61152 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61153 cat >>confdefs.h <<_ACEOF
61154 #define HAVE__LDEXPF 1
61155 _ACEOF
61158 done
61167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61168 $as_echo_n "checking for logf declaration... " >&6; }
61169 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61170 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61171 $as_echo_n "(cached) " >&6
61172 else
61175 ac_ext=cpp
61176 ac_cpp='$CXXCPP $CPPFLAGS'
61177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61182 /* end confdefs.h. */
61183 #include <math.h>
61184 #ifdef HAVE_IEEEFP_H
61185 #include <ieeefp.h>
61186 #endif
61189 main ()
61191 logf(0);
61193 return 0;
61195 _ACEOF
61196 if ac_fn_cxx_try_compile "$LINENO"; then :
61197 glibcxx_cv_func_logf_use=yes
61198 else
61199 glibcxx_cv_func_logf_use=no
61201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61202 ac_ext=c
61203 ac_cpp='$CPP $CPPFLAGS'
61204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61213 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61215 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61216 for ac_func in logf
61217 do :
61218 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61219 if test "x$ac_cv_func_logf" = x""yes; then :
61220 cat >>confdefs.h <<_ACEOF
61221 #define HAVE_LOGF 1
61222 _ACEOF
61225 done
61227 else
61229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61230 $as_echo_n "checking for _logf declaration... " >&6; }
61231 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61232 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61233 $as_echo_n "(cached) " >&6
61234 else
61237 ac_ext=cpp
61238 ac_cpp='$CXXCPP $CPPFLAGS'
61239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61244 /* end confdefs.h. */
61245 #include <math.h>
61246 #ifdef HAVE_IEEEFP_H
61247 #include <ieeefp.h>
61248 #endif
61251 main ()
61253 _logf(0);
61255 return 0;
61257 _ACEOF
61258 if ac_fn_cxx_try_compile "$LINENO"; then :
61259 glibcxx_cv_func__logf_use=yes
61260 else
61261 glibcxx_cv_func__logf_use=no
61263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61264 ac_ext=c
61265 ac_cpp='$CPP $CPPFLAGS'
61266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61275 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61277 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61278 for ac_func in _logf
61279 do :
61280 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61281 if test "x$ac_cv_func__logf" = x""yes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define HAVE__LOGF 1
61284 _ACEOF
61287 done
61296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61297 $as_echo_n "checking for log10f declaration... " >&6; }
61298 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61299 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61300 $as_echo_n "(cached) " >&6
61301 else
61304 ac_ext=cpp
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61311 /* end confdefs.h. */
61312 #include <math.h>
61313 #ifdef HAVE_IEEEFP_H
61314 #include <ieeefp.h>
61315 #endif
61318 main ()
61320 log10f(0);
61322 return 0;
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func_log10f_use=yes
61327 else
61328 glibcxx_cv_func_log10f_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_log10f_use" >&5
61342 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61344 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61345 for ac_func in log10f
61346 do :
61347 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61348 if test "x$ac_cv_func_log10f" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define HAVE_LOG10F 1
61351 _ACEOF
61354 done
61356 else
61358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61359 $as_echo_n "checking for _log10f declaration... " >&6; }
61360 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61361 if test "${glibcxx_cv_func__log10f_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>
61375 #ifdef HAVE_IEEEFP_H
61376 #include <ieeefp.h>
61377 #endif
61380 main ()
61382 _log10f(0);
61384 return 0;
61386 _ACEOF
61387 if ac_fn_cxx_try_compile "$LINENO"; then :
61388 glibcxx_cv_func__log10f_use=yes
61389 else
61390 glibcxx_cv_func__log10f_use=no
61392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61393 ac_ext=c
61394 ac_cpp='$CPP $CPPFLAGS'
61395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61404 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61406 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61407 for ac_func in _log10f
61408 do :
61409 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61410 if test "x$ac_cv_func__log10f" = x""yes; then :
61411 cat >>confdefs.h <<_ACEOF
61412 #define HAVE__LOG10F 1
61413 _ACEOF
61416 done
61425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61426 $as_echo_n "checking for modff declaration... " >&6; }
61427 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61428 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61429 $as_echo_n "(cached) " >&6
61430 else
61433 ac_ext=cpp
61434 ac_cpp='$CXXCPP $CPPFLAGS'
61435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61440 /* end confdefs.h. */
61441 #include <math.h>
61443 main ()
61445 modff(0, 0);
61447 return 0;
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func_modff_use=yes
61452 else
61453 glibcxx_cv_func_modff_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_modff_use" >&5
61467 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61469 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61470 for ac_func in modff
61471 do :
61472 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61473 if test "x$ac_cv_func_modff" = x""yes; then :
61474 cat >>confdefs.h <<_ACEOF
61475 #define HAVE_MODFF 1
61476 _ACEOF
61479 done
61481 else
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61484 $as_echo_n "checking for _modff declaration... " >&6; }
61485 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61486 if test "${glibcxx_cv_func__modff_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>
61501 main ()
61503 _modff(0, 0);
61505 return 0;
61507 _ACEOF
61508 if ac_fn_cxx_try_compile "$LINENO"; then :
61509 glibcxx_cv_func__modff_use=yes
61510 else
61511 glibcxx_cv_func__modff_use=no
61513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61514 ac_ext=c
61515 ac_cpp='$CPP $CPPFLAGS'
61516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61525 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61527 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61528 for ac_func in _modff
61529 do :
61530 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61531 if test "x$ac_cv_func__modff" = x""yes; then :
61532 cat >>confdefs.h <<_ACEOF
61533 #define HAVE__MODFF 1
61534 _ACEOF
61537 done
61546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61547 $as_echo_n "checking for modf declaration... " >&6; }
61548 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61549 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61550 $as_echo_n "(cached) " >&6
61551 else
61554 ac_ext=cpp
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61561 /* end confdefs.h. */
61562 #include <math.h>
61564 main ()
61566 modf(0, 0);
61568 return 0;
61570 _ACEOF
61571 if ac_fn_cxx_try_compile "$LINENO"; then :
61572 glibcxx_cv_func_modf_use=yes
61573 else
61574 glibcxx_cv_func_modf_use=no
61576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61577 ac_ext=c
61578 ac_cpp='$CPP $CPPFLAGS'
61579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61588 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61590 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61591 for ac_func in modf
61592 do :
61593 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61594 if test "x$ac_cv_func_modf" = x""yes; then :
61595 cat >>confdefs.h <<_ACEOF
61596 #define HAVE_MODF 1
61597 _ACEOF
61600 done
61602 else
61604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61605 $as_echo_n "checking for _modf declaration... " >&6; }
61606 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61607 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61608 $as_echo_n "(cached) " >&6
61609 else
61612 ac_ext=cpp
61613 ac_cpp='$CXXCPP $CPPFLAGS'
61614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61619 /* end confdefs.h. */
61620 #include <math.h>
61622 main ()
61624 _modf(0, 0);
61626 return 0;
61628 _ACEOF
61629 if ac_fn_cxx_try_compile "$LINENO"; then :
61630 glibcxx_cv_func__modf_use=yes
61631 else
61632 glibcxx_cv_func__modf_use=no
61634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61646 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61648 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61649 for ac_func in _modf
61650 do :
61651 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61652 if test "x$ac_cv_func__modf" = x""yes; then :
61653 cat >>confdefs.h <<_ACEOF
61654 #define HAVE__MODF 1
61655 _ACEOF
61658 done
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61668 $as_echo_n "checking for powf declaration... " >&6; }
61669 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61670 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61671 $as_echo_n "(cached) " >&6
61672 else
61675 ac_ext=cpp
61676 ac_cpp='$CXXCPP $CPPFLAGS'
61677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61682 /* end confdefs.h. */
61683 #include <math.h>
61685 main ()
61687 powf(0, 0);
61689 return 0;
61691 _ACEOF
61692 if ac_fn_cxx_try_compile "$LINENO"; then :
61693 glibcxx_cv_func_powf_use=yes
61694 else
61695 glibcxx_cv_func_powf_use=no
61697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61698 ac_ext=c
61699 ac_cpp='$CPP $CPPFLAGS'
61700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61709 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61711 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61712 for ac_func in powf
61713 do :
61714 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61715 if test "x$ac_cv_func_powf" = x""yes; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define HAVE_POWF 1
61718 _ACEOF
61721 done
61723 else
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61726 $as_echo_n "checking for _powf declaration... " >&6; }
61727 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61728 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61729 $as_echo_n "(cached) " >&6
61730 else
61733 ac_ext=cpp
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61740 /* end confdefs.h. */
61741 #include <math.h>
61743 main ()
61745 _powf(0, 0);
61747 return 0;
61749 _ACEOF
61750 if ac_fn_cxx_try_compile "$LINENO"; then :
61751 glibcxx_cv_func__powf_use=yes
61752 else
61753 glibcxx_cv_func__powf_use=no
61755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61756 ac_ext=c
61757 ac_cpp='$CPP $CPPFLAGS'
61758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61767 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61769 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61770 for ac_func in _powf
61771 do :
61772 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61773 if test "x$ac_cv_func__powf" = x""yes; then :
61774 cat >>confdefs.h <<_ACEOF
61775 #define HAVE__POWF 1
61776 _ACEOF
61779 done
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61789 $as_echo_n "checking for sqrtf declaration... " >&6; }
61790 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61791 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61792 $as_echo_n "(cached) " >&6
61793 else
61796 ac_ext=cpp
61797 ac_cpp='$CXXCPP $CPPFLAGS'
61798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61803 /* end confdefs.h. */
61804 #include <math.h>
61805 #ifdef HAVE_IEEEFP_H
61806 #include <ieeefp.h>
61807 #endif
61810 main ()
61812 sqrtf(0);
61814 return 0;
61816 _ACEOF
61817 if ac_fn_cxx_try_compile "$LINENO"; then :
61818 glibcxx_cv_func_sqrtf_use=yes
61819 else
61820 glibcxx_cv_func_sqrtf_use=no
61822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61823 ac_ext=c
61824 ac_cpp='$CPP $CPPFLAGS'
61825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61834 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61836 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61837 for ac_func in sqrtf
61838 do :
61839 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61840 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61841 cat >>confdefs.h <<_ACEOF
61842 #define HAVE_SQRTF 1
61843 _ACEOF
61846 done
61848 else
61850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61851 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61852 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61853 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61854 $as_echo_n "(cached) " >&6
61855 else
61858 ac_ext=cpp
61859 ac_cpp='$CXXCPP $CPPFLAGS'
61860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61865 /* end confdefs.h. */
61866 #include <math.h>
61867 #ifdef HAVE_IEEEFP_H
61868 #include <ieeefp.h>
61869 #endif
61872 main ()
61874 _sqrtf(0);
61876 return 0;
61878 _ACEOF
61879 if ac_fn_cxx_try_compile "$LINENO"; then :
61880 glibcxx_cv_func__sqrtf_use=yes
61881 else
61882 glibcxx_cv_func__sqrtf_use=no
61884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61885 ac_ext=c
61886 ac_cpp='$CPP $CPPFLAGS'
61887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61896 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61898 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61899 for ac_func in _sqrtf
61900 do :
61901 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61902 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61903 cat >>confdefs.h <<_ACEOF
61904 #define HAVE__SQRTF 1
61905 _ACEOF
61908 done
61917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61918 $as_echo_n "checking for sincosf declaration... " >&6; }
61919 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61920 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61921 $as_echo_n "(cached) " >&6
61922 else
61925 ac_ext=cpp
61926 ac_cpp='$CXXCPP $CPPFLAGS'
61927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61932 /* end confdefs.h. */
61933 #include <math.h>
61935 main ()
61937 sincosf(0, 0, 0);
61939 return 0;
61941 _ACEOF
61942 if ac_fn_cxx_try_compile "$LINENO"; then :
61943 glibcxx_cv_func_sincosf_use=yes
61944 else
61945 glibcxx_cv_func_sincosf_use=no
61947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61948 ac_ext=c
61949 ac_cpp='$CPP $CPPFLAGS'
61950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61959 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61961 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61962 for ac_func in sincosf
61963 do :
61964 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61965 if test "x$ac_cv_func_sincosf" = x""yes; then :
61966 cat >>confdefs.h <<_ACEOF
61967 #define HAVE_SINCOSF 1
61968 _ACEOF
61971 done
61973 else
61975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61976 $as_echo_n "checking for _sincosf declaration... " >&6; }
61977 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61978 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61979 $as_echo_n "(cached) " >&6
61980 else
61983 ac_ext=cpp
61984 ac_cpp='$CXXCPP $CPPFLAGS'
61985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61990 /* end confdefs.h. */
61991 #include <math.h>
61993 main ()
61995 _sincosf(0, 0, 0);
61997 return 0;
61999 _ACEOF
62000 if ac_fn_cxx_try_compile "$LINENO"; then :
62001 glibcxx_cv_func__sincosf_use=yes
62002 else
62003 glibcxx_cv_func__sincosf_use=no
62005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62006 ac_ext=c
62007 ac_cpp='$CPP $CPPFLAGS'
62008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62017 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62019 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62020 for ac_func in _sincosf
62021 do :
62022 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62023 if test "x$ac_cv_func__sincosf" = x""yes; then :
62024 cat >>confdefs.h <<_ACEOF
62025 #define HAVE__SINCOSF 1
62026 _ACEOF
62029 done
62038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62039 $as_echo_n "checking for finitef declaration... " >&6; }
62040 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62041 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62042 $as_echo_n "(cached) " >&6
62043 else
62046 ac_ext=cpp
62047 ac_cpp='$CXXCPP $CPPFLAGS'
62048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62053 /* end confdefs.h. */
62054 #include <math.h>
62055 #ifdef HAVE_IEEEFP_H
62056 #include <ieeefp.h>
62057 #endif
62060 main ()
62062 finitef(0);
62064 return 0;
62066 _ACEOF
62067 if ac_fn_cxx_try_compile "$LINENO"; then :
62068 glibcxx_cv_func_finitef_use=yes
62069 else
62070 glibcxx_cv_func_finitef_use=no
62072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62073 ac_ext=c
62074 ac_cpp='$CPP $CPPFLAGS'
62075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62084 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62086 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62087 for ac_func in finitef
62088 do :
62089 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62090 if test "x$ac_cv_func_finitef" = x""yes; then :
62091 cat >>confdefs.h <<_ACEOF
62092 #define HAVE_FINITEF 1
62093 _ACEOF
62096 done
62098 else
62100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62101 $as_echo_n "checking for _finitef declaration... " >&6; }
62102 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62103 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62104 $as_echo_n "(cached) " >&6
62105 else
62108 ac_ext=cpp
62109 ac_cpp='$CXXCPP $CPPFLAGS'
62110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62115 /* end confdefs.h. */
62116 #include <math.h>
62117 #ifdef HAVE_IEEEFP_H
62118 #include <ieeefp.h>
62119 #endif
62122 main ()
62124 _finitef(0);
62126 return 0;
62128 _ACEOF
62129 if ac_fn_cxx_try_compile "$LINENO"; then :
62130 glibcxx_cv_func__finitef_use=yes
62131 else
62132 glibcxx_cv_func__finitef_use=no
62134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62135 ac_ext=c
62136 ac_cpp='$CPP $CPPFLAGS'
62137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62146 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62148 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62149 for ac_func in _finitef
62150 do :
62151 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62152 if test "x$ac_cv_func__finitef" = x""yes; then :
62153 cat >>confdefs.h <<_ACEOF
62154 #define HAVE__FINITEF 1
62155 _ACEOF
62158 done
62167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62168 $as_echo_n "checking for long double trig functions... " >&6; }
62169 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62170 $as_echo_n "(cached) " >&6
62171 else
62174 ac_ext=cpp
62175 ac_cpp='$CXXCPP $CPPFLAGS'
62176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62181 /* end confdefs.h. */
62182 #include <math.h>
62184 main ()
62186 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62188 return 0;
62190 _ACEOF
62191 if ac_fn_cxx_try_compile "$LINENO"; then :
62192 glibcxx_cv_func_long_double_trig_use=yes
62193 else
62194 glibcxx_cv_func_long_double_trig_use=no
62196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62197 ac_ext=c
62198 ac_cpp='$CPP $CPPFLAGS'
62199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62206 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62207 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62208 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62209 do :
62210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62212 eval as_val=\$$as_ac_var
62213 if test "x$as_val" = x""yes; then :
62214 cat >>confdefs.h <<_ACEOF
62215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62216 _ACEOF
62219 done
62221 else
62222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62223 $as_echo_n "checking for _long double trig functions... " >&6; }
62224 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62225 $as_echo_n "(cached) " >&6
62226 else
62229 ac_ext=cpp
62230 ac_cpp='$CXXCPP $CPPFLAGS'
62231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 #include <math.h>
62239 main ()
62241 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62243 return 0;
62245 _ACEOF
62246 if ac_fn_cxx_try_compile "$LINENO"; then :
62247 glibcxx_cv_func__long_double_trig_use=yes
62248 else
62249 glibcxx_cv_func__long_double_trig_use=no
62251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62252 ac_ext=c
62253 ac_cpp='$CPP $CPPFLAGS'
62254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62261 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62262 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62263 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62264 do :
62265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62267 eval as_val=\$$as_ac_var
62268 if test "x$as_val" = x""yes; then :
62269 cat >>confdefs.h <<_ACEOF
62270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62271 _ACEOF
62274 done
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62284 $as_echo_n "checking for long double round functions... " >&6; }
62285 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62286 $as_echo_n "(cached) " >&6
62287 else
62290 ac_ext=cpp
62291 ac_cpp='$CXXCPP $CPPFLAGS'
62292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62297 /* end confdefs.h. */
62298 #include <math.h>
62300 main ()
62302 ceill (0); floorl (0);
62304 return 0;
62306 _ACEOF
62307 if ac_fn_cxx_try_compile "$LINENO"; then :
62308 glibcxx_cv_func_long_double_round_use=yes
62309 else
62310 glibcxx_cv_func_long_double_round_use=no
62312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62313 ac_ext=c
62314 ac_cpp='$CPP $CPPFLAGS'
62315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62322 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62323 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62324 for ac_func in ceill floorl
62325 do :
62326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62328 eval as_val=\$$as_ac_var
62329 if test "x$as_val" = x""yes; then :
62330 cat >>confdefs.h <<_ACEOF
62331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62332 _ACEOF
62335 done
62337 else
62338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62339 $as_echo_n "checking for _long double round functions... " >&6; }
62340 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62341 $as_echo_n "(cached) " >&6
62342 else
62345 ac_ext=cpp
62346 ac_cpp='$CXXCPP $CPPFLAGS'
62347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62352 /* end confdefs.h. */
62353 #include <math.h>
62355 main ()
62357 _ceill (0); _floorl (0);
62359 return 0;
62361 _ACEOF
62362 if ac_fn_cxx_try_compile "$LINENO"; then :
62363 glibcxx_cv_func__long_double_round_use=yes
62364 else
62365 glibcxx_cv_func__long_double_round_use=no
62367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62368 ac_ext=c
62369 ac_cpp='$CPP $CPPFLAGS'
62370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62377 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62378 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62379 for ac_func in _ceill _floorl
62380 do :
62381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62383 eval as_val=\$$as_ac_var
62384 if test "x$as_val" = x""yes; then :
62385 cat >>confdefs.h <<_ACEOF
62386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62387 _ACEOF
62390 done
62400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62401 $as_echo_n "checking for isnanl declaration... " >&6; }
62402 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62403 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62404 $as_echo_n "(cached) " >&6
62405 else
62408 ac_ext=cpp
62409 ac_cpp='$CXXCPP $CPPFLAGS'
62410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62415 /* end confdefs.h. */
62416 #include <math.h>
62417 #ifdef HAVE_IEEEFP_H
62418 #include <ieeefp.h>
62419 #endif
62422 main ()
62424 isnanl(0);
62426 return 0;
62428 _ACEOF
62429 if ac_fn_cxx_try_compile "$LINENO"; then :
62430 glibcxx_cv_func_isnanl_use=yes
62431 else
62432 glibcxx_cv_func_isnanl_use=no
62434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62435 ac_ext=c
62436 ac_cpp='$CPP $CPPFLAGS'
62437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62446 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62448 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62449 for ac_func in isnanl
62450 do :
62451 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62452 if test "x$ac_cv_func_isnanl" = x""yes; then :
62453 cat >>confdefs.h <<_ACEOF
62454 #define HAVE_ISNANL 1
62455 _ACEOF
62458 done
62460 else
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62463 $as_echo_n "checking for _isnanl declaration... " >&6; }
62464 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62465 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62466 $as_echo_n "(cached) " >&6
62467 else
62470 ac_ext=cpp
62471 ac_cpp='$CXXCPP $CPPFLAGS'
62472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62477 /* end confdefs.h. */
62478 #include <math.h>
62479 #ifdef HAVE_IEEEFP_H
62480 #include <ieeefp.h>
62481 #endif
62484 main ()
62486 _isnanl(0);
62488 return 0;
62490 _ACEOF
62491 if ac_fn_cxx_try_compile "$LINENO"; then :
62492 glibcxx_cv_func__isnanl_use=yes
62493 else
62494 glibcxx_cv_func__isnanl_use=no
62496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62497 ac_ext=c
62498 ac_cpp='$CPP $CPPFLAGS'
62499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62508 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62510 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62511 for ac_func in _isnanl
62512 do :
62513 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62514 if test "x$ac_cv_func__isnanl" = x""yes; then :
62515 cat >>confdefs.h <<_ACEOF
62516 #define HAVE__ISNANL 1
62517 _ACEOF
62520 done
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62530 $as_echo_n "checking for isinfl declaration... " >&6; }
62531 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62532 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62533 $as_echo_n "(cached) " >&6
62534 else
62537 ac_ext=cpp
62538 ac_cpp='$CXXCPP $CPPFLAGS'
62539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62544 /* end confdefs.h. */
62545 #include <math.h>
62546 #ifdef HAVE_IEEEFP_H
62547 #include <ieeefp.h>
62548 #endif
62551 main ()
62553 isinfl(0);
62555 return 0;
62557 _ACEOF
62558 if ac_fn_cxx_try_compile "$LINENO"; then :
62559 glibcxx_cv_func_isinfl_use=yes
62560 else
62561 glibcxx_cv_func_isinfl_use=no
62563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62564 ac_ext=c
62565 ac_cpp='$CPP $CPPFLAGS'
62566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62575 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62577 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62578 for ac_func in isinfl
62579 do :
62580 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62581 if test "x$ac_cv_func_isinfl" = x""yes; then :
62582 cat >>confdefs.h <<_ACEOF
62583 #define HAVE_ISINFL 1
62584 _ACEOF
62587 done
62589 else
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62592 $as_echo_n "checking for _isinfl declaration... " >&6; }
62593 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62594 if test "${glibcxx_cv_func__isinfl_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>
62608 #ifdef HAVE_IEEEFP_H
62609 #include <ieeefp.h>
62610 #endif
62613 main ()
62615 _isinfl(0);
62617 return 0;
62619 _ACEOF
62620 if ac_fn_cxx_try_compile "$LINENO"; then :
62621 glibcxx_cv_func__isinfl_use=yes
62622 else
62623 glibcxx_cv_func__isinfl_use=no
62625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62626 ac_ext=c
62627 ac_cpp='$CPP $CPPFLAGS'
62628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62637 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62639 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62640 for ac_func in _isinfl
62641 do :
62642 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62643 if test "x$ac_cv_func__isinfl" = x""yes; then :
62644 cat >>confdefs.h <<_ACEOF
62645 #define HAVE__ISINFL 1
62646 _ACEOF
62649 done
62658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62659 $as_echo_n "checking for atan2l declaration... " >&6; }
62660 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62661 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62662 $as_echo_n "(cached) " >&6
62663 else
62666 ac_ext=cpp
62667 ac_cpp='$CXXCPP $CPPFLAGS'
62668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62673 /* end confdefs.h. */
62674 #include <math.h>
62676 main ()
62678 atan2l(0, 0);
62680 return 0;
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func_atan2l_use=yes
62685 else
62686 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
62700 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62702 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62703 for ac_func in atan2l
62704 do :
62705 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62706 if test "x$ac_cv_func_atan2l" = x""yes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE_ATAN2L 1
62709 _ACEOF
62712 done
62714 else
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62717 $as_echo_n "checking for _atan2l declaration... " >&6; }
62718 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62719 if test "${glibcxx_cv_func__atan2l_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>
62734 main ()
62736 _atan2l(0, 0);
62738 return 0;
62740 _ACEOF
62741 if ac_fn_cxx_try_compile "$LINENO"; then :
62742 glibcxx_cv_func__atan2l_use=yes
62743 else
62744 glibcxx_cv_func__atan2l_use=no
62746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62747 ac_ext=c
62748 ac_cpp='$CPP $CPPFLAGS'
62749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62758 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62760 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62761 for ac_func in _atan2l
62762 do :
62763 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62764 if test "x$ac_cv_func__atan2l" = x""yes; then :
62765 cat >>confdefs.h <<_ACEOF
62766 #define HAVE__ATAN2L 1
62767 _ACEOF
62770 done
62779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62780 $as_echo_n "checking for expl declaration... " >&6; }
62781 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62782 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62783 $as_echo_n "(cached) " >&6
62784 else
62787 ac_ext=cpp
62788 ac_cpp='$CXXCPP $CPPFLAGS'
62789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62794 /* end confdefs.h. */
62795 #include <math.h>
62796 #ifdef HAVE_IEEEFP_H
62797 #include <ieeefp.h>
62798 #endif
62801 main ()
62803 expl(0);
62805 return 0;
62807 _ACEOF
62808 if ac_fn_cxx_try_compile "$LINENO"; then :
62809 glibcxx_cv_func_expl_use=yes
62810 else
62811 glibcxx_cv_func_expl_use=no
62813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62814 ac_ext=c
62815 ac_cpp='$CPP $CPPFLAGS'
62816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62825 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62827 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62828 for ac_func in expl
62829 do :
62830 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62831 if test "x$ac_cv_func_expl" = x""yes; then :
62832 cat >>confdefs.h <<_ACEOF
62833 #define HAVE_EXPL 1
62834 _ACEOF
62837 done
62839 else
62841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62842 $as_echo_n "checking for _expl declaration... " >&6; }
62843 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62844 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62845 $as_echo_n "(cached) " >&6
62846 else
62849 ac_ext=cpp
62850 ac_cpp='$CXXCPP $CPPFLAGS'
62851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62856 /* end confdefs.h. */
62857 #include <math.h>
62858 #ifdef HAVE_IEEEFP_H
62859 #include <ieeefp.h>
62860 #endif
62863 main ()
62865 _expl(0);
62867 return 0;
62869 _ACEOF
62870 if ac_fn_cxx_try_compile "$LINENO"; then :
62871 glibcxx_cv_func__expl_use=yes
62872 else
62873 glibcxx_cv_func__expl_use=no
62875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62876 ac_ext=c
62877 ac_cpp='$CPP $CPPFLAGS'
62878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62887 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62889 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62890 for ac_func in _expl
62891 do :
62892 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62893 if test "x$ac_cv_func__expl" = x""yes; then :
62894 cat >>confdefs.h <<_ACEOF
62895 #define HAVE__EXPL 1
62896 _ACEOF
62899 done
62908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62909 $as_echo_n "checking for fabsl declaration... " >&6; }
62910 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62911 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62912 $as_echo_n "(cached) " >&6
62913 else
62916 ac_ext=cpp
62917 ac_cpp='$CXXCPP $CPPFLAGS'
62918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62923 /* end confdefs.h. */
62924 #include <math.h>
62925 #ifdef HAVE_IEEEFP_H
62926 #include <ieeefp.h>
62927 #endif
62930 main ()
62932 fabsl(0);
62934 return 0;
62936 _ACEOF
62937 if ac_fn_cxx_try_compile "$LINENO"; then :
62938 glibcxx_cv_func_fabsl_use=yes
62939 else
62940 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
62954 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62956 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62957 for ac_func in fabsl
62958 do :
62959 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62960 if test "x$ac_cv_func_fabsl" = x""yes; then :
62961 cat >>confdefs.h <<_ACEOF
62962 #define HAVE_FABSL 1
62963 _ACEOF
62966 done
62968 else
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62971 $as_echo_n "checking for _fabsl declaration... " >&6; }
62972 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62973 if test "${glibcxx_cv_func__fabsl_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>
62987 #ifdef HAVE_IEEEFP_H
62988 #include <ieeefp.h>
62989 #endif
62992 main ()
62994 _fabsl(0);
62996 return 0;
62998 _ACEOF
62999 if ac_fn_cxx_try_compile "$LINENO"; then :
63000 glibcxx_cv_func__fabsl_use=yes
63001 else
63002 glibcxx_cv_func__fabsl_use=no
63004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63005 ac_ext=c
63006 ac_cpp='$CPP $CPPFLAGS'
63007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63016 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63018 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63019 for ac_func in _fabsl
63020 do :
63021 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63022 if test "x$ac_cv_func__fabsl" = x""yes; then :
63023 cat >>confdefs.h <<_ACEOF
63024 #define HAVE__FABSL 1
63025 _ACEOF
63028 done
63037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63038 $as_echo_n "checking for fmodl declaration... " >&6; }
63039 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63040 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63041 $as_echo_n "(cached) " >&6
63042 else
63045 ac_ext=cpp
63046 ac_cpp='$CXXCPP $CPPFLAGS'
63047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63052 /* end confdefs.h. */
63053 #include <math.h>
63055 main ()
63057 fmodl(0, 0);
63059 return 0;
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063 glibcxx_cv_func_fmodl_use=yes
63064 else
63065 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
63079 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63081 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63082 for ac_func in fmodl
63083 do :
63084 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63085 if test "x$ac_cv_func_fmodl" = x""yes; then :
63086 cat >>confdefs.h <<_ACEOF
63087 #define HAVE_FMODL 1
63088 _ACEOF
63091 done
63093 else
63095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63096 $as_echo_n "checking for _fmodl declaration... " >&6; }
63097 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63098 if test "${glibcxx_cv_func__fmodl_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>
63113 main ()
63115 _fmodl(0, 0);
63117 return 0;
63119 _ACEOF
63120 if ac_fn_cxx_try_compile "$LINENO"; then :
63121 glibcxx_cv_func__fmodl_use=yes
63122 else
63123 glibcxx_cv_func__fmodl_use=no
63125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63126 ac_ext=c
63127 ac_cpp='$CPP $CPPFLAGS'
63128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63137 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63139 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63140 for ac_func in _fmodl
63141 do :
63142 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63143 if test "x$ac_cv_func__fmodl" = x""yes; then :
63144 cat >>confdefs.h <<_ACEOF
63145 #define HAVE__FMODL 1
63146 _ACEOF
63149 done
63158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63159 $as_echo_n "checking for frexpl declaration... " >&6; }
63160 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63161 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63162 $as_echo_n "(cached) " >&6
63163 else
63166 ac_ext=cpp
63167 ac_cpp='$CXXCPP $CPPFLAGS'
63168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63173 /* end confdefs.h. */
63174 #include <math.h>
63176 main ()
63178 frexpl(0, 0);
63180 return 0;
63182 _ACEOF
63183 if ac_fn_cxx_try_compile "$LINENO"; then :
63184 glibcxx_cv_func_frexpl_use=yes
63185 else
63186 glibcxx_cv_func_frexpl_use=no
63188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63189 ac_ext=c
63190 ac_cpp='$CPP $CPPFLAGS'
63191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63200 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63202 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63203 for ac_func in frexpl
63204 do :
63205 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63206 if test "x$ac_cv_func_frexpl" = x""yes; then :
63207 cat >>confdefs.h <<_ACEOF
63208 #define HAVE_FREXPL 1
63209 _ACEOF
63212 done
63214 else
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63217 $as_echo_n "checking for _frexpl declaration... " >&6; }
63218 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63219 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63220 $as_echo_n "(cached) " >&6
63221 else
63224 ac_ext=cpp
63225 ac_cpp='$CXXCPP $CPPFLAGS'
63226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63231 /* end confdefs.h. */
63232 #include <math.h>
63234 main ()
63236 _frexpl(0, 0);
63238 return 0;
63240 _ACEOF
63241 if ac_fn_cxx_try_compile "$LINENO"; then :
63242 glibcxx_cv_func__frexpl_use=yes
63243 else
63244 glibcxx_cv_func__frexpl_use=no
63246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63247 ac_ext=c
63248 ac_cpp='$CPP $CPPFLAGS'
63249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63258 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63260 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63261 for ac_func in _frexpl
63262 do :
63263 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63264 if test "x$ac_cv_func__frexpl" = x""yes; then :
63265 cat >>confdefs.h <<_ACEOF
63266 #define HAVE__FREXPL 1
63267 _ACEOF
63270 done
63279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63280 $as_echo_n "checking for hypotl declaration... " >&6; }
63281 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63282 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63283 $as_echo_n "(cached) " >&6
63284 else
63287 ac_ext=cpp
63288 ac_cpp='$CXXCPP $CPPFLAGS'
63289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63294 /* end confdefs.h. */
63295 #include <math.h>
63297 main ()
63299 hypotl(0, 0);
63301 return 0;
63303 _ACEOF
63304 if ac_fn_cxx_try_compile "$LINENO"; then :
63305 glibcxx_cv_func_hypotl_use=yes
63306 else
63307 glibcxx_cv_func_hypotl_use=no
63309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63310 ac_ext=c
63311 ac_cpp='$CPP $CPPFLAGS'
63312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63321 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63323 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63324 for ac_func in hypotl
63325 do :
63326 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63327 if test "x$ac_cv_func_hypotl" = x""yes; then :
63328 cat >>confdefs.h <<_ACEOF
63329 #define HAVE_HYPOTL 1
63330 _ACEOF
63333 done
63335 else
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63338 $as_echo_n "checking for _hypotl declaration... " >&6; }
63339 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63340 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63341 $as_echo_n "(cached) " >&6
63342 else
63345 ac_ext=cpp
63346 ac_cpp='$CXXCPP $CPPFLAGS'
63347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63352 /* end confdefs.h. */
63353 #include <math.h>
63355 main ()
63357 _hypotl(0, 0);
63359 return 0;
63361 _ACEOF
63362 if ac_fn_cxx_try_compile "$LINENO"; then :
63363 glibcxx_cv_func__hypotl_use=yes
63364 else
63365 glibcxx_cv_func__hypotl_use=no
63367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63368 ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63379 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63381 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63382 for ac_func in _hypotl
63383 do :
63384 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63385 if test "x$ac_cv_func__hypotl" = x""yes; then :
63386 cat >>confdefs.h <<_ACEOF
63387 #define HAVE__HYPOTL 1
63388 _ACEOF
63391 done
63400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63401 $as_echo_n "checking for ldexpl declaration... " >&6; }
63402 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63403 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63404 $as_echo_n "(cached) " >&6
63405 else
63408 ac_ext=cpp
63409 ac_cpp='$CXXCPP $CPPFLAGS'
63410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63415 /* end confdefs.h. */
63416 #include <math.h>
63418 main ()
63420 ldexpl(0, 0);
63422 return 0;
63424 _ACEOF
63425 if ac_fn_cxx_try_compile "$LINENO"; then :
63426 glibcxx_cv_func_ldexpl_use=yes
63427 else
63428 glibcxx_cv_func_ldexpl_use=no
63430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63431 ac_ext=c
63432 ac_cpp='$CPP $CPPFLAGS'
63433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63442 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63444 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63445 for ac_func in ldexpl
63446 do :
63447 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63448 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63449 cat >>confdefs.h <<_ACEOF
63450 #define HAVE_LDEXPL 1
63451 _ACEOF
63454 done
63456 else
63458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63459 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63460 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63461 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63462 $as_echo_n "(cached) " >&6
63463 else
63466 ac_ext=cpp
63467 ac_cpp='$CXXCPP $CPPFLAGS'
63468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63473 /* end confdefs.h. */
63474 #include <math.h>
63476 main ()
63478 _ldexpl(0, 0);
63480 return 0;
63482 _ACEOF
63483 if ac_fn_cxx_try_compile "$LINENO"; then :
63484 glibcxx_cv_func__ldexpl_use=yes
63485 else
63486 glibcxx_cv_func__ldexpl_use=no
63488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63489 ac_ext=c
63490 ac_cpp='$CPP $CPPFLAGS'
63491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63500 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63502 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63503 for ac_func in _ldexpl
63504 do :
63505 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63506 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63507 cat >>confdefs.h <<_ACEOF
63508 #define HAVE__LDEXPL 1
63509 _ACEOF
63512 done
63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63522 $as_echo_n "checking for logl declaration... " >&6; }
63523 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63524 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63525 $as_echo_n "(cached) " >&6
63526 else
63529 ac_ext=cpp
63530 ac_cpp='$CXXCPP $CPPFLAGS'
63531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63536 /* end confdefs.h. */
63537 #include <math.h>
63538 #ifdef HAVE_IEEEFP_H
63539 #include <ieeefp.h>
63540 #endif
63543 main ()
63545 logl(0);
63547 return 0;
63549 _ACEOF
63550 if ac_fn_cxx_try_compile "$LINENO"; then :
63551 glibcxx_cv_func_logl_use=yes
63552 else
63553 glibcxx_cv_func_logl_use=no
63555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63556 ac_ext=c
63557 ac_cpp='$CPP $CPPFLAGS'
63558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63567 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63569 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63570 for ac_func in logl
63571 do :
63572 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63573 if test "x$ac_cv_func_logl" = x""yes; then :
63574 cat >>confdefs.h <<_ACEOF
63575 #define HAVE_LOGL 1
63576 _ACEOF
63579 done
63581 else
63583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63584 $as_echo_n "checking for _logl declaration... " >&6; }
63585 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63586 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63587 $as_echo_n "(cached) " >&6
63588 else
63591 ac_ext=cpp
63592 ac_cpp='$CXXCPP $CPPFLAGS'
63593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63598 /* end confdefs.h. */
63599 #include <math.h>
63600 #ifdef HAVE_IEEEFP_H
63601 #include <ieeefp.h>
63602 #endif
63605 main ()
63607 _logl(0);
63609 return 0;
63611 _ACEOF
63612 if ac_fn_cxx_try_compile "$LINENO"; then :
63613 glibcxx_cv_func__logl_use=yes
63614 else
63615 glibcxx_cv_func__logl_use=no
63617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63618 ac_ext=c
63619 ac_cpp='$CPP $CPPFLAGS'
63620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63629 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63631 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63632 for ac_func in _logl
63633 do :
63634 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63635 if test "x$ac_cv_func__logl" = x""yes; then :
63636 cat >>confdefs.h <<_ACEOF
63637 #define HAVE__LOGL 1
63638 _ACEOF
63641 done
63650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63651 $as_echo_n "checking for log10l declaration... " >&6; }
63652 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63653 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63654 $as_echo_n "(cached) " >&6
63655 else
63658 ac_ext=cpp
63659 ac_cpp='$CXXCPP $CPPFLAGS'
63660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63665 /* end confdefs.h. */
63666 #include <math.h>
63667 #ifdef HAVE_IEEEFP_H
63668 #include <ieeefp.h>
63669 #endif
63672 main ()
63674 log10l(0);
63676 return 0;
63678 _ACEOF
63679 if ac_fn_cxx_try_compile "$LINENO"; then :
63680 glibcxx_cv_func_log10l_use=yes
63681 else
63682 glibcxx_cv_func_log10l_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_log10l_use" >&5
63696 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63698 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63699 for ac_func in log10l
63700 do :
63701 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63702 if test "x$ac_cv_func_log10l" = x""yes; then :
63703 cat >>confdefs.h <<_ACEOF
63704 #define HAVE_LOG10L 1
63705 _ACEOF
63708 done
63710 else
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63713 $as_echo_n "checking for _log10l declaration... " >&6; }
63714 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63715 if test "${glibcxx_cv_func__log10l_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>
63729 #ifdef HAVE_IEEEFP_H
63730 #include <ieeefp.h>
63731 #endif
63734 main ()
63736 _log10l(0);
63738 return 0;
63740 _ACEOF
63741 if ac_fn_cxx_try_compile "$LINENO"; then :
63742 glibcxx_cv_func__log10l_use=yes
63743 else
63744 glibcxx_cv_func__log10l_use=no
63746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63747 ac_ext=c
63748 ac_cpp='$CPP $CPPFLAGS'
63749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63758 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63760 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63761 for ac_func in _log10l
63762 do :
63763 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63764 if test "x$ac_cv_func__log10l" = x""yes; then :
63765 cat >>confdefs.h <<_ACEOF
63766 #define HAVE__LOG10L 1
63767 _ACEOF
63770 done
63779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63780 $as_echo_n "checking for modfl declaration... " >&6; }
63781 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63782 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63783 $as_echo_n "(cached) " >&6
63784 else
63787 ac_ext=cpp
63788 ac_cpp='$CXXCPP $CPPFLAGS'
63789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63794 /* end confdefs.h. */
63795 #include <math.h>
63797 main ()
63799 modfl(0, 0);
63801 return 0;
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805 glibcxx_cv_func_modfl_use=yes
63806 else
63807 glibcxx_cv_func_modfl_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_modfl_use" >&5
63821 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63823 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63824 for ac_func in modfl
63825 do :
63826 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63827 if test "x$ac_cv_func_modfl" = x""yes; then :
63828 cat >>confdefs.h <<_ACEOF
63829 #define HAVE_MODFL 1
63830 _ACEOF
63833 done
63835 else
63837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63838 $as_echo_n "checking for _modfl declaration... " >&6; }
63839 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63840 if test "${glibcxx_cv_func__modfl_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>
63855 main ()
63857 _modfl(0, 0);
63859 return 0;
63861 _ACEOF
63862 if ac_fn_cxx_try_compile "$LINENO"; then :
63863 glibcxx_cv_func__modfl_use=yes
63864 else
63865 glibcxx_cv_func__modfl_use=no
63867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63868 ac_ext=c
63869 ac_cpp='$CPP $CPPFLAGS'
63870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63879 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63881 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63882 for ac_func in _modfl
63883 do :
63884 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63885 if test "x$ac_cv_func__modfl" = x""yes; then :
63886 cat >>confdefs.h <<_ACEOF
63887 #define HAVE__MODFL 1
63888 _ACEOF
63891 done
63900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63901 $as_echo_n "checking for powl declaration... " >&6; }
63902 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63903 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63904 $as_echo_n "(cached) " >&6
63905 else
63908 ac_ext=cpp
63909 ac_cpp='$CXXCPP $CPPFLAGS'
63910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63915 /* end confdefs.h. */
63916 #include <math.h>
63918 main ()
63920 powl(0, 0);
63922 return 0;
63924 _ACEOF
63925 if ac_fn_cxx_try_compile "$LINENO"; then :
63926 glibcxx_cv_func_powl_use=yes
63927 else
63928 glibcxx_cv_func_powl_use=no
63930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63931 ac_ext=c
63932 ac_cpp='$CPP $CPPFLAGS'
63933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63942 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63944 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63945 for ac_func in powl
63946 do :
63947 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63948 if test "x$ac_cv_func_powl" = x""yes; then :
63949 cat >>confdefs.h <<_ACEOF
63950 #define HAVE_POWL 1
63951 _ACEOF
63954 done
63956 else
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63959 $as_echo_n "checking for _powl declaration... " >&6; }
63960 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63961 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63962 $as_echo_n "(cached) " >&6
63963 else
63966 ac_ext=cpp
63967 ac_cpp='$CXXCPP $CPPFLAGS'
63968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63973 /* end confdefs.h. */
63974 #include <math.h>
63976 main ()
63978 _powl(0, 0);
63980 return 0;
63982 _ACEOF
63983 if ac_fn_cxx_try_compile "$LINENO"; then :
63984 glibcxx_cv_func__powl_use=yes
63985 else
63986 glibcxx_cv_func__powl_use=no
63988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63989 ac_ext=c
63990 ac_cpp='$CPP $CPPFLAGS'
63991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64000 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64002 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64003 for ac_func in _powl
64004 do :
64005 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64006 if test "x$ac_cv_func__powl" = x""yes; then :
64007 cat >>confdefs.h <<_ACEOF
64008 #define HAVE__POWL 1
64009 _ACEOF
64012 done
64021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64022 $as_echo_n "checking for sqrtl declaration... " >&6; }
64023 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64024 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64025 $as_echo_n "(cached) " >&6
64026 else
64029 ac_ext=cpp
64030 ac_cpp='$CXXCPP $CPPFLAGS'
64031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64036 /* end confdefs.h. */
64037 #include <math.h>
64038 #ifdef HAVE_IEEEFP_H
64039 #include <ieeefp.h>
64040 #endif
64043 main ()
64045 sqrtl(0);
64047 return 0;
64049 _ACEOF
64050 if ac_fn_cxx_try_compile "$LINENO"; then :
64051 glibcxx_cv_func_sqrtl_use=yes
64052 else
64053 glibcxx_cv_func_sqrtl_use=no
64055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64056 ac_ext=c
64057 ac_cpp='$CPP $CPPFLAGS'
64058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64067 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64069 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64070 for ac_func in sqrtl
64071 do :
64072 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64073 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64074 cat >>confdefs.h <<_ACEOF
64075 #define HAVE_SQRTL 1
64076 _ACEOF
64079 done
64081 else
64083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64084 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64085 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64086 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64087 $as_echo_n "(cached) " >&6
64088 else
64091 ac_ext=cpp
64092 ac_cpp='$CXXCPP $CPPFLAGS'
64093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64098 /* end confdefs.h. */
64099 #include <math.h>
64100 #ifdef HAVE_IEEEFP_H
64101 #include <ieeefp.h>
64102 #endif
64105 main ()
64107 _sqrtl(0);
64109 return 0;
64111 _ACEOF
64112 if ac_fn_cxx_try_compile "$LINENO"; then :
64113 glibcxx_cv_func__sqrtl_use=yes
64114 else
64115 glibcxx_cv_func__sqrtl_use=no
64117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64118 ac_ext=c
64119 ac_cpp='$CPP $CPPFLAGS'
64120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64129 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64131 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64132 for ac_func in _sqrtl
64133 do :
64134 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64135 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64136 cat >>confdefs.h <<_ACEOF
64137 #define HAVE__SQRTL 1
64138 _ACEOF
64141 done
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64151 $as_echo_n "checking for sincosl declaration... " >&6; }
64152 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64153 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64154 $as_echo_n "(cached) " >&6
64155 else
64158 ac_ext=cpp
64159 ac_cpp='$CXXCPP $CPPFLAGS'
64160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64165 /* end confdefs.h. */
64166 #include <math.h>
64168 main ()
64170 sincosl(0, 0, 0);
64172 return 0;
64174 _ACEOF
64175 if ac_fn_cxx_try_compile "$LINENO"; then :
64176 glibcxx_cv_func_sincosl_use=yes
64177 else
64178 glibcxx_cv_func_sincosl_use=no
64180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64181 ac_ext=c
64182 ac_cpp='$CPP $CPPFLAGS'
64183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64192 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64194 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64195 for ac_func in sincosl
64196 do :
64197 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64198 if test "x$ac_cv_func_sincosl" = x""yes; then :
64199 cat >>confdefs.h <<_ACEOF
64200 #define HAVE_SINCOSL 1
64201 _ACEOF
64204 done
64206 else
64208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64209 $as_echo_n "checking for _sincosl declaration... " >&6; }
64210 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64211 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64212 $as_echo_n "(cached) " >&6
64213 else
64216 ac_ext=cpp
64217 ac_cpp='$CXXCPP $CPPFLAGS'
64218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64223 /* end confdefs.h. */
64224 #include <math.h>
64226 main ()
64228 _sincosl(0, 0, 0);
64230 return 0;
64232 _ACEOF
64233 if ac_fn_cxx_try_compile "$LINENO"; then :
64234 glibcxx_cv_func__sincosl_use=yes
64235 else
64236 glibcxx_cv_func__sincosl_use=no
64238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64239 ac_ext=c
64240 ac_cpp='$CPP $CPPFLAGS'
64241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64250 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64252 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64253 for ac_func in _sincosl
64254 do :
64255 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64256 if test "x$ac_cv_func__sincosl" = x""yes; then :
64257 cat >>confdefs.h <<_ACEOF
64258 #define HAVE__SINCOSL 1
64259 _ACEOF
64262 done
64271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64272 $as_echo_n "checking for finitel declaration... " >&6; }
64273 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64274 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64275 $as_echo_n "(cached) " >&6
64276 else
64279 ac_ext=cpp
64280 ac_cpp='$CXXCPP $CPPFLAGS'
64281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64286 /* end confdefs.h. */
64287 #include <math.h>
64288 #ifdef HAVE_IEEEFP_H
64289 #include <ieeefp.h>
64290 #endif
64293 main ()
64295 finitel(0);
64297 return 0;
64299 _ACEOF
64300 if ac_fn_cxx_try_compile "$LINENO"; then :
64301 glibcxx_cv_func_finitel_use=yes
64302 else
64303 glibcxx_cv_func_finitel_use=no
64305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64306 ac_ext=c
64307 ac_cpp='$CPP $CPPFLAGS'
64308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64317 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64319 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64320 for ac_func in finitel
64321 do :
64322 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64323 if test "x$ac_cv_func_finitel" = x""yes; then :
64324 cat >>confdefs.h <<_ACEOF
64325 #define HAVE_FINITEL 1
64326 _ACEOF
64329 done
64331 else
64333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64334 $as_echo_n "checking for _finitel declaration... " >&6; }
64335 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64336 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64337 $as_echo_n "(cached) " >&6
64338 else
64341 ac_ext=cpp
64342 ac_cpp='$CXXCPP $CPPFLAGS'
64343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64348 /* end confdefs.h. */
64349 #include <math.h>
64350 #ifdef HAVE_IEEEFP_H
64351 #include <ieeefp.h>
64352 #endif
64355 main ()
64357 _finitel(0);
64359 return 0;
64361 _ACEOF
64362 if ac_fn_cxx_try_compile "$LINENO"; then :
64363 glibcxx_cv_func__finitel_use=yes
64364 else
64365 glibcxx_cv_func__finitel_use=no
64367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64368 ac_ext=c
64369 ac_cpp='$CPP $CPPFLAGS'
64370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64379 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64381 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64382 for ac_func in _finitel
64383 do :
64384 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64385 if test "x$ac_cv_func__finitel" = x""yes; then :
64386 cat >>confdefs.h <<_ACEOF
64387 #define HAVE__FINITEL 1
64388 _ACEOF
64391 done
64399 LIBS="$ac_save_LIBS"
64400 CXXFLAGS="$ac_save_CXXFLAGS"
64403 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64404 ac_save_CXXFLAGS="$CXXFLAGS"
64405 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64409 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64410 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64411 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64412 $as_echo_n "(cached) " >&6
64413 else
64416 ac_ext=cpp
64417 ac_cpp='$CXXCPP $CPPFLAGS'
64418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64423 /* end confdefs.h. */
64424 #include <stdlib.h>
64426 main ()
64428 at_quick_exit(0);
64430 return 0;
64432 _ACEOF
64433 if ac_fn_cxx_try_compile "$LINENO"; then :
64434 glibcxx_cv_func_at_quick_exit_use=yes
64435 else
64436 glibcxx_cv_func_at_quick_exit_use=no
64438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64439 ac_ext=c
64440 ac_cpp='$CPP $CPPFLAGS'
64441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64450 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64451 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64452 for ac_func in at_quick_exit
64453 do :
64454 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64455 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64456 cat >>confdefs.h <<_ACEOF
64457 #define HAVE_AT_QUICK_EXIT 1
64458 _ACEOF
64461 done
64466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64467 $as_echo_n "checking for quick_exit declaration... " >&6; }
64468 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64469 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64470 $as_echo_n "(cached) " >&6
64471 else
64474 ac_ext=cpp
64475 ac_cpp='$CXXCPP $CPPFLAGS'
64476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64481 /* end confdefs.h. */
64482 #include <stdlib.h>
64484 main ()
64486 quick_exit(0);
64488 return 0;
64490 _ACEOF
64491 if ac_fn_cxx_try_compile "$LINENO"; then :
64492 glibcxx_cv_func_quick_exit_use=yes
64493 else
64494 glibcxx_cv_func_quick_exit_use=no
64496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64497 ac_ext=c
64498 ac_cpp='$CPP $CPPFLAGS'
64499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64508 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64509 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64510 for ac_func in quick_exit
64511 do :
64512 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64513 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64514 cat >>confdefs.h <<_ACEOF
64515 #define HAVE_QUICK_EXIT 1
64516 _ACEOF
64519 done
64524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64525 $as_echo_n "checking for strtold declaration... " >&6; }
64526 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64527 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64528 $as_echo_n "(cached) " >&6
64529 else
64532 ac_ext=cpp
64533 ac_cpp='$CXXCPP $CPPFLAGS'
64534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64539 /* end confdefs.h. */
64540 #include <stdlib.h>
64542 main ()
64544 strtold(0, 0);
64546 return 0;
64548 _ACEOF
64549 if ac_fn_cxx_try_compile "$LINENO"; then :
64550 glibcxx_cv_func_strtold_use=yes
64551 else
64552 glibcxx_cv_func_strtold_use=no
64554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64555 ac_ext=c
64556 ac_cpp='$CPP $CPPFLAGS'
64557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64566 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64567 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64568 for ac_func in strtold
64569 do :
64570 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64571 if test "x$ac_cv_func_strtold" = x""yes; then :
64572 cat >>confdefs.h <<_ACEOF
64573 #define HAVE_STRTOLD 1
64574 _ACEOF
64577 done
64584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64585 $as_echo_n "checking for strtof declaration... " >&6; }
64586 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64587 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64588 $as_echo_n "(cached) " >&6
64589 else
64592 ac_ext=cpp
64593 ac_cpp='$CXXCPP $CPPFLAGS'
64594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64599 /* end confdefs.h. */
64600 #include <stdlib.h>
64602 main ()
64604 strtof(0, 0);
64606 return 0;
64608 _ACEOF
64609 if ac_fn_cxx_try_compile "$LINENO"; then :
64610 glibcxx_cv_func_strtof_use=yes
64611 else
64612 glibcxx_cv_func_strtof_use=no
64614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64615 ac_ext=c
64616 ac_cpp='$CPP $CPPFLAGS'
64617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64626 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64627 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64628 for ac_func in strtof
64629 do :
64630 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64631 if test "x$ac_cv_func_strtof" = x""yes; then :
64632 cat >>confdefs.h <<_ACEOF
64633 #define HAVE_STRTOF 1
64634 _ACEOF
64637 done
64644 CXXFLAGS="$ac_save_CXXFLAGS"
64647 *-solaris*)
64648 case "$target" in
64649 *-solaris2.9 | *-solaris2.10)
64651 # If we're not using GNU ld, then there's no point in even trying these
64652 # tests. Check for that first. We should have already tested for gld
64653 # by now (in libtool), but require it now just to be safe...
64654 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64655 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64659 # The name set by libtool depends on the version of libtool. Shame on us
64660 # for depending on an impl detail, but c'est la vie. Older versions used
64661 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64662 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64663 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64664 # set (hence we're using an older libtool), then set it.
64665 if test x${with_gnu_ld+set} != xset; then
64666 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64667 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64668 with_gnu_ld=no
64669 else
64670 with_gnu_ld=$ac_cv_prog_gnu_ld
64674 # Start by getting the version number. I think the libtool test already
64675 # does some of this, but throws away the result.
64676 glibcxx_ld_is_gold=no
64677 if test x"$with_gnu_ld" = x"yes"; then
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64679 $as_echo_n "checking for ld version... " >&6; }
64681 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64682 glibcxx_ld_is_gold=yes
64684 ldver=`$LD --version 2>/dev/null |
64685 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'`
64687 glibcxx_gnu_ld_version=`echo $ldver | \
64688 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64690 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64693 # Set --gc-sections.
64694 glibcxx_have_gc_sections=no
64695 if test "$glibcxx_ld_is_gold" = "yes"; then
64696 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64697 glibcxx_have_gc_sections=yes
64699 else
64700 glibcxx_gcsections_min_ld=21602
64701 if test x"$with_gnu_ld" = x"yes" &&
64702 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64703 glibcxx_have_gc_sections=yes
64706 if test "$glibcxx_have_gc_sections" = "yes"; then
64707 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64708 # NB: This flag only works reliably after 2.16.1. Configure tests
64709 # for this are difficult, so hard wire a value that should work.
64711 ac_test_CFLAGS="${CFLAGS+set}"
64712 ac_save_CFLAGS="$CFLAGS"
64713 CFLAGS='-Wl,--gc-sections'
64715 # Check for -Wl,--gc-sections
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64717 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64718 if test x$gcc_no_link = xyes; then
64719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64722 /* end confdefs.h. */
64723 int one(void) { return 1; }
64724 int two(void) { return 2; }
64727 main ()
64729 two();
64731 return 0;
64733 _ACEOF
64734 if ac_fn_c_try_link "$LINENO"; then :
64735 ac_gcsections=yes
64736 else
64737 ac_gcsections=no
64739 rm -f core conftest.err conftest.$ac_objext \
64740 conftest$ac_exeext conftest.$ac_ext
64741 if test "$ac_gcsections" = "yes"; then
64742 rm -f conftest.c
64743 touch conftest.c
64744 if $CC -c conftest.c; then
64745 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64746 grep "Warning: gc-sections option ignored" > /dev/null; then
64747 ac_gcsections=no
64750 rm -f conftest.c conftest.o conftest
64752 if test "$ac_gcsections" = "yes"; then
64753 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64756 $as_echo "$ac_gcsections" >&6; }
64758 if test "$ac_test_CFLAGS" = set; then
64759 CFLAGS="$ac_save_CFLAGS"
64760 else
64761 # this is the suspicious part
64762 CFLAGS=''
64766 # Set -z,relro.
64767 # Note this is only for shared objects.
64768 ac_ld_relro=no
64769 if test x"$with_gnu_ld" = x"yes"; then
64770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64771 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64772 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64773 if test -n "$cxx_z_relo"; then
64774 OPT_LDFLAGS="-Wl,-z,relro"
64775 ac_ld_relro=yes
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64778 $as_echo "$ac_ld_relro" >&6; }
64781 # Set linker optimization flags.
64782 if test x"$with_gnu_ld" = x"yes"; then
64783 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64789 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64791 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64793 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64795 # All of the dependencies for wide character support are here, so
64796 # turn it on.
64797 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64800 esac
64801 case "$target" in
64802 *-*-solaris2.10)
64803 # These two C99 functions are present only in Solaris >= 10
64804 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64806 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64809 esac
64810 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64812 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64814 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64816 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64819 *-tpf)
64820 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64821 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64823 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64825 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64827 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64829 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64831 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64833 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64835 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64837 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64839 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64841 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64843 if test x"long_double_math_on_this_cpu" = x"yes"; then
64844 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64846 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64848 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64850 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64854 *-*vms*)
64855 # Check for available headers.
64856 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64858 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64859 ac_save_CXXFLAGS="$CXXFLAGS"
64860 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64863 $as_echo_n "checking for sin in -lm... " >&6; }
64864 if test "${ac_cv_lib_m_sin+set}" = set; then :
64865 $as_echo_n "(cached) " >&6
64866 else
64867 ac_check_lib_save_LIBS=$LIBS
64868 LIBS="-lm $LIBS"
64869 if test x$gcc_no_link = xyes; then
64870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64873 /* end confdefs.h. */
64875 /* Override any GCC internal prototype to avoid an error.
64876 Use char because int might match the return type of a GCC
64877 builtin and then its argument prototype would still apply. */
64878 #ifdef __cplusplus
64879 extern "C"
64880 #endif
64881 char sin ();
64883 main ()
64885 return sin ();
64887 return 0;
64889 _ACEOF
64890 if ac_fn_c_try_link "$LINENO"; then :
64891 ac_cv_lib_m_sin=yes
64892 else
64893 ac_cv_lib_m_sin=no
64895 rm -f core conftest.err conftest.$ac_objext \
64896 conftest$ac_exeext conftest.$ac_ext
64897 LIBS=$ac_check_lib_save_LIBS
64899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64900 $as_echo "$ac_cv_lib_m_sin" >&6; }
64901 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64902 libm="-lm"
64905 ac_save_LIBS="$LIBS"
64906 LIBS="$LIBS $libm"
64910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64911 $as_echo_n "checking for isinf declaration... " >&6; }
64912 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64913 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64914 $as_echo_n "(cached) " >&6
64915 else
64918 ac_ext=cpp
64919 ac_cpp='$CXXCPP $CPPFLAGS'
64920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64925 /* end confdefs.h. */
64926 #include <math.h>
64927 #ifdef HAVE_IEEEFP_H
64928 #include <ieeefp.h>
64929 #endif
64932 main ()
64934 isinf(0);
64936 return 0;
64938 _ACEOF
64939 if ac_fn_cxx_try_compile "$LINENO"; then :
64940 glibcxx_cv_func_isinf_use=yes
64941 else
64942 glibcxx_cv_func_isinf_use=no
64944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64945 ac_ext=c
64946 ac_cpp='$CPP $CPPFLAGS'
64947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64956 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64958 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64959 for ac_func in isinf
64960 do :
64961 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64962 if test "x$ac_cv_func_isinf" = x""yes; then :
64963 cat >>confdefs.h <<_ACEOF
64964 #define HAVE_ISINF 1
64965 _ACEOF
64968 done
64970 else
64972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64973 $as_echo_n "checking for _isinf declaration... " >&6; }
64974 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64975 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64976 $as_echo_n "(cached) " >&6
64977 else
64980 ac_ext=cpp
64981 ac_cpp='$CXXCPP $CPPFLAGS'
64982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64987 /* end confdefs.h. */
64988 #include <math.h>
64989 #ifdef HAVE_IEEEFP_H
64990 #include <ieeefp.h>
64991 #endif
64994 main ()
64996 _isinf(0);
64998 return 0;
65000 _ACEOF
65001 if ac_fn_cxx_try_compile "$LINENO"; then :
65002 glibcxx_cv_func__isinf_use=yes
65003 else
65004 glibcxx_cv_func__isinf_use=no
65006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65007 ac_ext=c
65008 ac_cpp='$CPP $CPPFLAGS'
65009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65018 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65020 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65021 for ac_func in _isinf
65022 do :
65023 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65024 if test "x$ac_cv_func__isinf" = x""yes; then :
65025 cat >>confdefs.h <<_ACEOF
65026 #define HAVE__ISINF 1
65027 _ACEOF
65030 done
65039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65040 $as_echo_n "checking for isnan declaration... " >&6; }
65041 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65042 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65043 $as_echo_n "(cached) " >&6
65044 else
65047 ac_ext=cpp
65048 ac_cpp='$CXXCPP $CPPFLAGS'
65049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65054 /* end confdefs.h. */
65055 #include <math.h>
65056 #ifdef HAVE_IEEEFP_H
65057 #include <ieeefp.h>
65058 #endif
65061 main ()
65063 isnan(0);
65065 return 0;
65067 _ACEOF
65068 if ac_fn_cxx_try_compile "$LINENO"; then :
65069 glibcxx_cv_func_isnan_use=yes
65070 else
65071 glibcxx_cv_func_isnan_use=no
65073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65074 ac_ext=c
65075 ac_cpp='$CPP $CPPFLAGS'
65076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65085 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65087 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65088 for ac_func in isnan
65089 do :
65090 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65091 if test "x$ac_cv_func_isnan" = x""yes; then :
65092 cat >>confdefs.h <<_ACEOF
65093 #define HAVE_ISNAN 1
65094 _ACEOF
65097 done
65099 else
65101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65102 $as_echo_n "checking for _isnan declaration... " >&6; }
65103 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65104 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65105 $as_echo_n "(cached) " >&6
65106 else
65109 ac_ext=cpp
65110 ac_cpp='$CXXCPP $CPPFLAGS'
65111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65116 /* end confdefs.h. */
65117 #include <math.h>
65118 #ifdef HAVE_IEEEFP_H
65119 #include <ieeefp.h>
65120 #endif
65123 main ()
65125 _isnan(0);
65127 return 0;
65129 _ACEOF
65130 if ac_fn_cxx_try_compile "$LINENO"; then :
65131 glibcxx_cv_func__isnan_use=yes
65132 else
65133 glibcxx_cv_func__isnan_use=no
65135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65136 ac_ext=c
65137 ac_cpp='$CPP $CPPFLAGS'
65138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65147 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65149 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65150 for ac_func in _isnan
65151 do :
65152 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65153 if test "x$ac_cv_func__isnan" = x""yes; then :
65154 cat >>confdefs.h <<_ACEOF
65155 #define HAVE__ISNAN 1
65156 _ACEOF
65159 done
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65169 $as_echo_n "checking for finite declaration... " >&6; }
65170 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65171 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65172 $as_echo_n "(cached) " >&6
65173 else
65176 ac_ext=cpp
65177 ac_cpp='$CXXCPP $CPPFLAGS'
65178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65183 /* end confdefs.h. */
65184 #include <math.h>
65185 #ifdef HAVE_IEEEFP_H
65186 #include <ieeefp.h>
65187 #endif
65190 main ()
65192 finite(0);
65194 return 0;
65196 _ACEOF
65197 if ac_fn_cxx_try_compile "$LINENO"; then :
65198 glibcxx_cv_func_finite_use=yes
65199 else
65200 glibcxx_cv_func_finite_use=no
65202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65203 ac_ext=c
65204 ac_cpp='$CPP $CPPFLAGS'
65205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65214 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65216 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65217 for ac_func in finite
65218 do :
65219 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65220 if test "x$ac_cv_func_finite" = x""yes; then :
65221 cat >>confdefs.h <<_ACEOF
65222 #define HAVE_FINITE 1
65223 _ACEOF
65226 done
65228 else
65230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65231 $as_echo_n "checking for _finite declaration... " >&6; }
65232 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65233 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65234 $as_echo_n "(cached) " >&6
65235 else
65238 ac_ext=cpp
65239 ac_cpp='$CXXCPP $CPPFLAGS'
65240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65245 /* end confdefs.h. */
65246 #include <math.h>
65247 #ifdef HAVE_IEEEFP_H
65248 #include <ieeefp.h>
65249 #endif
65252 main ()
65254 _finite(0);
65256 return 0;
65258 _ACEOF
65259 if ac_fn_cxx_try_compile "$LINENO"; then :
65260 glibcxx_cv_func__finite_use=yes
65261 else
65262 glibcxx_cv_func__finite_use=no
65264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65265 ac_ext=c
65266 ac_cpp='$CPP $CPPFLAGS'
65267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65276 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65278 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65279 for ac_func in _finite
65280 do :
65281 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65282 if test "x$ac_cv_func__finite" = x""yes; then :
65283 cat >>confdefs.h <<_ACEOF
65284 #define HAVE__FINITE 1
65285 _ACEOF
65288 done
65297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65298 $as_echo_n "checking for sincos declaration... " >&6; }
65299 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65300 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65301 $as_echo_n "(cached) " >&6
65302 else
65305 ac_ext=cpp
65306 ac_cpp='$CXXCPP $CPPFLAGS'
65307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65312 /* end confdefs.h. */
65313 #include <math.h>
65315 main ()
65317 sincos(0, 0, 0);
65319 return 0;
65321 _ACEOF
65322 if ac_fn_cxx_try_compile "$LINENO"; then :
65323 glibcxx_cv_func_sincos_use=yes
65324 else
65325 glibcxx_cv_func_sincos_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_sincos_use" >&5
65339 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65341 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65342 for ac_func in sincos
65343 do :
65344 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65345 if test "x$ac_cv_func_sincos" = x""yes; then :
65346 cat >>confdefs.h <<_ACEOF
65347 #define HAVE_SINCOS 1
65348 _ACEOF
65351 done
65353 else
65355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65356 $as_echo_n "checking for _sincos declaration... " >&6; }
65357 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65358 if test "${glibcxx_cv_func__sincos_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>
65373 main ()
65375 _sincos(0, 0, 0);
65377 return 0;
65379 _ACEOF
65380 if ac_fn_cxx_try_compile "$LINENO"; then :
65381 glibcxx_cv_func__sincos_use=yes
65382 else
65383 glibcxx_cv_func__sincos_use=no
65385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65386 ac_ext=c
65387 ac_cpp='$CPP $CPPFLAGS'
65388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65397 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65399 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65400 for ac_func in _sincos
65401 do :
65402 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65403 if test "x$ac_cv_func__sincos" = x""yes; then :
65404 cat >>confdefs.h <<_ACEOF
65405 #define HAVE__SINCOS 1
65406 _ACEOF
65409 done
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65419 $as_echo_n "checking for fpclass declaration... " >&6; }
65420 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65421 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65422 $as_echo_n "(cached) " >&6
65423 else
65426 ac_ext=cpp
65427 ac_cpp='$CXXCPP $CPPFLAGS'
65428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65433 /* end confdefs.h. */
65434 #include <math.h>
65435 #ifdef HAVE_IEEEFP_H
65436 #include <ieeefp.h>
65437 #endif
65440 main ()
65442 fpclass(0);
65444 return 0;
65446 _ACEOF
65447 if ac_fn_cxx_try_compile "$LINENO"; then :
65448 glibcxx_cv_func_fpclass_use=yes
65449 else
65450 glibcxx_cv_func_fpclass_use=no
65452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65453 ac_ext=c
65454 ac_cpp='$CPP $CPPFLAGS'
65455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65464 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65466 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65467 for ac_func in fpclass
65468 do :
65469 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65470 if test "x$ac_cv_func_fpclass" = x""yes; then :
65471 cat >>confdefs.h <<_ACEOF
65472 #define HAVE_FPCLASS 1
65473 _ACEOF
65476 done
65478 else
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65481 $as_echo_n "checking for _fpclass declaration... " >&6; }
65482 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65483 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65484 $as_echo_n "(cached) " >&6
65485 else
65488 ac_ext=cpp
65489 ac_cpp='$CXXCPP $CPPFLAGS'
65490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65495 /* end confdefs.h. */
65496 #include <math.h>
65497 #ifdef HAVE_IEEEFP_H
65498 #include <ieeefp.h>
65499 #endif
65502 main ()
65504 _fpclass(0);
65506 return 0;
65508 _ACEOF
65509 if ac_fn_cxx_try_compile "$LINENO"; then :
65510 glibcxx_cv_func__fpclass_use=yes
65511 else
65512 glibcxx_cv_func__fpclass_use=no
65514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65515 ac_ext=c
65516 ac_cpp='$CPP $CPPFLAGS'
65517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65526 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65528 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65529 for ac_func in _fpclass
65530 do :
65531 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65532 if test "x$ac_cv_func__fpclass" = x""yes; then :
65533 cat >>confdefs.h <<_ACEOF
65534 #define HAVE__FPCLASS 1
65535 _ACEOF
65538 done
65547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65548 $as_echo_n "checking for qfpclass declaration... " >&6; }
65549 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65550 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65551 $as_echo_n "(cached) " >&6
65552 else
65555 ac_ext=cpp
65556 ac_cpp='$CXXCPP $CPPFLAGS'
65557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65562 /* end confdefs.h. */
65563 #include <math.h>
65564 #ifdef HAVE_IEEEFP_H
65565 #include <ieeefp.h>
65566 #endif
65569 main ()
65571 qfpclass(0);
65573 return 0;
65575 _ACEOF
65576 if ac_fn_cxx_try_compile "$LINENO"; then :
65577 glibcxx_cv_func_qfpclass_use=yes
65578 else
65579 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
65593 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65595 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65596 for ac_func in qfpclass
65597 do :
65598 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65599 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65600 cat >>confdefs.h <<_ACEOF
65601 #define HAVE_QFPCLASS 1
65602 _ACEOF
65605 done
65607 else
65609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65610 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65611 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65612 if test "${glibcxx_cv_func__qfpclass_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>
65626 #ifdef HAVE_IEEEFP_H
65627 #include <ieeefp.h>
65628 #endif
65631 main ()
65633 _qfpclass(0);
65635 return 0;
65637 _ACEOF
65638 if ac_fn_cxx_try_compile "$LINENO"; then :
65639 glibcxx_cv_func__qfpclass_use=yes
65640 else
65641 glibcxx_cv_func__qfpclass_use=no
65643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65644 ac_ext=c
65645 ac_cpp='$CPP $CPPFLAGS'
65646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65655 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65657 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65658 for ac_func in _qfpclass
65659 do :
65660 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65661 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65662 cat >>confdefs.h <<_ACEOF
65663 #define HAVE__QFPCLASS 1
65664 _ACEOF
65667 done
65676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65677 $as_echo_n "checking for hypot declaration... " >&6; }
65678 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65679 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65680 $as_echo_n "(cached) " >&6
65681 else
65684 ac_ext=cpp
65685 ac_cpp='$CXXCPP $CPPFLAGS'
65686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65691 /* end confdefs.h. */
65692 #include <math.h>
65694 main ()
65696 hypot(0, 0);
65698 return 0;
65700 _ACEOF
65701 if ac_fn_cxx_try_compile "$LINENO"; then :
65702 glibcxx_cv_func_hypot_use=yes
65703 else
65704 glibcxx_cv_func_hypot_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_hypot_use" >&5
65718 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65720 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65721 for ac_func in hypot
65722 do :
65723 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65724 if test "x$ac_cv_func_hypot" = x""yes; then :
65725 cat >>confdefs.h <<_ACEOF
65726 #define HAVE_HYPOT 1
65727 _ACEOF
65730 done
65732 else
65734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65735 $as_echo_n "checking for _hypot declaration... " >&6; }
65736 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65737 if test "${glibcxx_cv_func__hypot_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>
65752 main ()
65754 _hypot(0, 0);
65756 return 0;
65758 _ACEOF
65759 if ac_fn_cxx_try_compile "$LINENO"; then :
65760 glibcxx_cv_func__hypot_use=yes
65761 else
65762 glibcxx_cv_func__hypot_use=no
65764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65765 ac_ext=c
65766 ac_cpp='$CPP $CPPFLAGS'
65767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65776 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65778 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65779 for ac_func in _hypot
65780 do :
65781 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65782 if test "x$ac_cv_func__hypot" = x""yes; then :
65783 cat >>confdefs.h <<_ACEOF
65784 #define HAVE__HYPOT 1
65785 _ACEOF
65788 done
65797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65798 $as_echo_n "checking for float trig functions... " >&6; }
65799 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65800 $as_echo_n "(cached) " >&6
65801 else
65804 ac_ext=cpp
65805 ac_cpp='$CXXCPP $CPPFLAGS'
65806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65811 /* end confdefs.h. */
65812 #include <math.h>
65814 main ()
65816 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65818 return 0;
65820 _ACEOF
65821 if ac_fn_cxx_try_compile "$LINENO"; then :
65822 glibcxx_cv_func_float_trig_use=yes
65823 else
65824 glibcxx_cv_func_float_trig_use=no
65826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65827 ac_ext=c
65828 ac_cpp='$CPP $CPPFLAGS'
65829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65836 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65837 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65838 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65839 do :
65840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65842 eval as_val=\$$as_ac_var
65843 if test "x$as_val" = x""yes; then :
65844 cat >>confdefs.h <<_ACEOF
65845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65846 _ACEOF
65849 done
65851 else
65852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65853 $as_echo_n "checking for _float trig functions... " >&6; }
65854 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65855 $as_echo_n "(cached) " >&6
65856 else
65859 ac_ext=cpp
65860 ac_cpp='$CXXCPP $CPPFLAGS'
65861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65866 /* end confdefs.h. */
65867 #include <math.h>
65869 main ()
65871 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65873 return 0;
65875 _ACEOF
65876 if ac_fn_cxx_try_compile "$LINENO"; then :
65877 glibcxx_cv_func__float_trig_use=yes
65878 else
65879 glibcxx_cv_func__float_trig_use=no
65881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65882 ac_ext=c
65883 ac_cpp='$CPP $CPPFLAGS'
65884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65891 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65892 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65893 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65894 do :
65895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65896 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65897 eval as_val=\$$as_ac_var
65898 if test "x$as_val" = x""yes; then :
65899 cat >>confdefs.h <<_ACEOF
65900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65901 _ACEOF
65904 done
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65914 $as_echo_n "checking for float round functions... " >&6; }
65915 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65916 $as_echo_n "(cached) " >&6
65917 else
65920 ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h. */
65928 #include <math.h>
65930 main ()
65932 ceilf (0); floorf (0);
65934 return 0;
65936 _ACEOF
65937 if ac_fn_cxx_try_compile "$LINENO"; then :
65938 glibcxx_cv_func_float_round_use=yes
65939 else
65940 glibcxx_cv_func_float_round_use=no
65942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65943 ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65952 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65953 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65954 for ac_func in ceilf floorf
65955 do :
65956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65958 eval as_val=\$$as_ac_var
65959 if test "x$as_val" = x""yes; then :
65960 cat >>confdefs.h <<_ACEOF
65961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65962 _ACEOF
65965 done
65967 else
65968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65969 $as_echo_n "checking for _float round functions... " >&6; }
65970 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65971 $as_echo_n "(cached) " >&6
65972 else
65975 ac_ext=cpp
65976 ac_cpp='$CXXCPP $CPPFLAGS'
65977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65982 /* end confdefs.h. */
65983 #include <math.h>
65985 main ()
65987 _ceilf (0); _floorf (0);
65989 return 0;
65991 _ACEOF
65992 if ac_fn_cxx_try_compile "$LINENO"; then :
65993 glibcxx_cv_func__float_round_use=yes
65994 else
65995 glibcxx_cv_func__float_round_use=no
65997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65998 ac_ext=c
65999 ac_cpp='$CPP $CPPFLAGS'
66000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66007 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66008 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66009 for ac_func in _ceilf _floorf
66010 do :
66011 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66012 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66013 eval as_val=\$$as_ac_var
66014 if test "x$as_val" = x""yes; then :
66015 cat >>confdefs.h <<_ACEOF
66016 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66017 _ACEOF
66020 done
66030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66031 $as_echo_n "checking for expf declaration... " >&6; }
66032 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66033 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66034 $as_echo_n "(cached) " >&6
66035 else
66038 ac_ext=cpp
66039 ac_cpp='$CXXCPP $CPPFLAGS'
66040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66045 /* end confdefs.h. */
66046 #include <math.h>
66047 #ifdef HAVE_IEEEFP_H
66048 #include <ieeefp.h>
66049 #endif
66052 main ()
66054 expf(0);
66056 return 0;
66058 _ACEOF
66059 if ac_fn_cxx_try_compile "$LINENO"; then :
66060 glibcxx_cv_func_expf_use=yes
66061 else
66062 glibcxx_cv_func_expf_use=no
66064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66065 ac_ext=c
66066 ac_cpp='$CPP $CPPFLAGS'
66067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66076 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66078 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66079 for ac_func in expf
66080 do :
66081 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66082 if test "x$ac_cv_func_expf" = x""yes; then :
66083 cat >>confdefs.h <<_ACEOF
66084 #define HAVE_EXPF 1
66085 _ACEOF
66088 done
66090 else
66092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66093 $as_echo_n "checking for _expf declaration... " >&6; }
66094 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66095 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66096 $as_echo_n "(cached) " >&6
66097 else
66100 ac_ext=cpp
66101 ac_cpp='$CXXCPP $CPPFLAGS'
66102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66107 /* end confdefs.h. */
66108 #include <math.h>
66109 #ifdef HAVE_IEEEFP_H
66110 #include <ieeefp.h>
66111 #endif
66114 main ()
66116 _expf(0);
66118 return 0;
66120 _ACEOF
66121 if ac_fn_cxx_try_compile "$LINENO"; then :
66122 glibcxx_cv_func__expf_use=yes
66123 else
66124 glibcxx_cv_func__expf_use=no
66126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66127 ac_ext=c
66128 ac_cpp='$CPP $CPPFLAGS'
66129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66138 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66140 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66141 for ac_func in _expf
66142 do :
66143 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66144 if test "x$ac_cv_func__expf" = x""yes; then :
66145 cat >>confdefs.h <<_ACEOF
66146 #define HAVE__EXPF 1
66147 _ACEOF
66150 done
66159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66160 $as_echo_n "checking for isnanf declaration... " >&6; }
66161 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66162 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66163 $as_echo_n "(cached) " >&6
66164 else
66167 ac_ext=cpp
66168 ac_cpp='$CXXCPP $CPPFLAGS'
66169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66174 /* end confdefs.h. */
66175 #include <math.h>
66176 #ifdef HAVE_IEEEFP_H
66177 #include <ieeefp.h>
66178 #endif
66181 main ()
66183 isnanf(0);
66185 return 0;
66187 _ACEOF
66188 if ac_fn_cxx_try_compile "$LINENO"; then :
66189 glibcxx_cv_func_isnanf_use=yes
66190 else
66191 glibcxx_cv_func_isnanf_use=no
66193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66194 ac_ext=c
66195 ac_cpp='$CPP $CPPFLAGS'
66196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66205 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66207 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66208 for ac_func in isnanf
66209 do :
66210 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66211 if test "x$ac_cv_func_isnanf" = x""yes; then :
66212 cat >>confdefs.h <<_ACEOF
66213 #define HAVE_ISNANF 1
66214 _ACEOF
66217 done
66219 else
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66222 $as_echo_n "checking for _isnanf declaration... " >&6; }
66223 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66224 if test "${glibcxx_cv_func__isnanf_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>
66238 #ifdef HAVE_IEEEFP_H
66239 #include <ieeefp.h>
66240 #endif
66243 main ()
66245 _isnanf(0);
66247 return 0;
66249 _ACEOF
66250 if ac_fn_cxx_try_compile "$LINENO"; then :
66251 glibcxx_cv_func__isnanf_use=yes
66252 else
66253 glibcxx_cv_func__isnanf_use=no
66255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66256 ac_ext=c
66257 ac_cpp='$CPP $CPPFLAGS'
66258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66267 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66269 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66270 for ac_func in _isnanf
66271 do :
66272 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66273 if test "x$ac_cv_func__isnanf" = x""yes; then :
66274 cat >>confdefs.h <<_ACEOF
66275 #define HAVE__ISNANF 1
66276 _ACEOF
66279 done
66288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66289 $as_echo_n "checking for isinff declaration... " >&6; }
66290 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66291 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66292 $as_echo_n "(cached) " >&6
66293 else
66296 ac_ext=cpp
66297 ac_cpp='$CXXCPP $CPPFLAGS'
66298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66303 /* end confdefs.h. */
66304 #include <math.h>
66305 #ifdef HAVE_IEEEFP_H
66306 #include <ieeefp.h>
66307 #endif
66310 main ()
66312 isinff(0);
66314 return 0;
66316 _ACEOF
66317 if ac_fn_cxx_try_compile "$LINENO"; then :
66318 glibcxx_cv_func_isinff_use=yes
66319 else
66320 glibcxx_cv_func_isinff_use=no
66322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66323 ac_ext=c
66324 ac_cpp='$CPP $CPPFLAGS'
66325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66334 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66336 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66337 for ac_func in isinff
66338 do :
66339 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66340 if test "x$ac_cv_func_isinff" = x""yes; then :
66341 cat >>confdefs.h <<_ACEOF
66342 #define HAVE_ISINFF 1
66343 _ACEOF
66346 done
66348 else
66350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66351 $as_echo_n "checking for _isinff declaration... " >&6; }
66352 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66353 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66354 $as_echo_n "(cached) " >&6
66355 else
66358 ac_ext=cpp
66359 ac_cpp='$CXXCPP $CPPFLAGS'
66360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66365 /* end confdefs.h. */
66366 #include <math.h>
66367 #ifdef HAVE_IEEEFP_H
66368 #include <ieeefp.h>
66369 #endif
66372 main ()
66374 _isinff(0);
66376 return 0;
66378 _ACEOF
66379 if ac_fn_cxx_try_compile "$LINENO"; then :
66380 glibcxx_cv_func__isinff_use=yes
66381 else
66382 glibcxx_cv_func__isinff_use=no
66384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66385 ac_ext=c
66386 ac_cpp='$CPP $CPPFLAGS'
66387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66396 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66398 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66399 for ac_func in _isinff
66400 do :
66401 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66402 if test "x$ac_cv_func__isinff" = x""yes; then :
66403 cat >>confdefs.h <<_ACEOF
66404 #define HAVE__ISINFF 1
66405 _ACEOF
66408 done
66417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66418 $as_echo_n "checking for atan2f declaration... " >&6; }
66419 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66420 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66421 $as_echo_n "(cached) " >&6
66422 else
66425 ac_ext=cpp
66426 ac_cpp='$CXXCPP $CPPFLAGS'
66427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66432 /* end confdefs.h. */
66433 #include <math.h>
66435 main ()
66437 atan2f(0, 0);
66439 return 0;
66441 _ACEOF
66442 if ac_fn_cxx_try_compile "$LINENO"; then :
66443 glibcxx_cv_func_atan2f_use=yes
66444 else
66445 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
66459 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66461 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66462 for ac_func in atan2f
66463 do :
66464 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66465 if test "x$ac_cv_func_atan2f" = x""yes; then :
66466 cat >>confdefs.h <<_ACEOF
66467 #define HAVE_ATAN2F 1
66468 _ACEOF
66471 done
66473 else
66475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66476 $as_echo_n "checking for _atan2f declaration... " >&6; }
66477 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66478 if test "${glibcxx_cv_func__atan2f_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>
66493 main ()
66495 _atan2f(0, 0);
66497 return 0;
66499 _ACEOF
66500 if ac_fn_cxx_try_compile "$LINENO"; then :
66501 glibcxx_cv_func__atan2f_use=yes
66502 else
66503 glibcxx_cv_func__atan2f_use=no
66505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66506 ac_ext=c
66507 ac_cpp='$CPP $CPPFLAGS'
66508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66517 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66519 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66520 for ac_func in _atan2f
66521 do :
66522 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66523 if test "x$ac_cv_func__atan2f" = x""yes; then :
66524 cat >>confdefs.h <<_ACEOF
66525 #define HAVE__ATAN2F 1
66526 _ACEOF
66529 done
66538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66539 $as_echo_n "checking for fabsf declaration... " >&6; }
66540 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66541 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66542 $as_echo_n "(cached) " >&6
66543 else
66546 ac_ext=cpp
66547 ac_cpp='$CXXCPP $CPPFLAGS'
66548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66553 /* end confdefs.h. */
66554 #include <math.h>
66555 #ifdef HAVE_IEEEFP_H
66556 #include <ieeefp.h>
66557 #endif
66560 main ()
66562 fabsf(0);
66564 return 0;
66566 _ACEOF
66567 if ac_fn_cxx_try_compile "$LINENO"; then :
66568 glibcxx_cv_func_fabsf_use=yes
66569 else
66570 glibcxx_cv_func_fabsf_use=no
66572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66573 ac_ext=c
66574 ac_cpp='$CPP $CPPFLAGS'
66575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66584 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66586 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66587 for ac_func in fabsf
66588 do :
66589 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66590 if test "x$ac_cv_func_fabsf" = x""yes; then :
66591 cat >>confdefs.h <<_ACEOF
66592 #define HAVE_FABSF 1
66593 _ACEOF
66596 done
66598 else
66600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66601 $as_echo_n "checking for _fabsf declaration... " >&6; }
66602 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66603 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66604 $as_echo_n "(cached) " >&6
66605 else
66608 ac_ext=cpp
66609 ac_cpp='$CXXCPP $CPPFLAGS'
66610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66615 /* end confdefs.h. */
66616 #include <math.h>
66617 #ifdef HAVE_IEEEFP_H
66618 #include <ieeefp.h>
66619 #endif
66622 main ()
66624 _fabsf(0);
66626 return 0;
66628 _ACEOF
66629 if ac_fn_cxx_try_compile "$LINENO"; then :
66630 glibcxx_cv_func__fabsf_use=yes
66631 else
66632 glibcxx_cv_func__fabsf_use=no
66634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66635 ac_ext=c
66636 ac_cpp='$CPP $CPPFLAGS'
66637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66646 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66648 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66649 for ac_func in _fabsf
66650 do :
66651 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66652 if test "x$ac_cv_func__fabsf" = x""yes; then :
66653 cat >>confdefs.h <<_ACEOF
66654 #define HAVE__FABSF 1
66655 _ACEOF
66658 done
66667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66668 $as_echo_n "checking for fmodf declaration... " >&6; }
66669 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66670 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66671 $as_echo_n "(cached) " >&6
66672 else
66675 ac_ext=cpp
66676 ac_cpp='$CXXCPP $CPPFLAGS'
66677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66682 /* end confdefs.h. */
66683 #include <math.h>
66685 main ()
66687 fmodf(0, 0);
66689 return 0;
66691 _ACEOF
66692 if ac_fn_cxx_try_compile "$LINENO"; then :
66693 glibcxx_cv_func_fmodf_use=yes
66694 else
66695 glibcxx_cv_func_fmodf_use=no
66697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66698 ac_ext=c
66699 ac_cpp='$CPP $CPPFLAGS'
66700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66709 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66711 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66712 for ac_func in fmodf
66713 do :
66714 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66715 if test "x$ac_cv_func_fmodf" = x""yes; then :
66716 cat >>confdefs.h <<_ACEOF
66717 #define HAVE_FMODF 1
66718 _ACEOF
66721 done
66723 else
66725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66726 $as_echo_n "checking for _fmodf declaration... " >&6; }
66727 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66728 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66729 $as_echo_n "(cached) " >&6
66730 else
66733 ac_ext=cpp
66734 ac_cpp='$CXXCPP $CPPFLAGS'
66735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66740 /* end confdefs.h. */
66741 #include <math.h>
66743 main ()
66745 _fmodf(0, 0);
66747 return 0;
66749 _ACEOF
66750 if ac_fn_cxx_try_compile "$LINENO"; then :
66751 glibcxx_cv_func__fmodf_use=yes
66752 else
66753 glibcxx_cv_func__fmodf_use=no
66755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66756 ac_ext=c
66757 ac_cpp='$CPP $CPPFLAGS'
66758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66767 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66769 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66770 for ac_func in _fmodf
66771 do :
66772 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66773 if test "x$ac_cv_func__fmodf" = x""yes; then :
66774 cat >>confdefs.h <<_ACEOF
66775 #define HAVE__FMODF 1
66776 _ACEOF
66779 done
66788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66789 $as_echo_n "checking for frexpf declaration... " >&6; }
66790 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66791 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66792 $as_echo_n "(cached) " >&6
66793 else
66796 ac_ext=cpp
66797 ac_cpp='$CXXCPP $CPPFLAGS'
66798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66803 /* end confdefs.h. */
66804 #include <math.h>
66806 main ()
66808 frexpf(0, 0);
66810 return 0;
66812 _ACEOF
66813 if ac_fn_cxx_try_compile "$LINENO"; then :
66814 glibcxx_cv_func_frexpf_use=yes
66815 else
66816 glibcxx_cv_func_frexpf_use=no
66818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66819 ac_ext=c
66820 ac_cpp='$CPP $CPPFLAGS'
66821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66830 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66832 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66833 for ac_func in frexpf
66834 do :
66835 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66836 if test "x$ac_cv_func_frexpf" = x""yes; then :
66837 cat >>confdefs.h <<_ACEOF
66838 #define HAVE_FREXPF 1
66839 _ACEOF
66842 done
66844 else
66846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66847 $as_echo_n "checking for _frexpf declaration... " >&6; }
66848 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66849 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66850 $as_echo_n "(cached) " >&6
66851 else
66854 ac_ext=cpp
66855 ac_cpp='$CXXCPP $CPPFLAGS'
66856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66861 /* end confdefs.h. */
66862 #include <math.h>
66864 main ()
66866 _frexpf(0, 0);
66868 return 0;
66870 _ACEOF
66871 if ac_fn_cxx_try_compile "$LINENO"; then :
66872 glibcxx_cv_func__frexpf_use=yes
66873 else
66874 glibcxx_cv_func__frexpf_use=no
66876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66888 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66890 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66891 for ac_func in _frexpf
66892 do :
66893 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66894 if test "x$ac_cv_func__frexpf" = x""yes; then :
66895 cat >>confdefs.h <<_ACEOF
66896 #define HAVE__FREXPF 1
66897 _ACEOF
66900 done
66909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66910 $as_echo_n "checking for hypotf declaration... " >&6; }
66911 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66912 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66913 $as_echo_n "(cached) " >&6
66914 else
66917 ac_ext=cpp
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924 /* end confdefs.h. */
66925 #include <math.h>
66927 main ()
66929 hypotf(0, 0);
66931 return 0;
66933 _ACEOF
66934 if ac_fn_cxx_try_compile "$LINENO"; then :
66935 glibcxx_cv_func_hypotf_use=yes
66936 else
66937 glibcxx_cv_func_hypotf_use=no
66939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66951 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66953 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66954 for ac_func in hypotf
66955 do :
66956 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66957 if test "x$ac_cv_func_hypotf" = x""yes; then :
66958 cat >>confdefs.h <<_ACEOF
66959 #define HAVE_HYPOTF 1
66960 _ACEOF
66963 done
66965 else
66967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66968 $as_echo_n "checking for _hypotf declaration... " >&6; }
66969 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66970 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66971 $as_echo_n "(cached) " >&6
66972 else
66975 ac_ext=cpp
66976 ac_cpp='$CXXCPP $CPPFLAGS'
66977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66982 /* end confdefs.h. */
66983 #include <math.h>
66985 main ()
66987 _hypotf(0, 0);
66989 return 0;
66991 _ACEOF
66992 if ac_fn_cxx_try_compile "$LINENO"; then :
66993 glibcxx_cv_func__hypotf_use=yes
66994 else
66995 glibcxx_cv_func__hypotf_use=no
66997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66998 ac_ext=c
66999 ac_cpp='$CPP $CPPFLAGS'
67000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67009 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67011 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67012 for ac_func in _hypotf
67013 do :
67014 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67015 if test "x$ac_cv_func__hypotf" = x""yes; then :
67016 cat >>confdefs.h <<_ACEOF
67017 #define HAVE__HYPOTF 1
67018 _ACEOF
67021 done
67030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67031 $as_echo_n "checking for ldexpf declaration... " >&6; }
67032 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67033 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67034 $as_echo_n "(cached) " >&6
67035 else
67038 ac_ext=cpp
67039 ac_cpp='$CXXCPP $CPPFLAGS'
67040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67045 /* end confdefs.h. */
67046 #include <math.h>
67048 main ()
67050 ldexpf(0, 0);
67052 return 0;
67054 _ACEOF
67055 if ac_fn_cxx_try_compile "$LINENO"; then :
67056 glibcxx_cv_func_ldexpf_use=yes
67057 else
67058 glibcxx_cv_func_ldexpf_use=no
67060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67061 ac_ext=c
67062 ac_cpp='$CPP $CPPFLAGS'
67063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67072 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67074 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67075 for ac_func in ldexpf
67076 do :
67077 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67078 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67079 cat >>confdefs.h <<_ACEOF
67080 #define HAVE_LDEXPF 1
67081 _ACEOF
67084 done
67086 else
67088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67089 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67090 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67091 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67092 $as_echo_n "(cached) " >&6
67093 else
67096 ac_ext=cpp
67097 ac_cpp='$CXXCPP $CPPFLAGS'
67098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67103 /* end confdefs.h. */
67104 #include <math.h>
67106 main ()
67108 _ldexpf(0, 0);
67110 return 0;
67112 _ACEOF
67113 if ac_fn_cxx_try_compile "$LINENO"; then :
67114 glibcxx_cv_func__ldexpf_use=yes
67115 else
67116 glibcxx_cv_func__ldexpf_use=no
67118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67119 ac_ext=c
67120 ac_cpp='$CPP $CPPFLAGS'
67121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67130 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67132 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67133 for ac_func in _ldexpf
67134 do :
67135 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67136 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67137 cat >>confdefs.h <<_ACEOF
67138 #define HAVE__LDEXPF 1
67139 _ACEOF
67142 done
67151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67152 $as_echo_n "checking for logf declaration... " >&6; }
67153 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67154 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67155 $as_echo_n "(cached) " >&6
67156 else
67159 ac_ext=cpp
67160 ac_cpp='$CXXCPP $CPPFLAGS'
67161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67166 /* end confdefs.h. */
67167 #include <math.h>
67168 #ifdef HAVE_IEEEFP_H
67169 #include <ieeefp.h>
67170 #endif
67173 main ()
67175 logf(0);
67177 return 0;
67179 _ACEOF
67180 if ac_fn_cxx_try_compile "$LINENO"; then :
67181 glibcxx_cv_func_logf_use=yes
67182 else
67183 glibcxx_cv_func_logf_use=no
67185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67186 ac_ext=c
67187 ac_cpp='$CPP $CPPFLAGS'
67188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67197 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67199 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67200 for ac_func in logf
67201 do :
67202 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67203 if test "x$ac_cv_func_logf" = x""yes; then :
67204 cat >>confdefs.h <<_ACEOF
67205 #define HAVE_LOGF 1
67206 _ACEOF
67209 done
67211 else
67213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67214 $as_echo_n "checking for _logf declaration... " >&6; }
67215 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67216 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67217 $as_echo_n "(cached) " >&6
67218 else
67221 ac_ext=cpp
67222 ac_cpp='$CXXCPP $CPPFLAGS'
67223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67228 /* end confdefs.h. */
67229 #include <math.h>
67230 #ifdef HAVE_IEEEFP_H
67231 #include <ieeefp.h>
67232 #endif
67235 main ()
67237 _logf(0);
67239 return 0;
67241 _ACEOF
67242 if ac_fn_cxx_try_compile "$LINENO"; then :
67243 glibcxx_cv_func__logf_use=yes
67244 else
67245 glibcxx_cv_func__logf_use=no
67247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67248 ac_ext=c
67249 ac_cpp='$CPP $CPPFLAGS'
67250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67259 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67261 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67262 for ac_func in _logf
67263 do :
67264 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67265 if test "x$ac_cv_func__logf" = x""yes; then :
67266 cat >>confdefs.h <<_ACEOF
67267 #define HAVE__LOGF 1
67268 _ACEOF
67271 done
67280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67281 $as_echo_n "checking for log10f declaration... " >&6; }
67282 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67283 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67284 $as_echo_n "(cached) " >&6
67285 else
67288 ac_ext=cpp
67289 ac_cpp='$CXXCPP $CPPFLAGS'
67290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67295 /* end confdefs.h. */
67296 #include <math.h>
67297 #ifdef HAVE_IEEEFP_H
67298 #include <ieeefp.h>
67299 #endif
67302 main ()
67304 log10f(0);
67306 return 0;
67308 _ACEOF
67309 if ac_fn_cxx_try_compile "$LINENO"; then :
67310 glibcxx_cv_func_log10f_use=yes
67311 else
67312 glibcxx_cv_func_log10f_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_log10f_use" >&5
67326 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67328 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67329 for ac_func in log10f
67330 do :
67331 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67332 if test "x$ac_cv_func_log10f" = x""yes; then :
67333 cat >>confdefs.h <<_ACEOF
67334 #define HAVE_LOG10F 1
67335 _ACEOF
67338 done
67340 else
67342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67343 $as_echo_n "checking for _log10f declaration... " >&6; }
67344 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67345 if test "${glibcxx_cv_func__log10f_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>
67359 #ifdef HAVE_IEEEFP_H
67360 #include <ieeefp.h>
67361 #endif
67364 main ()
67366 _log10f(0);
67368 return 0;
67370 _ACEOF
67371 if ac_fn_cxx_try_compile "$LINENO"; then :
67372 glibcxx_cv_func__log10f_use=yes
67373 else
67374 glibcxx_cv_func__log10f_use=no
67376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67377 ac_ext=c
67378 ac_cpp='$CPP $CPPFLAGS'
67379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67388 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67390 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67391 for ac_func in _log10f
67392 do :
67393 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67394 if test "x$ac_cv_func__log10f" = x""yes; then :
67395 cat >>confdefs.h <<_ACEOF
67396 #define HAVE__LOG10F 1
67397 _ACEOF
67400 done
67409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67410 $as_echo_n "checking for modff declaration... " >&6; }
67411 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67412 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67413 $as_echo_n "(cached) " >&6
67414 else
67417 ac_ext=cpp
67418 ac_cpp='$CXXCPP $CPPFLAGS'
67419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67424 /* end confdefs.h. */
67425 #include <math.h>
67427 main ()
67429 modff(0, 0);
67431 return 0;
67433 _ACEOF
67434 if ac_fn_cxx_try_compile "$LINENO"; then :
67435 glibcxx_cv_func_modff_use=yes
67436 else
67437 glibcxx_cv_func_modff_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_modff_use" >&5
67451 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67453 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67454 for ac_func in modff
67455 do :
67456 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67457 if test "x$ac_cv_func_modff" = x""yes; then :
67458 cat >>confdefs.h <<_ACEOF
67459 #define HAVE_MODFF 1
67460 _ACEOF
67463 done
67465 else
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67468 $as_echo_n "checking for _modff declaration... " >&6; }
67469 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67470 if test "${glibcxx_cv_func__modff_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>
67485 main ()
67487 _modff(0, 0);
67489 return 0;
67491 _ACEOF
67492 if ac_fn_cxx_try_compile "$LINENO"; then :
67493 glibcxx_cv_func__modff_use=yes
67494 else
67495 glibcxx_cv_func__modff_use=no
67497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67498 ac_ext=c
67499 ac_cpp='$CPP $CPPFLAGS'
67500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67509 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67511 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67512 for ac_func in _modff
67513 do :
67514 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67515 if test "x$ac_cv_func__modff" = x""yes; then :
67516 cat >>confdefs.h <<_ACEOF
67517 #define HAVE__MODFF 1
67518 _ACEOF
67521 done
67530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67531 $as_echo_n "checking for modf declaration... " >&6; }
67532 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67533 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67534 $as_echo_n "(cached) " >&6
67535 else
67538 ac_ext=cpp
67539 ac_cpp='$CXXCPP $CPPFLAGS'
67540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67545 /* end confdefs.h. */
67546 #include <math.h>
67548 main ()
67550 modf(0, 0);
67552 return 0;
67554 _ACEOF
67555 if ac_fn_cxx_try_compile "$LINENO"; then :
67556 glibcxx_cv_func_modf_use=yes
67557 else
67558 glibcxx_cv_func_modf_use=no
67560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67561 ac_ext=c
67562 ac_cpp='$CPP $CPPFLAGS'
67563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67572 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67574 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67575 for ac_func in modf
67576 do :
67577 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67578 if test "x$ac_cv_func_modf" = x""yes; then :
67579 cat >>confdefs.h <<_ACEOF
67580 #define HAVE_MODF 1
67581 _ACEOF
67584 done
67586 else
67588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67589 $as_echo_n "checking for _modf declaration... " >&6; }
67590 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67591 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67592 $as_echo_n "(cached) " >&6
67593 else
67596 ac_ext=cpp
67597 ac_cpp='$CXXCPP $CPPFLAGS'
67598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67603 /* end confdefs.h. */
67604 #include <math.h>
67606 main ()
67608 _modf(0, 0);
67610 return 0;
67612 _ACEOF
67613 if ac_fn_cxx_try_compile "$LINENO"; then :
67614 glibcxx_cv_func__modf_use=yes
67615 else
67616 glibcxx_cv_func__modf_use=no
67618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67619 ac_ext=c
67620 ac_cpp='$CPP $CPPFLAGS'
67621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67630 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67632 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67633 for ac_func in _modf
67634 do :
67635 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67636 if test "x$ac_cv_func__modf" = x""yes; then :
67637 cat >>confdefs.h <<_ACEOF
67638 #define HAVE__MODF 1
67639 _ACEOF
67642 done
67651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67652 $as_echo_n "checking for powf declaration... " >&6; }
67653 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67654 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67655 $as_echo_n "(cached) " >&6
67656 else
67659 ac_ext=cpp
67660 ac_cpp='$CXXCPP $CPPFLAGS'
67661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67666 /* end confdefs.h. */
67667 #include <math.h>
67669 main ()
67671 powf(0, 0);
67673 return 0;
67675 _ACEOF
67676 if ac_fn_cxx_try_compile "$LINENO"; then :
67677 glibcxx_cv_func_powf_use=yes
67678 else
67679 glibcxx_cv_func_powf_use=no
67681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67682 ac_ext=c
67683 ac_cpp='$CPP $CPPFLAGS'
67684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67693 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67695 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67696 for ac_func in powf
67697 do :
67698 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67699 if test "x$ac_cv_func_powf" = x""yes; then :
67700 cat >>confdefs.h <<_ACEOF
67701 #define HAVE_POWF 1
67702 _ACEOF
67705 done
67707 else
67709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67710 $as_echo_n "checking for _powf declaration... " >&6; }
67711 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67712 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67713 $as_echo_n "(cached) " >&6
67714 else
67717 ac_ext=cpp
67718 ac_cpp='$CXXCPP $CPPFLAGS'
67719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67724 /* end confdefs.h. */
67725 #include <math.h>
67727 main ()
67729 _powf(0, 0);
67731 return 0;
67733 _ACEOF
67734 if ac_fn_cxx_try_compile "$LINENO"; then :
67735 glibcxx_cv_func__powf_use=yes
67736 else
67737 glibcxx_cv_func__powf_use=no
67739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67740 ac_ext=c
67741 ac_cpp='$CPP $CPPFLAGS'
67742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67751 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67753 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67754 for ac_func in _powf
67755 do :
67756 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67757 if test "x$ac_cv_func__powf" = x""yes; then :
67758 cat >>confdefs.h <<_ACEOF
67759 #define HAVE__POWF 1
67760 _ACEOF
67763 done
67772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67773 $as_echo_n "checking for sqrtf declaration... " >&6; }
67774 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67775 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67776 $as_echo_n "(cached) " >&6
67777 else
67780 ac_ext=cpp
67781 ac_cpp='$CXXCPP $CPPFLAGS'
67782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67787 /* end confdefs.h. */
67788 #include <math.h>
67789 #ifdef HAVE_IEEEFP_H
67790 #include <ieeefp.h>
67791 #endif
67794 main ()
67796 sqrtf(0);
67798 return 0;
67800 _ACEOF
67801 if ac_fn_cxx_try_compile "$LINENO"; then :
67802 glibcxx_cv_func_sqrtf_use=yes
67803 else
67804 glibcxx_cv_func_sqrtf_use=no
67806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67807 ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67818 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67820 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67821 for ac_func in sqrtf
67822 do :
67823 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67824 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67825 cat >>confdefs.h <<_ACEOF
67826 #define HAVE_SQRTF 1
67827 _ACEOF
67830 done
67832 else
67834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67835 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67836 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67837 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67838 $as_echo_n "(cached) " >&6
67839 else
67842 ac_ext=cpp
67843 ac_cpp='$CXXCPP $CPPFLAGS'
67844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67849 /* end confdefs.h. */
67850 #include <math.h>
67851 #ifdef HAVE_IEEEFP_H
67852 #include <ieeefp.h>
67853 #endif
67856 main ()
67858 _sqrtf(0);
67860 return 0;
67862 _ACEOF
67863 if ac_fn_cxx_try_compile "$LINENO"; then :
67864 glibcxx_cv_func__sqrtf_use=yes
67865 else
67866 glibcxx_cv_func__sqrtf_use=no
67868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67869 ac_ext=c
67870 ac_cpp='$CPP $CPPFLAGS'
67871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67880 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67882 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67883 for ac_func in _sqrtf
67884 do :
67885 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67886 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67887 cat >>confdefs.h <<_ACEOF
67888 #define HAVE__SQRTF 1
67889 _ACEOF
67892 done
67901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67902 $as_echo_n "checking for sincosf declaration... " >&6; }
67903 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67904 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67905 $as_echo_n "(cached) " >&6
67906 else
67909 ac_ext=cpp
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67916 /* end confdefs.h. */
67917 #include <math.h>
67919 main ()
67921 sincosf(0, 0, 0);
67923 return 0;
67925 _ACEOF
67926 if ac_fn_cxx_try_compile "$LINENO"; then :
67927 glibcxx_cv_func_sincosf_use=yes
67928 else
67929 glibcxx_cv_func_sincosf_use=no
67931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67932 ac_ext=c
67933 ac_cpp='$CPP $CPPFLAGS'
67934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67943 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67945 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67946 for ac_func in sincosf
67947 do :
67948 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67949 if test "x$ac_cv_func_sincosf" = x""yes; then :
67950 cat >>confdefs.h <<_ACEOF
67951 #define HAVE_SINCOSF 1
67952 _ACEOF
67955 done
67957 else
67959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67960 $as_echo_n "checking for _sincosf declaration... " >&6; }
67961 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67962 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67963 $as_echo_n "(cached) " >&6
67964 else
67967 ac_ext=cpp
67968 ac_cpp='$CXXCPP $CPPFLAGS'
67969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67974 /* end confdefs.h. */
67975 #include <math.h>
67977 main ()
67979 _sincosf(0, 0, 0);
67981 return 0;
67983 _ACEOF
67984 if ac_fn_cxx_try_compile "$LINENO"; then :
67985 glibcxx_cv_func__sincosf_use=yes
67986 else
67987 glibcxx_cv_func__sincosf_use=no
67989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67990 ac_ext=c
67991 ac_cpp='$CPP $CPPFLAGS'
67992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68001 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68003 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68004 for ac_func in _sincosf
68005 do :
68006 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68007 if test "x$ac_cv_func__sincosf" = x""yes; then :
68008 cat >>confdefs.h <<_ACEOF
68009 #define HAVE__SINCOSF 1
68010 _ACEOF
68013 done
68022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68023 $as_echo_n "checking for finitef declaration... " >&6; }
68024 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68025 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68026 $as_echo_n "(cached) " >&6
68027 else
68030 ac_ext=cpp
68031 ac_cpp='$CXXCPP $CPPFLAGS'
68032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68037 /* end confdefs.h. */
68038 #include <math.h>
68039 #ifdef HAVE_IEEEFP_H
68040 #include <ieeefp.h>
68041 #endif
68044 main ()
68046 finitef(0);
68048 return 0;
68050 _ACEOF
68051 if ac_fn_cxx_try_compile "$LINENO"; then :
68052 glibcxx_cv_func_finitef_use=yes
68053 else
68054 glibcxx_cv_func_finitef_use=no
68056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68057 ac_ext=c
68058 ac_cpp='$CPP $CPPFLAGS'
68059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68068 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68070 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68071 for ac_func in finitef
68072 do :
68073 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68074 if test "x$ac_cv_func_finitef" = x""yes; then :
68075 cat >>confdefs.h <<_ACEOF
68076 #define HAVE_FINITEF 1
68077 _ACEOF
68080 done
68082 else
68084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68085 $as_echo_n "checking for _finitef declaration... " >&6; }
68086 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68087 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68088 $as_echo_n "(cached) " >&6
68089 else
68092 ac_ext=cpp
68093 ac_cpp='$CXXCPP $CPPFLAGS'
68094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68099 /* end confdefs.h. */
68100 #include <math.h>
68101 #ifdef HAVE_IEEEFP_H
68102 #include <ieeefp.h>
68103 #endif
68106 main ()
68108 _finitef(0);
68110 return 0;
68112 _ACEOF
68113 if ac_fn_cxx_try_compile "$LINENO"; then :
68114 glibcxx_cv_func__finitef_use=yes
68115 else
68116 glibcxx_cv_func__finitef_use=no
68118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68119 ac_ext=c
68120 ac_cpp='$CPP $CPPFLAGS'
68121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68130 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68132 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68133 for ac_func in _finitef
68134 do :
68135 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68136 if test "x$ac_cv_func__finitef" = x""yes; then :
68137 cat >>confdefs.h <<_ACEOF
68138 #define HAVE__FINITEF 1
68139 _ACEOF
68142 done
68151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68152 $as_echo_n "checking for long double trig functions... " >&6; }
68153 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68154 $as_echo_n "(cached) " >&6
68155 else
68158 ac_ext=cpp
68159 ac_cpp='$CXXCPP $CPPFLAGS'
68160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68165 /* end confdefs.h. */
68166 #include <math.h>
68168 main ()
68170 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68172 return 0;
68174 _ACEOF
68175 if ac_fn_cxx_try_compile "$LINENO"; then :
68176 glibcxx_cv_func_long_double_trig_use=yes
68177 else
68178 glibcxx_cv_func_long_double_trig_use=no
68180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68181 ac_ext=c
68182 ac_cpp='$CPP $CPPFLAGS'
68183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68190 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68191 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68192 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68193 do :
68194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68196 eval as_val=\$$as_ac_var
68197 if test "x$as_val" = x""yes; then :
68198 cat >>confdefs.h <<_ACEOF
68199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68200 _ACEOF
68203 done
68205 else
68206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68207 $as_echo_n "checking for _long double trig functions... " >&6; }
68208 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68209 $as_echo_n "(cached) " >&6
68210 else
68213 ac_ext=cpp
68214 ac_cpp='$CXXCPP $CPPFLAGS'
68215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68220 /* end confdefs.h. */
68221 #include <math.h>
68223 main ()
68225 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68227 return 0;
68229 _ACEOF
68230 if ac_fn_cxx_try_compile "$LINENO"; then :
68231 glibcxx_cv_func__long_double_trig_use=yes
68232 else
68233 glibcxx_cv_func__long_double_trig_use=no
68235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68236 ac_ext=c
68237 ac_cpp='$CPP $CPPFLAGS'
68238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68245 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68246 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68247 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68248 do :
68249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68251 eval as_val=\$$as_ac_var
68252 if test "x$as_val" = x""yes; then :
68253 cat >>confdefs.h <<_ACEOF
68254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68255 _ACEOF
68258 done
68267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68268 $as_echo_n "checking for long double round functions... " >&6; }
68269 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68270 $as_echo_n "(cached) " >&6
68271 else
68274 ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h. */
68282 #include <math.h>
68284 main ()
68286 ceill (0); floorl (0);
68288 return 0;
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func_long_double_round_use=yes
68293 else
68294 glibcxx_cv_func_long_double_round_use=no
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68306 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68307 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68308 for ac_func in ceill floorl
68309 do :
68310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68312 eval as_val=\$$as_ac_var
68313 if test "x$as_val" = x""yes; then :
68314 cat >>confdefs.h <<_ACEOF
68315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68316 _ACEOF
68319 done
68321 else
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68323 $as_echo_n "checking for _long double round functions... " >&6; }
68324 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68325 $as_echo_n "(cached) " >&6
68326 else
68329 ac_ext=cpp
68330 ac_cpp='$CXXCPP $CPPFLAGS'
68331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68336 /* end confdefs.h. */
68337 #include <math.h>
68339 main ()
68341 _ceill (0); _floorl (0);
68343 return 0;
68345 _ACEOF
68346 if ac_fn_cxx_try_compile "$LINENO"; then :
68347 glibcxx_cv_func__long_double_round_use=yes
68348 else
68349 glibcxx_cv_func__long_double_round_use=no
68351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68352 ac_ext=c
68353 ac_cpp='$CPP $CPPFLAGS'
68354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68361 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68362 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68363 for ac_func in _ceill _floorl
68364 do :
68365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68367 eval as_val=\$$as_ac_var
68368 if test "x$as_val" = x""yes; then :
68369 cat >>confdefs.h <<_ACEOF
68370 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68371 _ACEOF
68374 done
68384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68385 $as_echo_n "checking for isnanl declaration... " >&6; }
68386 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68387 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68388 $as_echo_n "(cached) " >&6
68389 else
68392 ac_ext=cpp
68393 ac_cpp='$CXXCPP $CPPFLAGS'
68394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68399 /* end confdefs.h. */
68400 #include <math.h>
68401 #ifdef HAVE_IEEEFP_H
68402 #include <ieeefp.h>
68403 #endif
68406 main ()
68408 isnanl(0);
68410 return 0;
68412 _ACEOF
68413 if ac_fn_cxx_try_compile "$LINENO"; then :
68414 glibcxx_cv_func_isnanl_use=yes
68415 else
68416 glibcxx_cv_func_isnanl_use=no
68418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68419 ac_ext=c
68420 ac_cpp='$CPP $CPPFLAGS'
68421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68430 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68432 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68433 for ac_func in isnanl
68434 do :
68435 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68436 if test "x$ac_cv_func_isnanl" = x""yes; then :
68437 cat >>confdefs.h <<_ACEOF
68438 #define HAVE_ISNANL 1
68439 _ACEOF
68442 done
68444 else
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68447 $as_echo_n "checking for _isnanl declaration... " >&6; }
68448 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68449 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68450 $as_echo_n "(cached) " >&6
68451 else
68454 ac_ext=cpp
68455 ac_cpp='$CXXCPP $CPPFLAGS'
68456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68461 /* end confdefs.h. */
68462 #include <math.h>
68463 #ifdef HAVE_IEEEFP_H
68464 #include <ieeefp.h>
68465 #endif
68468 main ()
68470 _isnanl(0);
68472 return 0;
68474 _ACEOF
68475 if ac_fn_cxx_try_compile "$LINENO"; then :
68476 glibcxx_cv_func__isnanl_use=yes
68477 else
68478 glibcxx_cv_func__isnanl_use=no
68480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68481 ac_ext=c
68482 ac_cpp='$CPP $CPPFLAGS'
68483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68492 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68494 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68495 for ac_func in _isnanl
68496 do :
68497 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68498 if test "x$ac_cv_func__isnanl" = x""yes; then :
68499 cat >>confdefs.h <<_ACEOF
68500 #define HAVE__ISNANL 1
68501 _ACEOF
68504 done
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68514 $as_echo_n "checking for isinfl declaration... " >&6; }
68515 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68516 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68517 $as_echo_n "(cached) " >&6
68518 else
68521 ac_ext=cpp
68522 ac_cpp='$CXXCPP $CPPFLAGS'
68523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68528 /* end confdefs.h. */
68529 #include <math.h>
68530 #ifdef HAVE_IEEEFP_H
68531 #include <ieeefp.h>
68532 #endif
68535 main ()
68537 isinfl(0);
68539 return 0;
68541 _ACEOF
68542 if ac_fn_cxx_try_compile "$LINENO"; then :
68543 glibcxx_cv_func_isinfl_use=yes
68544 else
68545 glibcxx_cv_func_isinfl_use=no
68547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68548 ac_ext=c
68549 ac_cpp='$CPP $CPPFLAGS'
68550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68559 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68561 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68562 for ac_func in isinfl
68563 do :
68564 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68565 if test "x$ac_cv_func_isinfl" = x""yes; then :
68566 cat >>confdefs.h <<_ACEOF
68567 #define HAVE_ISINFL 1
68568 _ACEOF
68571 done
68573 else
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68576 $as_echo_n "checking for _isinfl declaration... " >&6; }
68577 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68578 if test "${glibcxx_cv_func__isinfl_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>
68592 #ifdef HAVE_IEEEFP_H
68593 #include <ieeefp.h>
68594 #endif
68597 main ()
68599 _isinfl(0);
68601 return 0;
68603 _ACEOF
68604 if ac_fn_cxx_try_compile "$LINENO"; then :
68605 glibcxx_cv_func__isinfl_use=yes
68606 else
68607 glibcxx_cv_func__isinfl_use=no
68609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68610 ac_ext=c
68611 ac_cpp='$CPP $CPPFLAGS'
68612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68621 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68623 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68624 for ac_func in _isinfl
68625 do :
68626 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68627 if test "x$ac_cv_func__isinfl" = x""yes; then :
68628 cat >>confdefs.h <<_ACEOF
68629 #define HAVE__ISINFL 1
68630 _ACEOF
68633 done
68642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68643 $as_echo_n "checking for atan2l declaration... " >&6; }
68644 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68645 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68646 $as_echo_n "(cached) " >&6
68647 else
68650 ac_ext=cpp
68651 ac_cpp='$CXXCPP $CPPFLAGS'
68652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68657 /* end confdefs.h. */
68658 #include <math.h>
68660 main ()
68662 atan2l(0, 0);
68664 return 0;
68666 _ACEOF
68667 if ac_fn_cxx_try_compile "$LINENO"; then :
68668 glibcxx_cv_func_atan2l_use=yes
68669 else
68670 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
68684 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68686 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68687 for ac_func in atan2l
68688 do :
68689 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68690 if test "x$ac_cv_func_atan2l" = x""yes; then :
68691 cat >>confdefs.h <<_ACEOF
68692 #define HAVE_ATAN2L 1
68693 _ACEOF
68696 done
68698 else
68700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68701 $as_echo_n "checking for _atan2l declaration... " >&6; }
68702 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68703 if test "${glibcxx_cv_func__atan2l_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>
68718 main ()
68720 _atan2l(0, 0);
68722 return 0;
68724 _ACEOF
68725 if ac_fn_cxx_try_compile "$LINENO"; then :
68726 glibcxx_cv_func__atan2l_use=yes
68727 else
68728 glibcxx_cv_func__atan2l_use=no
68730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68731 ac_ext=c
68732 ac_cpp='$CPP $CPPFLAGS'
68733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68742 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68744 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68745 for ac_func in _atan2l
68746 do :
68747 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68748 if test "x$ac_cv_func__atan2l" = x""yes; then :
68749 cat >>confdefs.h <<_ACEOF
68750 #define HAVE__ATAN2L 1
68751 _ACEOF
68754 done
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68764 $as_echo_n "checking for expl declaration... " >&6; }
68765 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68766 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68767 $as_echo_n "(cached) " >&6
68768 else
68771 ac_ext=cpp
68772 ac_cpp='$CXXCPP $CPPFLAGS'
68773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68778 /* end confdefs.h. */
68779 #include <math.h>
68780 #ifdef HAVE_IEEEFP_H
68781 #include <ieeefp.h>
68782 #endif
68785 main ()
68787 expl(0);
68789 return 0;
68791 _ACEOF
68792 if ac_fn_cxx_try_compile "$LINENO"; then :
68793 glibcxx_cv_func_expl_use=yes
68794 else
68795 glibcxx_cv_func_expl_use=no
68797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68798 ac_ext=c
68799 ac_cpp='$CPP $CPPFLAGS'
68800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68809 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68811 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68812 for ac_func in expl
68813 do :
68814 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68815 if test "x$ac_cv_func_expl" = x""yes; then :
68816 cat >>confdefs.h <<_ACEOF
68817 #define HAVE_EXPL 1
68818 _ACEOF
68821 done
68823 else
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68826 $as_echo_n "checking for _expl declaration... " >&6; }
68827 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68828 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68829 $as_echo_n "(cached) " >&6
68830 else
68833 ac_ext=cpp
68834 ac_cpp='$CXXCPP $CPPFLAGS'
68835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68840 /* end confdefs.h. */
68841 #include <math.h>
68842 #ifdef HAVE_IEEEFP_H
68843 #include <ieeefp.h>
68844 #endif
68847 main ()
68849 _expl(0);
68851 return 0;
68853 _ACEOF
68854 if ac_fn_cxx_try_compile "$LINENO"; then :
68855 glibcxx_cv_func__expl_use=yes
68856 else
68857 glibcxx_cv_func__expl_use=no
68859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68860 ac_ext=c
68861 ac_cpp='$CPP $CPPFLAGS'
68862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68871 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68873 if test x$glibcxx_cv_func__expl_use = x"yes"; then
68874 for ac_func in _expl
68875 do :
68876 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68877 if test "x$ac_cv_func__expl" = x""yes; then :
68878 cat >>confdefs.h <<_ACEOF
68879 #define HAVE__EXPL 1
68880 _ACEOF
68883 done
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68893 $as_echo_n "checking for fabsl declaration... " >&6; }
68894 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68895 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68896 $as_echo_n "(cached) " >&6
68897 else
68900 ac_ext=cpp
68901 ac_cpp='$CXXCPP $CPPFLAGS'
68902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68907 /* end confdefs.h. */
68908 #include <math.h>
68909 #ifdef HAVE_IEEEFP_H
68910 #include <ieeefp.h>
68911 #endif
68914 main ()
68916 fabsl(0);
68918 return 0;
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922 glibcxx_cv_func_fabsl_use=yes
68923 else
68924 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
68938 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68940 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68941 for ac_func in fabsl
68942 do :
68943 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68944 if test "x$ac_cv_func_fabsl" = x""yes; then :
68945 cat >>confdefs.h <<_ACEOF
68946 #define HAVE_FABSL 1
68947 _ACEOF
68950 done
68952 else
68954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68955 $as_echo_n "checking for _fabsl declaration... " >&6; }
68956 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68957 if test "${glibcxx_cv_func__fabsl_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>
68971 #ifdef HAVE_IEEEFP_H
68972 #include <ieeefp.h>
68973 #endif
68976 main ()
68978 _fabsl(0);
68980 return 0;
68982 _ACEOF
68983 if ac_fn_cxx_try_compile "$LINENO"; then :
68984 glibcxx_cv_func__fabsl_use=yes
68985 else
68986 glibcxx_cv_func__fabsl_use=no
68988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68989 ac_ext=c
68990 ac_cpp='$CPP $CPPFLAGS'
68991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69000 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69002 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69003 for ac_func in _fabsl
69004 do :
69005 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69006 if test "x$ac_cv_func__fabsl" = x""yes; then :
69007 cat >>confdefs.h <<_ACEOF
69008 #define HAVE__FABSL 1
69009 _ACEOF
69012 done
69021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69022 $as_echo_n "checking for fmodl declaration... " >&6; }
69023 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69024 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69025 $as_echo_n "(cached) " >&6
69026 else
69029 ac_ext=cpp
69030 ac_cpp='$CXXCPP $CPPFLAGS'
69031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69036 /* end confdefs.h. */
69037 #include <math.h>
69039 main ()
69041 fmodl(0, 0);
69043 return 0;
69045 _ACEOF
69046 if ac_fn_cxx_try_compile "$LINENO"; then :
69047 glibcxx_cv_func_fmodl_use=yes
69048 else
69049 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
69063 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69065 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69066 for ac_func in fmodl
69067 do :
69068 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69069 if test "x$ac_cv_func_fmodl" = x""yes; then :
69070 cat >>confdefs.h <<_ACEOF
69071 #define HAVE_FMODL 1
69072 _ACEOF
69075 done
69077 else
69079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69080 $as_echo_n "checking for _fmodl declaration... " >&6; }
69081 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69082 if test "${glibcxx_cv_func__fmodl_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>
69097 main ()
69099 _fmodl(0, 0);
69101 return 0;
69103 _ACEOF
69104 if ac_fn_cxx_try_compile "$LINENO"; then :
69105 glibcxx_cv_func__fmodl_use=yes
69106 else
69107 glibcxx_cv_func__fmodl_use=no
69109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69110 ac_ext=c
69111 ac_cpp='$CPP $CPPFLAGS'
69112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69121 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69123 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69124 for ac_func in _fmodl
69125 do :
69126 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69127 if test "x$ac_cv_func__fmodl" = x""yes; then :
69128 cat >>confdefs.h <<_ACEOF
69129 #define HAVE__FMODL 1
69130 _ACEOF
69133 done
69142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69143 $as_echo_n "checking for frexpl declaration... " >&6; }
69144 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69145 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69146 $as_echo_n "(cached) " >&6
69147 else
69150 ac_ext=cpp
69151 ac_cpp='$CXXCPP $CPPFLAGS'
69152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69157 /* end confdefs.h. */
69158 #include <math.h>
69160 main ()
69162 frexpl(0, 0);
69164 return 0;
69166 _ACEOF
69167 if ac_fn_cxx_try_compile "$LINENO"; then :
69168 glibcxx_cv_func_frexpl_use=yes
69169 else
69170 glibcxx_cv_func_frexpl_use=no
69172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69173 ac_ext=c
69174 ac_cpp='$CPP $CPPFLAGS'
69175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69184 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69186 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69187 for ac_func in frexpl
69188 do :
69189 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69190 if test "x$ac_cv_func_frexpl" = x""yes; then :
69191 cat >>confdefs.h <<_ACEOF
69192 #define HAVE_FREXPL 1
69193 _ACEOF
69196 done
69198 else
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69201 $as_echo_n "checking for _frexpl declaration... " >&6; }
69202 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69203 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69204 $as_echo_n "(cached) " >&6
69205 else
69208 ac_ext=cpp
69209 ac_cpp='$CXXCPP $CPPFLAGS'
69210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69215 /* end confdefs.h. */
69216 #include <math.h>
69218 main ()
69220 _frexpl(0, 0);
69222 return 0;
69224 _ACEOF
69225 if ac_fn_cxx_try_compile "$LINENO"; then :
69226 glibcxx_cv_func__frexpl_use=yes
69227 else
69228 glibcxx_cv_func__frexpl_use=no
69230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69231 ac_ext=c
69232 ac_cpp='$CPP $CPPFLAGS'
69233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69242 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69244 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69245 for ac_func in _frexpl
69246 do :
69247 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69248 if test "x$ac_cv_func__frexpl" = x""yes; then :
69249 cat >>confdefs.h <<_ACEOF
69250 #define HAVE__FREXPL 1
69251 _ACEOF
69254 done
69263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69264 $as_echo_n "checking for hypotl declaration... " >&6; }
69265 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69266 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69267 $as_echo_n "(cached) " >&6
69268 else
69271 ac_ext=cpp
69272 ac_cpp='$CXXCPP $CPPFLAGS'
69273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69278 /* end confdefs.h. */
69279 #include <math.h>
69281 main ()
69283 hypotl(0, 0);
69285 return 0;
69287 _ACEOF
69288 if ac_fn_cxx_try_compile "$LINENO"; then :
69289 glibcxx_cv_func_hypotl_use=yes
69290 else
69291 glibcxx_cv_func_hypotl_use=no
69293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69294 ac_ext=c
69295 ac_cpp='$CPP $CPPFLAGS'
69296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69305 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69307 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69308 for ac_func in hypotl
69309 do :
69310 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69311 if test "x$ac_cv_func_hypotl" = x""yes; then :
69312 cat >>confdefs.h <<_ACEOF
69313 #define HAVE_HYPOTL 1
69314 _ACEOF
69317 done
69319 else
69321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69322 $as_echo_n "checking for _hypotl declaration... " >&6; }
69323 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69324 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69325 $as_echo_n "(cached) " >&6
69326 else
69329 ac_ext=cpp
69330 ac_cpp='$CXXCPP $CPPFLAGS'
69331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69336 /* end confdefs.h. */
69337 #include <math.h>
69339 main ()
69341 _hypotl(0, 0);
69343 return 0;
69345 _ACEOF
69346 if ac_fn_cxx_try_compile "$LINENO"; then :
69347 glibcxx_cv_func__hypotl_use=yes
69348 else
69349 glibcxx_cv_func__hypotl_use=no
69351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69352 ac_ext=c
69353 ac_cpp='$CPP $CPPFLAGS'
69354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69363 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69365 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69366 for ac_func in _hypotl
69367 do :
69368 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69369 if test "x$ac_cv_func__hypotl" = x""yes; then :
69370 cat >>confdefs.h <<_ACEOF
69371 #define HAVE__HYPOTL 1
69372 _ACEOF
69375 done
69384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69385 $as_echo_n "checking for ldexpl declaration... " >&6; }
69386 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69387 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69388 $as_echo_n "(cached) " >&6
69389 else
69392 ac_ext=cpp
69393 ac_cpp='$CXXCPP $CPPFLAGS'
69394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69399 /* end confdefs.h. */
69400 #include <math.h>
69402 main ()
69404 ldexpl(0, 0);
69406 return 0;
69408 _ACEOF
69409 if ac_fn_cxx_try_compile "$LINENO"; then :
69410 glibcxx_cv_func_ldexpl_use=yes
69411 else
69412 glibcxx_cv_func_ldexpl_use=no
69414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69415 ac_ext=c
69416 ac_cpp='$CPP $CPPFLAGS'
69417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69426 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69428 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69429 for ac_func in ldexpl
69430 do :
69431 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69432 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69433 cat >>confdefs.h <<_ACEOF
69434 #define HAVE_LDEXPL 1
69435 _ACEOF
69438 done
69440 else
69442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69443 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69444 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69445 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69446 $as_echo_n "(cached) " >&6
69447 else
69450 ac_ext=cpp
69451 ac_cpp='$CXXCPP $CPPFLAGS'
69452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69457 /* end confdefs.h. */
69458 #include <math.h>
69460 main ()
69462 _ldexpl(0, 0);
69464 return 0;
69466 _ACEOF
69467 if ac_fn_cxx_try_compile "$LINENO"; then :
69468 glibcxx_cv_func__ldexpl_use=yes
69469 else
69470 glibcxx_cv_func__ldexpl_use=no
69472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69473 ac_ext=c
69474 ac_cpp='$CPP $CPPFLAGS'
69475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69484 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69486 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69487 for ac_func in _ldexpl
69488 do :
69489 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69490 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69491 cat >>confdefs.h <<_ACEOF
69492 #define HAVE__LDEXPL 1
69493 _ACEOF
69496 done
69505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69506 $as_echo_n "checking for logl declaration... " >&6; }
69507 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69508 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69509 $as_echo_n "(cached) " >&6
69510 else
69513 ac_ext=cpp
69514 ac_cpp='$CXXCPP $CPPFLAGS'
69515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69520 /* end confdefs.h. */
69521 #include <math.h>
69522 #ifdef HAVE_IEEEFP_H
69523 #include <ieeefp.h>
69524 #endif
69527 main ()
69529 logl(0);
69531 return 0;
69533 _ACEOF
69534 if ac_fn_cxx_try_compile "$LINENO"; then :
69535 glibcxx_cv_func_logl_use=yes
69536 else
69537 glibcxx_cv_func_logl_use=no
69539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69540 ac_ext=c
69541 ac_cpp='$CPP $CPPFLAGS'
69542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69551 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69553 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69554 for ac_func in logl
69555 do :
69556 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69557 if test "x$ac_cv_func_logl" = x""yes; then :
69558 cat >>confdefs.h <<_ACEOF
69559 #define HAVE_LOGL 1
69560 _ACEOF
69563 done
69565 else
69567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69568 $as_echo_n "checking for _logl declaration... " >&6; }
69569 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69570 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69571 $as_echo_n "(cached) " >&6
69572 else
69575 ac_ext=cpp
69576 ac_cpp='$CXXCPP $CPPFLAGS'
69577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69582 /* end confdefs.h. */
69583 #include <math.h>
69584 #ifdef HAVE_IEEEFP_H
69585 #include <ieeefp.h>
69586 #endif
69589 main ()
69591 _logl(0);
69593 return 0;
69595 _ACEOF
69596 if ac_fn_cxx_try_compile "$LINENO"; then :
69597 glibcxx_cv_func__logl_use=yes
69598 else
69599 glibcxx_cv_func__logl_use=no
69601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69602 ac_ext=c
69603 ac_cpp='$CPP $CPPFLAGS'
69604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69613 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69615 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69616 for ac_func in _logl
69617 do :
69618 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69619 if test "x$ac_cv_func__logl" = x""yes; then :
69620 cat >>confdefs.h <<_ACEOF
69621 #define HAVE__LOGL 1
69622 _ACEOF
69625 done
69634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69635 $as_echo_n "checking for log10l declaration... " >&6; }
69636 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69637 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69638 $as_echo_n "(cached) " >&6
69639 else
69642 ac_ext=cpp
69643 ac_cpp='$CXXCPP $CPPFLAGS'
69644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69649 /* end confdefs.h. */
69650 #include <math.h>
69651 #ifdef HAVE_IEEEFP_H
69652 #include <ieeefp.h>
69653 #endif
69656 main ()
69658 log10l(0);
69660 return 0;
69662 _ACEOF
69663 if ac_fn_cxx_try_compile "$LINENO"; then :
69664 glibcxx_cv_func_log10l_use=yes
69665 else
69666 glibcxx_cv_func_log10l_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_log10l_use" >&5
69680 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69682 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69683 for ac_func in log10l
69684 do :
69685 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69686 if test "x$ac_cv_func_log10l" = x""yes; then :
69687 cat >>confdefs.h <<_ACEOF
69688 #define HAVE_LOG10L 1
69689 _ACEOF
69692 done
69694 else
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69697 $as_echo_n "checking for _log10l declaration... " >&6; }
69698 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69699 if test "${glibcxx_cv_func__log10l_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>
69713 #ifdef HAVE_IEEEFP_H
69714 #include <ieeefp.h>
69715 #endif
69718 main ()
69720 _log10l(0);
69722 return 0;
69724 _ACEOF
69725 if ac_fn_cxx_try_compile "$LINENO"; then :
69726 glibcxx_cv_func__log10l_use=yes
69727 else
69728 glibcxx_cv_func__log10l_use=no
69730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69731 ac_ext=c
69732 ac_cpp='$CPP $CPPFLAGS'
69733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69742 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69744 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69745 for ac_func in _log10l
69746 do :
69747 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69748 if test "x$ac_cv_func__log10l" = x""yes; then :
69749 cat >>confdefs.h <<_ACEOF
69750 #define HAVE__LOG10L 1
69751 _ACEOF
69754 done
69763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69764 $as_echo_n "checking for modfl declaration... " >&6; }
69765 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69766 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69767 $as_echo_n "(cached) " >&6
69768 else
69771 ac_ext=cpp
69772 ac_cpp='$CXXCPP $CPPFLAGS'
69773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69778 /* end confdefs.h. */
69779 #include <math.h>
69781 main ()
69783 modfl(0, 0);
69785 return 0;
69787 _ACEOF
69788 if ac_fn_cxx_try_compile "$LINENO"; then :
69789 glibcxx_cv_func_modfl_use=yes
69790 else
69791 glibcxx_cv_func_modfl_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_modfl_use" >&5
69805 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69807 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69808 for ac_func in modfl
69809 do :
69810 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69811 if test "x$ac_cv_func_modfl" = x""yes; then :
69812 cat >>confdefs.h <<_ACEOF
69813 #define HAVE_MODFL 1
69814 _ACEOF
69817 done
69819 else
69821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69822 $as_echo_n "checking for _modfl declaration... " >&6; }
69823 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69824 if test "${glibcxx_cv_func__modfl_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>
69839 main ()
69841 _modfl(0, 0);
69843 return 0;
69845 _ACEOF
69846 if ac_fn_cxx_try_compile "$LINENO"; then :
69847 glibcxx_cv_func__modfl_use=yes
69848 else
69849 glibcxx_cv_func__modfl_use=no
69851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69852 ac_ext=c
69853 ac_cpp='$CPP $CPPFLAGS'
69854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69863 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69865 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69866 for ac_func in _modfl
69867 do :
69868 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69869 if test "x$ac_cv_func__modfl" = x""yes; then :
69870 cat >>confdefs.h <<_ACEOF
69871 #define HAVE__MODFL 1
69872 _ACEOF
69875 done
69884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69885 $as_echo_n "checking for powl declaration... " >&6; }
69886 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69887 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69888 $as_echo_n "(cached) " >&6
69889 else
69892 ac_ext=cpp
69893 ac_cpp='$CXXCPP $CPPFLAGS'
69894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69899 /* end confdefs.h. */
69900 #include <math.h>
69902 main ()
69904 powl(0, 0);
69906 return 0;
69908 _ACEOF
69909 if ac_fn_cxx_try_compile "$LINENO"; then :
69910 glibcxx_cv_func_powl_use=yes
69911 else
69912 glibcxx_cv_func_powl_use=no
69914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69915 ac_ext=c
69916 ac_cpp='$CPP $CPPFLAGS'
69917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69926 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69928 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69929 for ac_func in powl
69930 do :
69931 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69932 if test "x$ac_cv_func_powl" = x""yes; then :
69933 cat >>confdefs.h <<_ACEOF
69934 #define HAVE_POWL 1
69935 _ACEOF
69938 done
69940 else
69942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69943 $as_echo_n "checking for _powl declaration... " >&6; }
69944 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69945 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69946 $as_echo_n "(cached) " >&6
69947 else
69950 ac_ext=cpp
69951 ac_cpp='$CXXCPP $CPPFLAGS'
69952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69957 /* end confdefs.h. */
69958 #include <math.h>
69960 main ()
69962 _powl(0, 0);
69964 return 0;
69966 _ACEOF
69967 if ac_fn_cxx_try_compile "$LINENO"; then :
69968 glibcxx_cv_func__powl_use=yes
69969 else
69970 glibcxx_cv_func__powl_use=no
69972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69973 ac_ext=c
69974 ac_cpp='$CPP $CPPFLAGS'
69975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69984 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69986 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69987 for ac_func in _powl
69988 do :
69989 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69990 if test "x$ac_cv_func__powl" = x""yes; then :
69991 cat >>confdefs.h <<_ACEOF
69992 #define HAVE__POWL 1
69993 _ACEOF
69996 done
70005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70006 $as_echo_n "checking for sqrtl declaration... " >&6; }
70007 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70008 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70009 $as_echo_n "(cached) " >&6
70010 else
70013 ac_ext=cpp
70014 ac_cpp='$CXXCPP $CPPFLAGS'
70015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70020 /* end confdefs.h. */
70021 #include <math.h>
70022 #ifdef HAVE_IEEEFP_H
70023 #include <ieeefp.h>
70024 #endif
70027 main ()
70029 sqrtl(0);
70031 return 0;
70033 _ACEOF
70034 if ac_fn_cxx_try_compile "$LINENO"; then :
70035 glibcxx_cv_func_sqrtl_use=yes
70036 else
70037 glibcxx_cv_func_sqrtl_use=no
70039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70040 ac_ext=c
70041 ac_cpp='$CPP $CPPFLAGS'
70042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70051 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70053 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70054 for ac_func in sqrtl
70055 do :
70056 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70057 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70058 cat >>confdefs.h <<_ACEOF
70059 #define HAVE_SQRTL 1
70060 _ACEOF
70063 done
70065 else
70067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70068 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70069 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70070 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70071 $as_echo_n "(cached) " >&6
70072 else
70075 ac_ext=cpp
70076 ac_cpp='$CXXCPP $CPPFLAGS'
70077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70082 /* end confdefs.h. */
70083 #include <math.h>
70084 #ifdef HAVE_IEEEFP_H
70085 #include <ieeefp.h>
70086 #endif
70089 main ()
70091 _sqrtl(0);
70093 return 0;
70095 _ACEOF
70096 if ac_fn_cxx_try_compile "$LINENO"; then :
70097 glibcxx_cv_func__sqrtl_use=yes
70098 else
70099 glibcxx_cv_func__sqrtl_use=no
70101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70102 ac_ext=c
70103 ac_cpp='$CPP $CPPFLAGS'
70104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70113 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70115 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70116 for ac_func in _sqrtl
70117 do :
70118 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70119 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70120 cat >>confdefs.h <<_ACEOF
70121 #define HAVE__SQRTL 1
70122 _ACEOF
70125 done
70134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70135 $as_echo_n "checking for sincosl declaration... " >&6; }
70136 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70137 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70138 $as_echo_n "(cached) " >&6
70139 else
70142 ac_ext=cpp
70143 ac_cpp='$CXXCPP $CPPFLAGS'
70144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70149 /* end confdefs.h. */
70150 #include <math.h>
70152 main ()
70154 sincosl(0, 0, 0);
70156 return 0;
70158 _ACEOF
70159 if ac_fn_cxx_try_compile "$LINENO"; then :
70160 glibcxx_cv_func_sincosl_use=yes
70161 else
70162 glibcxx_cv_func_sincosl_use=no
70164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70165 ac_ext=c
70166 ac_cpp='$CPP $CPPFLAGS'
70167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70176 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70178 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70179 for ac_func in sincosl
70180 do :
70181 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70182 if test "x$ac_cv_func_sincosl" = x""yes; then :
70183 cat >>confdefs.h <<_ACEOF
70184 #define HAVE_SINCOSL 1
70185 _ACEOF
70188 done
70190 else
70192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70193 $as_echo_n "checking for _sincosl declaration... " >&6; }
70194 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70195 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70196 $as_echo_n "(cached) " >&6
70197 else
70200 ac_ext=cpp
70201 ac_cpp='$CXXCPP $CPPFLAGS'
70202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70207 /* end confdefs.h. */
70208 #include <math.h>
70210 main ()
70212 _sincosl(0, 0, 0);
70214 return 0;
70216 _ACEOF
70217 if ac_fn_cxx_try_compile "$LINENO"; then :
70218 glibcxx_cv_func__sincosl_use=yes
70219 else
70220 glibcxx_cv_func__sincosl_use=no
70222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70223 ac_ext=c
70224 ac_cpp='$CPP $CPPFLAGS'
70225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70234 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70236 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70237 for ac_func in _sincosl
70238 do :
70239 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70240 if test "x$ac_cv_func__sincosl" = x""yes; then :
70241 cat >>confdefs.h <<_ACEOF
70242 #define HAVE__SINCOSL 1
70243 _ACEOF
70246 done
70255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70256 $as_echo_n "checking for finitel declaration... " >&6; }
70257 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70258 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70259 $as_echo_n "(cached) " >&6
70260 else
70263 ac_ext=cpp
70264 ac_cpp='$CXXCPP $CPPFLAGS'
70265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70270 /* end confdefs.h. */
70271 #include <math.h>
70272 #ifdef HAVE_IEEEFP_H
70273 #include <ieeefp.h>
70274 #endif
70277 main ()
70279 finitel(0);
70281 return 0;
70283 _ACEOF
70284 if ac_fn_cxx_try_compile "$LINENO"; then :
70285 glibcxx_cv_func_finitel_use=yes
70286 else
70287 glibcxx_cv_func_finitel_use=no
70289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70290 ac_ext=c
70291 ac_cpp='$CPP $CPPFLAGS'
70292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70301 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70303 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70304 for ac_func in finitel
70305 do :
70306 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70307 if test "x$ac_cv_func_finitel" = x""yes; then :
70308 cat >>confdefs.h <<_ACEOF
70309 #define HAVE_FINITEL 1
70310 _ACEOF
70313 done
70315 else
70317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70318 $as_echo_n "checking for _finitel declaration... " >&6; }
70319 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70320 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70321 $as_echo_n "(cached) " >&6
70322 else
70325 ac_ext=cpp
70326 ac_cpp='$CXXCPP $CPPFLAGS'
70327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70332 /* end confdefs.h. */
70333 #include <math.h>
70334 #ifdef HAVE_IEEEFP_H
70335 #include <ieeefp.h>
70336 #endif
70339 main ()
70341 _finitel(0);
70343 return 0;
70345 _ACEOF
70346 if ac_fn_cxx_try_compile "$LINENO"; then :
70347 glibcxx_cv_func__finitel_use=yes
70348 else
70349 glibcxx_cv_func__finitel_use=no
70351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70352 ac_ext=c
70353 ac_cpp='$CPP $CPPFLAGS'
70354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70363 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70365 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70366 for ac_func in _finitel
70367 do :
70368 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70369 if test "x$ac_cv_func__finitel" = x""yes; then :
70370 cat >>confdefs.h <<_ACEOF
70371 #define HAVE__FINITEL 1
70372 _ACEOF
70375 done
70383 LIBS="$ac_save_LIBS"
70384 CXXFLAGS="$ac_save_CXXFLAGS"
70387 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70388 ac_save_CXXFLAGS="$CXXFLAGS"
70389 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70393 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70394 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70395 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70396 $as_echo_n "(cached) " >&6
70397 else
70400 ac_ext=cpp
70401 ac_cpp='$CXXCPP $CPPFLAGS'
70402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70407 /* end confdefs.h. */
70408 #include <stdlib.h>
70410 main ()
70412 at_quick_exit(0);
70414 return 0;
70416 _ACEOF
70417 if ac_fn_cxx_try_compile "$LINENO"; then :
70418 glibcxx_cv_func_at_quick_exit_use=yes
70419 else
70420 glibcxx_cv_func_at_quick_exit_use=no
70422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70423 ac_ext=c
70424 ac_cpp='$CPP $CPPFLAGS'
70425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70434 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70435 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70436 for ac_func in at_quick_exit
70437 do :
70438 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70439 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70440 cat >>confdefs.h <<_ACEOF
70441 #define HAVE_AT_QUICK_EXIT 1
70442 _ACEOF
70445 done
70450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70451 $as_echo_n "checking for quick_exit declaration... " >&6; }
70452 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70453 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70454 $as_echo_n "(cached) " >&6
70455 else
70458 ac_ext=cpp
70459 ac_cpp='$CXXCPP $CPPFLAGS'
70460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70465 /* end confdefs.h. */
70466 #include <stdlib.h>
70468 main ()
70470 quick_exit(0);
70472 return 0;
70474 _ACEOF
70475 if ac_fn_cxx_try_compile "$LINENO"; then :
70476 glibcxx_cv_func_quick_exit_use=yes
70477 else
70478 glibcxx_cv_func_quick_exit_use=no
70480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70481 ac_ext=c
70482 ac_cpp='$CPP $CPPFLAGS'
70483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70492 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70493 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70494 for ac_func in quick_exit
70495 do :
70496 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70497 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70498 cat >>confdefs.h <<_ACEOF
70499 #define HAVE_QUICK_EXIT 1
70500 _ACEOF
70503 done
70508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70509 $as_echo_n "checking for strtold declaration... " >&6; }
70510 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70511 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70512 $as_echo_n "(cached) " >&6
70513 else
70516 ac_ext=cpp
70517 ac_cpp='$CXXCPP $CPPFLAGS'
70518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70523 /* end confdefs.h. */
70524 #include <stdlib.h>
70526 main ()
70528 strtold(0, 0);
70530 return 0;
70532 _ACEOF
70533 if ac_fn_cxx_try_compile "$LINENO"; then :
70534 glibcxx_cv_func_strtold_use=yes
70535 else
70536 glibcxx_cv_func_strtold_use=no
70538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70539 ac_ext=c
70540 ac_cpp='$CPP $CPPFLAGS'
70541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70550 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70551 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70552 for ac_func in strtold
70553 do :
70554 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70555 if test "x$ac_cv_func_strtold" = x""yes; then :
70556 cat >>confdefs.h <<_ACEOF
70557 #define HAVE_STRTOLD 1
70558 _ACEOF
70561 done
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70569 $as_echo_n "checking for strtof declaration... " >&6; }
70570 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70571 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70572 $as_echo_n "(cached) " >&6
70573 else
70576 ac_ext=cpp
70577 ac_cpp='$CXXCPP $CPPFLAGS'
70578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70583 /* end confdefs.h. */
70584 #include <stdlib.h>
70586 main ()
70588 strtof(0, 0);
70590 return 0;
70592 _ACEOF
70593 if ac_fn_cxx_try_compile "$LINENO"; then :
70594 glibcxx_cv_func_strtof_use=yes
70595 else
70596 glibcxx_cv_func_strtof_use=no
70598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70599 ac_ext=c
70600 ac_cpp='$CPP $CPPFLAGS'
70601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70610 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70611 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70612 for ac_func in strtof
70613 do :
70614 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70615 if test "x$ac_cv_func_strtof" = x""yes; then :
70616 cat >>confdefs.h <<_ACEOF
70617 #define HAVE_STRTOF 1
70618 _ACEOF
70621 done
70628 CXXFLAGS="$ac_save_CXXFLAGS"
70631 *-vxworks)
70632 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70634 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70636 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70638 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70640 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70642 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70644 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70646 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70648 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70650 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70652 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70654 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70656 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70658 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70660 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70662 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70664 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70666 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70668 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70670 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70674 as_fn_error "No support for this host/target combination." "$LINENO" 5
70676 esac
70680 # At some point, we should differentiate between architectures
70681 # like x86, which have long double versions, and alpha/powerpc/etc.,
70682 # which don't. For the time being, punt.
70683 if test x"long_double_math_on_this_cpu" = x"yes"; then
70684 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70686 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70688 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70690 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70692 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70694 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70696 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70698 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70700 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70702 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70704 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70706 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70708 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70710 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70712 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70714 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70716 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70718 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70720 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70722 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70724 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70726 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70728 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70733 # Check for _Unwind_GetIPInfo.
70736 # Check whether --with-system-libunwind was given.
70737 if test "${with_system_libunwind+set}" = set; then :
70738 withval=$with_system_libunwind;
70741 # If system-libunwind was not specifically set, pick a default setting.
70742 if test x$with_system_libunwind = x; then
70743 case ${target} in
70744 ia64-*-hpux*) with_system_libunwind=yes ;;
70745 *) with_system_libunwind=no ;;
70746 esac
70748 # Based on system-libunwind and target, do we have ipinfo?
70749 if test x$with_system_libunwind = xyes; then
70750 case ${target} in
70751 ia64-*-*) have_unwind_getipinfo=no ;;
70752 *) have_unwind_getipinfo=yes ;;
70753 esac
70754 else
70755 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70757 case ${target} in
70758 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70759 *) have_unwind_getipinfo=yes ;;
70760 esac
70764 if test x$have_unwind_getipinfo = xyes; then
70766 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70771 # Check whether --enable-linux-futex was given.
70772 if test "${enable_linux_futex+set}" = set; then :
70773 enableval=$enable_linux_futex;
70774 case "$enableval" in
70775 yes|no|default) ;;
70776 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70777 esac
70779 else
70780 enable_linux_futex=default
70784 case "$target" in
70785 *-linux*)
70786 case "$enable_linux_futex" in
70787 default)
70788 # If headers don't have gettid/futex syscalls definition, then
70789 # default to no, otherwise there will be compile time failures.
70790 # Otherwise, default to yes. If we don't detect we are
70791 # compiled/linked against NPTL and not cross-compiling, check
70792 # if programs are run by default against NPTL and if not, issue
70793 # a warning.
70794 enable_linux_futex=no
70795 if test x$gcc_no_link = xyes; then
70796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70799 /* end confdefs.h. */
70800 #include <sys/syscall.h>
70801 int lk;
70803 main ()
70805 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70807 return 0;
70809 _ACEOF
70810 if ac_fn_c_try_link "$LINENO"; then :
70811 save_LIBS="$LIBS"
70812 LIBS="-lpthread $LIBS"
70813 if test x$gcc_no_link = xyes; then
70814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70817 /* end confdefs.h. */
70818 #ifndef _GNU_SOURCE
70819 #define _GNU_SOURCE 1
70820 #endif
70821 #include <pthread.h>
70822 pthread_t th; void *status;
70824 main ()
70826 pthread_tryjoin_np (th, &status);
70828 return 0;
70830 _ACEOF
70831 if ac_fn_c_try_link "$LINENO"; then :
70832 enable_linux_futex=yes
70833 else
70834 if test x$cross_compiling = xno; then
70835 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70836 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70838 If so, please configure with --disable-linux-futex" >&5
70839 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70840 If so, please configure with --disable-linux-futex" >&2;}
70843 enable_linux_futex=yes
70845 rm -f core conftest.err conftest.$ac_objext \
70846 conftest$ac_exeext conftest.$ac_ext
70847 LIBS="$save_LIBS"
70849 rm -f core conftest.err conftest.$ac_objext \
70850 conftest$ac_exeext conftest.$ac_ext
70852 yes)
70853 if test x$gcc_no_link = xyes; then
70854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70857 /* end confdefs.h. */
70858 #include <sys/syscall.h>
70859 int lk;
70861 main ()
70863 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70865 return 0;
70867 _ACEOF
70868 if ac_fn_c_try_link "$LINENO"; then :
70870 else
70871 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70873 rm -f core conftest.err conftest.$ac_objext \
70874 conftest$ac_exeext conftest.$ac_ext
70876 esac
70879 enable_linux_futex=no
70881 esac
70882 if test x$enable_linux_futex = xyes; then
70884 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70891 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
70893 acx_cv_header_stdint=stddef.h
70894 acx_cv_header_stdint_kind="(already complete)"
70895 for i in stdint.h $inttype_headers; do
70896 unset ac_cv_type_uintptr_t
70897 unset ac_cv_type_uintmax_t
70898 unset ac_cv_type_int_least32_t
70899 unset ac_cv_type_int_fast32_t
70900 unset ac_cv_type_uint64_t
70901 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70902 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70903 #include <$i>
70905 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70906 acx_cv_header_stdint=$i
70907 else
70908 continue
70911 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70912 #include <$i>
70914 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70916 else
70917 acx_cv_header_stdint_kind="(mostly complete)"
70920 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70921 #include <$i>
70923 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70925 else
70926 acx_cv_header_stdint_kind="(mostly complete)"
70929 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70930 #include <$i>
70932 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70934 else
70935 acx_cv_header_stdint_kind="(mostly complete)"
70938 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70939 #include <$i>
70941 if test "x$ac_cv_type_uint64_t" = x""yes; then :
70943 else
70944 acx_cv_header_stdint_kind="(lacks uint64_t)"
70947 break
70948 done
70949 if test "$acx_cv_header_stdint" = stddef.h; then
70950 acx_cv_header_stdint_kind="(lacks uintmax_t)"
70951 for i in stdint.h $inttype_headers; do
70952 unset ac_cv_type_uintptr_t
70953 unset ac_cv_type_uint32_t
70954 unset ac_cv_type_uint64_t
70955 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
70956 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
70957 #include <$i>
70959 if test "x$ac_cv_type_uint32_t" = x""yes; then :
70960 acx_cv_header_stdint=$i
70961 else
70962 continue
70965 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70966 #include <$i>
70968 if test "x$ac_cv_type_uint64_t" = x""yes; then :
70972 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70973 #include <$i>
70975 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70979 break
70980 done
70982 if test "$acx_cv_header_stdint" = stddef.h; then
70983 acx_cv_header_stdint_kind="(u_intXX_t style)"
70984 for i in sys/types.h $inttype_headers; do
70985 unset ac_cv_type_u_int32_t
70986 unset ac_cv_type_u_int64_t
70987 $as_echo_n "looking for u_intXX_t types in $i, " >&6
70988 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
70989 #include <$i>
70991 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
70992 acx_cv_header_stdint=$i
70993 else
70994 continue
70997 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
70998 #include <$i>
71000 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71004 break
71005 done
71007 if test "$acx_cv_header_stdint" = stddef.h; then
71008 acx_cv_header_stdint_kind="(using manual detection)"
71011 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71012 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71013 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71014 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71015 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71017 # ----------------- Summarize what we found so far
71019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71020 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71022 case `$as_basename -- include/gstdint.h ||
71023 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71024 Xinclude/gstdint.h : 'X\(//\)$' \| \
71025 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71026 $as_echo X/include/gstdint.h |
71027 sed '/^.*\/\([^/][^/]*\)\/*$/{
71028 s//\1/
71031 /^X\/\(\/\/\)$/{
71032 s//\1/
71035 /^X\/\(\/\).*/{
71036 s//\1/
71039 s/.*/./; q'` in
71040 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71041 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71042 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71043 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71044 *) ;;
71045 esac
71047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71048 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71050 # ----------------- done included file, check C basic types --------
71052 # Lacking an uintptr_t? Test size of void *
71053 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71054 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71057 # This bug is HP SR number 8606223364.
71058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71059 $as_echo_n "checking size of void *... " >&6; }
71060 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71061 $as_echo_n "(cached) " >&6
71062 else
71063 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71065 else
71066 if test "$ac_cv_type_void_p" = yes; then
71067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71069 { as_fn_set_status 77
71070 as_fn_error "cannot compute sizeof (void *)
71071 See \`config.log' for more details." "$LINENO" 5; }; }
71072 else
71073 ac_cv_sizeof_void_p=0
71078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71079 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71083 cat >>confdefs.h <<_ACEOF
71084 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71085 _ACEOF
71088 esac
71090 # Lacking an uint64_t? Test size of long
71091 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71092 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71093 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71094 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71095 # This bug is HP SR number 8606223364.
71096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71097 $as_echo_n "checking size of long... " >&6; }
71098 if test "${ac_cv_sizeof_long+set}" = set; then :
71099 $as_echo_n "(cached) " >&6
71100 else
71101 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71103 else
71104 if test "$ac_cv_type_long" = yes; then
71105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71107 { as_fn_set_status 77
71108 as_fn_error "cannot compute sizeof (long)
71109 See \`config.log' for more details." "$LINENO" 5; }; }
71110 else
71111 ac_cv_sizeof_long=0
71116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71117 $as_echo "$ac_cv_sizeof_long" >&6; }
71121 cat >>confdefs.h <<_ACEOF
71122 #define SIZEOF_LONG $ac_cv_sizeof_long
71123 _ACEOF
71126 esac
71128 if test $acx_cv_header_stdint = stddef.h; then
71129 # Lacking a good header? Test size of everything and deduce all types.
71130 # The cast to long int works around a bug in the HP C Compiler
71131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71133 # This bug is HP SR number 8606223364.
71134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71135 $as_echo_n "checking size of int... " >&6; }
71136 if test "${ac_cv_sizeof_int+set}" = set; then :
71137 $as_echo_n "(cached) " >&6
71138 else
71139 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71141 else
71142 if test "$ac_cv_type_int" = yes; then
71143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71145 { as_fn_set_status 77
71146 as_fn_error "cannot compute sizeof (int)
71147 See \`config.log' for more details." "$LINENO" 5; }; }
71148 else
71149 ac_cv_sizeof_int=0
71154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71155 $as_echo "$ac_cv_sizeof_int" >&6; }
71159 cat >>confdefs.h <<_ACEOF
71160 #define SIZEOF_INT $ac_cv_sizeof_int
71161 _ACEOF
71164 # The cast to long int works around a bug in the HP C Compiler
71165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71167 # This bug is HP SR number 8606223364.
71168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71169 $as_echo_n "checking size of short... " >&6; }
71170 if test "${ac_cv_sizeof_short+set}" = set; then :
71171 $as_echo_n "(cached) " >&6
71172 else
71173 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71175 else
71176 if test "$ac_cv_type_short" = yes; then
71177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71179 { as_fn_set_status 77
71180 as_fn_error "cannot compute sizeof (short)
71181 See \`config.log' for more details." "$LINENO" 5; }; }
71182 else
71183 ac_cv_sizeof_short=0
71188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71189 $as_echo "$ac_cv_sizeof_short" >&6; }
71193 cat >>confdefs.h <<_ACEOF
71194 #define SIZEOF_SHORT $ac_cv_sizeof_short
71195 _ACEOF
71198 # The cast to long int works around a bug in the HP C Compiler
71199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71201 # This bug is HP SR number 8606223364.
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71203 $as_echo_n "checking size of char... " >&6; }
71204 if test "${ac_cv_sizeof_char+set}" = set; then :
71205 $as_echo_n "(cached) " >&6
71206 else
71207 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71209 else
71210 if test "$ac_cv_type_char" = yes; then
71211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71213 { as_fn_set_status 77
71214 as_fn_error "cannot compute sizeof (char)
71215 See \`config.log' for more details." "$LINENO" 5; }; }
71216 else
71217 ac_cv_sizeof_char=0
71222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71223 $as_echo "$ac_cv_sizeof_char" >&6; }
71227 cat >>confdefs.h <<_ACEOF
71228 #define SIZEOF_CHAR $ac_cv_sizeof_char
71229 _ACEOF
71233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71234 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71235 case "$ac_cv_sizeof_char" in
71236 1) acx_cv_type_int8_t=char ;;
71237 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71238 esac
71239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71240 $as_echo "$acx_cv_type_int8_t" >&6; }
71242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71243 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71244 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71245 2:*) acx_cv_type_int16_t=int ;;
71246 *:2) acx_cv_type_int16_t=short ;;
71247 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71248 esac
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71250 $as_echo "$acx_cv_type_int16_t" >&6; }
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71253 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71254 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71255 4:*) acx_cv_type_int32_t=int ;;
71256 *:4) acx_cv_type_int32_t=long ;;
71257 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71258 esac
71259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71260 $as_echo "$acx_cv_type_int32_t" >&6; }
71263 # These tests are here to make the output prettier
71265 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71266 case "$ac_cv_sizeof_long" in
71267 8) acx_cv_type_int64_t=long ;;
71268 esac
71269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71270 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71272 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71275 # Now we can use the above types
71277 if test "$ac_cv_type_uintptr_t" != yes; then
71278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71279 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71280 case $ac_cv_sizeof_void_p in
71281 2) acx_cv_type_intptr_t=int16_t ;;
71282 4) acx_cv_type_intptr_t=int32_t ;;
71283 8) acx_cv_type_intptr_t=int64_t ;;
71284 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71285 esac
71286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71287 $as_echo "$acx_cv_type_intptr_t" >&6; }
71290 # ----------------- done all checks, emit header -------------
71291 ac_config_commands="$ac_config_commands include/gstdint.h"
71297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71298 $as_echo_n "checking for GNU c++filt... " >&6; }
71299 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71300 $as_echo_n "(cached) " >&6
71301 else
71302 if test -z "$CXXFILT"; then
71303 ac_path_CXXFILT_found=false
71304 # Loop through the user's path and test for each of PROGNAME-LIST
71305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71306 for as_dir in $PATH
71308 IFS=$as_save_IFS
71309 test -z "$as_dir" && as_dir=.
71310 for ac_prog in c++filt gc++filt; do
71311 for ac_exec_ext in '' $ac_executable_extensions; do
71312 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71313 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71314 # Check for GNU $ac_path_CXXFILT
71315 case `"$ac_path_CXXFILT" --version 2>&1` in
71316 *GNU*)
71317 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71318 esac
71320 $ac_path_CXXFILT_found && break 3
71321 done
71322 done
71323 done
71324 IFS=$as_save_IFS
71325 if test -z "$ac_cv_path_CXXFILT"; then
71328 else
71329 ac_cv_path_CXXFILT=$CXXFILT
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71334 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71335 CXXFILT=$ac_cv_path_CXXFILT
71339 # Check whether --enable-symvers was given.
71340 if test "${enable_symvers+set}" = set; then :
71341 enableval=$enable_symvers;
71342 case "$enableval" in
71343 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71344 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71345 esac
71347 else
71348 enable_symvers=yes
71353 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71354 # don't know enough about $LD to do tricks...
71356 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71357 # with extern "C++" in version scripts.
71360 # Turn a 'yes' into a suitable default.
71361 if test x$enable_symvers = xyes ; then
71362 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71363 enable_symvers=no
71364 else
71365 if test $with_gnu_ld = yes ; then
71366 case ${target_os} in
71367 hpux*)
71368 enable_symvers=no ;;
71370 enable_symvers=gnu ;;
71371 esac
71372 else
71373 case ${target_os} in
71374 darwin*)
71375 enable_symvers=darwin ;;
71376 # Sun symbol versioning exists since Solaris 2.5.
71377 solaris2.[5-9]* | solaris2.1[0-9]*)
71378 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71379 # version scripts, so disable symbol versioning if none can be
71380 # found.
71381 if test -z "$ac_cv_path_CXXFILT"; then
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71383 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71385 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71387 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71388 enable_symvers=no
71389 else
71390 enable_symvers=sun
71394 enable_symvers=no ;;
71395 esac
71400 # Check to see if 'darwin' or 'darwin-export' can win.
71401 if test x$enable_symvers = xdarwin-export ; then
71402 enable_symvers=darwin
71405 # Check if 'sun' was requested on non-Solaris 2 platforms.
71406 if test x$enable_symvers = xsun ; then
71407 case ${target_os} in
71408 solaris2*)
71409 # All fine.
71412 # Unlikely to work.
71413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71414 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71416 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71418 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71419 enable_symvers=no
71421 esac
71424 # Check to see if 'gnu' can win.
71425 if test $enable_symvers = gnu ||
71426 test $enable_symvers = gnu-versioned-namespace ||
71427 test $enable_symvers = sun; then
71428 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71430 $as_echo_n "checking for shared libgcc... " >&6; }
71431 ac_save_CFLAGS="$CFLAGS"
71432 CFLAGS=' -lgcc_s'
71433 if test x$gcc_no_link = xyes; then
71434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71437 /* end confdefs.h. */
71440 main ()
71442 return 0;
71444 return 0;
71446 _ACEOF
71447 if ac_fn_c_try_link "$LINENO"; then :
71448 glibcxx_shared_libgcc=yes
71449 else
71450 glibcxx_shared_libgcc=no
71452 rm -f core conftest.err conftest.$ac_objext \
71453 conftest$ac_exeext conftest.$ac_ext
71454 CFLAGS="$ac_save_CFLAGS"
71455 if test $glibcxx_shared_libgcc = no; then
71456 cat > conftest.c <<EOF
71457 int main (void) { return 0; }
71459 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71460 -shared -shared-libgcc -o conftest.so \
71461 conftest.c -v 2>&1 >/dev/null \
71462 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71463 rm -f conftest.c conftest.so
71464 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71465 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71466 if test x$gcc_no_link = xyes; then
71467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71470 /* end confdefs.h. */
71473 main ()
71475 return 0;
71477 return 0;
71479 _ACEOF
71480 if ac_fn_c_try_link "$LINENO"; then :
71481 glibcxx_shared_libgcc=yes
71483 rm -f core conftest.err conftest.$ac_objext \
71484 conftest$ac_exeext conftest.$ac_ext
71485 CFLAGS="$ac_save_CFLAGS"
71488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71489 $as_echo "$glibcxx_shared_libgcc" >&6; }
71491 # For GNU ld, we need at least this version. The format is described in
71492 # GLIBCXX_CHECK_LINKER_FEATURES above.
71493 glibcxx_min_gnu_ld_version=21400
71495 # If no shared libgcc, can't win.
71496 if test $glibcxx_shared_libgcc != yes; then
71497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71498 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71500 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71502 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71503 enable_symvers=no
71504 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71505 : All interesting versions of Sun ld support sun style symbol versioning.
71506 elif test $with_gnu_ld != yes ; then
71507 # just fail for now
71508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71509 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71511 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71513 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71514 enable_symvers=no
71515 elif test $glibcxx_ld_is_gold = yes ; then
71516 : All versions of gold support symbol versioning.
71517 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71518 # The right tools, the right setup, but too old. Fallbacks?
71519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71520 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71522 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71524 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71526 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71528 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71529 enable_symvers=no
71533 # For libtool versioning info, format is CURRENT:REVISION:AGE
71534 libtool_VERSION=6:19:0
71536 # Everything parsed; figure out what files and settings to use.
71537 case $enable_symvers in
71539 SYMVER_FILE=config/abi/pre/none.ver
71541 gnu)
71542 SYMVER_FILE=config/abi/pre/gnu.ver
71544 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71547 gnu-versioned-namespace)
71548 libtool_VERSION=7:0:0
71549 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71551 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71554 darwin)
71555 SYMVER_FILE=config/abi/pre/gnu.ver
71557 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71560 sun)
71561 SYMVER_FILE=config/abi/pre/gnu.ver
71563 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71566 esac
71568 if test x$enable_symvers != xno ; then
71570 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71575 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71576 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71577 $as_echo_n "(cached) " >&6
71578 else
71580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71581 /* end confdefs.h. */
71582 void foo (void); __asm (".symver foo, bar@SYMVER");
71584 main ()
71588 return 0;
71590 _ACEOF
71591 if ac_fn_c_try_compile "$LINENO"; then :
71592 glibcxx_cv_have_as_symver_directive=yes
71593 else
71594 glibcxx_cv_have_as_symver_directive=no
71596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71599 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71600 if test $glibcxx_cv_have_as_symver_directive = yes; then
71602 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71614 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71616 if test $enable_symvers != no ; then
71617 case ${target_os} in
71618 # The Solaris 2 runtime linker doesn't support the GNU extension of
71619 # binding the same symbol to different versions
71620 solaris2*)
71622 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71625 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71628 esac
71631 # Now, set up compatibility support, if any.
71632 # In addition, need this to deal with std::size_t mangling in
71633 # src/compatibility.cc. In a perfect world, could use
71634 # typeid(std::size_t).name()[0] to do direct substitution.
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71636 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71637 ac_save_CFLAGS="$CFLAGS"
71638 CFLAGS="-Werror"
71639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71640 /* end confdefs.h. */
71643 main ()
71645 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71647 return 0;
71649 _ACEOF
71650 if ac_fn_c_try_compile "$LINENO"; then :
71651 glibcxx_size_t_is_i=yes
71652 else
71653 glibcxx_size_t_is_i=no
71655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71656 CFLAGS=$ac_save_CFLAGS
71657 if test "$glibcxx_size_t_is_i" = yes; then
71659 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71663 $as_echo "$glibcxx_size_t_is_i" >&6; }
71665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71666 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71667 ac_save_CFLAGS="$CFLAGS"
71668 CFLAGS="-Werror"
71669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71670 /* end confdefs.h. */
71673 main ()
71675 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71677 return 0;
71679 _ACEOF
71680 if ac_fn_c_try_compile "$LINENO"; then :
71681 glibcxx_ptrdiff_t_is_i=yes
71682 else
71683 glibcxx_ptrdiff_t_is_i=no
71685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71686 CFLAGS=$ac_save_CFLAGS
71687 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71689 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71693 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71698 # Check whether --enable-libstdcxx-visibility was given.
71699 if test "${enable_libstdcxx_visibility+set}" = set; then :
71700 enableval=$enable_libstdcxx_visibility;
71701 case "$enableval" in
71702 yes|no) ;;
71703 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71704 esac
71706 else
71707 enable_libstdcxx_visibility=yes
71712 if test x$enable_libstdcxx_visibility = xyes ; then
71713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71714 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71715 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71716 $as_echo_n "(cached) " >&6
71717 else
71719 save_CFLAGS="$CFLAGS"
71720 CFLAGS="$CFLAGS -Werror"
71721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71722 /* end confdefs.h. */
71723 void __attribute__((visibility("hidden"))) foo(void) { }
71725 main ()
71729 return 0;
71731 _ACEOF
71732 if ac_fn_c_try_compile "$LINENO"; then :
71733 glibcxx_cv_have_attribute_visibility=yes
71734 else
71735 glibcxx_cv_have_attribute_visibility=no
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 CFLAGS="$save_CFLAGS"
71740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71741 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71742 if test $glibcxx_cv_have_attribute_visibility = no; then
71743 enable_libstdcxx_visibility=no
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71749 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71752 ac_ldbl_compat=no
71753 case "$target" in
71754 powerpc*-*-linux* | \
71755 sparc*-*-linux* | \
71756 s390*-*-linux* | \
71757 alpha*-*-linux*)
71758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71759 /* end confdefs.h. */
71762 main ()
71765 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71766 #error no need for long double compatibility
71767 #endif
71770 return 0;
71772 _ACEOF
71773 if ac_fn_c_try_compile "$LINENO"; then :
71774 ac_ldbl_compat=yes
71775 else
71776 ac_ldbl_compat=no
71778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71779 if test "$ac_ldbl_compat" = yes; then
71781 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71783 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71785 esac
71788 # Check if assembler supports disabling hardware capability support.
71790 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71792 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71793 # with a different meaning.
71794 case ${target_os} in
71795 solaris2*)
71796 ac_save_CFLAGS="$CFLAGS"
71797 CFLAGS="$CFLAGS -Wa,-nH"
71799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71800 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71802 /* end confdefs.h. */
71805 main ()
71807 return 0;
71809 return 0;
71811 _ACEOF
71812 if ac_fn_c_try_compile "$LINENO"; then :
71813 ac_hwcap_flags=yes
71814 else
71815 ac_hwcap_flags=no
71817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71818 if test "$ac_hwcap_flags" = "yes"; then
71819 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71822 $as_echo "$ac_hwcap_flags" >&6; }
71824 CFLAGS="$ac_save_CFLAGS"
71826 esac
71831 # Check if assembler supports rdrand opcode.
71833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71834 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71835 if test "${ac_cv_x86_rdrand+set}" = set; then :
71836 $as_echo_n "(cached) " >&6
71837 else
71839 ac_cv_x86_rdrand=no
71840 case "$target" in
71841 i?86-*-* | \
71842 x86_64-*-*)
71843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71844 /* end confdefs.h. */
71847 main ()
71849 asm("rdrand %eax");
71851 return 0;
71853 _ACEOF
71854 if ac_fn_c_try_compile "$LINENO"; then :
71855 ac_cv_x86_rdrand=yes
71856 else
71857 ac_cv_x86_rdrand=no
71859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71860 esac
71864 if test $ac_cv_x86_rdrand = yes; then
71866 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71870 $as_echo "$ac_cv_x86_rdrand" >&6; }
71873 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71875 if $GLIBCXX_IS_NATIVE ; then
71876 # Do checks for resource limit functions.
71878 setrlimit_have_headers=yes
71879 for ac_header in unistd.h sys/time.h sys/resource.h
71880 do :
71881 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71882 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71883 eval as_val=\$$as_ac_Header
71884 if test "x$as_val" = x""yes; then :
71885 cat >>confdefs.h <<_ACEOF
71886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71887 _ACEOF
71889 else
71890 setrlimit_have_headers=no
71893 done
71895 # If don't have the headers, then we can't run the tests now, and we
71896 # won't be seeing any of these during testsuite compilation.
71897 if test $setrlimit_have_headers = yes; then
71898 # Can't do these in a loop, else the resulting syntax is wrong.
71900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71901 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71903 /* end confdefs.h. */
71904 #include <unistd.h>
71905 #include <sys/time.h>
71906 #include <sys/resource.h>
71909 main ()
71911 int f = RLIMIT_DATA ;
71913 return 0;
71915 _ACEOF
71916 if ac_fn_c_try_compile "$LINENO"; then :
71917 glibcxx_mresult=1
71918 else
71919 glibcxx_mresult=0
71921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71923 cat >>confdefs.h <<_ACEOF
71924 #define HAVE_LIMIT_DATA $glibcxx_mresult
71925 _ACEOF
71927 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71929 $as_echo "$res" >&6; }
71932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71933 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71935 /* end confdefs.h. */
71936 #include <unistd.h>
71937 #include <sys/time.h>
71938 #include <sys/resource.h>
71941 main ()
71943 int f = RLIMIT_RSS ;
71945 return 0;
71947 _ACEOF
71948 if ac_fn_c_try_compile "$LINENO"; then :
71949 glibcxx_mresult=1
71950 else
71951 glibcxx_mresult=0
71953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71955 cat >>confdefs.h <<_ACEOF
71956 #define HAVE_LIMIT_RSS $glibcxx_mresult
71957 _ACEOF
71959 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71961 $as_echo "$res" >&6; }
71964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
71965 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
71966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71967 /* end confdefs.h. */
71968 #include <unistd.h>
71969 #include <sys/time.h>
71970 #include <sys/resource.h>
71973 main ()
71975 int f = RLIMIT_VMEM ;
71977 return 0;
71979 _ACEOF
71980 if ac_fn_c_try_compile "$LINENO"; then :
71981 glibcxx_mresult=1
71982 else
71983 glibcxx_mresult=0
71985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71987 cat >>confdefs.h <<_ACEOF
71988 #define HAVE_LIMIT_VMEM $glibcxx_mresult
71989 _ACEOF
71991 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71993 $as_echo "$res" >&6; }
71996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
71997 $as_echo_n "checking for RLIMIT_AS... " >&6; }
71998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71999 /* end confdefs.h. */
72000 #include <unistd.h>
72001 #include <sys/time.h>
72002 #include <sys/resource.h>
72005 main ()
72007 int f = RLIMIT_AS ;
72009 return 0;
72011 _ACEOF
72012 if ac_fn_c_try_compile "$LINENO"; then :
72013 glibcxx_mresult=1
72014 else
72015 glibcxx_mresult=0
72017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72019 cat >>confdefs.h <<_ACEOF
72020 #define HAVE_LIMIT_AS $glibcxx_mresult
72021 _ACEOF
72023 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72025 $as_echo "$res" >&6; }
72028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72029 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72031 /* end confdefs.h. */
72032 #include <unistd.h>
72033 #include <sys/time.h>
72034 #include <sys/resource.h>
72037 main ()
72039 int f = RLIMIT_FSIZE ;
72041 return 0;
72043 _ACEOF
72044 if ac_fn_c_try_compile "$LINENO"; then :
72045 glibcxx_mresult=1
72046 else
72047 glibcxx_mresult=0
72049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72051 cat >>confdefs.h <<_ACEOF
72052 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72053 _ACEOF
72055 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72057 $as_echo "$res" >&6; }
72060 # Check for rlimit, setrlimit.
72061 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72062 $as_echo_n "(cached) " >&6
72063 else
72065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72066 /* end confdefs.h. */
72067 #include <unistd.h>
72068 #include <sys/time.h>
72069 #include <sys/resource.h>
72072 main ()
72074 struct rlimit r;
72075 setrlimit(0, &r);
72077 return 0;
72079 _ACEOF
72080 if ac_fn_c_try_compile "$LINENO"; then :
72081 glibcxx_cv_setrlimit=yes
72082 else
72083 glibcxx_cv_setrlimit=no
72085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72092 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72093 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72094 ac_res_limits=yes
72096 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72098 else
72099 ac_res_limits=no
72101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72102 $as_echo "$ac_res_limits" >&6; }
72105 # Look for setenv, so that extended locale tests can be performed.
72107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72108 $as_echo_n "checking for setenv declaration... " >&6; }
72109 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72110 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72111 $as_echo_n "(cached) " >&6
72112 else
72115 ac_ext=cpp
72116 ac_cpp='$CXXCPP $CPPFLAGS'
72117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72122 /* end confdefs.h. */
72123 #include <stdlib.h>
72125 main ()
72127 setenv(0, 0, 0);
72129 return 0;
72131 _ACEOF
72132 if ac_fn_cxx_try_compile "$LINENO"; then :
72133 glibcxx_cv_func_setenv_use=yes
72134 else
72135 glibcxx_cv_func_setenv_use=no
72137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72138 ac_ext=c
72139 ac_cpp='$CPP $CPPFLAGS'
72140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72149 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72150 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72151 for ac_func in setenv
72152 do :
72153 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72154 if test "x$ac_cv_func_setenv" = x""yes; then :
72155 cat >>confdefs.h <<_ACEOF
72156 #define HAVE_SETENV 1
72157 _ACEOF
72160 done
72166 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72167 test $enable_symvers != no; then
72168 case "$host" in
72169 *-*-cygwin*)
72170 enable_abi_check=no ;;
72172 enable_abi_check=yes ;;
72173 esac
72174 else
72175 # Only build this as native, since automake does not understand
72176 # CXX_FOR_BUILD.
72177 enable_abi_check=no
72180 # Export file names for ABI checking.
72181 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72183 baseline_subdir_switch="$abi_baseline_subdir_switch"
72187 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72189 # Check whether --enable-libstdcxx-threads was given.
72190 if test "${enable_libstdcxx_threads+set}" = set; then :
72191 enableval=$enable_libstdcxx_threads;
72192 case "$enableval" in
72193 yes|no) ;;
72194 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72195 esac
72197 else
72198 enable_libstdcxx_threads=auto
72203 if test x$enable_libstdcxx_threads = xauto ||
72204 test x$enable_libstdcxx_threads = xyes; then
72207 ac_ext=cpp
72208 ac_cpp='$CXXCPP $CPPFLAGS'
72209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72214 ac_save_CXXFLAGS="$CXXFLAGS"
72215 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72216 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72218 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72219 case $target_thread_file in
72220 posix)
72221 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72222 esac
72224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72225 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72228 /* end confdefs.h. */
72229 #include <unistd.h>
72231 main ()
72234 // In case of POSIX threads check _POSIX_TIMEOUTS.
72235 #if (defined(_PTHREADS) \
72236 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72237 #error
72238 #endif
72241 return 0;
72243 _ACEOF
72244 if ac_fn_cxx_try_compile "$LINENO"; then :
72245 ac_gthread_use_mutex_timedlock=1
72246 else
72247 ac_gthread_use_mutex_timedlock=0
72249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72252 cat >>confdefs.h <<_ACEOF
72253 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72254 _ACEOF
72257 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72258 else res_mutex_timedlock=no ; fi
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72260 $as_echo "$res_mutex_timedlock" >&6; }
72262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72263 $as_echo_n "checking for gthreads library... " >&6; }
72265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72266 /* end confdefs.h. */
72267 #include "gthr.h"
72269 main ()
72272 #ifndef __GTHREADS_CXX0X
72273 #error
72274 #endif
72277 return 0;
72279 _ACEOF
72280 if ac_fn_cxx_try_compile "$LINENO"; then :
72281 case $target_os in
72282 # gthreads support breaks symbol versioning on Solaris 9 (PR
72283 # libstdc++/52189).
72284 solaris2.9*)
72285 if test x$enable_symvers = xno; then
72286 ac_has_gthreads=yes
72287 elif test x$enable_libstdcxx_threads = xyes; then
72288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72289 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72291 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72292 ac_has_gthreads=yes
72293 else
72294 ac_has_gthreads=no
72298 ac_has_gthreads=yes
72300 esac
72301 else
72302 ac_has_gthreads=no
72304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72305 else
72306 ac_has_gthreads=no
72309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72310 $as_echo "$ac_has_gthreads" >&6; }
72312 if test x"$ac_has_gthreads" = x"yes"; then
72314 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72318 CXXFLAGS="$ac_save_CXXFLAGS"
72319 ac_ext=c
72320 ac_cpp='$CPP $CPPFLAGS'
72321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327 # Define documentation rules conditionally.
72329 # See if makeinfo has been installed and is modern enough
72330 # that we can use it.
72332 # Extract the first word of "makeinfo", so it can be a program name with args.
72333 set dummy makeinfo; ac_word=$2
72334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72335 $as_echo_n "checking for $ac_word... " >&6; }
72336 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72337 $as_echo_n "(cached) " >&6
72338 else
72339 if test -n "$MAKEINFO"; then
72340 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72341 else
72342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72343 for as_dir in $PATH
72345 IFS=$as_save_IFS
72346 test -z "$as_dir" && as_dir=.
72347 for ac_exec_ext in '' $ac_executable_extensions; do
72348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72349 ac_cv_prog_MAKEINFO="makeinfo"
72350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72351 break 2
72353 done
72354 done
72355 IFS=$as_save_IFS
72359 MAKEINFO=$ac_cv_prog_MAKEINFO
72360 if test -n "$MAKEINFO"; then
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72362 $as_echo "$MAKEINFO" >&6; }
72363 else
72364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72365 $as_echo "no" >&6; }
72369 if test -n "$MAKEINFO"; then
72370 # Found it, now check the version.
72371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72372 $as_echo_n "checking for modern makeinfo... " >&6; }
72373 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72374 $as_echo_n "(cached) " >&6
72375 else
72376 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72377 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72379 case $ac_prog_version in
72380 '') gcc_cv_prog_makeinfo_modern=no;;
72381 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72382 *) gcc_cv_prog_makeinfo_modern=no;;
72383 esac
72386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72387 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72388 else
72389 gcc_cv_prog_makeinfo_modern=no
72391 if test $gcc_cv_prog_makeinfo_modern = no; then
72392 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72395 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72396 BUILD_INFO_TRUE=
72397 BUILD_INFO_FALSE='#'
72398 else
72399 BUILD_INFO_TRUE='#'
72400 BUILD_INFO_FALSE=
72404 # Check for doxygen
72405 # Extract the first word of "doxygen", so it can be a program name with args.
72406 set dummy doxygen; ac_word=$2
72407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72408 $as_echo_n "checking for $ac_word... " >&6; }
72409 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72410 $as_echo_n "(cached) " >&6
72411 else
72412 if test -n "$DOXYGEN"; then
72413 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72414 else
72415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72416 for as_dir in $PATH
72418 IFS=$as_save_IFS
72419 test -z "$as_dir" && as_dir=.
72420 for ac_exec_ext in '' $ac_executable_extensions; do
72421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72422 ac_cv_prog_DOXYGEN="yes"
72423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72424 break 2
72426 done
72427 done
72428 IFS=$as_save_IFS
72430 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72433 DOXYGEN=$ac_cv_prog_DOXYGEN
72434 if test -n "$DOXYGEN"; then
72435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72436 $as_echo "$DOXYGEN" >&6; }
72437 else
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72439 $as_echo "no" >&6; }
72443 # Extract the first word of "dot", so it can be a program name with args.
72444 set dummy dot; ac_word=$2
72445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72446 $as_echo_n "checking for $ac_word... " >&6; }
72447 if test "${ac_cv_prog_DOT+set}" = set; then :
72448 $as_echo_n "(cached) " >&6
72449 else
72450 if test -n "$DOT"; then
72451 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72452 else
72453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72454 for as_dir in $PATH
72456 IFS=$as_save_IFS
72457 test -z "$as_dir" && as_dir=.
72458 for ac_exec_ext in '' $ac_executable_extensions; do
72459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72460 ac_cv_prog_DOT="yes"
72461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72462 break 2
72464 done
72465 done
72466 IFS=$as_save_IFS
72468 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72471 DOT=$ac_cv_prog_DOT
72472 if test -n "$DOT"; then
72473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72474 $as_echo "$DOT" >&6; }
72475 else
72476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72477 $as_echo "no" >&6; }
72482 # Check for docbook
72483 # Extract the first word of "xsltproc", so it can be a program name with args.
72484 set dummy xsltproc; ac_word=$2
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72486 $as_echo_n "checking for $ac_word... " >&6; }
72487 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72488 $as_echo_n "(cached) " >&6
72489 else
72490 if test -n "$XSLTPROC"; then
72491 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72492 else
72493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72494 for as_dir in $PATH
72496 IFS=$as_save_IFS
72497 test -z "$as_dir" && as_dir=.
72498 for ac_exec_ext in '' $ac_executable_extensions; do
72499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72500 ac_cv_prog_XSLTPROC="yes"
72501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72502 break 2
72504 done
72505 done
72506 IFS=$as_save_IFS
72508 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72511 XSLTPROC=$ac_cv_prog_XSLTPROC
72512 if test -n "$XSLTPROC"; then
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72514 $as_echo "$XSLTPROC" >&6; }
72515 else
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72517 $as_echo "no" >&6; }
72521 # Extract the first word of "xmllint", so it can be a program name with args.
72522 set dummy xmllint; ac_word=$2
72523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72524 $as_echo_n "checking for $ac_word... " >&6; }
72525 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72526 $as_echo_n "(cached) " >&6
72527 else
72528 if test -n "$XMLLINT"; then
72529 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72530 else
72531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72532 for as_dir in $PATH
72534 IFS=$as_save_IFS
72535 test -z "$as_dir" && as_dir=.
72536 for ac_exec_ext in '' $ac_executable_extensions; do
72537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72538 ac_cv_prog_XMLLINT="yes"
72539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72540 break 2
72542 done
72543 done
72544 IFS=$as_save_IFS
72546 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72549 XMLLINT=$ac_cv_prog_XMLLINT
72550 if test -n "$XMLLINT"; then
72551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72552 $as_echo "$XMLLINT" >&6; }
72553 else
72554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72555 $as_echo "no" >&6; }
72561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72562 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72563 glibcxx_stylesheets=no
72564 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
72565 glibcxx_stylesheets=yes
72567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72568 $as_echo "$glibcxx_stylesheets" >&6; }
72570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72571 $as_echo_n "checking for local stylesheet directory... " >&6; }
72572 glibcxx_local_stylesheets=no
72573 if test x"$glibcxx_stylesheets" = x"yes"; then
72574 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72575 glibcxx_local_stylesheets=yes
72576 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72578 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72579 glibcxx_local_stylesheets=yes
72580 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72582 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72583 glibcxx_local_stylesheets=yes
72584 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72588 $as_echo "$glibcxx_local_stylesheets" >&6; }
72590 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72592 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72593 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72594 else
72595 glibcxx_stylesheets=no
72598 # Check for epub3 dependencies.
72599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72600 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72601 glibcxx_epub_stylesheets=no
72602 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72603 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72604 glibcxx_epub_stylesheets=yes
72607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72608 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72609 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72610 BUILD_EPUB_TRUE=
72611 BUILD_EPUB_FALSE='#'
72612 else
72613 BUILD_EPUB_TRUE='#'
72614 BUILD_EPUB_FALSE=
72620 # Check for xml/html dependencies.
72621 if test $ac_cv_prog_DOXYGEN = "yes" &&
72622 test $ac_cv_prog_DOT = "yes" &&
72623 test $ac_cv_prog_XSLTPROC = "yes" &&
72624 test $ac_cv_prog_XMLLINT = "yes" &&
72625 test $glibcxx_stylesheets = "yes"; then
72626 BUILD_XML_TRUE=
72627 BUILD_XML_FALSE='#'
72628 else
72629 BUILD_XML_TRUE='#'
72630 BUILD_XML_FALSE=
72634 if test $ac_cv_prog_DOXYGEN = "yes" &&
72635 test $ac_cv_prog_DOT = "yes" &&
72636 test $ac_cv_prog_XSLTPROC = "yes" &&
72637 test $ac_cv_prog_XMLLINT = "yes" &&
72638 test $glibcxx_stylesheets = "yes"; then
72639 BUILD_HTML_TRUE=
72640 BUILD_HTML_FALSE='#'
72641 else
72642 BUILD_HTML_TRUE='#'
72643 BUILD_HTML_FALSE=
72647 # Check for man dependencies.
72648 if test $ac_cv_prog_DOXYGEN = "yes" &&
72649 test $ac_cv_prog_DOT = "yes"; then
72650 BUILD_MAN_TRUE=
72651 BUILD_MAN_FALSE='#'
72652 else
72653 BUILD_MAN_TRUE='#'
72654 BUILD_MAN_FALSE=
72658 # Check for pdf dependencies.
72659 # Extract the first word of "dblatex", so it can be a program name with args.
72660 set dummy dblatex; 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_DBLATEX+set}" = set; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72666 if test -n "$DBLATEX"; then
72667 ac_cv_prog_DBLATEX="$DBLATEX" # 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_DBLATEX="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_DBLATEX" && ac_cv_prog_DBLATEX="no"
72687 DBLATEX=$ac_cv_prog_DBLATEX
72688 if test -n "$DBLATEX"; then
72689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72690 $as_echo "$DBLATEX" >&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 "pdflatex", so it can be a program name with args.
72698 set dummy pdflatex; 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_PDFLATEX+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72704 if test -n "$PDFLATEX"; then
72705 ac_cv_prog_PDFLATEX="$PDFLATEX" # 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_PDFLATEX="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_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72725 PDFLATEX=$ac_cv_prog_PDFLATEX
72726 if test -n "$PDFLATEX"; then
72727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72728 $as_echo "$PDFLATEX" >&6; }
72729 else
72730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72731 $as_echo "no" >&6; }
72735 if test $ac_cv_prog_DBLATEX = "yes" &&
72736 test $ac_cv_prog_PDFLATEX = "yes"; then
72737 BUILD_PDF_TRUE=
72738 BUILD_PDF_FALSE='#'
72739 else
72740 BUILD_PDF_TRUE='#'
72741 BUILD_PDF_FALSE=
72746 # Propagate the target-specific source directories through the build chain.
72747 ATOMICITY_SRCDIR=config/${atomicity_dir}
72748 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72749 ATOMIC_FLAGS=${atomic_flags}
72750 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72751 OS_INC_SRCDIR=config/${os_include_dir}
72752 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72753 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72754 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72755 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72767 # Determine cross-compile flags and AM_CONDITIONALs.
72768 #AC_SUBST(GLIBCXX_IS_NATIVE)
72769 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72770 if test $is_hosted = yes; then
72771 GLIBCXX_HOSTED_TRUE=
72772 GLIBCXX_HOSTED_FALSE='#'
72773 else
72774 GLIBCXX_HOSTED_TRUE='#'
72775 GLIBCXX_HOSTED_FALSE=
72779 if test $enable_libstdcxx_pch = yes; then
72780 GLIBCXX_BUILD_PCH_TRUE=
72781 GLIBCXX_BUILD_PCH_FALSE='#'
72782 else
72783 GLIBCXX_BUILD_PCH_TRUE='#'
72784 GLIBCXX_BUILD_PCH_FALSE=
72788 if test $enable_cheaders = c; then
72789 GLIBCXX_C_HEADERS_C_TRUE=
72790 GLIBCXX_C_HEADERS_C_FALSE='#'
72791 else
72792 GLIBCXX_C_HEADERS_C_TRUE='#'
72793 GLIBCXX_C_HEADERS_C_FALSE=
72797 if test $enable_cheaders = c_std; then
72798 GLIBCXX_C_HEADERS_C_STD_TRUE=
72799 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72800 else
72801 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72802 GLIBCXX_C_HEADERS_C_STD_FALSE=
72806 if test $enable_cheaders = c_global; then
72807 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72808 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72809 else
72810 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72811 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72815 if test $c_compatibility = yes; then
72816 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72817 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72818 else
72819 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72820 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72824 if test $enable_libstdcxx_debug = yes; then
72825 GLIBCXX_BUILD_DEBUG_TRUE=
72826 GLIBCXX_BUILD_DEBUG_FALSE='#'
72827 else
72828 GLIBCXX_BUILD_DEBUG_TRUE='#'
72829 GLIBCXX_BUILD_DEBUG_FALSE=
72833 if test $enable_extern_template = yes; then
72834 ENABLE_EXTERN_TEMPLATE_TRUE=
72835 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72836 else
72837 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72838 ENABLE_EXTERN_TEMPLATE_FALSE=
72842 if test $python_mod_dir != no; then
72843 ENABLE_PYTHONDIR_TRUE=
72844 ENABLE_PYTHONDIR_FALSE='#'
72845 else
72846 ENABLE_PYTHONDIR_TRUE='#'
72847 ENABLE_PYTHONDIR_FALSE=
72851 if test $enable_werror = yes; then
72852 ENABLE_WERROR_TRUE=
72853 ENABLE_WERROR_FALSE='#'
72854 else
72855 ENABLE_WERROR_TRUE='#'
72856 ENABLE_WERROR_FALSE=
72860 if test $enable_symvers != no; then
72861 ENABLE_SYMVERS_TRUE=
72862 ENABLE_SYMVERS_FALSE='#'
72863 else
72864 ENABLE_SYMVERS_TRUE='#'
72865 ENABLE_SYMVERS_FALSE=
72869 if test $enable_symvers = gnu; then
72870 ENABLE_SYMVERS_GNU_TRUE=
72871 ENABLE_SYMVERS_GNU_FALSE='#'
72872 else
72873 ENABLE_SYMVERS_GNU_TRUE='#'
72874 ENABLE_SYMVERS_GNU_FALSE=
72878 if test $enable_symvers = gnu-versioned-namespace; then
72879 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72880 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72881 else
72882 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72883 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72887 if test $enable_symvers = darwin; then
72888 ENABLE_SYMVERS_DARWIN_TRUE=
72889 ENABLE_SYMVERS_DARWIN_FALSE='#'
72890 else
72891 ENABLE_SYMVERS_DARWIN_TRUE='#'
72892 ENABLE_SYMVERS_DARWIN_FALSE=
72896 if test $enable_symvers = sun; then
72897 ENABLE_SYMVERS_SUN_TRUE=
72898 ENABLE_SYMVERS_SUN_FALSE='#'
72899 else
72900 ENABLE_SYMVERS_SUN_TRUE='#'
72901 ENABLE_SYMVERS_SUN_FALSE=
72905 if test $enable_libstdcxx_visibility = yes; then
72906 ENABLE_VISIBILITY_TRUE=
72907 ENABLE_VISIBILITY_FALSE='#'
72908 else
72909 ENABLE_VISIBILITY_TRUE='#'
72910 ENABLE_VISIBILITY_FALSE=
72914 if test $ac_ldbl_compat = yes; then
72915 GLIBCXX_LDBL_COMPAT_TRUE=
72916 GLIBCXX_LDBL_COMPAT_FALSE='#'
72917 else
72918 GLIBCXX_LDBL_COMPAT_TRUE='#'
72919 GLIBCXX_LDBL_COMPAT_FALSE=
72925 cat >confcache <<\_ACEOF
72926 # This file is a shell script that caches the results of configure
72927 # tests run on this system so they can be shared between configure
72928 # scripts and configure runs, see configure's option --config-cache.
72929 # It is not useful on other systems. If it contains results you don't
72930 # want to keep, you may remove or edit it.
72932 # config.status only pays attention to the cache file if you give it
72933 # the --recheck option to rerun configure.
72935 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72936 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72937 # following values.
72939 _ACEOF
72941 # The following way of writing the cache mishandles newlines in values,
72942 # but we know of no workaround that is simple, portable, and efficient.
72943 # So, we kill variables containing newlines.
72944 # Ultrix sh set writes to stderr and can't be redirected directly,
72945 # and sets the high bit in the cache file unless we assign to the vars.
72947 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72948 eval ac_val=\$$ac_var
72949 case $ac_val in #(
72950 *${as_nl}*)
72951 case $ac_var in #(
72952 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72953 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72954 esac
72955 case $ac_var in #(
72956 _ | IFS | as_nl) ;; #(
72957 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72958 *) { eval $ac_var=; unset $ac_var;} ;;
72959 esac ;;
72960 esac
72961 done
72963 (set) 2>&1 |
72964 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72965 *${as_nl}ac_space=\ *)
72966 # `set' does not quote correctly, so add quotes: double-quote
72967 # substitution turns \\\\ into \\, and sed turns \\ into \.
72968 sed -n \
72969 "s/'/'\\\\''/g;
72970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72971 ;; #(
72973 # `set' quotes correctly as required by POSIX, so do not add quotes.
72974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72976 esac |
72977 sort
72979 sed '
72980 /^ac_cv_env_/b end
72981 t clear
72982 :clear
72983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72984 t end
72985 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72986 :end' >>confcache
72987 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72988 if test -w "$cache_file"; then
72989 test "x$cache_file" != "x/dev/null" &&
72990 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72991 $as_echo "$as_me: updating cache $cache_file" >&6;}
72992 cat confcache >$cache_file
72993 else
72994 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72995 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72998 rm -f confcache
73000 if test ${multilib} = yes; then
73001 multilib_arg="--enable-multilib"
73002 else
73003 multilib_arg=
73006 # Export all the install information.
73008 glibcxx_toolexecdir=no
73009 glibcxx_toolexeclibdir=no
73010 glibcxx_prefixdir=$prefix
73012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73013 $as_echo_n "checking for gxx-include-dir... " >&6; }
73015 # Check whether --with-gxx-include-dir was given.
73016 if test "${with_gxx_include_dir+set}" = set; then :
73017 withval=$with_gxx_include_dir; case "$withval" in
73018 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73019 no) gxx_include_dir=no ;;
73020 *) gxx_include_dir=$withval ;;
73021 esac
73022 else
73023 gxx_include_dir=no
73026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73027 $as_echo "$gxx_include_dir" >&6; }
73029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73030 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73031 # Check whether --enable-version-specific-runtime-libs was given.
73032 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73033 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73034 yes) version_specific_libs=yes ;;
73035 no) version_specific_libs=no ;;
73036 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73037 esac
73038 else
73039 version_specific_libs=no
73042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73043 $as_echo "$version_specific_libs" >&6; }
73045 # Default case for install directory for include files.
73046 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73047 gxx_include_dir='include/c++/${gcc_version}'
73048 if test -n "$with_cross_host" &&
73049 test x"$with_cross_host" != x"no"; then
73050 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73051 else
73052 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73056 # Version-specific runtime libs processing.
73057 if test $version_specific_libs = yes; then
73058 # Need the gcc compiler version to know where to install libraries
73059 # and header files if --enable-version-specific-runtime-libs option
73060 # is selected. FIXME: these variables are misnamed, there are
73061 # no executables installed in _toolexecdir or _toolexeclibdir.
73062 if test x"$gxx_include_dir" = x"no"; then
73063 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73065 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73066 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73069 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73070 # Install a library built with a cross compiler in tooldir, not libdir.
73071 if test x"$glibcxx_toolexecdir" = x"no"; then
73072 if test -n "$with_cross_host" &&
73073 test x"$with_cross_host" != x"no"; then
73074 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73075 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73076 else
73077 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73078 glibcxx_toolexeclibdir='${libdir}'
73080 multi_os_directory=`$CXX -print-multi-os-directory`
73081 case $multi_os_directory in
73082 .) ;; # Avoid trailing /.
73083 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73084 esac
73087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73088 $as_echo_n "checking for install location... " >&6; }
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73090 $as_echo "$gxx_include_dir" >&6; }
73098 # Export all the include and flag information to Makefiles.
73100 # Used for every C++ compile we perform.
73101 GLIBCXX_INCLUDES="\
73102 -I$glibcxx_builddir/include/$host_alias \
73103 -I$glibcxx_builddir/include \
73104 -I$glibcxx_srcdir/libsupc++"
73106 # For Canadian crosses, pick this up too.
73107 if test $CANADIAN = yes; then
73108 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73111 # Stuff in the actual top level. Currently only used by libsupc++ to
73112 # get unwind* headers from the libgcc dir.
73113 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73114 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73116 # Now, export this to all the little Makefiles....
73121 # Optimization flags that are probably a good idea for thrill-seekers. Just
73122 # uncomment the lines below and make, everything else is ready to go...
73123 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73124 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73127 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73131 ac_config_files="$ac_config_files Makefile"
73133 ac_config_files="$ac_config_files scripts/testsuite_flags"
73135 ac_config_files="$ac_config_files scripts/extract_symvers"
73137 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73140 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73141 # that multilib installs will end up installed in the correct place.
73142 # The testsuite needs it for multilib-aware ABI baseline files.
73143 # To work around this not being passed down from config-ml.in ->
73144 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73145 # append it here. Only modify Makefiles that have just been created.
73147 # Also, get rid of this simulated-VPATH thing that automake does.
73148 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"
73151 ac_config_commands="$ac_config_commands generate-headers"
73154 cat >confcache <<\_ACEOF
73155 # This file is a shell script that caches the results of configure
73156 # tests run on this system so they can be shared between configure
73157 # scripts and configure runs, see configure's option --config-cache.
73158 # It is not useful on other systems. If it contains results you don't
73159 # want to keep, you may remove or edit it.
73161 # config.status only pays attention to the cache file if you give it
73162 # the --recheck option to rerun configure.
73164 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73165 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73166 # following values.
73168 _ACEOF
73170 # The following way of writing the cache mishandles newlines in values,
73171 # but we know of no workaround that is simple, portable, and efficient.
73172 # So, we kill variables containing newlines.
73173 # Ultrix sh set writes to stderr and can't be redirected directly,
73174 # and sets the high bit in the cache file unless we assign to the vars.
73176 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73177 eval ac_val=\$$ac_var
73178 case $ac_val in #(
73179 *${as_nl}*)
73180 case $ac_var in #(
73181 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73182 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73183 esac
73184 case $ac_var in #(
73185 _ | IFS | as_nl) ;; #(
73186 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73187 *) { eval $ac_var=; unset $ac_var;} ;;
73188 esac ;;
73189 esac
73190 done
73192 (set) 2>&1 |
73193 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73194 *${as_nl}ac_space=\ *)
73195 # `set' does not quote correctly, so add quotes: double-quote
73196 # substitution turns \\\\ into \\, and sed turns \\ into \.
73197 sed -n \
73198 "s/'/'\\\\''/g;
73199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73200 ;; #(
73202 # `set' quotes correctly as required by POSIX, so do not add quotes.
73203 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73205 esac |
73206 sort
73208 sed '
73209 /^ac_cv_env_/b end
73210 t clear
73211 :clear
73212 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73213 t end
73214 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73215 :end' >>confcache
73216 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73217 if test -w "$cache_file"; then
73218 test "x$cache_file" != "x/dev/null" &&
73219 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73220 $as_echo "$as_me: updating cache $cache_file" >&6;}
73221 cat confcache >$cache_file
73222 else
73223 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73224 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73227 rm -f confcache
73229 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73230 # Let make expand exec_prefix.
73231 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73233 DEFS=-DHAVE_CONFIG_H
73235 ac_libobjs=
73236 ac_ltlibobjs=
73237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73238 # 1. Remove the extension, and $U if already installed.
73239 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73240 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73241 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73242 # will be set to the directory where LIBOBJS objects are built.
73243 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73244 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73245 done
73246 LIBOBJS=$ac_libobjs
73248 LTLIBOBJS=$ac_ltlibobjs
73251 if test -n "$EXEEXT"; then
73252 am__EXEEXT_TRUE=
73253 am__EXEEXT_FALSE='#'
73254 else
73255 am__EXEEXT_TRUE='#'
73256 am__EXEEXT_FALSE=
73259 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73260 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73263 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73264 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73267 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73268 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73271 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73272 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73275 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73276 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73279 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73280 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73283 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73284 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73287 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73288 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73291 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73292 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73295 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73296 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73299 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73300 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73303 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73304 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73307 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73308 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73311 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73312 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73315 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73316 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73319 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73320 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73323 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73324 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73327 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73328 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73331 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73332 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73335 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73336 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73339 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73340 as_fn_error "conditional \"BUILD_XML\" was never defined.
73341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73343 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73344 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73347 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73348 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73351 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73352 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73356 : ${CONFIG_STATUS=./config.status}
73357 ac_write_fail=0
73358 ac_clean_files_save=$ac_clean_files
73359 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73361 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73362 as_write_fail=0
73363 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73364 #! $SHELL
73365 # Generated by $as_me.
73366 # Run this file to recreate the current configuration.
73367 # Compiler output produced by configure, useful for debugging
73368 # configure, is in config.log if it exists.
73370 debug=false
73371 ac_cs_recheck=false
73372 ac_cs_silent=false
73374 SHELL=\${CONFIG_SHELL-$SHELL}
73375 export SHELL
73376 _ASEOF
73377 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73378 ## -------------------- ##
73379 ## M4sh Initialization. ##
73380 ## -------------------- ##
73382 # Be more Bourne compatible
73383 DUALCASE=1; export DUALCASE # for MKS sh
73384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73385 emulate sh
73386 NULLCMD=:
73387 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73388 # is contrary to our usage. Disable this feature.
73389 alias -g '${1+"$@"}'='"$@"'
73390 setopt NO_GLOB_SUBST
73391 else
73392 case `(set -o) 2>/dev/null` in #(
73393 *posix*) :
73394 set -o posix ;; #(
73395 *) :
73397 esac
73401 as_nl='
73403 export as_nl
73404 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73405 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73408 # Prefer a ksh shell builtin over an external printf program on Solaris,
73409 # but without wasting forks for bash or zsh.
73410 if test -z "$BASH_VERSION$ZSH_VERSION" \
73411 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73412 as_echo='print -r --'
73413 as_echo_n='print -rn --'
73414 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73415 as_echo='printf %s\n'
73416 as_echo_n='printf %s'
73417 else
73418 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73419 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73420 as_echo_n='/usr/ucb/echo -n'
73421 else
73422 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73423 as_echo_n_body='eval
73424 arg=$1;
73425 case $arg in #(
73426 *"$as_nl"*)
73427 expr "X$arg" : "X\\(.*\\)$as_nl";
73428 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73429 esac;
73430 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73432 export as_echo_n_body
73433 as_echo_n='sh -c $as_echo_n_body as_echo'
73435 export as_echo_body
73436 as_echo='sh -c $as_echo_body as_echo'
73439 # The user is always right.
73440 if test "${PATH_SEPARATOR+set}" != set; then
73441 PATH_SEPARATOR=:
73442 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73443 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73444 PATH_SEPARATOR=';'
73449 # IFS
73450 # We need space, tab and new line, in precisely that order. Quoting is
73451 # there to prevent editors from complaining about space-tab.
73452 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73453 # splitting by setting IFS to empty value.)
73454 IFS=" "" $as_nl"
73456 # Find who we are. Look in the path if we contain no directory separator.
73457 case $0 in #((
73458 *[\\/]* ) as_myself=$0 ;;
73459 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73460 for as_dir in $PATH
73462 IFS=$as_save_IFS
73463 test -z "$as_dir" && as_dir=.
73464 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73465 done
73466 IFS=$as_save_IFS
73469 esac
73470 # We did not find ourselves, most probably we were run as `sh COMMAND'
73471 # in which case we are not to be found in the path.
73472 if test "x$as_myself" = x; then
73473 as_myself=$0
73475 if test ! -f "$as_myself"; then
73476 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73477 exit 1
73480 # Unset variables that we do not need and which cause bugs (e.g. in
73481 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73482 # suppresses any "Segmentation fault" message there. '((' could
73483 # trigger a bug in pdksh 5.2.14.
73484 for as_var in BASH_ENV ENV MAIL MAILPATH
73485 do eval test x\${$as_var+set} = xset \
73486 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73487 done
73488 PS1='$ '
73489 PS2='> '
73490 PS4='+ '
73492 # NLS nuisances.
73493 LC_ALL=C
73494 export LC_ALL
73495 LANGUAGE=C
73496 export LANGUAGE
73498 # CDPATH.
73499 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73502 # as_fn_error ERROR [LINENO LOG_FD]
73503 # ---------------------------------
73504 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73505 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73506 # script with status $?, using 1 if that was 0.
73507 as_fn_error ()
73509 as_status=$?; test $as_status -eq 0 && as_status=1
73510 if test "$3"; then
73511 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73512 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73514 $as_echo "$as_me: error: $1" >&2
73515 as_fn_exit $as_status
73516 } # as_fn_error
73519 # as_fn_set_status STATUS
73520 # -----------------------
73521 # Set $? to STATUS, without forking.
73522 as_fn_set_status ()
73524 return $1
73525 } # as_fn_set_status
73527 # as_fn_exit STATUS
73528 # -----------------
73529 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73530 as_fn_exit ()
73532 set +e
73533 as_fn_set_status $1
73534 exit $1
73535 } # as_fn_exit
73537 # as_fn_unset VAR
73538 # ---------------
73539 # Portably unset VAR.
73540 as_fn_unset ()
73542 { eval $1=; unset $1;}
73544 as_unset=as_fn_unset
73545 # as_fn_append VAR VALUE
73546 # ----------------------
73547 # Append the text in VALUE to the end of the definition contained in VAR. Take
73548 # advantage of any shell optimizations that allow amortized linear growth over
73549 # repeated appends, instead of the typical quadratic growth present in naive
73550 # implementations.
73551 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73552 eval 'as_fn_append ()
73554 eval $1+=\$2
73556 else
73557 as_fn_append ()
73559 eval $1=\$$1\$2
73561 fi # as_fn_append
73563 # as_fn_arith ARG...
73564 # ------------------
73565 # Perform arithmetic evaluation on the ARGs, and store the result in the
73566 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73567 # must be portable across $(()) and expr.
73568 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73569 eval 'as_fn_arith ()
73571 as_val=$(( $* ))
73573 else
73574 as_fn_arith ()
73576 as_val=`expr "$@" || test $? -eq 1`
73578 fi # as_fn_arith
73581 if expr a : '\(a\)' >/dev/null 2>&1 &&
73582 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73583 as_expr=expr
73584 else
73585 as_expr=false
73588 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73589 as_basename=basename
73590 else
73591 as_basename=false
73594 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73595 as_dirname=dirname
73596 else
73597 as_dirname=false
73600 as_me=`$as_basename -- "$0" ||
73601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73602 X"$0" : 'X\(//\)$' \| \
73603 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73604 $as_echo X/"$0" |
73605 sed '/^.*\/\([^/][^/]*\)\/*$/{
73606 s//\1/
73609 /^X\/\(\/\/\)$/{
73610 s//\1/
73613 /^X\/\(\/\).*/{
73614 s//\1/
73617 s/.*/./; q'`
73619 # Avoid depending upon Character Ranges.
73620 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73621 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73622 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73623 as_cr_digits='0123456789'
73624 as_cr_alnum=$as_cr_Letters$as_cr_digits
73626 ECHO_C= ECHO_N= ECHO_T=
73627 case `echo -n x` in #(((((
73628 -n*)
73629 case `echo 'xy\c'` in
73630 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73631 xy) ECHO_C='\c';;
73632 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73633 ECHO_T=' ';;
73634 esac;;
73636 ECHO_N='-n';;
73637 esac
73639 rm -f conf$$ conf$$.exe conf$$.file
73640 if test -d conf$$.dir; then
73641 rm -f conf$$.dir/conf$$.file
73642 else
73643 rm -f conf$$.dir
73644 mkdir conf$$.dir 2>/dev/null
73646 if (echo >conf$$.file) 2>/dev/null; then
73647 if ln -s conf$$.file conf$$ 2>/dev/null; then
73648 as_ln_s='ln -s'
73649 # ... but there are two gotchas:
73650 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73651 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73652 # In both cases, we have to default to `cp -p'.
73653 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73654 as_ln_s='cp -p'
73655 elif ln conf$$.file conf$$ 2>/dev/null; then
73656 as_ln_s=ln
73657 else
73658 as_ln_s='cp -p'
73660 else
73661 as_ln_s='cp -p'
73663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73664 rmdir conf$$.dir 2>/dev/null
73667 # as_fn_mkdir_p
73668 # -------------
73669 # Create "$as_dir" as a directory, including parents if necessary.
73670 as_fn_mkdir_p ()
73673 case $as_dir in #(
73674 -*) as_dir=./$as_dir;;
73675 esac
73676 test -d "$as_dir" || eval $as_mkdir_p || {
73677 as_dirs=
73678 while :; do
73679 case $as_dir in #(
73680 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73681 *) as_qdir=$as_dir;;
73682 esac
73683 as_dirs="'$as_qdir' $as_dirs"
73684 as_dir=`$as_dirname -- "$as_dir" ||
73685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73686 X"$as_dir" : 'X\(//\)[^/]' \| \
73687 X"$as_dir" : 'X\(//\)$' \| \
73688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73689 $as_echo X"$as_dir" |
73690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73691 s//\1/
73694 /^X\(\/\/\)[^/].*/{
73695 s//\1/
73698 /^X\(\/\/\)$/{
73699 s//\1/
73702 /^X\(\/\).*/{
73703 s//\1/
73706 s/.*/./; q'`
73707 test -d "$as_dir" && break
73708 done
73709 test -z "$as_dirs" || eval "mkdir $as_dirs"
73710 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73713 } # as_fn_mkdir_p
73714 if mkdir -p . 2>/dev/null; then
73715 as_mkdir_p='mkdir -p "$as_dir"'
73716 else
73717 test -d ./-p && rmdir ./-p
73718 as_mkdir_p=false
73721 if test -x / >/dev/null 2>&1; then
73722 as_test_x='test -x'
73723 else
73724 if ls -dL / >/dev/null 2>&1; then
73725 as_ls_L_option=L
73726 else
73727 as_ls_L_option=
73729 as_test_x='
73730 eval sh -c '\''
73731 if test -d "$1"; then
73732 test -d "$1/.";
73733 else
73734 case $1 in #(
73735 -*)set "./$1";;
73736 esac;
73737 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73738 ???[sx]*):;;*)false;;esac;fi
73739 '\'' sh
73742 as_executable_p=$as_test_x
73744 # Sed expression to map a string onto a valid CPP name.
73745 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73747 # Sed expression to map a string onto a valid variable name.
73748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73751 exec 6>&1
73752 ## ----------------------------------- ##
73753 ## Main body of $CONFIG_STATUS script. ##
73754 ## ----------------------------------- ##
73755 _ASEOF
73756 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73759 # Save the log message, to keep $0 and so on meaningful, and to
73760 # report actual input values of CONFIG_FILES etc. instead of their
73761 # values after options handling.
73762 ac_log="
73763 This file was extended by package-unused $as_me version-unused, which was
73764 generated by GNU Autoconf 2.64. Invocation command line was
73766 CONFIG_FILES = $CONFIG_FILES
73767 CONFIG_HEADERS = $CONFIG_HEADERS
73768 CONFIG_LINKS = $CONFIG_LINKS
73769 CONFIG_COMMANDS = $CONFIG_COMMANDS
73770 $ $0 $@
73772 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73775 _ACEOF
73777 case $ac_config_files in *"
73778 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73779 esac
73781 case $ac_config_headers in *"
73782 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73783 esac
73786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73787 # Files that config.status was made for.
73788 config_files="$ac_config_files"
73789 config_headers="$ac_config_headers"
73790 config_commands="$ac_config_commands"
73792 _ACEOF
73794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73795 ac_cs_usage="\
73796 \`$as_me' instantiates files and other configuration actions
73797 from templates according to the current configuration. Unless the files
73798 and actions are specified as TAGs, all are instantiated by default.
73800 Usage: $0 [OPTION]... [TAG]...
73802 -h, --help print this help, then exit
73803 -V, --version print version number and configuration settings, then exit
73804 -q, --quiet, --silent
73805 do not print progress messages
73806 -d, --debug don't remove temporary files
73807 --recheck update $as_me by reconfiguring in the same conditions
73808 --file=FILE[:TEMPLATE]
73809 instantiate the configuration file FILE
73810 --header=FILE[:TEMPLATE]
73811 instantiate the configuration header FILE
73813 Configuration files:
73814 $config_files
73816 Configuration headers:
73817 $config_headers
73819 Configuration commands:
73820 $config_commands
73822 Report bugs to the package provider."
73824 _ACEOF
73825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73826 ac_cs_version="\\
73827 package-unused config.status version-unused
73828 configured by $0, generated by GNU Autoconf 2.64,
73829 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73831 Copyright (C) 2009 Free Software Foundation, Inc.
73832 This config.status script is free software; the Free Software Foundation
73833 gives unlimited permission to copy, distribute and modify it."
73835 ac_pwd='$ac_pwd'
73836 srcdir='$srcdir'
73837 INSTALL='$INSTALL'
73838 MKDIR_P='$MKDIR_P'
73839 AWK='$AWK'
73840 test -n "\$AWK" || AWK=awk
73841 _ACEOF
73843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73844 # The default lists apply if the user does not specify any file.
73845 ac_need_defaults=:
73846 while test $# != 0
73848 case $1 in
73849 --*=*)
73850 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73851 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73852 ac_shift=:
73855 ac_option=$1
73856 ac_optarg=$2
73857 ac_shift=shift
73859 esac
73861 case $ac_option in
73862 # Handling of the options.
73863 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73864 ac_cs_recheck=: ;;
73865 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73866 $as_echo "$ac_cs_version"; exit ;;
73867 --debug | --debu | --deb | --de | --d | -d )
73868 debug=: ;;
73869 --file | --fil | --fi | --f )
73870 $ac_shift
73871 case $ac_optarg in
73872 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73873 esac
73874 as_fn_append CONFIG_FILES " '$ac_optarg'"
73875 ac_need_defaults=false;;
73876 --header | --heade | --head | --hea )
73877 $ac_shift
73878 case $ac_optarg in
73879 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73880 esac
73881 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73882 ac_need_defaults=false;;
73883 --he | --h)
73884 # Conflict between --help and --header
73885 as_fn_error "ambiguous option: \`$1'
73886 Try \`$0 --help' for more information.";;
73887 --help | --hel | -h )
73888 $as_echo "$ac_cs_usage"; exit ;;
73889 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73890 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73891 ac_cs_silent=: ;;
73893 # This is an error.
73894 -*) as_fn_error "unrecognized option: \`$1'
73895 Try \`$0 --help' for more information." ;;
73897 *) as_fn_append ac_config_targets " $1"
73898 ac_need_defaults=false ;;
73900 esac
73901 shift
73902 done
73904 ac_configure_extra_args=
73906 if $ac_cs_silent; then
73907 exec 6>/dev/null
73908 ac_configure_extra_args="$ac_configure_extra_args --silent"
73911 _ACEOF
73912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73913 if \$ac_cs_recheck; then
73914 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73915 shift
73916 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73917 CONFIG_SHELL='$SHELL'
73918 export CONFIG_SHELL
73919 exec "\$@"
73922 _ACEOF
73923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73924 exec 5>>config.log
73926 echo
73927 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73928 ## Running $as_me. ##
73929 _ASBOX
73930 $as_echo "$ac_log"
73931 } >&5
73933 _ACEOF
73934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73936 # INIT-COMMANDS
73939 srcdir="$srcdir"
73940 host="$host"
73941 target="$target"
73942 with_multisubdir="$with_multisubdir"
73943 with_multisrctop="$with_multisrctop"
73944 with_target_subdir="$with_target_subdir"
73945 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73946 multi_basedir="$multi_basedir"
73947 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73948 CC="$CC"
73949 CXX="$CXX"
73950 GFORTRAN="$GFORTRAN"
73951 GCJ="$GCJ"
73954 # The HP-UX ksh and POSIX shell print the target directory to stdout
73955 # if CDPATH is set.
73956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73958 sed_quote_subst='$sed_quote_subst'
73959 double_quote_subst='$double_quote_subst'
73960 delay_variable_subst='$delay_variable_subst'
73961 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
73962 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
73963 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
73964 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
73965 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
73966 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
73967 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
73968 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
73969 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
73970 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
73971 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
73972 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
73973 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
73974 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
73975 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
73976 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
73977 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
73978 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
73979 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
73980 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
73981 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
73982 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
73983 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
73984 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
73985 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
73986 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
73987 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
73988 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
73989 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
73990 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
73991 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
73992 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
73993 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
73994 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
73995 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
73996 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
73997 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
73998 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73999 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74000 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74001 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74002 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74003 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74004 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74005 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74006 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74007 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74008 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74009 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"`'
74010 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74011 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74012 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74013 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74014 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74015 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74016 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74017 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74018 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74019 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74020 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74021 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74022 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74023 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74024 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74025 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74026 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74027 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74028 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74029 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74030 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74031 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74032 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74033 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74034 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74035 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74036 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74037 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74038 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74039 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74040 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74041 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74042 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74043 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74044 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74045 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74046 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74047 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74048 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74049 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74050 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74051 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74052 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74053 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74054 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74055 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74056 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74057 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74058 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74059 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74060 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74061 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74062 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74063 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74064 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74065 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74066 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74067 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74068 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74069 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74070 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74071 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74072 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74073 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74074 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74075 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74076 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74077 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74078 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74079 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74080 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74081 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74082 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74083 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74084 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74085 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74086 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74087 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74088 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74089 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74090 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74091 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74092 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74093 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74094 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74095 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74096 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74097 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74098 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74099 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74100 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74101 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74102 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74103 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74104 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74105 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74106 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74107 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74108 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74109 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74110 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74111 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74112 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74113 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74114 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74115 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74116 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74117 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74118 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74119 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74120 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74121 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74122 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74123 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74124 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74125 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74126 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74127 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74128 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74129 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74130 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74131 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74132 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74133 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74134 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74135 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74137 LTCC='$LTCC'
74138 LTCFLAGS='$LTCFLAGS'
74139 compiler='$compiler_DEFAULT'
74141 # A function that is used when there is no print builtin or printf.
74142 func_fallback_echo ()
74144 eval 'cat <<_LTECHO_EOF
74146 _LTECHO_EOF'
74149 # Quote evaled strings.
74150 for var in SHELL \
74151 ECHO \
74152 SED \
74153 GREP \
74154 EGREP \
74155 FGREP \
74156 LD \
74157 NM \
74158 LN_S \
74159 lt_SP2NL \
74160 lt_NL2SP \
74161 reload_flag \
74162 OBJDUMP \
74163 deplibs_check_method \
74164 file_magic_cmd \
74165 AR \
74166 AR_FLAGS \
74167 STRIP \
74168 RANLIB \
74169 CC \
74170 CFLAGS \
74171 compiler \
74172 lt_cv_sys_global_symbol_pipe \
74173 lt_cv_sys_global_symbol_to_cdecl \
74174 lt_cv_sys_global_symbol_to_c_name_address \
74175 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74176 lt_prog_compiler_no_builtin_flag \
74177 lt_prog_compiler_wl \
74178 lt_prog_compiler_pic \
74179 lt_prog_compiler_static \
74180 lt_cv_prog_compiler_c_o \
74181 need_locks \
74182 DSYMUTIL \
74183 NMEDIT \
74184 LIPO \
74185 OTOOL \
74186 OTOOL64 \
74187 shrext_cmds \
74188 export_dynamic_flag_spec \
74189 whole_archive_flag_spec \
74190 compiler_needs_object \
74191 with_gnu_ld \
74192 allow_undefined_flag \
74193 no_undefined_flag \
74194 hardcode_libdir_flag_spec \
74195 hardcode_libdir_flag_spec_ld \
74196 hardcode_libdir_separator \
74197 fix_srcfile_path \
74198 exclude_expsyms \
74199 include_expsyms \
74200 file_list_spec \
74201 variables_saved_for_relink \
74202 libname_spec \
74203 library_names_spec \
74204 soname_spec \
74205 install_override_mode \
74206 finish_eval \
74207 old_striplib \
74208 striplib \
74209 compiler_lib_search_dirs \
74210 predep_objects \
74211 postdep_objects \
74212 predeps \
74213 postdeps \
74214 compiler_lib_search_path \
74215 LD_CXX \
74216 reload_flag_CXX \
74217 compiler_CXX \
74218 lt_prog_compiler_no_builtin_flag_CXX \
74219 lt_prog_compiler_wl_CXX \
74220 lt_prog_compiler_pic_CXX \
74221 lt_prog_compiler_static_CXX \
74222 lt_cv_prog_compiler_c_o_CXX \
74223 export_dynamic_flag_spec_CXX \
74224 whole_archive_flag_spec_CXX \
74225 compiler_needs_object_CXX \
74226 with_gnu_ld_CXX \
74227 allow_undefined_flag_CXX \
74228 no_undefined_flag_CXX \
74229 hardcode_libdir_flag_spec_CXX \
74230 hardcode_libdir_flag_spec_ld_CXX \
74231 hardcode_libdir_separator_CXX \
74232 fix_srcfile_path_CXX \
74233 exclude_expsyms_CXX \
74234 include_expsyms_CXX \
74235 file_list_spec_CXX \
74236 compiler_lib_search_dirs_CXX \
74237 predep_objects_CXX \
74238 postdep_objects_CXX \
74239 predeps_CXX \
74240 postdeps_CXX \
74241 compiler_lib_search_path_CXX; do
74242 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74243 *[\\\\\\\`\\"\\\$]*)
74244 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74247 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74249 esac
74250 done
74252 # Double-quote double-evaled strings.
74253 for var in reload_cmds \
74254 old_postinstall_cmds \
74255 old_postuninstall_cmds \
74256 old_archive_cmds \
74257 extract_expsyms_cmds \
74258 old_archive_from_new_cmds \
74259 old_archive_from_expsyms_cmds \
74260 archive_cmds \
74261 archive_expsym_cmds \
74262 module_cmds \
74263 module_expsym_cmds \
74264 export_symbols_cmds \
74265 prelink_cmds \
74266 postinstall_cmds \
74267 postuninstall_cmds \
74268 finish_cmds \
74269 sys_lib_search_path_spec \
74270 sys_lib_dlsearch_path_spec \
74271 reload_cmds_CXX \
74272 old_archive_cmds_CXX \
74273 old_archive_from_new_cmds_CXX \
74274 old_archive_from_expsyms_cmds_CXX \
74275 archive_cmds_CXX \
74276 archive_expsym_cmds_CXX \
74277 module_cmds_CXX \
74278 module_expsym_cmds_CXX \
74279 export_symbols_cmds_CXX \
74280 prelink_cmds_CXX; do
74281 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74282 *[\\\\\\\`\\"\\\$]*)
74283 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74286 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74288 esac
74289 done
74291 ac_aux_dir='$ac_aux_dir'
74292 xsi_shell='$xsi_shell'
74293 lt_shell_append='$lt_shell_append'
74295 # See if we are running on zsh, and set the options which allow our
74296 # commands through without removal of \ escapes INIT.
74297 if test -n "\${ZSH_VERSION+set}" ; then
74298 setopt NO_GLOB_SUBST
74302 PACKAGE='$PACKAGE'
74303 VERSION='$VERSION'
74304 TIMESTAMP='$TIMESTAMP'
74305 RM='$RM'
74306 ofile='$ofile'
74313 GCC="$GCC"
74314 CC="$CC"
74315 acx_cv_header_stdint="$acx_cv_header_stdint"
74316 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74317 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74318 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74319 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74320 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74321 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74322 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74323 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74324 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74325 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74326 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74327 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74328 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74331 _ACEOF
74333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74335 # Handling of arguments.
74336 for ac_config_target in $ac_config_targets
74338 case $ac_config_target in
74339 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74340 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74341 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74342 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74343 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74344 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74345 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74346 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74347 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74348 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74349 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74350 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74351 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74352 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74353 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74354 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74355 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74356 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74358 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74359 esac
74360 done
74363 # If the user did not use the arguments to specify the items to instantiate,
74364 # then the envvar interface is used. Set only those that are not.
74365 # We use the long form for the default assignment because of an extremely
74366 # bizarre bug on SunOS 4.1.3.
74367 if $ac_need_defaults; then
74368 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74369 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74370 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74373 # Have a temporary directory for convenience. Make it in the build tree
74374 # simply because there is no reason against having it here, and in addition,
74375 # creating and moving files from /tmp can sometimes cause problems.
74376 # Hook for its removal unless debugging.
74377 # Note that there is a small window in which the directory will not be cleaned:
74378 # after its creation but before its name has been assigned to `$tmp'.
74379 $debug ||
74381 tmp=
74382 trap 'exit_status=$?
74383 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74385 trap 'as_fn_exit 1' 1 2 13 15
74387 # Create a (secure) tmp directory for tmp files.
74390 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74391 test -n "$tmp" && test -d "$tmp"
74392 } ||
74394 tmp=./conf$$-$RANDOM
74395 (umask 077 && mkdir "$tmp")
74396 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74398 # Set up the scripts for CONFIG_FILES section.
74399 # No need to generate them if there are no CONFIG_FILES.
74400 # This happens for instance with `./config.status config.h'.
74401 if test -n "$CONFIG_FILES"; then
74404 ac_cr=`echo X | tr X '\015'`
74405 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74406 # But we know of no other shell where ac_cr would be empty at this
74407 # point, so we can use a bashism as a fallback.
74408 if test "x$ac_cr" = x; then
74409 eval ac_cr=\$\'\\r\'
74411 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74412 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74413 ac_cs_awk_cr='\r'
74414 else
74415 ac_cs_awk_cr=$ac_cr
74418 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74419 _ACEOF
74423 echo "cat >conf$$subs.awk <<_ACEOF" &&
74424 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74425 echo "_ACEOF"
74426 } >conf$$subs.sh ||
74427 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74428 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74429 ac_delim='%!_!# '
74430 for ac_last_try in false false false false false :; do
74431 . ./conf$$subs.sh ||
74432 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74434 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74435 if test $ac_delim_n = $ac_delim_num; then
74436 break
74437 elif $ac_last_try; then
74438 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74439 else
74440 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74442 done
74443 rm -f conf$$subs.sh
74445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74446 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74447 _ACEOF
74448 sed -n '
74450 s/^/S["/; s/!.*/"]=/
74453 s/^[^!]*!//
74454 :repl
74455 t repl
74456 s/'"$ac_delim"'$//
74457 t delim
74460 s/\(.\{148\}\).*/\1/
74461 t more1
74462 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74465 b repl
74466 :more1
74467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74470 s/.\{148\}//
74471 t nl
74472 :delim
74474 s/\(.\{148\}\).*/\1/
74475 t more2
74476 s/["\\]/\\&/g; s/^/"/; s/$/"/
74479 :more2
74480 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74483 s/.\{148\}//
74484 t delim
74485 ' <conf$$subs.awk | sed '
74486 /^[^""]/{
74488 s/\n//
74490 ' >>$CONFIG_STATUS || ac_write_fail=1
74491 rm -f conf$$subs.awk
74492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74493 _ACAWK
74494 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74495 for (key in S) S_is_set[key] = 1
74496 FS = "\a"
74500 line = $ 0
74501 nfields = split(line, field, "@")
74502 substed = 0
74503 len = length(field[1])
74504 for (i = 2; i < nfields; i++) {
74505 key = field[i]
74506 keylen = length(key)
74507 if (S_is_set[key]) {
74508 value = S[key]
74509 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74510 len += length(value) + length(field[++i])
74511 substed = 1
74512 } else
74513 len += 1 + keylen
74516 print line
74519 _ACAWK
74520 _ACEOF
74521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74522 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74523 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74524 else
74526 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74527 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74528 _ACEOF
74530 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74531 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74532 # trailing colons and then remove the whole line if VPATH becomes empty
74533 # (actually we leave an empty line to preserve line numbers).
74534 if test "x$srcdir" = x.; then
74535 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74536 s/:*\$(srcdir):*/:/
74537 s/:*\${srcdir}:*/:/
74538 s/:*@srcdir@:*/:/
74539 s/^\([^=]*=[ ]*\):*/\1/
74540 s/:*$//
74541 s/^[^=]*=[ ]*$//
74545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74546 fi # test -n "$CONFIG_FILES"
74548 # Set up the scripts for CONFIG_HEADERS section.
74549 # No need to generate them if there are no CONFIG_HEADERS.
74550 # This happens for instance with `./config.status Makefile'.
74551 if test -n "$CONFIG_HEADERS"; then
74552 cat >"$tmp/defines.awk" <<\_ACAWK ||
74553 BEGIN {
74554 _ACEOF
74556 # Transform confdefs.h into an awk script `defines.awk', embedded as
74557 # here-document in config.status, that substitutes the proper values into
74558 # config.h.in to produce config.h.
74560 # Create a delimiter string that does not exist in confdefs.h, to ease
74561 # handling of long lines.
74562 ac_delim='%!_!# '
74563 for ac_last_try in false false :; do
74564 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74565 if test -z "$ac_t"; then
74566 break
74567 elif $ac_last_try; then
74568 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74569 else
74570 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74572 done
74574 # For the awk script, D is an array of macro values keyed by name,
74575 # likewise P contains macro parameters if any. Preserve backslash
74576 # newline sequences.
74578 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74579 sed -n '
74580 s/.\{148\}/&'"$ac_delim"'/g
74581 t rset
74582 :rset
74583 s/^[ ]*#[ ]*define[ ][ ]*/ /
74584 t def
74586 :def
74587 s/\\$//
74588 t bsnl
74589 s/["\\]/\\&/g
74590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74591 D["\1"]=" \3"/p
74592 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74594 :bsnl
74595 s/["\\]/\\&/g
74596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74597 D["\1"]=" \3\\\\\\n"\\/p
74598 t cont
74599 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74600 t cont
74602 :cont
74604 s/.\{148\}/&'"$ac_delim"'/g
74605 t clear
74606 :clear
74607 s/\\$//
74608 t bsnlc
74609 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74611 :bsnlc
74612 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74613 b cont
74614 ' <confdefs.h | sed '
74615 s/'"$ac_delim"'/"\\\
74616 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74619 for (key in D) D_is_set[key] = 1
74620 FS = "\a"
74622 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74623 line = \$ 0
74624 split(line, arg, " ")
74625 if (arg[1] == "#") {
74626 defundef = arg[2]
74627 mac1 = arg[3]
74628 } else {
74629 defundef = substr(arg[1], 2)
74630 mac1 = arg[2]
74632 split(mac1, mac2, "(") #)
74633 macro = mac2[1]
74634 prefix = substr(line, 1, index(line, defundef) - 1)
74635 if (D_is_set[macro]) {
74636 # Preserve the white space surrounding the "#".
74637 print prefix "define", macro P[macro] D[macro]
74638 next
74639 } else {
74640 # Replace #undef with comments. This is necessary, for example,
74641 # in the case of _POSIX_SOURCE, which is predefined and required
74642 # on some systems where configure will not decide to define it.
74643 if (defundef == "undef") {
74644 print "/*", prefix defundef, macro, "*/"
74645 next
74649 { print }
74650 _ACAWK
74651 _ACEOF
74652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74653 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74654 fi # test -n "$CONFIG_HEADERS"
74657 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74658 shift
74659 for ac_tag
74661 case $ac_tag in
74662 :[FHLC]) ac_mode=$ac_tag; continue;;
74663 esac
74664 case $ac_mode$ac_tag in
74665 :[FHL]*:*);;
74666 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74667 :[FH]-) ac_tag=-:-;;
74668 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74669 esac
74670 ac_save_IFS=$IFS
74671 IFS=:
74672 set x $ac_tag
74673 IFS=$ac_save_IFS
74674 shift
74675 ac_file=$1
74676 shift
74678 case $ac_mode in
74679 :L) ac_source=$1;;
74680 :[FH])
74681 ac_file_inputs=
74682 for ac_f
74684 case $ac_f in
74685 -) ac_f="$tmp/stdin";;
74686 *) # Look for the file first in the build tree, then in the source tree
74687 # (if the path is not absolute). The absolute path cannot be DOS-style,
74688 # because $ac_f cannot contain `:'.
74689 test -f "$ac_f" ||
74690 case $ac_f in
74691 [\\/$]*) false;;
74692 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74693 esac ||
74694 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74695 esac
74696 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74697 as_fn_append ac_file_inputs " '$ac_f'"
74698 done
74700 # Let's still pretend it is `configure' which instantiates (i.e., don't
74701 # use $as_me), people would be surprised to read:
74702 # /* config.h. Generated by config.status. */
74703 configure_input='Generated from '`
74704 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74705 `' by configure.'
74706 if test x"$ac_file" != x-; then
74707 configure_input="$ac_file. $configure_input"
74708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74709 $as_echo "$as_me: creating $ac_file" >&6;}
74711 # Neutralize special characters interpreted by sed in replacement strings.
74712 case $configure_input in #(
74713 *\&* | *\|* | *\\* )
74714 ac_sed_conf_input=`$as_echo "$configure_input" |
74715 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74716 *) ac_sed_conf_input=$configure_input;;
74717 esac
74719 case $ac_tag in
74720 *:-:* | *:-) cat >"$tmp/stdin" \
74721 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74722 esac
74724 esac
74726 ac_dir=`$as_dirname -- "$ac_file" ||
74727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74728 X"$ac_file" : 'X\(//\)[^/]' \| \
74729 X"$ac_file" : 'X\(//\)$' \| \
74730 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74731 $as_echo X"$ac_file" |
74732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74733 s//\1/
74736 /^X\(\/\/\)[^/].*/{
74737 s//\1/
74740 /^X\(\/\/\)$/{
74741 s//\1/
74744 /^X\(\/\).*/{
74745 s//\1/
74748 s/.*/./; q'`
74749 as_dir="$ac_dir"; as_fn_mkdir_p
74750 ac_builddir=.
74752 case "$ac_dir" in
74753 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74755 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74756 # A ".." for each directory in $ac_dir_suffix.
74757 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74758 case $ac_top_builddir_sub in
74759 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74760 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74761 esac ;;
74762 esac
74763 ac_abs_top_builddir=$ac_pwd
74764 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74765 # for backward compatibility:
74766 ac_top_builddir=$ac_top_build_prefix
74768 case $srcdir in
74769 .) # We are building in place.
74770 ac_srcdir=.
74771 ac_top_srcdir=$ac_top_builddir_sub
74772 ac_abs_top_srcdir=$ac_pwd ;;
74773 [\\/]* | ?:[\\/]* ) # Absolute name.
74774 ac_srcdir=$srcdir$ac_dir_suffix;
74775 ac_top_srcdir=$srcdir
74776 ac_abs_top_srcdir=$srcdir ;;
74777 *) # Relative name.
74778 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74779 ac_top_srcdir=$ac_top_build_prefix$srcdir
74780 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74781 esac
74782 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74785 case $ac_mode in
74788 # CONFIG_FILE
74791 case $INSTALL in
74792 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74793 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74794 esac
74795 ac_MKDIR_P=$MKDIR_P
74796 case $MKDIR_P in
74797 [\\/$]* | ?:[\\/]* ) ;;
74798 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74799 esac
74800 _ACEOF
74802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74803 # If the template does not know about datarootdir, expand it.
74804 # FIXME: This hack should be removed a few years after 2.60.
74805 ac_datarootdir_hack=; ac_datarootdir_seen=
74806 ac_sed_dataroot='
74807 /datarootdir/ {
74811 /@datadir@/p
74812 /@docdir@/p
74813 /@infodir@/p
74814 /@localedir@/p
74815 /@mandir@/p'
74816 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74817 *datarootdir*) ac_datarootdir_seen=yes;;
74818 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74820 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74821 _ACEOF
74822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74823 ac_datarootdir_hack='
74824 s&@datadir@&$datadir&g
74825 s&@docdir@&$docdir&g
74826 s&@infodir@&$infodir&g
74827 s&@localedir@&$localedir&g
74828 s&@mandir@&$mandir&g
74829 s&\\\${datarootdir}&$datarootdir&g' ;;
74830 esac
74831 _ACEOF
74833 # Neutralize VPATH when `$srcdir' = `.'.
74834 # Shell code in configure.ac might set extrasub.
74835 # FIXME: do we really want to maintain this feature?
74836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74837 ac_sed_extra="$ac_vpsub
74838 $extrasub
74839 _ACEOF
74840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74843 s|@configure_input@|$ac_sed_conf_input|;t t
74844 s&@top_builddir@&$ac_top_builddir_sub&;t t
74845 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74846 s&@srcdir@&$ac_srcdir&;t t
74847 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74848 s&@top_srcdir@&$ac_top_srcdir&;t t
74849 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74850 s&@builddir@&$ac_builddir&;t t
74851 s&@abs_builddir@&$ac_abs_builddir&;t t
74852 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74853 s&@INSTALL@&$ac_INSTALL&;t t
74854 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74855 $ac_datarootdir_hack
74857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74858 || as_fn_error "could not create $ac_file" "$LINENO" 5
74860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74861 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74862 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74864 which seems to be undefined. Please make sure it is defined." >&5
74865 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74866 which seems to be undefined. Please make sure it is defined." >&2;}
74868 rm -f "$tmp/stdin"
74869 case $ac_file in
74870 -) cat "$tmp/out" && rm -f "$tmp/out";;
74871 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74872 esac \
74873 || as_fn_error "could not create $ac_file" "$LINENO" 5
74877 # CONFIG_HEADER
74879 if test x"$ac_file" != x-; then
74881 $as_echo "/* $configure_input */" \
74882 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74883 } >"$tmp/config.h" \
74884 || as_fn_error "could not create $ac_file" "$LINENO" 5
74885 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74886 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74887 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74888 else
74889 rm -f "$ac_file"
74890 mv "$tmp/config.h" "$ac_file" \
74891 || as_fn_error "could not create $ac_file" "$LINENO" 5
74893 else
74894 $as_echo "/* $configure_input */" \
74895 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74896 || as_fn_error "could not create -" "$LINENO" 5
74898 # Compute "$ac_file"'s index in $config_headers.
74899 _am_arg="$ac_file"
74900 _am_stamp_count=1
74901 for _am_header in $config_headers :; do
74902 case $_am_header in
74903 $_am_arg | $_am_arg:* )
74904 break ;;
74906 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74907 esac
74908 done
74909 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74910 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74911 X"$_am_arg" : 'X\(//\)[^/]' \| \
74912 X"$_am_arg" : 'X\(//\)$' \| \
74913 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74914 $as_echo X"$_am_arg" |
74915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74916 s//\1/
74919 /^X\(\/\/\)[^/].*/{
74920 s//\1/
74923 /^X\(\/\/\)$/{
74924 s//\1/
74927 /^X\(\/\).*/{
74928 s//\1/
74931 s/.*/./; q'`/stamp-h$_am_stamp_count
74934 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74935 $as_echo "$as_me: executing $ac_file commands" >&6;}
74937 esac
74940 case $ac_file$ac_mode in
74941 "default-1":C)
74942 # Only add multilib support code if we just rebuilt the top-level
74943 # Makefile.
74944 case " $CONFIG_FILES " in
74945 *" Makefile "*)
74946 ac_file=Makefile . ${multi_basedir}/config-ml.in
74948 esac ;;
74949 "libtool":C)
74951 # See if we are running on zsh, and set the options which allow our
74952 # commands through without removal of \ escapes.
74953 if test -n "${ZSH_VERSION+set}" ; then
74954 setopt NO_GLOB_SUBST
74957 cfgfile="${ofile}T"
74958 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
74959 $RM "$cfgfile"
74961 cat <<_LT_EOF >> "$cfgfile"
74962 #! $SHELL
74964 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74965 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
74966 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74967 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
74969 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
74970 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
74971 # Written by Gordon Matzigkeit, 1996
74973 # This file is part of GNU Libtool.
74975 # GNU Libtool is free software; you can redistribute it and/or
74976 # modify it under the terms of the GNU General Public License as
74977 # published by the Free Software Foundation; either version 2 of
74978 # the License, or (at your option) any later version.
74980 # As a special exception to the GNU General Public License,
74981 # if you distribute this file as part of a program or library that
74982 # is built using GNU Libtool, you may include this file under the
74983 # same distribution terms that you use for the rest of that program.
74985 # GNU Libtool is distributed in the hope that it will be useful,
74986 # but WITHOUT ANY WARRANTY; without even the implied warranty of
74987 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74988 # GNU General Public License for more details.
74990 # You should have received a copy of the GNU General Public License
74991 # along with GNU Libtool; see the file COPYING. If not, a copy
74992 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
74993 # obtained by writing to the Free Software Foundation, Inc.,
74994 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74997 # The names of the tagged configurations supported by this script.
74998 available_tags="CXX "
75000 # ### BEGIN LIBTOOL CONFIG
75002 # Which release of libtool.m4 was used?
75003 macro_version=$macro_version
75004 macro_revision=$macro_revision
75006 # Whether or not to build shared libraries.
75007 build_libtool_libs=$enable_shared
75009 # Whether or not to build static libraries.
75010 build_old_libs=$enable_static
75012 # What type of objects to build.
75013 pic_mode=$pic_mode
75015 # Whether or not to optimize for fast installation.
75016 fast_install=$enable_fast_install
75018 # Shell to use when invoking shell scripts.
75019 SHELL=$lt_SHELL
75021 # An echo program that protects backslashes.
75022 ECHO=$lt_ECHO
75024 # The host system.
75025 host_alias=$host_alias
75026 host=$host
75027 host_os=$host_os
75029 # The build system.
75030 build_alias=$build_alias
75031 build=$build
75032 build_os=$build_os
75034 # A sed program that does not truncate output.
75035 SED=$lt_SED
75037 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75038 Xsed="\$SED -e 1s/^X//"
75040 # A grep program that handles long lines.
75041 GREP=$lt_GREP
75043 # An ERE matcher.
75044 EGREP=$lt_EGREP
75046 # A literal string matcher.
75047 FGREP=$lt_FGREP
75049 # A BSD- or MS-compatible name lister.
75050 NM=$lt_NM
75052 # Whether we need soft or hard links.
75053 LN_S=$lt_LN_S
75055 # What is the maximum length of a command?
75056 max_cmd_len=$max_cmd_len
75058 # Object file suffix (normally "o").
75059 objext=$ac_objext
75061 # Executable file suffix (normally "").
75062 exeext=$exeext
75064 # whether the shell understands "unset".
75065 lt_unset=$lt_unset
75067 # turn spaces into newlines.
75068 SP2NL=$lt_lt_SP2NL
75070 # turn newlines into spaces.
75071 NL2SP=$lt_lt_NL2SP
75073 # An object symbol dumper.
75074 OBJDUMP=$lt_OBJDUMP
75076 # Method to check whether dependent libraries are shared objects.
75077 deplibs_check_method=$lt_deplibs_check_method
75079 # Command to use when deplibs_check_method == "file_magic".
75080 file_magic_cmd=$lt_file_magic_cmd
75082 # The archiver.
75083 AR=$lt_AR
75084 AR_FLAGS=$lt_AR_FLAGS
75086 # A symbol stripping program.
75087 STRIP=$lt_STRIP
75089 # Commands used to install an old-style archive.
75090 RANLIB=$lt_RANLIB
75091 old_postinstall_cmds=$lt_old_postinstall_cmds
75092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75094 # Whether to use a lock for old archive extraction.
75095 lock_old_archive_extraction=$lock_old_archive_extraction
75097 # A C compiler.
75098 LTCC=$lt_CC
75100 # LTCC compiler flags.
75101 LTCFLAGS=$lt_CFLAGS
75103 # Take the output of nm and produce a listing of raw symbols and C names.
75104 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75106 # Transform the output of nm in a proper C declaration.
75107 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75109 # Transform the output of nm in a C name address pair.
75110 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75112 # Transform the output of nm in a C name address pair when lib prefix is needed.
75113 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75115 # The name of the directory that contains temporary libtool files.
75116 objdir=$objdir
75118 # Used to examine libraries when file_magic_cmd begins with "file".
75119 MAGIC_CMD=$MAGIC_CMD
75121 # Must we lock files when doing compilation?
75122 need_locks=$lt_need_locks
75124 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75125 DSYMUTIL=$lt_DSYMUTIL
75127 # Tool to change global to local symbols on Mac OS X.
75128 NMEDIT=$lt_NMEDIT
75130 # Tool to manipulate fat objects and archives on Mac OS X.
75131 LIPO=$lt_LIPO
75133 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75134 OTOOL=$lt_OTOOL
75136 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75137 OTOOL64=$lt_OTOOL64
75139 # Old archive suffix (normally "a").
75140 libext=$libext
75142 # Shared library suffix (normally ".so").
75143 shrext_cmds=$lt_shrext_cmds
75145 # The commands to extract the exported symbol list from a shared archive.
75146 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75148 # Variables whose values should be saved in libtool wrapper scripts and
75149 # restored at link time.
75150 variables_saved_for_relink=$lt_variables_saved_for_relink
75152 # Do we need the "lib" prefix for modules?
75153 need_lib_prefix=$need_lib_prefix
75155 # Do we need a version for libraries?
75156 need_version=$need_version
75158 # Library versioning type.
75159 version_type=$version_type
75161 # Shared library runtime path variable.
75162 runpath_var=$runpath_var
75164 # Shared library path variable.
75165 shlibpath_var=$shlibpath_var
75167 # Is shlibpath searched before the hard-coded library search path?
75168 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75170 # Format of library name prefix.
75171 libname_spec=$lt_libname_spec
75173 # List of archive names. First name is the real one, the rest are links.
75174 # The last name is the one that the linker finds with -lNAME
75175 library_names_spec=$lt_library_names_spec
75177 # The coded name of the library, if different from the real name.
75178 soname_spec=$lt_soname_spec
75180 # Permission mode override for installation of shared libraries.
75181 install_override_mode=$lt_install_override_mode
75183 # Command to use after installation of a shared archive.
75184 postinstall_cmds=$lt_postinstall_cmds
75186 # Command to use after uninstallation of a shared archive.
75187 postuninstall_cmds=$lt_postuninstall_cmds
75189 # Commands used to finish a libtool library installation in a directory.
75190 finish_cmds=$lt_finish_cmds
75192 # As "finish_cmds", except a single script fragment to be evaled but
75193 # not shown.
75194 finish_eval=$lt_finish_eval
75196 # Whether we should hardcode library paths into libraries.
75197 hardcode_into_libs=$hardcode_into_libs
75199 # Compile-time system search path for libraries.
75200 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75202 # Run-time system search path for libraries.
75203 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75205 # Whether dlopen is supported.
75206 dlopen_support=$enable_dlopen
75208 # Whether dlopen of programs is supported.
75209 dlopen_self=$enable_dlopen_self
75211 # Whether dlopen of statically linked programs is supported.
75212 dlopen_self_static=$enable_dlopen_self_static
75214 # Commands to strip libraries.
75215 old_striplib=$lt_old_striplib
75216 striplib=$lt_striplib
75219 # The linker used to build libraries.
75220 LD=$lt_LD
75222 # How to create reloadable object files.
75223 reload_flag=$lt_reload_flag
75224 reload_cmds=$lt_reload_cmds
75226 # Commands used to build an old-style archive.
75227 old_archive_cmds=$lt_old_archive_cmds
75229 # A language specific compiler.
75230 CC=$lt_compiler
75232 # Is the compiler the GNU compiler?
75233 with_gcc=$GCC
75235 # Compiler flag to turn off builtin functions.
75236 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75238 # How to pass a linker flag through the compiler.
75239 wl=$lt_lt_prog_compiler_wl
75241 # Additional compiler flags for building library objects.
75242 pic_flag=$lt_lt_prog_compiler_pic
75244 # Compiler flag to prevent dynamic linking.
75245 link_static_flag=$lt_lt_prog_compiler_static
75247 # Does compiler simultaneously support -c and -o options?
75248 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75250 # Whether or not to add -lc for building shared libraries.
75251 build_libtool_need_lc=$archive_cmds_need_lc
75253 # Whether or not to disallow shared libs when runtime libs are static.
75254 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75256 # Compiler flag to allow reflexive dlopens.
75257 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75259 # Compiler flag to generate shared objects directly from archives.
75260 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75262 # Whether the compiler copes with passing no objects directly.
75263 compiler_needs_object=$lt_compiler_needs_object
75265 # Create an old-style archive from a shared archive.
75266 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75268 # Create a temporary old-style archive to link instead of a shared archive.
75269 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75271 # Commands used to build a shared archive.
75272 archive_cmds=$lt_archive_cmds
75273 archive_expsym_cmds=$lt_archive_expsym_cmds
75275 # Commands used to build a loadable module if different from building
75276 # a shared archive.
75277 module_cmds=$lt_module_cmds
75278 module_expsym_cmds=$lt_module_expsym_cmds
75280 # Whether we are building with GNU ld or not.
75281 with_gnu_ld=$lt_with_gnu_ld
75283 # Flag that allows shared libraries with undefined symbols to be built.
75284 allow_undefined_flag=$lt_allow_undefined_flag
75286 # Flag that enforces no undefined symbols.
75287 no_undefined_flag=$lt_no_undefined_flag
75289 # Flag to hardcode \$libdir into a binary during linking.
75290 # This must work even if \$libdir does not exist
75291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75293 # If ld is used when linking, flag to hardcode \$libdir into a binary
75294 # during linking. This must work even if \$libdir does not exist.
75295 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75297 # Whether we need a single "-rpath" flag with a separated argument.
75298 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75300 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75301 # DIR into the resulting binary.
75302 hardcode_direct=$hardcode_direct
75304 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75305 # DIR into the resulting binary and the resulting library dependency is
75306 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75307 # library is relocated.
75308 hardcode_direct_absolute=$hardcode_direct_absolute
75310 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75311 # into the resulting binary.
75312 hardcode_minus_L=$hardcode_minus_L
75314 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75315 # into the resulting binary.
75316 hardcode_shlibpath_var=$hardcode_shlibpath_var
75318 # Set to "yes" if building a shared library automatically hardcodes DIR
75319 # into the library and all subsequent libraries and executables linked
75320 # against it.
75321 hardcode_automatic=$hardcode_automatic
75323 # Set to yes if linker adds runtime paths of dependent libraries
75324 # to runtime path list.
75325 inherit_rpath=$inherit_rpath
75327 # Whether libtool must link a program against all its dependency libraries.
75328 link_all_deplibs=$link_all_deplibs
75330 # Fix the shell variable \$srcfile for the compiler.
75331 fix_srcfile_path=$lt_fix_srcfile_path
75333 # Set to "yes" if exported symbols are required.
75334 always_export_symbols=$always_export_symbols
75336 # The commands to list exported symbols.
75337 export_symbols_cmds=$lt_export_symbols_cmds
75339 # Symbols that should not be listed in the preloaded symbols.
75340 exclude_expsyms=$lt_exclude_expsyms
75342 # Symbols that must always be exported.
75343 include_expsyms=$lt_include_expsyms
75345 # Commands necessary for linking programs (against libraries) with templates.
75346 prelink_cmds=$lt_prelink_cmds
75348 # Specify filename containing input files.
75349 file_list_spec=$lt_file_list_spec
75351 # How to hardcode a shared library path into an executable.
75352 hardcode_action=$hardcode_action
75354 # The directories searched by this compiler when creating a shared library.
75355 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75357 # Dependencies to place before and after the objects being linked to
75358 # create a shared library.
75359 predep_objects=$lt_predep_objects
75360 postdep_objects=$lt_postdep_objects
75361 predeps=$lt_predeps
75362 postdeps=$lt_postdeps
75364 # The library search path used internally by the compiler when linking
75365 # a shared library.
75366 compiler_lib_search_path=$lt_compiler_lib_search_path
75368 # ### END LIBTOOL CONFIG
75370 _LT_EOF
75372 case $host_os in
75373 aix3*)
75374 cat <<\_LT_EOF >> "$cfgfile"
75375 # AIX sometimes has problems with the GCC collect2 program. For some
75376 # reason, if we set the COLLECT_NAMES environment variable, the problems
75377 # vanish in a puff of smoke.
75378 if test "X${COLLECT_NAMES+set}" != Xset; then
75379 COLLECT_NAMES=
75380 export COLLECT_NAMES
75382 _LT_EOF
75384 esac
75387 ltmain="$ac_aux_dir/ltmain.sh"
75390 # We use sed instead of cat because bash on DJGPP gets confused if
75391 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75392 # text mode, it properly converts lines to CR/LF. This bash problem
75393 # is reportedly fixed, but why not run on old versions too?
75394 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75395 || (rm -f "$cfgfile"; exit 1)
75397 case $xsi_shell in
75398 yes)
75399 cat << \_LT_EOF >> "$cfgfile"
75401 # func_dirname file append nondir_replacement
75402 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75403 # otherwise set result to NONDIR_REPLACEMENT.
75404 func_dirname ()
75406 case ${1} in
75407 */*) func_dirname_result="${1%/*}${2}" ;;
75408 * ) func_dirname_result="${3}" ;;
75409 esac
75412 # func_basename file
75413 func_basename ()
75415 func_basename_result="${1##*/}"
75418 # func_dirname_and_basename file append nondir_replacement
75419 # perform func_basename and func_dirname in a single function
75420 # call:
75421 # dirname: Compute the dirname of FILE. If nonempty,
75422 # add APPEND to the result, otherwise set result
75423 # to NONDIR_REPLACEMENT.
75424 # value returned in "$func_dirname_result"
75425 # basename: Compute filename of FILE.
75426 # value retuned in "$func_basename_result"
75427 # Implementation must be kept synchronized with func_dirname
75428 # and func_basename. For efficiency, we do not delegate to
75429 # those functions but instead duplicate the functionality here.
75430 func_dirname_and_basename ()
75432 case ${1} in
75433 */*) func_dirname_result="${1%/*}${2}" ;;
75434 * ) func_dirname_result="${3}" ;;
75435 esac
75436 func_basename_result="${1##*/}"
75439 # func_stripname prefix suffix name
75440 # strip PREFIX and SUFFIX off of NAME.
75441 # PREFIX and SUFFIX must not contain globbing or regex special
75442 # characters, hashes, percent signs, but SUFFIX may contain a leading
75443 # dot (in which case that matches only a dot).
75444 func_stripname ()
75446 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75447 # positional parameters, so assign one to ordinary parameter first.
75448 func_stripname_result=${3}
75449 func_stripname_result=${func_stripname_result#"${1}"}
75450 func_stripname_result=${func_stripname_result%"${2}"}
75453 # func_opt_split
75454 func_opt_split ()
75456 func_opt_split_opt=${1%%=*}
75457 func_opt_split_arg=${1#*=}
75460 # func_lo2o object
75461 func_lo2o ()
75463 case ${1} in
75464 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75465 *) func_lo2o_result=${1} ;;
75466 esac
75469 # func_xform libobj-or-source
75470 func_xform ()
75472 func_xform_result=${1%.*}.lo
75475 # func_arith arithmetic-term...
75476 func_arith ()
75478 func_arith_result=$(( $* ))
75481 # func_len string
75482 # STRING may not start with a hyphen.
75483 func_len ()
75485 func_len_result=${#1}
75488 _LT_EOF
75490 *) # Bourne compatible functions.
75491 cat << \_LT_EOF >> "$cfgfile"
75493 # func_dirname file append nondir_replacement
75494 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75495 # otherwise set result to NONDIR_REPLACEMENT.
75496 func_dirname ()
75498 # Extract subdirectory from the argument.
75499 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75500 if test "X$func_dirname_result" = "X${1}"; then
75501 func_dirname_result="${3}"
75502 else
75503 func_dirname_result="$func_dirname_result${2}"
75507 # func_basename file
75508 func_basename ()
75510 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75514 # func_stripname prefix suffix name
75515 # strip PREFIX and SUFFIX off of NAME.
75516 # PREFIX and SUFFIX must not contain globbing or regex special
75517 # characters, hashes, percent signs, but SUFFIX may contain a leading
75518 # dot (in which case that matches only a dot).
75519 # func_strip_suffix prefix name
75520 func_stripname ()
75522 case ${2} in
75523 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75524 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75525 esac
75528 # sed scripts:
75529 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75530 my_sed_long_arg='1s/^-[^=]*=//'
75532 # func_opt_split
75533 func_opt_split ()
75535 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75536 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75539 # func_lo2o object
75540 func_lo2o ()
75542 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75545 # func_xform libobj-or-source
75546 func_xform ()
75548 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75551 # func_arith arithmetic-term...
75552 func_arith ()
75554 func_arith_result=`expr "$@"`
75557 # func_len string
75558 # STRING may not start with a hyphen.
75559 func_len ()
75561 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75564 _LT_EOF
75565 esac
75567 case $lt_shell_append in
75568 yes)
75569 cat << \_LT_EOF >> "$cfgfile"
75571 # func_append var value
75572 # Append VALUE to the end of shell variable VAR.
75573 func_append ()
75575 eval "$1+=\$2"
75577 _LT_EOF
75580 cat << \_LT_EOF >> "$cfgfile"
75582 # func_append var value
75583 # Append VALUE to the end of shell variable VAR.
75584 func_append ()
75586 eval "$1=\$$1\$2"
75589 _LT_EOF
75591 esac
75594 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75595 || (rm -f "$cfgfile"; exit 1)
75597 mv -f "$cfgfile" "$ofile" ||
75598 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75599 chmod +x "$ofile"
75602 cat <<_LT_EOF >> "$ofile"
75604 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75606 # The linker used to build libraries.
75607 LD=$lt_LD_CXX
75609 # How to create reloadable object files.
75610 reload_flag=$lt_reload_flag_CXX
75611 reload_cmds=$lt_reload_cmds_CXX
75613 # Commands used to build an old-style archive.
75614 old_archive_cmds=$lt_old_archive_cmds_CXX
75616 # A language specific compiler.
75617 CC=$lt_compiler_CXX
75619 # Is the compiler the GNU compiler?
75620 with_gcc=$GCC_CXX
75622 # Compiler flag to turn off builtin functions.
75623 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75625 # How to pass a linker flag through the compiler.
75626 wl=$lt_lt_prog_compiler_wl_CXX
75628 # Additional compiler flags for building library objects.
75629 pic_flag=$lt_lt_prog_compiler_pic_CXX
75631 # Compiler flag to prevent dynamic linking.
75632 link_static_flag=$lt_lt_prog_compiler_static_CXX
75634 # Does compiler simultaneously support -c and -o options?
75635 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75637 # Whether or not to add -lc for building shared libraries.
75638 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75640 # Whether or not to disallow shared libs when runtime libs are static.
75641 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75643 # Compiler flag to allow reflexive dlopens.
75644 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75646 # Compiler flag to generate shared objects directly from archives.
75647 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75649 # Whether the compiler copes with passing no objects directly.
75650 compiler_needs_object=$lt_compiler_needs_object_CXX
75652 # Create an old-style archive from a shared archive.
75653 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75655 # Create a temporary old-style archive to link instead of a shared archive.
75656 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75658 # Commands used to build a shared archive.
75659 archive_cmds=$lt_archive_cmds_CXX
75660 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75662 # Commands used to build a loadable module if different from building
75663 # a shared archive.
75664 module_cmds=$lt_module_cmds_CXX
75665 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75667 # Whether we are building with GNU ld or not.
75668 with_gnu_ld=$lt_with_gnu_ld_CXX
75670 # Flag that allows shared libraries with undefined symbols to be built.
75671 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75673 # Flag that enforces no undefined symbols.
75674 no_undefined_flag=$lt_no_undefined_flag_CXX
75676 # Flag to hardcode \$libdir into a binary during linking.
75677 # This must work even if \$libdir does not exist
75678 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75680 # If ld is used when linking, flag to hardcode \$libdir into a binary
75681 # during linking. This must work even if \$libdir does not exist.
75682 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75684 # Whether we need a single "-rpath" flag with a separated argument.
75685 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75687 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75688 # DIR into the resulting binary.
75689 hardcode_direct=$hardcode_direct_CXX
75691 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75692 # DIR into the resulting binary and the resulting library dependency is
75693 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75694 # library is relocated.
75695 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75697 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75698 # into the resulting binary.
75699 hardcode_minus_L=$hardcode_minus_L_CXX
75701 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75702 # into the resulting binary.
75703 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75705 # Set to "yes" if building a shared library automatically hardcodes DIR
75706 # into the library and all subsequent libraries and executables linked
75707 # against it.
75708 hardcode_automatic=$hardcode_automatic_CXX
75710 # Set to yes if linker adds runtime paths of dependent libraries
75711 # to runtime path list.
75712 inherit_rpath=$inherit_rpath_CXX
75714 # Whether libtool must link a program against all its dependency libraries.
75715 link_all_deplibs=$link_all_deplibs_CXX
75717 # Fix the shell variable \$srcfile for the compiler.
75718 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75720 # Set to "yes" if exported symbols are required.
75721 always_export_symbols=$always_export_symbols_CXX
75723 # The commands to list exported symbols.
75724 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75726 # Symbols that should not be listed in the preloaded symbols.
75727 exclude_expsyms=$lt_exclude_expsyms_CXX
75729 # Symbols that must always be exported.
75730 include_expsyms=$lt_include_expsyms_CXX
75732 # Commands necessary for linking programs (against libraries) with templates.
75733 prelink_cmds=$lt_prelink_cmds_CXX
75735 # Specify filename containing input files.
75736 file_list_spec=$lt_file_list_spec_CXX
75738 # How to hardcode a shared library path into an executable.
75739 hardcode_action=$hardcode_action_CXX
75741 # The directories searched by this compiler when creating a shared library.
75742 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75744 # Dependencies to place before and after the objects being linked to
75745 # create a shared library.
75746 predep_objects=$lt_predep_objects_CXX
75747 postdep_objects=$lt_postdep_objects_CXX
75748 predeps=$lt_predeps_CXX
75749 postdeps=$lt_postdeps_CXX
75751 # The library search path used internally by the compiler when linking
75752 # a shared library.
75753 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75755 # ### END LIBTOOL TAG CONFIG: CXX
75756 _LT_EOF
75759 "include/gstdint.h":C)
75760 if test "$GCC" = yes; then
75761 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75762 else
75763 echo "/* generated for $CC */" > tmp-stdint.h
75766 sed 's/^ *//' >> tmp-stdint.h <<EOF
75768 #ifndef GCC_GENERATED_STDINT_H
75769 #define GCC_GENERATED_STDINT_H 1
75771 #include <sys/types.h>
75774 if test "$acx_cv_header_stdint" != stdint.h; then
75775 echo "#include <stddef.h>" >> tmp-stdint.h
75777 if test "$acx_cv_header_stdint" != stddef.h; then
75778 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75781 sed 's/^ *//' >> tmp-stdint.h <<EOF
75782 /* glibc uses these symbols as guards to prevent redefinitions. */
75783 #ifdef __int8_t_defined
75784 #define _INT8_T
75785 #define _INT16_T
75786 #define _INT32_T
75787 #endif
75788 #ifdef __uint32_t_defined
75789 #define _UINT32_T
75790 #endif
75794 # ----------------- done header, emit basic int types -------------
75795 if test "$acx_cv_header_stdint" = stddef.h; then
75796 sed 's/^ *//' >> tmp-stdint.h <<EOF
75798 #ifndef _UINT8_T
75799 #define _UINT8_T
75800 #ifndef __uint8_t_defined
75801 #define __uint8_t_defined
75802 #ifndef uint8_t
75803 typedef unsigned $acx_cv_type_int8_t uint8_t;
75804 #endif
75805 #endif
75806 #endif
75808 #ifndef _UINT16_T
75809 #define _UINT16_T
75810 #ifndef __uint16_t_defined
75811 #define __uint16_t_defined
75812 #ifndef uint16_t
75813 typedef unsigned $acx_cv_type_int16_t uint16_t;
75814 #endif
75815 #endif
75816 #endif
75818 #ifndef _UINT32_T
75819 #define _UINT32_T
75820 #ifndef __uint32_t_defined
75821 #define __uint32_t_defined
75822 #ifndef uint32_t
75823 typedef unsigned $acx_cv_type_int32_t uint32_t;
75824 #endif
75825 #endif
75826 #endif
75828 #ifndef _INT8_T
75829 #define _INT8_T
75830 #ifndef __int8_t_defined
75831 #define __int8_t_defined
75832 #ifndef int8_t
75833 typedef $acx_cv_type_int8_t int8_t;
75834 #endif
75835 #endif
75836 #endif
75838 #ifndef _INT16_T
75839 #define _INT16_T
75840 #ifndef __int16_t_defined
75841 #define __int16_t_defined
75842 #ifndef int16_t
75843 typedef $acx_cv_type_int16_t int16_t;
75844 #endif
75845 #endif
75846 #endif
75848 #ifndef _INT32_T
75849 #define _INT32_T
75850 #ifndef __int32_t_defined
75851 #define __int32_t_defined
75852 #ifndef int32_t
75853 typedef $acx_cv_type_int32_t int32_t;
75854 #endif
75855 #endif
75856 #endif
75858 elif test "$ac_cv_type_u_int32_t" = yes; then
75859 sed 's/^ *//' >> tmp-stdint.h <<EOF
75861 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75862 #ifndef _INT8_T
75863 #define _INT8_T
75864 #endif
75865 #ifndef _INT16_T
75866 #define _INT16_T
75867 #endif
75868 #ifndef _INT32_T
75869 #define _INT32_T
75870 #endif
75872 #ifndef _UINT8_T
75873 #define _UINT8_T
75874 #ifndef __uint8_t_defined
75875 #define __uint8_t_defined
75876 #ifndef uint8_t
75877 typedef u_int8_t uint8_t;
75878 #endif
75879 #endif
75880 #endif
75882 #ifndef _UINT16_T
75883 #define _UINT16_T
75884 #ifndef __uint16_t_defined
75885 #define __uint16_t_defined
75886 #ifndef uint16_t
75887 typedef u_int16_t uint16_t;
75888 #endif
75889 #endif
75890 #endif
75892 #ifndef _UINT32_T
75893 #define _UINT32_T
75894 #ifndef __uint32_t_defined
75895 #define __uint32_t_defined
75896 #ifndef uint32_t
75897 typedef u_int32_t uint32_t;
75898 #endif
75899 #endif
75900 #endif
75902 else
75903 sed 's/^ *//' >> tmp-stdint.h <<EOF
75905 /* Some systems have guard macros to prevent redefinitions, define them. */
75906 #ifndef _INT8_T
75907 #define _INT8_T
75908 #endif
75909 #ifndef _INT16_T
75910 #define _INT16_T
75911 #endif
75912 #ifndef _INT32_T
75913 #define _INT32_T
75914 #endif
75915 #ifndef _UINT8_T
75916 #define _UINT8_T
75917 #endif
75918 #ifndef _UINT16_T
75919 #define _UINT16_T
75920 #endif
75921 #ifndef _UINT32_T
75922 #define _UINT32_T
75923 #endif
75927 # ------------- done basic int types, emit int64_t types ------------
75928 if test "$ac_cv_type_uint64_t" = yes; then
75929 sed 's/^ *//' >> tmp-stdint.h <<EOF
75931 /* system headers have good uint64_t and int64_t */
75932 #ifndef _INT64_T
75933 #define _INT64_T
75934 #endif
75935 #ifndef _UINT64_T
75936 #define _UINT64_T
75937 #endif
75939 elif test "$ac_cv_type_u_int64_t" = yes; then
75940 sed 's/^ *//' >> tmp-stdint.h <<EOF
75942 /* system headers have an u_int64_t (and int64_t) */
75943 #ifndef _INT64_T
75944 #define _INT64_T
75945 #endif
75946 #ifndef _UINT64_T
75947 #define _UINT64_T
75948 #ifndef __uint64_t_defined
75949 #define __uint64_t_defined
75950 #ifndef uint64_t
75951 typedef u_int64_t uint64_t;
75952 #endif
75953 #endif
75954 #endif
75956 elif test -n "$acx_cv_type_int64_t"; then
75957 sed 's/^ *//' >> tmp-stdint.h <<EOF
75959 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
75960 #ifndef _INT64_T
75961 #define _INT64_T
75962 #ifndef int64_t
75963 typedef $acx_cv_type_int64_t int64_t;
75964 #endif
75965 #endif
75966 #ifndef _UINT64_T
75967 #define _UINT64_T
75968 #ifndef __uint64_t_defined
75969 #define __uint64_t_defined
75970 #ifndef uint64_t
75971 typedef unsigned $acx_cv_type_int64_t uint64_t;
75972 #endif
75973 #endif
75974 #endif
75976 else
75977 sed 's/^ *//' >> tmp-stdint.h <<EOF
75979 /* some common heuristics for int64_t, using compiler-specific tests */
75980 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
75981 #ifndef _INT64_T
75982 #define _INT64_T
75983 #ifndef __int64_t_defined
75984 #ifndef int64_t
75985 typedef long long int64_t;
75986 #endif
75987 #endif
75988 #endif
75989 #ifndef _UINT64_T
75990 #define _UINT64_T
75991 #ifndef uint64_t
75992 typedef unsigned long long uint64_t;
75993 #endif
75994 #endif
75996 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
75997 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
75998 does not implement __extension__. But that compiler doesn't define
75999 __GNUC_MINOR__. */
76000 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76001 # define __extension__
76002 # endif
76004 # ifndef _INT64_T
76005 # define _INT64_T
76006 # ifndef int64_t
76007 __extension__ typedef long long int64_t;
76008 # endif
76009 # endif
76010 # ifndef _UINT64_T
76011 # define _UINT64_T
76012 # ifndef uint64_t
76013 __extension__ typedef unsigned long long uint64_t;
76014 # endif
76015 # endif
76017 #elif !defined __STRICT_ANSI__
76018 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76020 # ifndef _INT64_T
76021 # define _INT64_T
76022 # ifndef int64_t
76023 typedef __int64 int64_t;
76024 # endif
76025 # endif
76026 # ifndef _UINT64_T
76027 # define _UINT64_T
76028 # ifndef uint64_t
76029 typedef unsigned __int64 uint64_t;
76030 # endif
76031 # endif
76032 # endif /* compiler */
76034 #endif /* ANSI version */
76038 # ------------- done int64_t types, emit intptr types ------------
76039 if test "$ac_cv_type_uintptr_t" != yes; then
76040 sed 's/^ *//' >> tmp-stdint.h <<EOF
76042 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76043 #ifndef __uintptr_t_defined
76044 #ifndef uintptr_t
76045 typedef u$acx_cv_type_intptr_t uintptr_t;
76046 #endif
76047 #endif
76048 #ifndef __intptr_t_defined
76049 #ifndef intptr_t
76050 typedef $acx_cv_type_intptr_t intptr_t;
76051 #endif
76052 #endif
76056 # ------------- done intptr types, emit int_least types ------------
76057 if test "$ac_cv_type_int_least32_t" != yes; then
76058 sed 's/^ *//' >> tmp-stdint.h <<EOF
76060 /* Define int_least types */
76061 typedef int8_t int_least8_t;
76062 typedef int16_t int_least16_t;
76063 typedef int32_t int_least32_t;
76064 #ifdef _INT64_T
76065 typedef int64_t int_least64_t;
76066 #endif
76068 typedef uint8_t uint_least8_t;
76069 typedef uint16_t uint_least16_t;
76070 typedef uint32_t uint_least32_t;
76071 #ifdef _UINT64_T
76072 typedef uint64_t uint_least64_t;
76073 #endif
76077 # ------------- done intptr types, emit int_fast types ------------
76078 if test "$ac_cv_type_int_fast32_t" != yes; then
76079 sed 's/^ *//' >> tmp-stdint.h <<EOF
76081 /* Define int_fast types. short is often slow */
76082 typedef int8_t int_fast8_t;
76083 typedef int int_fast16_t;
76084 typedef int32_t int_fast32_t;
76085 #ifdef _INT64_T
76086 typedef int64_t int_fast64_t;
76087 #endif
76089 typedef uint8_t uint_fast8_t;
76090 typedef unsigned int uint_fast16_t;
76091 typedef uint32_t uint_fast32_t;
76092 #ifdef _UINT64_T
76093 typedef uint64_t uint_fast64_t;
76094 #endif
76098 if test "$ac_cv_type_uintmax_t" != yes; then
76099 sed 's/^ *//' >> tmp-stdint.h <<EOF
76101 /* Define intmax based on what we found */
76102 #ifndef intmax_t
76103 #ifdef _INT64_T
76104 typedef int64_t intmax_t;
76105 #else
76106 typedef long intmax_t;
76107 #endif
76108 #endif
76109 #ifndef uintmax_t
76110 #ifdef _UINT64_T
76111 typedef uint64_t uintmax_t;
76112 #else
76113 typedef unsigned long uintmax_t;
76114 #endif
76115 #endif
76119 sed 's/^ *//' >> tmp-stdint.h <<EOF
76121 #endif /* GCC_GENERATED_STDINT_H */
76124 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76125 rm -f tmp-stdint.h
76126 else
76127 mv -f tmp-stdint.h include/gstdint.h
76131 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76132 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76133 "include/Makefile":F) cat > vpsed$$ << \_EOF
76134 s!`test -f '$<' || echo '$(srcdir)/'`!!
76135 _EOF
76136 sed -f vpsed$$ $ac_file > tmp$$
76137 mv tmp$$ $ac_file
76138 rm vpsed$$
76139 echo 'MULTISUBDIR =' >> $ac_file
76140 ml_norecursion=yes
76141 . ${multi_basedir}/config-ml.in
76142 { ml_norecursion=; unset ml_norecursion;}
76144 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76145 s!`test -f '$<' || echo '$(srcdir)/'`!!
76146 _EOF
76147 sed -f vpsed$$ $ac_file > tmp$$
76148 mv tmp$$ $ac_file
76149 rm vpsed$$
76150 echo 'MULTISUBDIR =' >> $ac_file
76151 ml_norecursion=yes
76152 . ${multi_basedir}/config-ml.in
76153 { ml_norecursion=; unset ml_norecursion;}
76155 "python/Makefile":F) cat > vpsed$$ << \_EOF
76156 s!`test -f '$<' || echo '$(srcdir)/'`!!
76157 _EOF
76158 sed -f vpsed$$ $ac_file > tmp$$
76159 mv tmp$$ $ac_file
76160 rm vpsed$$
76161 echo 'MULTISUBDIR =' >> $ac_file
76162 ml_norecursion=yes
76163 . ${multi_basedir}/config-ml.in
76164 { ml_norecursion=; unset ml_norecursion;}
76166 "src/Makefile":F) cat > vpsed$$ << \_EOF
76167 s!`test -f '$<' || echo '$(srcdir)/'`!!
76168 _EOF
76169 sed -f vpsed$$ $ac_file > tmp$$
76170 mv tmp$$ $ac_file
76171 rm vpsed$$
76172 echo 'MULTISUBDIR =' >> $ac_file
76173 ml_norecursion=yes
76174 . ${multi_basedir}/config-ml.in
76175 { ml_norecursion=; unset ml_norecursion;}
76177 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76178 s!`test -f '$<' || echo '$(srcdir)/'`!!
76179 _EOF
76180 sed -f vpsed$$ $ac_file > tmp$$
76181 mv tmp$$ $ac_file
76182 rm vpsed$$
76183 echo 'MULTISUBDIR =' >> $ac_file
76184 ml_norecursion=yes
76185 . ${multi_basedir}/config-ml.in
76186 { ml_norecursion=; unset ml_norecursion;}
76188 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76189 s!`test -f '$<' || echo '$(srcdir)/'`!!
76190 _EOF
76191 sed -f vpsed$$ $ac_file > tmp$$
76192 mv tmp$$ $ac_file
76193 rm vpsed$$
76194 echo 'MULTISUBDIR =' >> $ac_file
76195 ml_norecursion=yes
76196 . ${multi_basedir}/config-ml.in
76197 { ml_norecursion=; unset ml_norecursion;}
76199 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76200 s!`test -f '$<' || echo '$(srcdir)/'`!!
76201 _EOF
76202 sed -f vpsed$$ $ac_file > tmp$$
76203 mv tmp$$ $ac_file
76204 rm vpsed$$
76205 echo 'MULTISUBDIR =' >> $ac_file
76206 ml_norecursion=yes
76207 . ${multi_basedir}/config-ml.in
76208 { ml_norecursion=; unset ml_norecursion;}
76210 "po/Makefile":F) cat > vpsed$$ << \_EOF
76211 s!`test -f '$<' || echo '$(srcdir)/'`!!
76212 _EOF
76213 sed -f vpsed$$ $ac_file > tmp$$
76214 mv tmp$$ $ac_file
76215 rm vpsed$$
76216 echo 'MULTISUBDIR =' >> $ac_file
76217 ml_norecursion=yes
76218 . ${multi_basedir}/config-ml.in
76219 { ml_norecursion=; unset ml_norecursion;}
76221 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76222 s!`test -f '$<' || echo '$(srcdir)/'`!!
76223 _EOF
76224 sed -f vpsed$$ $ac_file > tmp$$
76225 mv tmp$$ $ac_file
76226 rm vpsed$$
76227 echo 'MULTISUBDIR =' >> $ac_file
76228 ml_norecursion=yes
76229 . ${multi_basedir}/config-ml.in
76230 { ml_norecursion=; unset ml_norecursion;}
76232 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76234 esac
76235 done # for ac_tag
76238 as_fn_exit 0
76239 _ACEOF
76240 ac_clean_files=$ac_clean_files_save
76242 test $ac_write_fail = 0 ||
76243 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76246 # configure is writing to config.log, and then calls config.status.
76247 # config.status does its own redirection, appending to config.log.
76248 # Unfortunately, on DOS this fails, as config.log is still kept open
76249 # by configure, so config.status won't be able to write to it; its
76250 # output is simply discarded. So we exec the FD to /dev/null,
76251 # effectively closing config.log, so it can be properly (re)opened and
76252 # appended to by config.status. When coming back to configure, we
76253 # need to make the FD available again.
76254 if test "$no_create" != yes; then
76255 ac_cs_success=:
76256 ac_config_status_args=
76257 test "$silent" = yes &&
76258 ac_config_status_args="$ac_config_status_args --quiet"
76259 exec 5>/dev/null
76260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76261 exec 5>>config.log
76262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76263 # would make configure fail if this is the last instruction.
76264 $ac_cs_success || as_fn_exit $?
76266 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76268 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}