cxa_vec.C: Fix typo in comment.
[official-gcc.git] / libstdc++-v3 / configure
blob0c939ed90b8c715996cdeeb814157dd1b87ef3af
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
19851 CXXFLAGS="$ac_save_CXXFLAGS"
19852 LIBS="$ac_save_LIBS"
19853 ac_ext=c
19854 ac_cpp='$CPP $CPPFLAGS'
19855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19862 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19863 if test "x$ac_cv_header_locale_h" = x""yes; then :
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19866 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19867 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19868 $as_echo_n "(cached) " >&6
19869 else
19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19872 #include <locale.h>
19874 main ()
19876 return LC_MESSAGES
19878 return 0;
19880 _ACEOF
19881 if ac_fn_c_try_compile "$LINENO"; then :
19882 ac_cv_val_LC_MESSAGES=yes
19883 else
19884 ac_cv_val_LC_MESSAGES=no
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19889 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19890 if test $ac_cv_val_LC_MESSAGES = yes; then
19892 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19901 # For hardware_concurrency
19902 for ac_header in sys/sysinfo.h
19903 do :
19904 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19905 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_SYS_SYSINFO_H 1
19908 _ACEOF
19912 done
19917 ac_ext=cpp
19918 ac_cpp='$CXXCPP $CPPFLAGS'
19919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19923 ac_save_CXXFLAGS="$CXXFLAGS"
19924 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19927 $as_echo_n "checking for get_nprocs... " >&6; }
19928 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19929 $as_echo_n "(cached) " >&6
19930 else
19932 if test x$gcc_no_link = xyes; then
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19935 #include <sys/sysinfo.h>
19937 main ()
19939 int n = get_nprocs();
19941 return 0;
19943 _ACEOF
19944 if ac_fn_cxx_try_compile "$LINENO"; then :
19945 glibcxx_cv_GET_NPROCS=yes
19946 else
19947 glibcxx_cv_GET_NPROCS=no
19949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950 else
19951 if test x$gcc_no_link = xyes; then
19952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 #include <sys/sysinfo.h>
19958 main ()
19960 int n = get_nprocs();
19962 return 0;
19964 _ACEOF
19965 if ac_fn_cxx_try_link "$LINENO"; then :
19966 glibcxx_cv_GET_NPROCS=yes
19967 else
19968 glibcxx_cv_GET_NPROCS=no
19970 rm -f core conftest.err conftest.$ac_objext \
19971 conftest$ac_exeext conftest.$ac_ext
19976 if test $glibcxx_cv_GET_NPROCS = yes; then
19978 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19982 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19984 CXXFLAGS="$ac_save_CXXFLAGS"
19985 ac_ext=c
19986 ac_cpp='$CPP $CPPFLAGS'
19987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19992 for ac_header in unistd.h
19993 do :
19994 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19995 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19996 cat >>confdefs.h <<_ACEOF
19997 #define HAVE_UNISTD_H 1
19998 _ACEOF
20002 done
20007 ac_ext=cpp
20008 ac_cpp='$CXXCPP $CPPFLAGS'
20009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20013 ac_save_CXXFLAGS="$CXXFLAGS"
20014 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20017 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20018 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20019 $as_echo_n "(cached) " >&6
20020 else
20022 if test x$gcc_no_link = xyes; then
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20025 #include <unistd.h>
20027 main ()
20029 int n = sysconf(_SC_NPROCESSORS_ONLN);
20031 return 0;
20033 _ACEOF
20034 if ac_fn_cxx_try_compile "$LINENO"; then :
20035 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20036 else
20037 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040 else
20041 if test x$gcc_no_link = xyes; then
20042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h. */
20046 #include <unistd.h>
20048 main ()
20050 int n = sysconf(_SC_NPROCESSORS_ONLN);
20052 return 0;
20054 _ACEOF
20055 if ac_fn_cxx_try_link "$LINENO"; then :
20056 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20057 else
20058 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20060 rm -f core conftest.err conftest.$ac_objext \
20061 conftest$ac_exeext conftest.$ac_ext
20066 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20068 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20072 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20074 CXXFLAGS="$ac_save_CXXFLAGS"
20075 ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20085 ac_ext=cpp
20086 ac_cpp='$CXXCPP $CPPFLAGS'
20087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20091 ac_save_CXXFLAGS="$CXXFLAGS"
20092 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20095 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20096 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20097 $as_echo_n "(cached) " >&6
20098 else
20100 if test x$gcc_no_link = xyes; then
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20103 #include <unistd.h>
20105 main ()
20107 int n = sysconf(_SC_NPROC_ONLN);
20109 return 0;
20111 _ACEOF
20112 if ac_fn_cxx_try_compile "$LINENO"; then :
20113 glibcxx_cv_SC_NPROC_ONLN=yes
20114 else
20115 glibcxx_cv_SC_NPROC_ONLN=no
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 else
20119 if test x$gcc_no_link = xyes; then
20120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 #include <unistd.h>
20126 main ()
20128 int n = sysconf(_SC_NPROC_ONLN);
20130 return 0;
20132 _ACEOF
20133 if ac_fn_cxx_try_link "$LINENO"; then :
20134 glibcxx_cv_SC_NPROC_ONLN=yes
20135 else
20136 glibcxx_cv_SC_NPROC_ONLN=no
20138 rm -f core conftest.err conftest.$ac_objext \
20139 conftest$ac_exeext conftest.$ac_ext
20144 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20146 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20150 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20152 CXXFLAGS="$ac_save_CXXFLAGS"
20153 ac_ext=c
20154 ac_cpp='$CPP $CPPFLAGS'
20155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20163 ac_ext=cpp
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20169 ac_save_CXXFLAGS="$CXXFLAGS"
20170 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20173 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20174 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20175 $as_echo_n "(cached) " >&6
20176 else
20178 if test x$gcc_no_link = xyes; then
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <pthread.h>
20183 main ()
20185 int n = pthread_num_processors_np();
20187 return 0;
20189 _ACEOF
20190 if ac_fn_cxx_try_compile "$LINENO"; then :
20191 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20192 else
20193 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 else
20197 if test x$gcc_no_link = xyes; then
20198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20202 #include <pthread.h>
20204 main ()
20206 int n = pthread_num_processors_np();
20208 return 0;
20210 _ACEOF
20211 if ac_fn_cxx_try_link "$LINENO"; then :
20212 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20213 else
20214 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20216 rm -f core conftest.err conftest.$ac_objext \
20217 conftest$ac_exeext conftest.$ac_ext
20222 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20224 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20228 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20230 CXXFLAGS="$ac_save_CXXFLAGS"
20231 ac_ext=c
20232 ac_cpp='$CPP $CPPFLAGS'
20233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20241 ac_ext=cpp
20242 ac_cpp='$CXXCPP $CPPFLAGS'
20243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20247 ac_save_CXXFLAGS="$CXXFLAGS"
20248 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20251 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20252 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20253 $as_echo_n "(cached) " >&6
20254 else
20256 if test x$gcc_no_link = xyes; then
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20260 #include <stddef.h>
20261 #include <sys/sysctl.h>
20264 main ()
20267 int count;
20268 size_t size = sizeof(count);
20269 int mib[] = { CTL_HW, HW_NCPU };
20270 sysctl(mib, 2, &count, &size, NULL, 0);
20273 return 0;
20275 _ACEOF
20276 if ac_fn_cxx_try_compile "$LINENO"; then :
20277 glibcxx_cv_SYSCTL_HW_NCPU=yes
20278 else
20279 glibcxx_cv_SYSCTL_HW_NCPU=no
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 else
20283 if test x$gcc_no_link = xyes; then
20284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h. */
20289 #include <stddef.h>
20290 #include <sys/sysctl.h>
20293 main ()
20296 int count;
20297 size_t size = sizeof(count);
20298 int mib[] = { CTL_HW, HW_NCPU };
20299 sysctl(mib, 2, &count, &size, NULL, 0);
20302 return 0;
20304 _ACEOF
20305 if ac_fn_cxx_try_link "$LINENO"; then :
20306 glibcxx_cv_SYSCTL_HW_NCPU=yes
20307 else
20308 glibcxx_cv_SYSCTL_HW_NCPU=no
20310 rm -f core conftest.err conftest.$ac_objext \
20311 conftest$ac_exeext conftest.$ac_ext
20316 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20318 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20322 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20324 CXXFLAGS="$ac_save_CXXFLAGS"
20325 ac_ext=c
20326 ac_cpp='$CPP $CPPFLAGS'
20327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20333 # Check for available headers.
20334 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20335 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20336 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20337 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20338 wchar.h wctype.h
20339 do :
20340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20342 eval as_val=\$$as_ac_Header
20343 if test "x$as_val" = x""yes; then :
20344 cat >>confdefs.h <<_ACEOF
20345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20346 _ACEOF
20350 done
20353 # Only do link tests if native. Else, hardcode.
20354 if $GLIBCXX_IS_NATIVE; then
20356 # We can do more elaborate tests that assume a working linker.
20357 CANADIAN=no
20361 # Check whether --with-gnu-ld was given.
20362 if test "${with_gnu_ld+set}" = set; then :
20363 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20364 else
20365 with_gnu_ld=no
20368 ac_prog=ld
20369 if test "$GCC" = yes; then
20370 # Check if gcc -print-prog-name=ld gives a path.
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20372 $as_echo_n "checking for ld used by $CC... " >&6; }
20373 case $host in
20374 *-*-mingw*)
20375 # gcc leaves a trailing carriage return which upsets mingw
20376 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20378 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20379 esac
20380 case $ac_prog in
20381 # Accept absolute paths.
20382 [\\/]* | ?:[\\/]*)
20383 re_direlt='/[^/][^/]*/\.\./'
20384 # Canonicalize the pathname of ld
20385 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20386 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20387 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20388 done
20389 test -z "$LD" && LD="$ac_prog"
20392 # If it fails, then pretend we aren't using GCC.
20393 ac_prog=ld
20396 # If it is relative, then search for the first ld in PATH.
20397 with_gnu_ld=unknown
20399 esac
20400 elif test "$with_gnu_ld" = yes; then
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20402 $as_echo_n "checking for GNU ld... " >&6; }
20403 else
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20405 $as_echo_n "checking for non-GNU ld... " >&6; }
20407 if test "${lt_cv_path_LD+set}" = set; then :
20408 $as_echo_n "(cached) " >&6
20409 else
20410 if test -z "$LD"; then
20411 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20412 for ac_dir in $PATH; do
20413 IFS="$lt_save_ifs"
20414 test -z "$ac_dir" && ac_dir=.
20415 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20416 lt_cv_path_LD="$ac_dir/$ac_prog"
20417 # Check to see if the program is GNU ld. I'd rather use --version,
20418 # but apparently some variants of GNU ld only accept -v.
20419 # Break only if it was the GNU/non-GNU ld that we prefer.
20420 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20421 *GNU* | *'with BFD'*)
20422 test "$with_gnu_ld" != no && break
20425 test "$with_gnu_ld" != yes && break
20427 esac
20429 done
20430 IFS="$lt_save_ifs"
20431 else
20432 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20436 LD="$lt_cv_path_LD"
20437 if test -n "$LD"; then
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20439 $as_echo "$LD" >&6; }
20440 else
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20442 $as_echo "no" >&6; }
20444 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20446 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20447 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20448 $as_echo_n "(cached) " >&6
20449 else
20450 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20451 case `$LD -v 2>&1 </dev/null` in
20452 *GNU* | *'with BFD'*)
20453 lt_cv_prog_gnu_ld=yes
20456 lt_cv_prog_gnu_ld=no
20458 esac
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20461 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20462 with_gnu_ld=$lt_cv_prog_gnu_ld
20470 # If we're not using GNU ld, then there's no point in even trying these
20471 # tests. Check for that first. We should have already tested for gld
20472 # by now (in libtool), but require it now just to be safe...
20473 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20474 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20478 # The name set by libtool depends on the version of libtool. Shame on us
20479 # for depending on an impl detail, but c'est la vie. Older versions used
20480 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20481 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20482 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20483 # set (hence we're using an older libtool), then set it.
20484 if test x${with_gnu_ld+set} != xset; then
20485 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20486 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20487 with_gnu_ld=no
20488 else
20489 with_gnu_ld=$ac_cv_prog_gnu_ld
20493 # Start by getting the version number. I think the libtool test already
20494 # does some of this, but throws away the result.
20495 glibcxx_ld_is_gold=no
20496 if test x"$with_gnu_ld" = x"yes"; then
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20498 $as_echo_n "checking for ld version... " >&6; }
20500 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20501 glibcxx_ld_is_gold=yes
20503 ldver=`$LD --version 2>/dev/null |
20504 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'`
20506 glibcxx_gnu_ld_version=`echo $ldver | \
20507 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20509 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20512 # Set --gc-sections.
20513 glibcxx_have_gc_sections=no
20514 if test "$glibcxx_ld_is_gold" = "yes"; then
20515 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20516 glibcxx_have_gc_sections=yes
20518 else
20519 glibcxx_gcsections_min_ld=21602
20520 if test x"$with_gnu_ld" = x"yes" &&
20521 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20522 glibcxx_have_gc_sections=yes
20525 if test "$glibcxx_have_gc_sections" = "yes"; then
20526 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20527 # NB: This flag only works reliably after 2.16.1. Configure tests
20528 # for this are difficult, so hard wire a value that should work.
20530 ac_test_CFLAGS="${CFLAGS+set}"
20531 ac_save_CFLAGS="$CFLAGS"
20532 CFLAGS='-Wl,--gc-sections'
20534 # Check for -Wl,--gc-sections
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20536 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20537 if test x$gcc_no_link = xyes; then
20538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 int one(void) { return 1; }
20543 int two(void) { return 2; }
20546 main ()
20548 two();
20550 return 0;
20552 _ACEOF
20553 if ac_fn_c_try_link "$LINENO"; then :
20554 ac_gcsections=yes
20555 else
20556 ac_gcsections=no
20558 rm -f core conftest.err conftest.$ac_objext \
20559 conftest$ac_exeext conftest.$ac_ext
20560 if test "$ac_gcsections" = "yes"; then
20561 rm -f conftest.c
20562 touch conftest.c
20563 if $CC -c conftest.c; then
20564 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20565 grep "Warning: gc-sections option ignored" > /dev/null; then
20566 ac_gcsections=no
20569 rm -f conftest.c conftest.o conftest
20571 if test "$ac_gcsections" = "yes"; then
20572 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20575 $as_echo "$ac_gcsections" >&6; }
20577 if test "$ac_test_CFLAGS" = set; then
20578 CFLAGS="$ac_save_CFLAGS"
20579 else
20580 # this is the suspicious part
20581 CFLAGS=''
20585 # Set -z,relro.
20586 # Note this is only for shared objects.
20587 ac_ld_relro=no
20588 if test x"$with_gnu_ld" = x"yes"; then
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20590 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20591 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20592 if test -n "$cxx_z_relo"; then
20593 OPT_LDFLAGS="-Wl,-z,relro"
20594 ac_ld_relro=yes
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20597 $as_echo "$ac_ld_relro" >&6; }
20600 # Set linker optimization flags.
20601 if test x"$with_gnu_ld" = x"yes"; then
20602 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20609 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20610 ac_save_CXXFLAGS="$CXXFLAGS"
20611 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20614 $as_echo_n "checking for sin in -lm... " >&6; }
20615 if test "${ac_cv_lib_m_sin+set}" = set; then :
20616 $as_echo_n "(cached) " >&6
20617 else
20618 ac_check_lib_save_LIBS=$LIBS
20619 LIBS="-lm $LIBS"
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20626 /* Override any GCC internal prototype to avoid an error.
20627 Use char because int might match the return type of a GCC
20628 builtin and then its argument prototype would still apply. */
20629 #ifdef __cplusplus
20630 extern "C"
20631 #endif
20632 char sin ();
20634 main ()
20636 return sin ();
20638 return 0;
20640 _ACEOF
20641 if ac_fn_c_try_link "$LINENO"; then :
20642 ac_cv_lib_m_sin=yes
20643 else
20644 ac_cv_lib_m_sin=no
20646 rm -f core conftest.err conftest.$ac_objext \
20647 conftest$ac_exeext conftest.$ac_ext
20648 LIBS=$ac_check_lib_save_LIBS
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20651 $as_echo "$ac_cv_lib_m_sin" >&6; }
20652 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20653 libm="-lm"
20656 ac_save_LIBS="$LIBS"
20657 LIBS="$LIBS $libm"
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20662 $as_echo_n "checking for isinf declaration... " >&6; }
20663 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20664 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20665 $as_echo_n "(cached) " >&6
20666 else
20669 ac_ext=cpp
20670 ac_cpp='$CXXCPP $CPPFLAGS'
20671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20676 /* end confdefs.h. */
20677 #include <math.h>
20678 #ifdef HAVE_IEEEFP_H
20679 #include <ieeefp.h>
20680 #endif
20683 main ()
20685 isinf(0);
20687 return 0;
20689 _ACEOF
20690 if ac_fn_cxx_try_compile "$LINENO"; then :
20691 glibcxx_cv_func_isinf_use=yes
20692 else
20693 glibcxx_cv_func_isinf_use=no
20695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20696 ac_ext=c
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20707 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20709 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20710 for ac_func in isinf
20711 do :
20712 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20713 if test "x$ac_cv_func_isinf" = x""yes; then :
20714 cat >>confdefs.h <<_ACEOF
20715 #define HAVE_ISINF 1
20716 _ACEOF
20719 done
20721 else
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20724 $as_echo_n "checking for _isinf declaration... " >&6; }
20725 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20726 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20727 $as_echo_n "(cached) " >&6
20728 else
20731 ac_ext=cpp
20732 ac_cpp='$CXXCPP $CPPFLAGS'
20733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h. */
20739 #include <math.h>
20740 #ifdef HAVE_IEEEFP_H
20741 #include <ieeefp.h>
20742 #endif
20745 main ()
20747 _isinf(0);
20749 return 0;
20751 _ACEOF
20752 if ac_fn_cxx_try_compile "$LINENO"; then :
20753 glibcxx_cv_func__isinf_use=yes
20754 else
20755 glibcxx_cv_func__isinf_use=no
20757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20758 ac_ext=c
20759 ac_cpp='$CPP $CPPFLAGS'
20760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20769 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20771 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20772 for ac_func in _isinf
20773 do :
20774 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20775 if test "x$ac_cv_func__isinf" = x""yes; then :
20776 cat >>confdefs.h <<_ACEOF
20777 #define HAVE__ISINF 1
20778 _ACEOF
20781 done
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20791 $as_echo_n "checking for isnan declaration... " >&6; }
20792 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20793 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20795 else
20798 ac_ext=cpp
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806 #include <math.h>
20807 #ifdef HAVE_IEEEFP_H
20808 #include <ieeefp.h>
20809 #endif
20812 main ()
20814 isnan(0);
20816 return 0;
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820 glibcxx_cv_func_isnan_use=yes
20821 else
20822 glibcxx_cv_func_isnan_use=no
20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 ac_ext=c
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20836 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20838 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20839 for ac_func in isnan
20840 do :
20841 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20842 if test "x$ac_cv_func_isnan" = x""yes; then :
20843 cat >>confdefs.h <<_ACEOF
20844 #define HAVE_ISNAN 1
20845 _ACEOF
20848 done
20850 else
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20853 $as_echo_n "checking for _isnan declaration... " >&6; }
20854 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20855 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20860 ac_ext=cpp
20861 ac_cpp='$CXXCPP $CPPFLAGS'
20862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h. */
20868 #include <math.h>
20869 #ifdef HAVE_IEEEFP_H
20870 #include <ieeefp.h>
20871 #endif
20874 main ()
20876 _isnan(0);
20878 return 0;
20880 _ACEOF
20881 if ac_fn_cxx_try_compile "$LINENO"; then :
20882 glibcxx_cv_func__isnan_use=yes
20883 else
20884 glibcxx_cv_func__isnan_use=no
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887 ac_ext=c
20888 ac_cpp='$CPP $CPPFLAGS'
20889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20898 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20900 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20901 for ac_func in _isnan
20902 do :
20903 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20904 if test "x$ac_cv_func__isnan" = x""yes; then :
20905 cat >>confdefs.h <<_ACEOF
20906 #define HAVE__ISNAN 1
20907 _ACEOF
20910 done
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20920 $as_echo_n "checking for finite declaration... " >&6; }
20921 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20922 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20923 $as_echo_n "(cached) " >&6
20924 else
20927 ac_ext=cpp
20928 ac_cpp='$CXXCPP $CPPFLAGS'
20929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <math.h>
20936 #ifdef HAVE_IEEEFP_H
20937 #include <ieeefp.h>
20938 #endif
20941 main ()
20943 finite(0);
20945 return 0;
20947 _ACEOF
20948 if ac_fn_cxx_try_compile "$LINENO"; then :
20949 glibcxx_cv_func_finite_use=yes
20950 else
20951 glibcxx_cv_func_finite_use=no
20953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20954 ac_ext=c
20955 ac_cpp='$CPP $CPPFLAGS'
20956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20965 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20967 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20968 for ac_func in finite
20969 do :
20970 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20971 if test "x$ac_cv_func_finite" = x""yes; then :
20972 cat >>confdefs.h <<_ACEOF
20973 #define HAVE_FINITE 1
20974 _ACEOF
20977 done
20979 else
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20982 $as_echo_n "checking for _finite declaration... " >&6; }
20983 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20984 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20986 else
20989 ac_ext=cpp
20990 ac_cpp='$CXXCPP $CPPFLAGS'
20991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #include <math.h>
20998 #ifdef HAVE_IEEEFP_H
20999 #include <ieeefp.h>
21000 #endif
21003 main ()
21005 _finite(0);
21007 return 0;
21009 _ACEOF
21010 if ac_fn_cxx_try_compile "$LINENO"; then :
21011 glibcxx_cv_func__finite_use=yes
21012 else
21013 glibcxx_cv_func__finite_use=no
21015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016 ac_ext=c
21017 ac_cpp='$CPP $CPPFLAGS'
21018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21027 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21029 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21030 for ac_func in _finite
21031 do :
21032 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21033 if test "x$ac_cv_func__finite" = x""yes; then :
21034 cat >>confdefs.h <<_ACEOF
21035 #define HAVE__FINITE 1
21036 _ACEOF
21039 done
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21049 $as_echo_n "checking for sincos declaration... " >&6; }
21050 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21051 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21053 else
21056 ac_ext=cpp
21057 ac_cpp='$CXXCPP $CPPFLAGS'
21058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21064 #include <math.h>
21066 main ()
21068 sincos(0, 0, 0);
21070 return 0;
21072 _ACEOF
21073 if ac_fn_cxx_try_compile "$LINENO"; then :
21074 glibcxx_cv_func_sincos_use=yes
21075 else
21076 glibcxx_cv_func_sincos_use=no
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 ac_ext=c
21080 ac_cpp='$CPP $CPPFLAGS'
21081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21090 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21092 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21093 for ac_func in sincos
21094 do :
21095 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21096 if test "x$ac_cv_func_sincos" = x""yes; then :
21097 cat >>confdefs.h <<_ACEOF
21098 #define HAVE_SINCOS 1
21099 _ACEOF
21102 done
21104 else
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21107 $as_echo_n "checking for _sincos declaration... " >&6; }
21108 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21109 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21110 $as_echo_n "(cached) " >&6
21111 else
21114 ac_ext=cpp
21115 ac_cpp='$CXXCPP $CPPFLAGS'
21116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <math.h>
21124 main ()
21126 _sincos(0, 0, 0);
21128 return 0;
21130 _ACEOF
21131 if ac_fn_cxx_try_compile "$LINENO"; then :
21132 glibcxx_cv_func__sincos_use=yes
21133 else
21134 glibcxx_cv_func__sincos_use=no
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 ac_ext=c
21138 ac_cpp='$CPP $CPPFLAGS'
21139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21148 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21150 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21151 for ac_func in _sincos
21152 do :
21153 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21154 if test "x$ac_cv_func__sincos" = x""yes; then :
21155 cat >>confdefs.h <<_ACEOF
21156 #define HAVE__SINCOS 1
21157 _ACEOF
21160 done
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21170 $as_echo_n "checking for fpclass declaration... " >&6; }
21171 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21172 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21173 $as_echo_n "(cached) " >&6
21174 else
21177 ac_ext=cpp
21178 ac_cpp='$CXXCPP $CPPFLAGS'
21179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21185 #include <math.h>
21186 #ifdef HAVE_IEEEFP_H
21187 #include <ieeefp.h>
21188 #endif
21191 main ()
21193 fpclass(0);
21195 return 0;
21197 _ACEOF
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199 glibcxx_cv_func_fpclass_use=yes
21200 else
21201 glibcxx_cv_func_fpclass_use=no
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 ac_ext=c
21205 ac_cpp='$CPP $CPPFLAGS'
21206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21215 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21217 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21218 for ac_func in fpclass
21219 do :
21220 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21221 if test "x$ac_cv_func_fpclass" = x""yes; then :
21222 cat >>confdefs.h <<_ACEOF
21223 #define HAVE_FPCLASS 1
21224 _ACEOF
21227 done
21229 else
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21232 $as_echo_n "checking for _fpclass declaration... " >&6; }
21233 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21234 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21235 $as_echo_n "(cached) " >&6
21236 else
21239 ac_ext=cpp
21240 ac_cpp='$CXXCPP $CPPFLAGS'
21241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h. */
21247 #include <math.h>
21248 #ifdef HAVE_IEEEFP_H
21249 #include <ieeefp.h>
21250 #endif
21253 main ()
21255 _fpclass(0);
21257 return 0;
21259 _ACEOF
21260 if ac_fn_cxx_try_compile "$LINENO"; then :
21261 glibcxx_cv_func__fpclass_use=yes
21262 else
21263 glibcxx_cv_func__fpclass_use=no
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 ac_ext=c
21267 ac_cpp='$CPP $CPPFLAGS'
21268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21277 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21279 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21280 for ac_func in _fpclass
21281 do :
21282 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21283 if test "x$ac_cv_func__fpclass" = x""yes; then :
21284 cat >>confdefs.h <<_ACEOF
21285 #define HAVE__FPCLASS 1
21286 _ACEOF
21289 done
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21299 $as_echo_n "checking for qfpclass declaration... " >&6; }
21300 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21301 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21302 $as_echo_n "(cached) " >&6
21303 else
21306 ac_ext=cpp
21307 ac_cpp='$CXXCPP $CPPFLAGS'
21308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21314 #include <math.h>
21315 #ifdef HAVE_IEEEFP_H
21316 #include <ieeefp.h>
21317 #endif
21320 main ()
21322 qfpclass(0);
21324 return 0;
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328 glibcxx_cv_func_qfpclass_use=yes
21329 else
21330 glibcxx_cv_func_qfpclass_use=no
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21333 ac_ext=c
21334 ac_cpp='$CPP $CPPFLAGS'
21335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21344 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21346 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21347 for ac_func in qfpclass
21348 do :
21349 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21350 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21351 cat >>confdefs.h <<_ACEOF
21352 #define HAVE_QFPCLASS 1
21353 _ACEOF
21356 done
21358 else
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21361 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21362 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21363 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21364 $as_echo_n "(cached) " >&6
21365 else
21368 ac_ext=cpp
21369 ac_cpp='$CXXCPP $CPPFLAGS'
21370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21376 #include <math.h>
21377 #ifdef HAVE_IEEEFP_H
21378 #include <ieeefp.h>
21379 #endif
21382 main ()
21384 _qfpclass(0);
21386 return 0;
21388 _ACEOF
21389 if ac_fn_cxx_try_compile "$LINENO"; then :
21390 glibcxx_cv_func__qfpclass_use=yes
21391 else
21392 glibcxx_cv_func__qfpclass_use=no
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 ac_ext=c
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21406 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21408 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21409 for ac_func in _qfpclass
21410 do :
21411 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21412 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21413 cat >>confdefs.h <<_ACEOF
21414 #define HAVE__QFPCLASS 1
21415 _ACEOF
21418 done
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21428 $as_echo_n "checking for hypot declaration... " >&6; }
21429 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21430 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21435 ac_ext=cpp
21436 ac_cpp='$CXXCPP $CPPFLAGS'
21437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21443 #include <math.h>
21445 main ()
21447 hypot(0, 0);
21449 return 0;
21451 _ACEOF
21452 if ac_fn_cxx_try_compile "$LINENO"; then :
21453 glibcxx_cv_func_hypot_use=yes
21454 else
21455 glibcxx_cv_func_hypot_use=no
21457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458 ac_ext=c
21459 ac_cpp='$CPP $CPPFLAGS'
21460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21469 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21471 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21472 for ac_func in hypot
21473 do :
21474 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21475 if test "x$ac_cv_func_hypot" = x""yes; then :
21476 cat >>confdefs.h <<_ACEOF
21477 #define HAVE_HYPOT 1
21478 _ACEOF
21481 done
21483 else
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21486 $as_echo_n "checking for _hypot declaration... " >&6; }
21487 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21488 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21489 $as_echo_n "(cached) " >&6
21490 else
21493 ac_ext=cpp
21494 ac_cpp='$CXXCPP $CPPFLAGS'
21495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21500 /* end confdefs.h. */
21501 #include <math.h>
21503 main ()
21505 _hypot(0, 0);
21507 return 0;
21509 _ACEOF
21510 if ac_fn_cxx_try_compile "$LINENO"; then :
21511 glibcxx_cv_func__hypot_use=yes
21512 else
21513 glibcxx_cv_func__hypot_use=no
21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21516 ac_ext=c
21517 ac_cpp='$CPP $CPPFLAGS'
21518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21527 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21529 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21530 for ac_func in _hypot
21531 do :
21532 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21533 if test "x$ac_cv_func__hypot" = x""yes; then :
21534 cat >>confdefs.h <<_ACEOF
21535 #define HAVE__HYPOT 1
21536 _ACEOF
21539 done
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21549 $as_echo_n "checking for float trig functions... " >&6; }
21550 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21551 $as_echo_n "(cached) " >&6
21552 else
21555 ac_ext=cpp
21556 ac_cpp='$CXXCPP $CPPFLAGS'
21557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21562 /* end confdefs.h. */
21563 #include <math.h>
21565 main ()
21567 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21569 return 0;
21571 _ACEOF
21572 if ac_fn_cxx_try_compile "$LINENO"; then :
21573 glibcxx_cv_func_float_trig_use=yes
21574 else
21575 glibcxx_cv_func_float_trig_use=no
21577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578 ac_ext=c
21579 ac_cpp='$CPP $CPPFLAGS'
21580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21587 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21588 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21589 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21590 do :
21591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21593 eval as_val=\$$as_ac_var
21594 if test "x$as_val" = x""yes; then :
21595 cat >>confdefs.h <<_ACEOF
21596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21597 _ACEOF
21600 done
21602 else
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21604 $as_echo_n "checking for _float trig functions... " >&6; }
21605 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21607 else
21610 ac_ext=cpp
21611 ac_cpp='$CXXCPP $CPPFLAGS'
21612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21617 /* end confdefs.h. */
21618 #include <math.h>
21620 main ()
21622 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21624 return 0;
21626 _ACEOF
21627 if ac_fn_cxx_try_compile "$LINENO"; then :
21628 glibcxx_cv_func__float_trig_use=yes
21629 else
21630 glibcxx_cv_func__float_trig_use=no
21632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21642 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21643 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21644 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21645 do :
21646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21648 eval as_val=\$$as_ac_var
21649 if test "x$as_val" = x""yes; then :
21650 cat >>confdefs.h <<_ACEOF
21651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21652 _ACEOF
21655 done
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21665 $as_echo_n "checking for float round functions... " >&6; }
21666 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21667 $as_echo_n "(cached) " >&6
21668 else
21671 ac_ext=cpp
21672 ac_cpp='$CXXCPP $CPPFLAGS'
21673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21679 #include <math.h>
21681 main ()
21683 ceilf (0); floorf (0);
21685 return 0;
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_func_float_round_use=yes
21690 else
21691 glibcxx_cv_func_float_round_use=no
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21703 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21704 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21705 for ac_func in ceilf floorf
21706 do :
21707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21709 eval as_val=\$$as_ac_var
21710 if test "x$as_val" = x""yes; then :
21711 cat >>confdefs.h <<_ACEOF
21712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21713 _ACEOF
21716 done
21718 else
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21720 $as_echo_n "checking for _float round functions... " >&6; }
21721 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21722 $as_echo_n "(cached) " >&6
21723 else
21726 ac_ext=cpp
21727 ac_cpp='$CXXCPP $CPPFLAGS'
21728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h. */
21734 #include <math.h>
21736 main ()
21738 _ceilf (0); _floorf (0);
21740 return 0;
21742 _ACEOF
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744 glibcxx_cv_func__float_round_use=yes
21745 else
21746 glibcxx_cv_func__float_round_use=no
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21758 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21759 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21760 for ac_func in _ceilf _floorf
21761 do :
21762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21764 eval as_val=\$$as_ac_var
21765 if test "x$as_val" = x""yes; then :
21766 cat >>confdefs.h <<_ACEOF
21767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21768 _ACEOF
21771 done
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21782 $as_echo_n "checking for expf declaration... " >&6; }
21783 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21784 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21785 $as_echo_n "(cached) " >&6
21786 else
21789 ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21797 #include <math.h>
21798 #ifdef HAVE_IEEEFP_H
21799 #include <ieeefp.h>
21800 #endif
21803 main ()
21805 expf(0);
21807 return 0;
21809 _ACEOF
21810 if ac_fn_cxx_try_compile "$LINENO"; then :
21811 glibcxx_cv_func_expf_use=yes
21812 else
21813 glibcxx_cv_func_expf_use=no
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 ac_ext=c
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21827 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21829 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21830 for ac_func in expf
21831 do :
21832 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21833 if test "x$ac_cv_func_expf" = x""yes; then :
21834 cat >>confdefs.h <<_ACEOF
21835 #define HAVE_EXPF 1
21836 _ACEOF
21839 done
21841 else
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21844 $as_echo_n "checking for _expf declaration... " >&6; }
21845 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21846 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21847 $as_echo_n "(cached) " >&6
21848 else
21851 ac_ext=cpp
21852 ac_cpp='$CXXCPP $CPPFLAGS'
21853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21859 #include <math.h>
21860 #ifdef HAVE_IEEEFP_H
21861 #include <ieeefp.h>
21862 #endif
21865 main ()
21867 _expf(0);
21869 return 0;
21871 _ACEOF
21872 if ac_fn_cxx_try_compile "$LINENO"; then :
21873 glibcxx_cv_func__expf_use=yes
21874 else
21875 glibcxx_cv_func__expf_use=no
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21878 ac_ext=c
21879 ac_cpp='$CPP $CPPFLAGS'
21880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21889 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21891 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21892 for ac_func in _expf
21893 do :
21894 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21895 if test "x$ac_cv_func__expf" = x""yes; then :
21896 cat >>confdefs.h <<_ACEOF
21897 #define HAVE__EXPF 1
21898 _ACEOF
21901 done
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21911 $as_echo_n "checking for isnanf declaration... " >&6; }
21912 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21913 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21918 ac_ext=cpp
21919 ac_cpp='$CXXCPP $CPPFLAGS'
21920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h. */
21926 #include <math.h>
21927 #ifdef HAVE_IEEEFP_H
21928 #include <ieeefp.h>
21929 #endif
21932 main ()
21934 isnanf(0);
21936 return 0;
21938 _ACEOF
21939 if ac_fn_cxx_try_compile "$LINENO"; then :
21940 glibcxx_cv_func_isnanf_use=yes
21941 else
21942 glibcxx_cv_func_isnanf_use=no
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 ac_ext=c
21946 ac_cpp='$CPP $CPPFLAGS'
21947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21956 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21958 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21959 for ac_func in isnanf
21960 do :
21961 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21962 if test "x$ac_cv_func_isnanf" = x""yes; then :
21963 cat >>confdefs.h <<_ACEOF
21964 #define HAVE_ISNANF 1
21965 _ACEOF
21968 done
21970 else
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21973 $as_echo_n "checking for _isnanf declaration... " >&6; }
21974 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21975 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21976 $as_echo_n "(cached) " >&6
21977 else
21980 ac_ext=cpp
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h. */
21988 #include <math.h>
21989 #ifdef HAVE_IEEEFP_H
21990 #include <ieeefp.h>
21991 #endif
21994 main ()
21996 _isnanf(0);
21998 return 0;
22000 _ACEOF
22001 if ac_fn_cxx_try_compile "$LINENO"; then :
22002 glibcxx_cv_func__isnanf_use=yes
22003 else
22004 glibcxx_cv_func__isnanf_use=no
22006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22007 ac_ext=c
22008 ac_cpp='$CPP $CPPFLAGS'
22009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22018 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22020 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22021 for ac_func in _isnanf
22022 do :
22023 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22024 if test "x$ac_cv_func__isnanf" = x""yes; then :
22025 cat >>confdefs.h <<_ACEOF
22026 #define HAVE__ISNANF 1
22027 _ACEOF
22030 done
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22040 $as_echo_n "checking for isinff declaration... " >&6; }
22041 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22042 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22043 $as_echo_n "(cached) " >&6
22044 else
22047 ac_ext=cpp
22048 ac_cpp='$CXXCPP $CPPFLAGS'
22049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h. */
22055 #include <math.h>
22056 #ifdef HAVE_IEEEFP_H
22057 #include <ieeefp.h>
22058 #endif
22061 main ()
22063 isinff(0);
22065 return 0;
22067 _ACEOF
22068 if ac_fn_cxx_try_compile "$LINENO"; then :
22069 glibcxx_cv_func_isinff_use=yes
22070 else
22071 glibcxx_cv_func_isinff_use=no
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 ac_ext=c
22075 ac_cpp='$CPP $CPPFLAGS'
22076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22085 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22087 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22088 for ac_func in isinff
22089 do :
22090 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22091 if test "x$ac_cv_func_isinff" = x""yes; then :
22092 cat >>confdefs.h <<_ACEOF
22093 #define HAVE_ISINFF 1
22094 _ACEOF
22097 done
22099 else
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22102 $as_echo_n "checking for _isinff declaration... " >&6; }
22103 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22104 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22105 $as_echo_n "(cached) " >&6
22106 else
22109 ac_ext=cpp
22110 ac_cpp='$CXXCPP $CPPFLAGS'
22111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22116 /* end confdefs.h. */
22117 #include <math.h>
22118 #ifdef HAVE_IEEEFP_H
22119 #include <ieeefp.h>
22120 #endif
22123 main ()
22125 _isinff(0);
22127 return 0;
22129 _ACEOF
22130 if ac_fn_cxx_try_compile "$LINENO"; then :
22131 glibcxx_cv_func__isinff_use=yes
22132 else
22133 glibcxx_cv_func__isinff_use=no
22135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22136 ac_ext=c
22137 ac_cpp='$CPP $CPPFLAGS'
22138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22147 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22149 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22150 for ac_func in _isinff
22151 do :
22152 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22153 if test "x$ac_cv_func__isinff" = x""yes; then :
22154 cat >>confdefs.h <<_ACEOF
22155 #define HAVE__ISINFF 1
22156 _ACEOF
22159 done
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22169 $as_echo_n "checking for atan2f declaration... " >&6; }
22170 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22171 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22172 $as_echo_n "(cached) " >&6
22173 else
22176 ac_ext=cpp
22177 ac_cpp='$CXXCPP $CPPFLAGS'
22178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22183 /* end confdefs.h. */
22184 #include <math.h>
22186 main ()
22188 atan2f(0, 0);
22190 return 0;
22192 _ACEOF
22193 if ac_fn_cxx_try_compile "$LINENO"; then :
22194 glibcxx_cv_func_atan2f_use=yes
22195 else
22196 glibcxx_cv_func_atan2f_use=no
22198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22199 ac_ext=c
22200 ac_cpp='$CPP $CPPFLAGS'
22201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22210 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22212 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22213 for ac_func in atan2f
22214 do :
22215 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22216 if test "x$ac_cv_func_atan2f" = x""yes; then :
22217 cat >>confdefs.h <<_ACEOF
22218 #define HAVE_ATAN2F 1
22219 _ACEOF
22222 done
22224 else
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22227 $as_echo_n "checking for _atan2f declaration... " >&6; }
22228 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22229 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22230 $as_echo_n "(cached) " >&6
22231 else
22234 ac_ext=cpp
22235 ac_cpp='$CXXCPP $CPPFLAGS'
22236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h. */
22242 #include <math.h>
22244 main ()
22246 _atan2f(0, 0);
22248 return 0;
22250 _ACEOF
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252 glibcxx_cv_func__atan2f_use=yes
22253 else
22254 glibcxx_cv_func__atan2f_use=no
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22268 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22270 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22271 for ac_func in _atan2f
22272 do :
22273 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22274 if test "x$ac_cv_func__atan2f" = x""yes; then :
22275 cat >>confdefs.h <<_ACEOF
22276 #define HAVE__ATAN2F 1
22277 _ACEOF
22280 done
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22290 $as_echo_n "checking for fabsf declaration... " >&6; }
22291 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22292 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22293 $as_echo_n "(cached) " >&6
22294 else
22297 ac_ext=cpp
22298 ac_cpp='$CXXCPP $CPPFLAGS'
22299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22305 #include <math.h>
22306 #ifdef HAVE_IEEEFP_H
22307 #include <ieeefp.h>
22308 #endif
22311 main ()
22313 fabsf(0);
22315 return 0;
22317 _ACEOF
22318 if ac_fn_cxx_try_compile "$LINENO"; then :
22319 glibcxx_cv_func_fabsf_use=yes
22320 else
22321 glibcxx_cv_func_fabsf_use=no
22323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22324 ac_ext=c
22325 ac_cpp='$CPP $CPPFLAGS'
22326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22335 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22337 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22338 for ac_func in fabsf
22339 do :
22340 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22341 if test "x$ac_cv_func_fabsf" = x""yes; then :
22342 cat >>confdefs.h <<_ACEOF
22343 #define HAVE_FABSF 1
22344 _ACEOF
22347 done
22349 else
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22352 $as_echo_n "checking for _fabsf declaration... " >&6; }
22353 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22354 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22356 else
22359 ac_ext=cpp
22360 ac_cpp='$CXXCPP $CPPFLAGS'
22361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h. */
22367 #include <math.h>
22368 #ifdef HAVE_IEEEFP_H
22369 #include <ieeefp.h>
22370 #endif
22373 main ()
22375 _fabsf(0);
22377 return 0;
22379 _ACEOF
22380 if ac_fn_cxx_try_compile "$LINENO"; then :
22381 glibcxx_cv_func__fabsf_use=yes
22382 else
22383 glibcxx_cv_func__fabsf_use=no
22385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22386 ac_ext=c
22387 ac_cpp='$CPP $CPPFLAGS'
22388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22397 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22399 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22400 for ac_func in _fabsf
22401 do :
22402 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22403 if test "x$ac_cv_func__fabsf" = x""yes; then :
22404 cat >>confdefs.h <<_ACEOF
22405 #define HAVE__FABSF 1
22406 _ACEOF
22409 done
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22419 $as_echo_n "checking for fmodf declaration... " >&6; }
22420 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22421 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22422 $as_echo_n "(cached) " >&6
22423 else
22426 ac_ext=cpp
22427 ac_cpp='$CXXCPP $CPPFLAGS'
22428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22434 #include <math.h>
22436 main ()
22438 fmodf(0, 0);
22440 return 0;
22442 _ACEOF
22443 if ac_fn_cxx_try_compile "$LINENO"; then :
22444 glibcxx_cv_func_fmodf_use=yes
22445 else
22446 glibcxx_cv_func_fmodf_use=no
22448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22449 ac_ext=c
22450 ac_cpp='$CPP $CPPFLAGS'
22451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22460 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22462 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22463 for ac_func in fmodf
22464 do :
22465 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22466 if test "x$ac_cv_func_fmodf" = x""yes; then :
22467 cat >>confdefs.h <<_ACEOF
22468 #define HAVE_FMODF 1
22469 _ACEOF
22472 done
22474 else
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22477 $as_echo_n "checking for _fmodf declaration... " >&6; }
22478 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22479 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22480 $as_echo_n "(cached) " >&6
22481 else
22484 ac_ext=cpp
22485 ac_cpp='$CXXCPP $CPPFLAGS'
22486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22491 /* end confdefs.h. */
22492 #include <math.h>
22494 main ()
22496 _fmodf(0, 0);
22498 return 0;
22500 _ACEOF
22501 if ac_fn_cxx_try_compile "$LINENO"; then :
22502 glibcxx_cv_func__fmodf_use=yes
22503 else
22504 glibcxx_cv_func__fmodf_use=no
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 ac_ext=c
22508 ac_cpp='$CPP $CPPFLAGS'
22509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22518 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22520 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22521 for ac_func in _fmodf
22522 do :
22523 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22524 if test "x$ac_cv_func__fmodf" = x""yes; then :
22525 cat >>confdefs.h <<_ACEOF
22526 #define HAVE__FMODF 1
22527 _ACEOF
22530 done
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22540 $as_echo_n "checking for frexpf declaration... " >&6; }
22541 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22542 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22543 $as_echo_n "(cached) " >&6
22544 else
22547 ac_ext=cpp
22548 ac_cpp='$CXXCPP $CPPFLAGS'
22549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22554 /* end confdefs.h. */
22555 #include <math.h>
22557 main ()
22559 frexpf(0, 0);
22561 return 0;
22563 _ACEOF
22564 if ac_fn_cxx_try_compile "$LINENO"; then :
22565 glibcxx_cv_func_frexpf_use=yes
22566 else
22567 glibcxx_cv_func_frexpf_use=no
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570 ac_ext=c
22571 ac_cpp='$CPP $CPPFLAGS'
22572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22581 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22583 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22584 for ac_func in frexpf
22585 do :
22586 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22587 if test "x$ac_cv_func_frexpf" = x""yes; then :
22588 cat >>confdefs.h <<_ACEOF
22589 #define HAVE_FREXPF 1
22590 _ACEOF
22593 done
22595 else
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22598 $as_echo_n "checking for _frexpf declaration... " >&6; }
22599 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22600 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22601 $as_echo_n "(cached) " >&6
22602 else
22605 ac_ext=cpp
22606 ac_cpp='$CXXCPP $CPPFLAGS'
22607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22612 /* end confdefs.h. */
22613 #include <math.h>
22615 main ()
22617 _frexpf(0, 0);
22619 return 0;
22621 _ACEOF
22622 if ac_fn_cxx_try_compile "$LINENO"; then :
22623 glibcxx_cv_func__frexpf_use=yes
22624 else
22625 glibcxx_cv_func__frexpf_use=no
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 ac_ext=c
22629 ac_cpp='$CPP $CPPFLAGS'
22630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22639 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22641 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22642 for ac_func in _frexpf
22643 do :
22644 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22645 if test "x$ac_cv_func__frexpf" = x""yes; then :
22646 cat >>confdefs.h <<_ACEOF
22647 #define HAVE__FREXPF 1
22648 _ACEOF
22651 done
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22661 $as_echo_n "checking for hypotf declaration... " >&6; }
22662 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22663 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22664 $as_echo_n "(cached) " >&6
22665 else
22668 ac_ext=cpp
22669 ac_cpp='$CXXCPP $CPPFLAGS'
22670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22675 /* end confdefs.h. */
22676 #include <math.h>
22678 main ()
22680 hypotf(0, 0);
22682 return 0;
22684 _ACEOF
22685 if ac_fn_cxx_try_compile "$LINENO"; then :
22686 glibcxx_cv_func_hypotf_use=yes
22687 else
22688 glibcxx_cv_func_hypotf_use=no
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691 ac_ext=c
22692 ac_cpp='$CPP $CPPFLAGS'
22693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22702 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22704 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22705 for ac_func in hypotf
22706 do :
22707 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22708 if test "x$ac_cv_func_hypotf" = x""yes; then :
22709 cat >>confdefs.h <<_ACEOF
22710 #define HAVE_HYPOTF 1
22711 _ACEOF
22714 done
22716 else
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22719 $as_echo_n "checking for _hypotf declaration... " >&6; }
22720 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22721 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22722 $as_echo_n "(cached) " >&6
22723 else
22726 ac_ext=cpp
22727 ac_cpp='$CXXCPP $CPPFLAGS'
22728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22733 /* end confdefs.h. */
22734 #include <math.h>
22736 main ()
22738 _hypotf(0, 0);
22740 return 0;
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func__hypotf_use=yes
22745 else
22746 glibcxx_cv_func__hypotf_use=no
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22760 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22762 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22763 for ac_func in _hypotf
22764 do :
22765 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22766 if test "x$ac_cv_func__hypotf" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE__HYPOTF 1
22769 _ACEOF
22772 done
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22782 $as_echo_n "checking for ldexpf declaration... " >&6; }
22783 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22784 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22789 ac_ext=cpp
22790 ac_cpp='$CXXCPP $CPPFLAGS'
22791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22797 #include <math.h>
22799 main ()
22801 ldexpf(0, 0);
22803 return 0;
22805 _ACEOF
22806 if ac_fn_cxx_try_compile "$LINENO"; then :
22807 glibcxx_cv_func_ldexpf_use=yes
22808 else
22809 glibcxx_cv_func_ldexpf_use=no
22811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22812 ac_ext=c
22813 ac_cpp='$CPP $CPPFLAGS'
22814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22823 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22825 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22826 for ac_func in ldexpf
22827 do :
22828 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22829 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22830 cat >>confdefs.h <<_ACEOF
22831 #define HAVE_LDEXPF 1
22832 _ACEOF
22835 done
22837 else
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22840 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22841 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22842 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22843 $as_echo_n "(cached) " >&6
22844 else
22847 ac_ext=cpp
22848 ac_cpp='$CXXCPP $CPPFLAGS'
22849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h. */
22855 #include <math.h>
22857 main ()
22859 _ldexpf(0, 0);
22861 return 0;
22863 _ACEOF
22864 if ac_fn_cxx_try_compile "$LINENO"; then :
22865 glibcxx_cv_func__ldexpf_use=yes
22866 else
22867 glibcxx_cv_func__ldexpf_use=no
22869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 ac_ext=c
22871 ac_cpp='$CPP $CPPFLAGS'
22872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22881 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22883 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22884 for ac_func in _ldexpf
22885 do :
22886 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22887 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22888 cat >>confdefs.h <<_ACEOF
22889 #define HAVE__LDEXPF 1
22890 _ACEOF
22893 done
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22903 $as_echo_n "checking for logf declaration... " >&6; }
22904 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22905 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22906 $as_echo_n "(cached) " >&6
22907 else
22910 ac_ext=cpp
22911 ac_cpp='$CXXCPP $CPPFLAGS'
22912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22917 /* end confdefs.h. */
22918 #include <math.h>
22919 #ifdef HAVE_IEEEFP_H
22920 #include <ieeefp.h>
22921 #endif
22924 main ()
22926 logf(0);
22928 return 0;
22930 _ACEOF
22931 if ac_fn_cxx_try_compile "$LINENO"; then :
22932 glibcxx_cv_func_logf_use=yes
22933 else
22934 glibcxx_cv_func_logf_use=no
22936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937 ac_ext=c
22938 ac_cpp='$CPP $CPPFLAGS'
22939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22948 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22950 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22951 for ac_func in logf
22952 do :
22953 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22954 if test "x$ac_cv_func_logf" = x""yes; then :
22955 cat >>confdefs.h <<_ACEOF
22956 #define HAVE_LOGF 1
22957 _ACEOF
22960 done
22962 else
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22965 $as_echo_n "checking for _logf declaration... " >&6; }
22966 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22967 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22968 $as_echo_n "(cached) " >&6
22969 else
22972 ac_ext=cpp
22973 ac_cpp='$CXXCPP $CPPFLAGS'
22974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h. */
22980 #include <math.h>
22981 #ifdef HAVE_IEEEFP_H
22982 #include <ieeefp.h>
22983 #endif
22986 main ()
22988 _logf(0);
22990 return 0;
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func__logf_use=yes
22995 else
22996 glibcxx_cv_func__logf_use=no
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23010 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23012 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23013 for ac_func in _logf
23014 do :
23015 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23016 if test "x$ac_cv_func__logf" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE__LOGF 1
23019 _ACEOF
23022 done
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23032 $as_echo_n "checking for log10f declaration... " >&6; }
23033 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23034 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23035 $as_echo_n "(cached) " >&6
23036 else
23039 ac_ext=cpp
23040 ac_cpp='$CXXCPP $CPPFLAGS'
23041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23046 /* end confdefs.h. */
23047 #include <math.h>
23048 #ifdef HAVE_IEEEFP_H
23049 #include <ieeefp.h>
23050 #endif
23053 main ()
23055 log10f(0);
23057 return 0;
23059 _ACEOF
23060 if ac_fn_cxx_try_compile "$LINENO"; then :
23061 glibcxx_cv_func_log10f_use=yes
23062 else
23063 glibcxx_cv_func_log10f_use=no
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23066 ac_ext=c
23067 ac_cpp='$CPP $CPPFLAGS'
23068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23077 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23079 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23080 for ac_func in log10f
23081 do :
23082 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23083 if test "x$ac_cv_func_log10f" = x""yes; then :
23084 cat >>confdefs.h <<_ACEOF
23085 #define HAVE_LOG10F 1
23086 _ACEOF
23089 done
23091 else
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23094 $as_echo_n "checking for _log10f declaration... " >&6; }
23095 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23096 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23097 $as_echo_n "(cached) " >&6
23098 else
23101 ac_ext=cpp
23102 ac_cpp='$CXXCPP $CPPFLAGS'
23103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23108 /* end confdefs.h. */
23109 #include <math.h>
23110 #ifdef HAVE_IEEEFP_H
23111 #include <ieeefp.h>
23112 #endif
23115 main ()
23117 _log10f(0);
23119 return 0;
23121 _ACEOF
23122 if ac_fn_cxx_try_compile "$LINENO"; then :
23123 glibcxx_cv_func__log10f_use=yes
23124 else
23125 glibcxx_cv_func__log10f_use=no
23127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23128 ac_ext=c
23129 ac_cpp='$CPP $CPPFLAGS'
23130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23139 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23141 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23142 for ac_func in _log10f
23143 do :
23144 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23145 if test "x$ac_cv_func__log10f" = x""yes; then :
23146 cat >>confdefs.h <<_ACEOF
23147 #define HAVE__LOG10F 1
23148 _ACEOF
23151 done
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23161 $as_echo_n "checking for modff declaration... " >&6; }
23162 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23163 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23165 else
23168 ac_ext=cpp
23169 ac_cpp='$CXXCPP $CPPFLAGS'
23170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23176 #include <math.h>
23178 main ()
23180 modff(0, 0);
23182 return 0;
23184 _ACEOF
23185 if ac_fn_cxx_try_compile "$LINENO"; then :
23186 glibcxx_cv_func_modff_use=yes
23187 else
23188 glibcxx_cv_func_modff_use=no
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23202 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23204 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23205 for ac_func in modff
23206 do :
23207 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23208 if test "x$ac_cv_func_modff" = x""yes; then :
23209 cat >>confdefs.h <<_ACEOF
23210 #define HAVE_MODFF 1
23211 _ACEOF
23214 done
23216 else
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23219 $as_echo_n "checking for _modff declaration... " >&6; }
23220 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23221 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23222 $as_echo_n "(cached) " >&6
23223 else
23226 ac_ext=cpp
23227 ac_cpp='$CXXCPP $CPPFLAGS'
23228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h. */
23234 #include <math.h>
23236 main ()
23238 _modff(0, 0);
23240 return 0;
23242 _ACEOF
23243 if ac_fn_cxx_try_compile "$LINENO"; then :
23244 glibcxx_cv_func__modff_use=yes
23245 else
23246 glibcxx_cv_func__modff_use=no
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 ac_ext=c
23250 ac_cpp='$CPP $CPPFLAGS'
23251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23260 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23262 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23263 for ac_func in _modff
23264 do :
23265 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23266 if test "x$ac_cv_func__modff" = x""yes; then :
23267 cat >>confdefs.h <<_ACEOF
23268 #define HAVE__MODFF 1
23269 _ACEOF
23272 done
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23282 $as_echo_n "checking for modf declaration... " >&6; }
23283 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23284 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23285 $as_echo_n "(cached) " >&6
23286 else
23289 ac_ext=cpp
23290 ac_cpp='$CXXCPP $CPPFLAGS'
23291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23297 #include <math.h>
23299 main ()
23301 modf(0, 0);
23303 return 0;
23305 _ACEOF
23306 if ac_fn_cxx_try_compile "$LINENO"; then :
23307 glibcxx_cv_func_modf_use=yes
23308 else
23309 glibcxx_cv_func_modf_use=no
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23312 ac_ext=c
23313 ac_cpp='$CPP $CPPFLAGS'
23314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23323 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23325 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23326 for ac_func in modf
23327 do :
23328 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23329 if test "x$ac_cv_func_modf" = x""yes; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define HAVE_MODF 1
23332 _ACEOF
23335 done
23337 else
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23340 $as_echo_n "checking for _modf declaration... " >&6; }
23341 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23342 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23343 $as_echo_n "(cached) " >&6
23344 else
23347 ac_ext=cpp
23348 ac_cpp='$CXXCPP $CPPFLAGS'
23349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23354 /* end confdefs.h. */
23355 #include <math.h>
23357 main ()
23359 _modf(0, 0);
23361 return 0;
23363 _ACEOF
23364 if ac_fn_cxx_try_compile "$LINENO"; then :
23365 glibcxx_cv_func__modf_use=yes
23366 else
23367 glibcxx_cv_func__modf_use=no
23369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23370 ac_ext=c
23371 ac_cpp='$CPP $CPPFLAGS'
23372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23381 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23383 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23384 for ac_func in _modf
23385 do :
23386 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23387 if test "x$ac_cv_func__modf" = x""yes; then :
23388 cat >>confdefs.h <<_ACEOF
23389 #define HAVE__MODF 1
23390 _ACEOF
23393 done
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23403 $as_echo_n "checking for powf declaration... " >&6; }
23404 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23405 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23406 $as_echo_n "(cached) " >&6
23407 else
23410 ac_ext=cpp
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23418 #include <math.h>
23420 main ()
23422 powf(0, 0);
23424 return 0;
23426 _ACEOF
23427 if ac_fn_cxx_try_compile "$LINENO"; then :
23428 glibcxx_cv_func_powf_use=yes
23429 else
23430 glibcxx_cv_func_powf_use=no
23432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23444 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23446 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23447 for ac_func in powf
23448 do :
23449 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23450 if test "x$ac_cv_func_powf" = x""yes; then :
23451 cat >>confdefs.h <<_ACEOF
23452 #define HAVE_POWF 1
23453 _ACEOF
23456 done
23458 else
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23461 $as_echo_n "checking for _powf declaration... " >&6; }
23462 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23463 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23464 $as_echo_n "(cached) " >&6
23465 else
23468 ac_ext=cpp
23469 ac_cpp='$CXXCPP $CPPFLAGS'
23470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23476 #include <math.h>
23478 main ()
23480 _powf(0, 0);
23482 return 0;
23484 _ACEOF
23485 if ac_fn_cxx_try_compile "$LINENO"; then :
23486 glibcxx_cv_func__powf_use=yes
23487 else
23488 glibcxx_cv_func__powf_use=no
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 ac_ext=c
23492 ac_cpp='$CPP $CPPFLAGS'
23493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23502 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23504 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23505 for ac_func in _powf
23506 do :
23507 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23508 if test "x$ac_cv_func__powf" = x""yes; then :
23509 cat >>confdefs.h <<_ACEOF
23510 #define HAVE__POWF 1
23511 _ACEOF
23514 done
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23524 $as_echo_n "checking for sqrtf declaration... " >&6; }
23525 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23526 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23527 $as_echo_n "(cached) " >&6
23528 else
23531 ac_ext=cpp
23532 ac_cpp='$CXXCPP $CPPFLAGS'
23533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23538 /* end confdefs.h. */
23539 #include <math.h>
23540 #ifdef HAVE_IEEEFP_H
23541 #include <ieeefp.h>
23542 #endif
23545 main ()
23547 sqrtf(0);
23549 return 0;
23551 _ACEOF
23552 if ac_fn_cxx_try_compile "$LINENO"; then :
23553 glibcxx_cv_func_sqrtf_use=yes
23554 else
23555 glibcxx_cv_func_sqrtf_use=no
23557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23558 ac_ext=c
23559 ac_cpp='$CPP $CPPFLAGS'
23560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23569 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23571 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23572 for ac_func in sqrtf
23573 do :
23574 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23575 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23576 cat >>confdefs.h <<_ACEOF
23577 #define HAVE_SQRTF 1
23578 _ACEOF
23581 done
23583 else
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23586 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23587 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23588 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23589 $as_echo_n "(cached) " >&6
23590 else
23593 ac_ext=cpp
23594 ac_cpp='$CXXCPP $CPPFLAGS'
23595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h. */
23601 #include <math.h>
23602 #ifdef HAVE_IEEEFP_H
23603 #include <ieeefp.h>
23604 #endif
23607 main ()
23609 _sqrtf(0);
23611 return 0;
23613 _ACEOF
23614 if ac_fn_cxx_try_compile "$LINENO"; then :
23615 glibcxx_cv_func__sqrtf_use=yes
23616 else
23617 glibcxx_cv_func__sqrtf_use=no
23619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23620 ac_ext=c
23621 ac_cpp='$CPP $CPPFLAGS'
23622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23631 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23633 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23634 for ac_func in _sqrtf
23635 do :
23636 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23637 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23638 cat >>confdefs.h <<_ACEOF
23639 #define HAVE__SQRTF 1
23640 _ACEOF
23643 done
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23653 $as_echo_n "checking for sincosf declaration... " >&6; }
23654 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23655 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23656 $as_echo_n "(cached) " >&6
23657 else
23660 ac_ext=cpp
23661 ac_cpp='$CXXCPP $CPPFLAGS'
23662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23667 /* end confdefs.h. */
23668 #include <math.h>
23670 main ()
23672 sincosf(0, 0, 0);
23674 return 0;
23676 _ACEOF
23677 if ac_fn_cxx_try_compile "$LINENO"; then :
23678 glibcxx_cv_func_sincosf_use=yes
23679 else
23680 glibcxx_cv_func_sincosf_use=no
23682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 ac_ext=c
23684 ac_cpp='$CPP $CPPFLAGS'
23685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23694 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23696 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23697 for ac_func in sincosf
23698 do :
23699 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23700 if test "x$ac_cv_func_sincosf" = x""yes; then :
23701 cat >>confdefs.h <<_ACEOF
23702 #define HAVE_SINCOSF 1
23703 _ACEOF
23706 done
23708 else
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23711 $as_echo_n "checking for _sincosf declaration... " >&6; }
23712 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23713 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23714 $as_echo_n "(cached) " >&6
23715 else
23718 ac_ext=cpp
23719 ac_cpp='$CXXCPP $CPPFLAGS'
23720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23725 /* end confdefs.h. */
23726 #include <math.h>
23728 main ()
23730 _sincosf(0, 0, 0);
23732 return 0;
23734 _ACEOF
23735 if ac_fn_cxx_try_compile "$LINENO"; then :
23736 glibcxx_cv_func__sincosf_use=yes
23737 else
23738 glibcxx_cv_func__sincosf_use=no
23740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 ac_ext=c
23742 ac_cpp='$CPP $CPPFLAGS'
23743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23752 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23754 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23755 for ac_func in _sincosf
23756 do :
23757 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23758 if test "x$ac_cv_func__sincosf" = x""yes; then :
23759 cat >>confdefs.h <<_ACEOF
23760 #define HAVE__SINCOSF 1
23761 _ACEOF
23764 done
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23774 $as_echo_n "checking for finitef declaration... " >&6; }
23775 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23776 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23777 $as_echo_n "(cached) " >&6
23778 else
23781 ac_ext=cpp
23782 ac_cpp='$CXXCPP $CPPFLAGS'
23783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23788 /* end confdefs.h. */
23789 #include <math.h>
23790 #ifdef HAVE_IEEEFP_H
23791 #include <ieeefp.h>
23792 #endif
23795 main ()
23797 finitef(0);
23799 return 0;
23801 _ACEOF
23802 if ac_fn_cxx_try_compile "$LINENO"; then :
23803 glibcxx_cv_func_finitef_use=yes
23804 else
23805 glibcxx_cv_func_finitef_use=no
23807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23808 ac_ext=c
23809 ac_cpp='$CPP $CPPFLAGS'
23810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23819 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23821 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23822 for ac_func in finitef
23823 do :
23824 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23825 if test "x$ac_cv_func_finitef" = x""yes; then :
23826 cat >>confdefs.h <<_ACEOF
23827 #define HAVE_FINITEF 1
23828 _ACEOF
23831 done
23833 else
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23836 $as_echo_n "checking for _finitef declaration... " >&6; }
23837 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23838 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23839 $as_echo_n "(cached) " >&6
23840 else
23843 ac_ext=cpp
23844 ac_cpp='$CXXCPP $CPPFLAGS'
23845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23850 /* end confdefs.h. */
23851 #include <math.h>
23852 #ifdef HAVE_IEEEFP_H
23853 #include <ieeefp.h>
23854 #endif
23857 main ()
23859 _finitef(0);
23861 return 0;
23863 _ACEOF
23864 if ac_fn_cxx_try_compile "$LINENO"; then :
23865 glibcxx_cv_func__finitef_use=yes
23866 else
23867 glibcxx_cv_func__finitef_use=no
23869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23870 ac_ext=c
23871 ac_cpp='$CPP $CPPFLAGS'
23872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23881 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23883 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23884 for ac_func in _finitef
23885 do :
23886 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23887 if test "x$ac_cv_func__finitef" = x""yes; then :
23888 cat >>confdefs.h <<_ACEOF
23889 #define HAVE__FINITEF 1
23890 _ACEOF
23893 done
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23903 $as_echo_n "checking for long double trig functions... " >&6; }
23904 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23919 main ()
23921 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23923 return 0;
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927 glibcxx_cv_func_long_double_trig_use=yes
23928 else
23929 glibcxx_cv_func_long_double_trig_use=no
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23941 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23942 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23943 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23944 do :
23945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23947 eval as_val=\$$as_ac_var
23948 if test "x$as_val" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23951 _ACEOF
23954 done
23956 else
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23958 $as_echo_n "checking for _long double trig functions... " >&6; }
23959 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23960 $as_echo_n "(cached) " >&6
23961 else
23964 ac_ext=cpp
23965 ac_cpp='$CXXCPP $CPPFLAGS'
23966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23971 /* end confdefs.h. */
23972 #include <math.h>
23974 main ()
23976 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23978 return 0;
23980 _ACEOF
23981 if ac_fn_cxx_try_compile "$LINENO"; then :
23982 glibcxx_cv_func__long_double_trig_use=yes
23983 else
23984 glibcxx_cv_func__long_double_trig_use=no
23986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23987 ac_ext=c
23988 ac_cpp='$CPP $CPPFLAGS'
23989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23996 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23997 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23998 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23999 do :
24000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24002 eval as_val=\$$as_ac_var
24003 if test "x$as_val" = x""yes; then :
24004 cat >>confdefs.h <<_ACEOF
24005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24006 _ACEOF
24009 done
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24019 $as_echo_n "checking for long double round functions... " >&6; }
24020 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24021 $as_echo_n "(cached) " >&6
24022 else
24025 ac_ext=cpp
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24033 #include <math.h>
24035 main ()
24037 ceill (0); floorl (0);
24039 return 0;
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func_long_double_round_use=yes
24044 else
24045 glibcxx_cv_func_long_double_round_use=no
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24057 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24058 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24059 for ac_func in ceill floorl
24060 do :
24061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24063 eval as_val=\$$as_ac_var
24064 if test "x$as_val" = x""yes; then :
24065 cat >>confdefs.h <<_ACEOF
24066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24067 _ACEOF
24070 done
24072 else
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24074 $as_echo_n "checking for _long double round functions... " >&6; }
24075 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24076 $as_echo_n "(cached) " >&6
24077 else
24080 ac_ext=cpp
24081 ac_cpp='$CXXCPP $CPPFLAGS'
24082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24087 /* end confdefs.h. */
24088 #include <math.h>
24090 main ()
24092 _ceill (0); _floorl (0);
24094 return 0;
24096 _ACEOF
24097 if ac_fn_cxx_try_compile "$LINENO"; then :
24098 glibcxx_cv_func__long_double_round_use=yes
24099 else
24100 glibcxx_cv_func__long_double_round_use=no
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24112 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24113 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24114 for ac_func in _ceill _floorl
24115 do :
24116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24118 eval as_val=\$$as_ac_var
24119 if test "x$as_val" = x""yes; then :
24120 cat >>confdefs.h <<_ACEOF
24121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24122 _ACEOF
24125 done
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24136 $as_echo_n "checking for isnanl declaration... " >&6; }
24137 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24138 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24139 $as_echo_n "(cached) " >&6
24140 else
24143 ac_ext=cpp
24144 ac_cpp='$CXXCPP $CPPFLAGS'
24145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24151 #include <math.h>
24152 #ifdef HAVE_IEEEFP_H
24153 #include <ieeefp.h>
24154 #endif
24157 main ()
24159 isnanl(0);
24161 return 0;
24163 _ACEOF
24164 if ac_fn_cxx_try_compile "$LINENO"; then :
24165 glibcxx_cv_func_isnanl_use=yes
24166 else
24167 glibcxx_cv_func_isnanl_use=no
24169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_ext=c
24171 ac_cpp='$CPP $CPPFLAGS'
24172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24181 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24183 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24184 for ac_func in isnanl
24185 do :
24186 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24187 if test "x$ac_cv_func_isnanl" = x""yes; then :
24188 cat >>confdefs.h <<_ACEOF
24189 #define HAVE_ISNANL 1
24190 _ACEOF
24193 done
24195 else
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24198 $as_echo_n "checking for _isnanl declaration... " >&6; }
24199 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24200 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24201 $as_echo_n "(cached) " >&6
24202 else
24205 ac_ext=cpp
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24212 /* end confdefs.h. */
24213 #include <math.h>
24214 #ifdef HAVE_IEEEFP_H
24215 #include <ieeefp.h>
24216 #endif
24219 main ()
24221 _isnanl(0);
24223 return 0;
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__isnanl_use=yes
24228 else
24229 glibcxx_cv_func__isnanl_use=no
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24243 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24245 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24246 for ac_func in _isnanl
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24249 if test "x$ac_cv_func__isnanl" = x""yes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__ISNANL 1
24252 _ACEOF
24255 done
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24265 $as_echo_n "checking for isinfl declaration... " >&6; }
24266 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24267 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 #ifdef HAVE_IEEEFP_H
24282 #include <ieeefp.h>
24283 #endif
24286 main ()
24288 isinfl(0);
24290 return 0;
24292 _ACEOF
24293 if ac_fn_cxx_try_compile "$LINENO"; then :
24294 glibcxx_cv_func_isinfl_use=yes
24295 else
24296 glibcxx_cv_func_isinfl_use=no
24298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24299 ac_ext=c
24300 ac_cpp='$CPP $CPPFLAGS'
24301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24310 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24312 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24313 for ac_func in isinfl
24314 do :
24315 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24316 if test "x$ac_cv_func_isinfl" = x""yes; then :
24317 cat >>confdefs.h <<_ACEOF
24318 #define HAVE_ISINFL 1
24319 _ACEOF
24322 done
24324 else
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24327 $as_echo_n "checking for _isinfl declaration... " >&6; }
24328 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24329 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24330 $as_echo_n "(cached) " >&6
24331 else
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24342 #include <math.h>
24343 #ifdef HAVE_IEEEFP_H
24344 #include <ieeefp.h>
24345 #endif
24348 main ()
24350 _isinfl(0);
24352 return 0;
24354 _ACEOF
24355 if ac_fn_cxx_try_compile "$LINENO"; then :
24356 glibcxx_cv_func__isinfl_use=yes
24357 else
24358 glibcxx_cv_func__isinfl_use=no
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_ext=c
24362 ac_cpp='$CPP $CPPFLAGS'
24363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24372 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24374 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24375 for ac_func in _isinfl
24376 do :
24377 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24378 if test "x$ac_cv_func__isinfl" = x""yes; then :
24379 cat >>confdefs.h <<_ACEOF
24380 #define HAVE__ISINFL 1
24381 _ACEOF
24384 done
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24394 $as_echo_n "checking for atan2l declaration... " >&6; }
24395 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24396 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24397 $as_echo_n "(cached) " >&6
24398 else
24401 ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24409 #include <math.h>
24411 main ()
24413 atan2l(0, 0);
24415 return 0;
24417 _ACEOF
24418 if ac_fn_cxx_try_compile "$LINENO"; then :
24419 glibcxx_cv_func_atan2l_use=yes
24420 else
24421 glibcxx_cv_func_atan2l_use=no
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24435 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24437 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24438 for ac_func in atan2l
24439 do :
24440 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24441 if test "x$ac_cv_func_atan2l" = x""yes; then :
24442 cat >>confdefs.h <<_ACEOF
24443 #define HAVE_ATAN2L 1
24444 _ACEOF
24447 done
24449 else
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24452 $as_echo_n "checking for _atan2l declaration... " >&6; }
24453 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24454 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24455 $as_echo_n "(cached) " >&6
24456 else
24459 ac_ext=cpp
24460 ac_cpp='$CXXCPP $CPPFLAGS'
24461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24467 #include <math.h>
24469 main ()
24471 _atan2l(0, 0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__atan2l_use=yes
24478 else
24479 glibcxx_cv_func__atan2l_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24493 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24495 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24496 for ac_func in _atan2l
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24499 if test "x$ac_cv_func__atan2l" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__ATAN2L 1
24502 _ACEOF
24505 done
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24515 $as_echo_n "checking for expl declaration... " >&6; }
24516 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24517 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24536 main ()
24538 expl(0);
24540 return 0;
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_expl_use=yes
24545 else
24546 glibcxx_cv_func_expl_use=no
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24560 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24562 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24563 for ac_func in expl
24564 do :
24565 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24566 if test "x$ac_cv_func_expl" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_EXPL 1
24569 _ACEOF
24572 done
24574 else
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24577 $as_echo_n "checking for _expl declaration... " >&6; }
24578 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24579 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24598 main ()
24600 _expl(0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__expl_use=yes
24607 else
24608 glibcxx_cv_func__expl_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24622 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24624 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24625 for ac_func in _expl
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24628 if test "x$ac_cv_func__expl" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__EXPL 1
24631 _ACEOF
24634 done
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24644 $as_echo_n "checking for fabsl declaration... " >&6; }
24645 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24646 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24660 #ifdef HAVE_IEEEFP_H
24661 #include <ieeefp.h>
24662 #endif
24665 main ()
24667 fabsl(0);
24669 return 0;
24671 _ACEOF
24672 if ac_fn_cxx_try_compile "$LINENO"; then :
24673 glibcxx_cv_func_fabsl_use=yes
24674 else
24675 glibcxx_cv_func_fabsl_use=no
24677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24678 ac_ext=c
24679 ac_cpp='$CPP $CPPFLAGS'
24680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24689 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24691 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24692 for ac_func in fabsl
24693 do :
24694 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24695 if test "x$ac_cv_func_fabsl" = x""yes; then :
24696 cat >>confdefs.h <<_ACEOF
24697 #define HAVE_FABSL 1
24698 _ACEOF
24701 done
24703 else
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24706 $as_echo_n "checking for _fabsl declaration... " >&6; }
24707 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24708 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24709 $as_echo_n "(cached) " >&6
24710 else
24713 ac_ext=cpp
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24720 /* end confdefs.h. */
24721 #include <math.h>
24722 #ifdef HAVE_IEEEFP_H
24723 #include <ieeefp.h>
24724 #endif
24727 main ()
24729 _fabsl(0);
24731 return 0;
24733 _ACEOF
24734 if ac_fn_cxx_try_compile "$LINENO"; then :
24735 glibcxx_cv_func__fabsl_use=yes
24736 else
24737 glibcxx_cv_func__fabsl_use=no
24739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 ac_ext=c
24741 ac_cpp='$CPP $CPPFLAGS'
24742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24751 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24753 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24754 for ac_func in _fabsl
24755 do :
24756 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24757 if test "x$ac_cv_func__fabsl" = x""yes; then :
24758 cat >>confdefs.h <<_ACEOF
24759 #define HAVE__FABSL 1
24760 _ACEOF
24763 done
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24773 $as_echo_n "checking for fmodl declaration... " >&6; }
24774 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24775 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24776 $as_echo_n "(cached) " >&6
24777 else
24780 ac_ext=cpp
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787 /* end confdefs.h. */
24788 #include <math.h>
24790 main ()
24792 fmodl(0, 0);
24794 return 0;
24796 _ACEOF
24797 if ac_fn_cxx_try_compile "$LINENO"; then :
24798 glibcxx_cv_func_fmodl_use=yes
24799 else
24800 glibcxx_cv_func_fmodl_use=no
24802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 ac_ext=c
24804 ac_cpp='$CPP $CPPFLAGS'
24805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24814 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24816 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24817 for ac_func in fmodl
24818 do :
24819 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24820 if test "x$ac_cv_func_fmodl" = x""yes; then :
24821 cat >>confdefs.h <<_ACEOF
24822 #define HAVE_FMODL 1
24823 _ACEOF
24826 done
24828 else
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24831 $as_echo_n "checking for _fmodl declaration... " >&6; }
24832 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24833 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24834 $as_echo_n "(cached) " >&6
24835 else
24838 ac_ext=cpp
24839 ac_cpp='$CXXCPP $CPPFLAGS'
24840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24845 /* end confdefs.h. */
24846 #include <math.h>
24848 main ()
24850 _fmodl(0, 0);
24852 return 0;
24854 _ACEOF
24855 if ac_fn_cxx_try_compile "$LINENO"; then :
24856 glibcxx_cv_func__fmodl_use=yes
24857 else
24858 glibcxx_cv_func__fmodl_use=no
24860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24861 ac_ext=c
24862 ac_cpp='$CPP $CPPFLAGS'
24863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24872 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24874 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24875 for ac_func in _fmodl
24876 do :
24877 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24878 if test "x$ac_cv_func__fmodl" = x""yes; then :
24879 cat >>confdefs.h <<_ACEOF
24880 #define HAVE__FMODL 1
24881 _ACEOF
24884 done
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24894 $as_echo_n "checking for frexpl declaration... " >&6; }
24895 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24896 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24897 $as_echo_n "(cached) " >&6
24898 else
24901 ac_ext=cpp
24902 ac_cpp='$CXXCPP $CPPFLAGS'
24903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24908 /* end confdefs.h. */
24909 #include <math.h>
24911 main ()
24913 frexpl(0, 0);
24915 return 0;
24917 _ACEOF
24918 if ac_fn_cxx_try_compile "$LINENO"; then :
24919 glibcxx_cv_func_frexpl_use=yes
24920 else
24921 glibcxx_cv_func_frexpl_use=no
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924 ac_ext=c
24925 ac_cpp='$CPP $CPPFLAGS'
24926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24935 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24937 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24938 for ac_func in frexpl
24939 do :
24940 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24941 if test "x$ac_cv_func_frexpl" = x""yes; then :
24942 cat >>confdefs.h <<_ACEOF
24943 #define HAVE_FREXPL 1
24944 _ACEOF
24947 done
24949 else
24951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24952 $as_echo_n "checking for _frexpl declaration... " >&6; }
24953 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24954 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24955 $as_echo_n "(cached) " >&6
24956 else
24959 ac_ext=cpp
24960 ac_cpp='$CXXCPP $CPPFLAGS'
24961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24966 /* end confdefs.h. */
24967 #include <math.h>
24969 main ()
24971 _frexpl(0, 0);
24973 return 0;
24975 _ACEOF
24976 if ac_fn_cxx_try_compile "$LINENO"; then :
24977 glibcxx_cv_func__frexpl_use=yes
24978 else
24979 glibcxx_cv_func__frexpl_use=no
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 ac_ext=c
24983 ac_cpp='$CPP $CPPFLAGS'
24984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24993 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24995 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24996 for ac_func in _frexpl
24997 do :
24998 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24999 if test "x$ac_cv_func__frexpl" = x""yes; then :
25000 cat >>confdefs.h <<_ACEOF
25001 #define HAVE__FREXPL 1
25002 _ACEOF
25005 done
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25015 $as_echo_n "checking for hypotl declaration... " >&6; }
25016 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25017 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25018 $as_echo_n "(cached) " >&6
25019 else
25022 ac_ext=cpp
25023 ac_cpp='$CXXCPP $CPPFLAGS'
25024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25029 /* end confdefs.h. */
25030 #include <math.h>
25032 main ()
25034 hypotl(0, 0);
25036 return 0;
25038 _ACEOF
25039 if ac_fn_cxx_try_compile "$LINENO"; then :
25040 glibcxx_cv_func_hypotl_use=yes
25041 else
25042 glibcxx_cv_func_hypotl_use=no
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 ac_ext=c
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25056 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25058 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25059 for ac_func in hypotl
25060 do :
25061 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25062 if test "x$ac_cv_func_hypotl" = x""yes; then :
25063 cat >>confdefs.h <<_ACEOF
25064 #define HAVE_HYPOTL 1
25065 _ACEOF
25068 done
25070 else
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25073 $as_echo_n "checking for _hypotl declaration... " >&6; }
25074 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25075 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25076 $as_echo_n "(cached) " >&6
25077 else
25080 ac_ext=cpp
25081 ac_cpp='$CXXCPP $CPPFLAGS'
25082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h. */
25088 #include <math.h>
25090 main ()
25092 _hypotl(0, 0);
25094 return 0;
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098 glibcxx_cv_func__hypotl_use=yes
25099 else
25100 glibcxx_cv_func__hypotl_use=no
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25114 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25116 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25117 for ac_func in _hypotl
25118 do :
25119 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25120 if test "x$ac_cv_func__hypotl" = x""yes; then :
25121 cat >>confdefs.h <<_ACEOF
25122 #define HAVE__HYPOTL 1
25123 _ACEOF
25126 done
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25136 $as_echo_n "checking for ldexpl declaration... " >&6; }
25137 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25138 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25143 ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h. */
25151 #include <math.h>
25153 main ()
25155 ldexpl(0, 0);
25157 return 0;
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 glibcxx_cv_func_ldexpl_use=yes
25162 else
25163 glibcxx_cv_func_ldexpl_use=no
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25177 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25179 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25180 for ac_func in ldexpl
25181 do :
25182 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25183 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25184 cat >>confdefs.h <<_ACEOF
25185 #define HAVE_LDEXPL 1
25186 _ACEOF
25189 done
25191 else
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25194 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25195 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25196 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25211 main ()
25213 _ldexpl(0, 0);
25215 return 0;
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__ldexpl_use=yes
25220 else
25221 glibcxx_cv_func__ldexpl_use=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25235 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25237 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25238 for ac_func in _ldexpl
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25241 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__LDEXPL 1
25244 _ACEOF
25247 done
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25257 $as_echo_n "checking for logl declaration... " >&6; }
25258 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25259 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25278 main ()
25280 logl(0);
25282 return 0;
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_logl_use=yes
25287 else
25288 glibcxx_cv_func_logl_use=no
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25302 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25304 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25305 for ac_func in logl
25306 do :
25307 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25308 if test "x$ac_cv_func_logl" = x""yes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_LOGL 1
25311 _ACEOF
25314 done
25316 else
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25319 $as_echo_n "checking for _logl declaration... " >&6; }
25320 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25321 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25340 main ()
25342 _logl(0);
25344 return 0;
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__logl_use=yes
25349 else
25350 glibcxx_cv_func__logl_use=no
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25364 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25366 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25367 for ac_func in _logl
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25370 if test "x$ac_cv_func__logl" = x""yes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__LOGL 1
25373 _ACEOF
25376 done
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25386 $as_echo_n "checking for log10l declaration... " >&6; }
25387 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25388 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25389 $as_echo_n "(cached) " >&6
25390 else
25393 ac_ext=cpp
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h. */
25401 #include <math.h>
25402 #ifdef HAVE_IEEEFP_H
25403 #include <ieeefp.h>
25404 #endif
25407 main ()
25409 log10l(0);
25411 return 0;
25413 _ACEOF
25414 if ac_fn_cxx_try_compile "$LINENO"; then :
25415 glibcxx_cv_func_log10l_use=yes
25416 else
25417 glibcxx_cv_func_log10l_use=no
25419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25420 ac_ext=c
25421 ac_cpp='$CPP $CPPFLAGS'
25422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25431 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25433 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25434 for ac_func in log10l
25435 do :
25436 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25437 if test "x$ac_cv_func_log10l" = x""yes; then :
25438 cat >>confdefs.h <<_ACEOF
25439 #define HAVE_LOG10L 1
25440 _ACEOF
25443 done
25445 else
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25448 $as_echo_n "checking for _log10l declaration... " >&6; }
25449 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25450 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25451 $as_echo_n "(cached) " >&6
25452 else
25455 ac_ext=cpp
25456 ac_cpp='$CXXCPP $CPPFLAGS'
25457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h. */
25463 #include <math.h>
25464 #ifdef HAVE_IEEEFP_H
25465 #include <ieeefp.h>
25466 #endif
25469 main ()
25471 _log10l(0);
25473 return 0;
25475 _ACEOF
25476 if ac_fn_cxx_try_compile "$LINENO"; then :
25477 glibcxx_cv_func__log10l_use=yes
25478 else
25479 glibcxx_cv_func__log10l_use=no
25481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25482 ac_ext=c
25483 ac_cpp='$CPP $CPPFLAGS'
25484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25493 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25495 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25496 for ac_func in _log10l
25497 do :
25498 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25499 if test "x$ac_cv_func__log10l" = x""yes; then :
25500 cat >>confdefs.h <<_ACEOF
25501 #define HAVE__LOG10L 1
25502 _ACEOF
25505 done
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25515 $as_echo_n "checking for modfl declaration... " >&6; }
25516 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25517 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25518 $as_echo_n "(cached) " >&6
25519 else
25522 ac_ext=cpp
25523 ac_cpp='$CXXCPP $CPPFLAGS'
25524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25529 /* end confdefs.h. */
25530 #include <math.h>
25532 main ()
25534 modfl(0, 0);
25536 return 0;
25538 _ACEOF
25539 if ac_fn_cxx_try_compile "$LINENO"; then :
25540 glibcxx_cv_func_modfl_use=yes
25541 else
25542 glibcxx_cv_func_modfl_use=no
25544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25545 ac_ext=c
25546 ac_cpp='$CPP $CPPFLAGS'
25547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25556 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25558 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25559 for ac_func in modfl
25560 do :
25561 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25562 if test "x$ac_cv_func_modfl" = x""yes; then :
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE_MODFL 1
25565 _ACEOF
25568 done
25570 else
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25573 $as_echo_n "checking for _modfl declaration... " >&6; }
25574 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25575 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25576 $as_echo_n "(cached) " >&6
25577 else
25580 ac_ext=cpp
25581 ac_cpp='$CXXCPP $CPPFLAGS'
25582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h. */
25588 #include <math.h>
25590 main ()
25592 _modfl(0, 0);
25594 return 0;
25596 _ACEOF
25597 if ac_fn_cxx_try_compile "$LINENO"; then :
25598 glibcxx_cv_func__modfl_use=yes
25599 else
25600 glibcxx_cv_func__modfl_use=no
25602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25603 ac_ext=c
25604 ac_cpp='$CPP $CPPFLAGS'
25605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25614 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25616 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25617 for ac_func in _modfl
25618 do :
25619 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25620 if test "x$ac_cv_func__modfl" = x""yes; then :
25621 cat >>confdefs.h <<_ACEOF
25622 #define HAVE__MODFL 1
25623 _ACEOF
25626 done
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25636 $as_echo_n "checking for powl declaration... " >&6; }
25637 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25638 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25639 $as_echo_n "(cached) " >&6
25640 else
25643 ac_ext=cpp
25644 ac_cpp='$CXXCPP $CPPFLAGS'
25645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25650 /* end confdefs.h. */
25651 #include <math.h>
25653 main ()
25655 powl(0, 0);
25657 return 0;
25659 _ACEOF
25660 if ac_fn_cxx_try_compile "$LINENO"; then :
25661 glibcxx_cv_func_powl_use=yes
25662 else
25663 glibcxx_cv_func_powl_use=no
25665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25677 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25679 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25680 for ac_func in powl
25681 do :
25682 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25683 if test "x$ac_cv_func_powl" = x""yes; then :
25684 cat >>confdefs.h <<_ACEOF
25685 #define HAVE_POWL 1
25686 _ACEOF
25689 done
25691 else
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25694 $as_echo_n "checking for _powl declaration... " >&6; }
25695 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25696 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25697 $as_echo_n "(cached) " >&6
25698 else
25701 ac_ext=cpp
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25708 /* end confdefs.h. */
25709 #include <math.h>
25711 main ()
25713 _powl(0, 0);
25715 return 0;
25717 _ACEOF
25718 if ac_fn_cxx_try_compile "$LINENO"; then :
25719 glibcxx_cv_func__powl_use=yes
25720 else
25721 glibcxx_cv_func__powl_use=no
25723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25735 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25737 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25738 for ac_func in _powl
25739 do :
25740 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25741 if test "x$ac_cv_func__powl" = x""yes; then :
25742 cat >>confdefs.h <<_ACEOF
25743 #define HAVE__POWL 1
25744 _ACEOF
25747 done
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25757 $as_echo_n "checking for sqrtl declaration... " >&6; }
25758 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25759 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25761 else
25764 ac_ext=cpp
25765 ac_cpp='$CXXCPP $CPPFLAGS'
25766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25772 #include <math.h>
25773 #ifdef HAVE_IEEEFP_H
25774 #include <ieeefp.h>
25775 #endif
25778 main ()
25780 sqrtl(0);
25782 return 0;
25784 _ACEOF
25785 if ac_fn_cxx_try_compile "$LINENO"; then :
25786 glibcxx_cv_func_sqrtl_use=yes
25787 else
25788 glibcxx_cv_func_sqrtl_use=no
25790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25791 ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25802 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25804 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25805 for ac_func in sqrtl
25806 do :
25807 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25808 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25809 cat >>confdefs.h <<_ACEOF
25810 #define HAVE_SQRTL 1
25811 _ACEOF
25814 done
25816 else
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25819 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25820 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25821 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25822 $as_echo_n "(cached) " >&6
25823 else
25826 ac_ext=cpp
25827 ac_cpp='$CXXCPP $CPPFLAGS'
25828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25833 /* end confdefs.h. */
25834 #include <math.h>
25835 #ifdef HAVE_IEEEFP_H
25836 #include <ieeefp.h>
25837 #endif
25840 main ()
25842 _sqrtl(0);
25844 return 0;
25846 _ACEOF
25847 if ac_fn_cxx_try_compile "$LINENO"; then :
25848 glibcxx_cv_func__sqrtl_use=yes
25849 else
25850 glibcxx_cv_func__sqrtl_use=no
25852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25853 ac_ext=c
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25864 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25866 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25867 for ac_func in _sqrtl
25868 do :
25869 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25870 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25871 cat >>confdefs.h <<_ACEOF
25872 #define HAVE__SQRTL 1
25873 _ACEOF
25876 done
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25886 $as_echo_n "checking for sincosl declaration... " >&6; }
25887 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25888 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25889 $as_echo_n "(cached) " >&6
25890 else
25893 ac_ext=cpp
25894 ac_cpp='$CXXCPP $CPPFLAGS'
25895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h. */
25901 #include <math.h>
25903 main ()
25905 sincosl(0, 0, 0);
25907 return 0;
25909 _ACEOF
25910 if ac_fn_cxx_try_compile "$LINENO"; then :
25911 glibcxx_cv_func_sincosl_use=yes
25912 else
25913 glibcxx_cv_func_sincosl_use=no
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916 ac_ext=c
25917 ac_cpp='$CPP $CPPFLAGS'
25918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25927 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25929 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25930 for ac_func in sincosl
25931 do :
25932 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25933 if test "x$ac_cv_func_sincosl" = x""yes; then :
25934 cat >>confdefs.h <<_ACEOF
25935 #define HAVE_SINCOSL 1
25936 _ACEOF
25939 done
25941 else
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25944 $as_echo_n "checking for _sincosl declaration... " >&6; }
25945 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25946 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25947 $as_echo_n "(cached) " >&6
25948 else
25951 ac_ext=cpp
25952 ac_cpp='$CXXCPP $CPPFLAGS'
25953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25958 /* end confdefs.h. */
25959 #include <math.h>
25961 main ()
25963 _sincosl(0, 0, 0);
25965 return 0;
25967 _ACEOF
25968 if ac_fn_cxx_try_compile "$LINENO"; then :
25969 glibcxx_cv_func__sincosl_use=yes
25970 else
25971 glibcxx_cv_func__sincosl_use=no
25973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25974 ac_ext=c
25975 ac_cpp='$CPP $CPPFLAGS'
25976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25985 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25987 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25988 for ac_func in _sincosl
25989 do :
25990 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25991 if test "x$ac_cv_func__sincosl" = x""yes; then :
25992 cat >>confdefs.h <<_ACEOF
25993 #define HAVE__SINCOSL 1
25994 _ACEOF
25997 done
26006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26007 $as_echo_n "checking for finitel declaration... " >&6; }
26008 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26009 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26010 $as_echo_n "(cached) " >&6
26011 else
26014 ac_ext=cpp
26015 ac_cpp='$CXXCPP $CPPFLAGS'
26016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26021 /* end confdefs.h. */
26022 #include <math.h>
26023 #ifdef HAVE_IEEEFP_H
26024 #include <ieeefp.h>
26025 #endif
26028 main ()
26030 finitel(0);
26032 return 0;
26034 _ACEOF
26035 if ac_fn_cxx_try_compile "$LINENO"; then :
26036 glibcxx_cv_func_finitel_use=yes
26037 else
26038 glibcxx_cv_func_finitel_use=no
26040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 ac_ext=c
26042 ac_cpp='$CPP $CPPFLAGS'
26043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26052 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26054 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26055 for ac_func in finitel
26056 do :
26057 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26058 if test "x$ac_cv_func_finitel" = x""yes; then :
26059 cat >>confdefs.h <<_ACEOF
26060 #define HAVE_FINITEL 1
26061 _ACEOF
26064 done
26066 else
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26069 $as_echo_n "checking for _finitel declaration... " >&6; }
26070 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26071 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26072 $as_echo_n "(cached) " >&6
26073 else
26076 ac_ext=cpp
26077 ac_cpp='$CXXCPP $CPPFLAGS'
26078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26083 /* end confdefs.h. */
26084 #include <math.h>
26085 #ifdef HAVE_IEEEFP_H
26086 #include <ieeefp.h>
26087 #endif
26090 main ()
26092 _finitel(0);
26094 return 0;
26096 _ACEOF
26097 if ac_fn_cxx_try_compile "$LINENO"; then :
26098 glibcxx_cv_func__finitel_use=yes
26099 else
26100 glibcxx_cv_func__finitel_use=no
26102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26103 ac_ext=c
26104 ac_cpp='$CPP $CPPFLAGS'
26105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26114 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26116 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26117 for ac_func in _finitel
26118 do :
26119 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26120 if test "x$ac_cv_func__finitel" = x""yes; then :
26121 cat >>confdefs.h <<_ACEOF
26122 #define HAVE__FINITEL 1
26123 _ACEOF
26126 done
26134 LIBS="$ac_save_LIBS"
26135 CXXFLAGS="$ac_save_CXXFLAGS"
26138 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26139 ac_save_CXXFLAGS="$CXXFLAGS"
26140 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26144 $as_echo_n "checking for strtold declaration... " >&6; }
26145 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26146 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
26161 main ()
26163 strtold(0, 0);
26165 return 0;
26167 _ACEOF
26168 if ac_fn_cxx_try_compile "$LINENO"; then :
26169 glibcxx_cv_func_strtold_use=yes
26170 else
26171 glibcxx_cv_func_strtold_use=no
26173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26174 ac_ext=c
26175 ac_cpp='$CPP $CPPFLAGS'
26176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26185 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26186 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26187 for ac_func in strtold
26188 do :
26189 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26190 if test "x$ac_cv_func_strtold" = x""yes; then :
26191 cat >>confdefs.h <<_ACEOF
26192 #define HAVE_STRTOLD 1
26193 _ACEOF
26196 done
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26204 $as_echo_n "checking for strtof declaration... " >&6; }
26205 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26206 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26207 $as_echo_n "(cached) " >&6
26208 else
26211 ac_ext=cpp
26212 ac_cpp='$CXXCPP $CPPFLAGS'
26213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26218 /* end confdefs.h. */
26219 #include <stdlib.h>
26221 main ()
26223 strtof(0, 0);
26225 return 0;
26227 _ACEOF
26228 if ac_fn_cxx_try_compile "$LINENO"; then :
26229 glibcxx_cv_func_strtof_use=yes
26230 else
26231 glibcxx_cv_func_strtof_use=no
26233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26234 ac_ext=c
26235 ac_cpp='$CPP $CPPFLAGS'
26236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26245 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26246 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26247 for ac_func in strtof
26248 do :
26249 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26250 if test "x$ac_cv_func_strtof" = x""yes; then :
26251 cat >>confdefs.h <<_ACEOF
26252 #define HAVE_STRTOF 1
26253 _ACEOF
26256 done
26263 CXXFLAGS="$ac_save_CXXFLAGS"
26266 # For /dev/random and /dev/urandom for TR1.
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26270 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26271 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26272 $as_echo_n "(cached) " >&6
26273 else
26275 if test -r /dev/random && test -r /dev/urandom; then
26276 glibcxx_cv_random_tr1=yes;
26277 else
26278 glibcxx_cv_random_tr1=no;
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26284 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26286 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26288 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26294 # For TLS support.
26297 # Check whether --enable-tls was given.
26298 if test "${enable_tls+set}" = set; then :
26299 enableval=$enable_tls;
26300 case "$enableval" in
26301 yes|no) ;;
26302 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26303 esac
26305 else
26306 enable_tls=yes
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26311 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26312 if test "${gcc_cv_have_tls+set}" = set; then :
26313 $as_echo_n "(cached) " >&6
26314 else
26316 if test "$cross_compiling" = yes; then :
26317 if test x$gcc_no_link = xyes; then
26318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26322 __thread int a; int b; int main() { return a = b; }
26323 _ACEOF
26324 if ac_fn_c_try_link "$LINENO"; then :
26325 chktls_save_LDFLAGS="$LDFLAGS"
26326 case $host in
26327 *-*-linux*)
26328 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26330 esac
26331 chktls_save_CFLAGS="$CFLAGS"
26332 CFLAGS="-fPIC $CFLAGS"
26333 if test x$gcc_no_link = xyes; then
26334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338 int f() { return 0; }
26339 _ACEOF
26340 if ac_fn_c_try_link "$LINENO"; then :
26341 if test x$gcc_no_link = xyes; then
26342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26345 /* end confdefs.h. */
26346 __thread int a; int b; int f() { return a = b; }
26347 _ACEOF
26348 if ac_fn_c_try_link "$LINENO"; then :
26349 gcc_cv_have_tls=yes
26350 else
26351 gcc_cv_have_tls=no
26353 rm -f core conftest.err conftest.$ac_objext \
26354 conftest$ac_exeext conftest.$ac_ext
26355 else
26356 gcc_cv_have_tls=yes
26358 rm -f core conftest.err conftest.$ac_objext \
26359 conftest$ac_exeext conftest.$ac_ext
26360 CFLAGS="$chktls_save_CFLAGS"
26361 LDFLAGS="$chktls_save_LDFLAGS"
26362 else
26363 gcc_cv_have_tls=no
26365 rm -f core conftest.err conftest.$ac_objext \
26366 conftest$ac_exeext conftest.$ac_ext
26369 else
26370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26371 /* end confdefs.h. */
26372 __thread int a; int b; int main() { return a = b; }
26373 _ACEOF
26374 if ac_fn_c_try_run "$LINENO"; then :
26375 chktls_save_LDFLAGS="$LDFLAGS"
26376 LDFLAGS="-static $LDFLAGS"
26377 if test x$gcc_no_link = xyes; then
26378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 int main() { return 0; }
26383 _ACEOF
26384 if ac_fn_c_try_link "$LINENO"; then :
26385 if test "$cross_compiling" = yes; then :
26386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26388 as_fn_error "cannot run test program while cross compiling
26389 See \`config.log' for more details." "$LINENO" 5; }
26390 else
26391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26392 /* end confdefs.h. */
26393 __thread int a; int b; int main() { return a = b; }
26394 _ACEOF
26395 if ac_fn_c_try_run "$LINENO"; then :
26396 gcc_cv_have_tls=yes
26397 else
26398 gcc_cv_have_tls=no
26400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26401 conftest.$ac_objext conftest.beam conftest.$ac_ext
26404 else
26405 gcc_cv_have_tls=yes
26407 rm -f core conftest.err conftest.$ac_objext \
26408 conftest$ac_exeext conftest.$ac_ext
26409 LDFLAGS="$chktls_save_LDFLAGS"
26410 if test $gcc_cv_have_tls = yes; then
26411 chktls_save_CFLAGS="$CFLAGS"
26412 thread_CFLAGS=failed
26413 for flag in '' '-pthread' '-lpthread'; do
26414 CFLAGS="$flag $chktls_save_CFLAGS"
26415 if test x$gcc_no_link = xyes; then
26416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26419 /* end confdefs.h. */
26420 #include <pthread.h>
26421 void *g(void *d) { return NULL; }
26423 main ()
26425 pthread_t t; pthread_create(&t,NULL,g,NULL);
26427 return 0;
26429 _ACEOF
26430 if ac_fn_c_try_link "$LINENO"; then :
26431 thread_CFLAGS="$flag"
26433 rm -f core conftest.err conftest.$ac_objext \
26434 conftest$ac_exeext conftest.$ac_ext
26435 if test "X$thread_CFLAGS" != Xfailed; then
26436 break
26438 done
26439 CFLAGS="$chktls_save_CFLAGS"
26440 if test "X$thread_CFLAGS" != Xfailed; then
26441 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26442 if test "$cross_compiling" = yes; then :
26443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26445 as_fn_error "cannot run test program while cross compiling
26446 See \`config.log' for more details." "$LINENO" 5; }
26447 else
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <pthread.h>
26451 __thread int a;
26452 static int *volatile a_in_other_thread;
26453 static void *
26454 thread_func (void *arg)
26456 a_in_other_thread = &a;
26457 return (void *)0;
26460 main ()
26462 pthread_t thread;
26463 void *thread_retval;
26464 int *volatile a_in_main_thread;
26465 a_in_main_thread = &a;
26466 if (pthread_create (&thread, (pthread_attr_t *)0,
26467 thread_func, (void *)0))
26468 return 0;
26469 if (pthread_join (thread, &thread_retval))
26470 return 0;
26471 return (a_in_other_thread == a_in_main_thread);
26473 return 0;
26475 _ACEOF
26476 if ac_fn_c_try_run "$LINENO"; then :
26477 gcc_cv_have_tls=yes
26478 else
26479 gcc_cv_have_tls=no
26481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26482 conftest.$ac_objext conftest.beam conftest.$ac_ext
26485 CFLAGS="$chktls_save_CFLAGS"
26488 else
26489 gcc_cv_have_tls=no
26491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26492 conftest.$ac_objext conftest.beam conftest.$ac_ext
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26497 $as_echo "$gcc_cv_have_tls" >&6; }
26498 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26500 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26504 # For iconv support.
26506 if test "X$prefix" = "XNONE"; then
26507 acl_final_prefix="$ac_default_prefix"
26508 else
26509 acl_final_prefix="$prefix"
26511 if test "X$exec_prefix" = "XNONE"; then
26512 acl_final_exec_prefix='${prefix}'
26513 else
26514 acl_final_exec_prefix="$exec_prefix"
26516 acl_save_prefix="$prefix"
26517 prefix="$acl_final_prefix"
26518 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26519 prefix="$acl_save_prefix"
26522 # Check whether --with-gnu-ld was given.
26523 if test "${with_gnu_ld+set}" = set; then :
26524 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26525 else
26526 with_gnu_ld=no
26529 # Prepare PATH_SEPARATOR.
26530 # The user is always right.
26531 if test "${PATH_SEPARATOR+set}" != set; then
26532 echo "#! /bin/sh" >conf$$.sh
26533 echo "exit 0" >>conf$$.sh
26534 chmod +x conf$$.sh
26535 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26536 PATH_SEPARATOR=';'
26537 else
26538 PATH_SEPARATOR=:
26540 rm -f conf$$.sh
26542 ac_prog=ld
26543 if test "$GCC" = yes; then
26544 # Check if gcc -print-prog-name=ld gives a path.
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26546 $as_echo_n "checking for ld used by GCC... " >&6; }
26547 case $host in
26548 *-*-mingw*)
26549 # gcc leaves a trailing carriage return which upsets mingw
26550 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26552 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26553 esac
26554 case $ac_prog in
26555 # Accept absolute paths.
26556 [\\/]* | [A-Za-z]:[\\/]*)
26557 re_direlt='/[^/][^/]*/\.\./'
26558 # Canonicalize the path of ld
26559 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26560 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26561 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26562 done
26563 test -z "$LD" && LD="$ac_prog"
26566 # If it fails, then pretend we aren't using GCC.
26567 ac_prog=ld
26570 # If it is relative, then search for the first ld in PATH.
26571 with_gnu_ld=unknown
26573 esac
26574 elif test "$with_gnu_ld" = yes; then
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26576 $as_echo_n "checking for GNU ld... " >&6; }
26577 else
26578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26579 $as_echo_n "checking for non-GNU ld... " >&6; }
26581 if test "${acl_cv_path_LD+set}" = set; then :
26582 $as_echo_n "(cached) " >&6
26583 else
26584 if test -z "$LD"; then
26585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26586 for ac_dir in $PATH; do
26587 test -z "$ac_dir" && ac_dir=.
26588 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26589 acl_cv_path_LD="$ac_dir/$ac_prog"
26590 # Check to see if the program is GNU ld. I'd rather use --version,
26591 # but apparently some GNU ld's only accept -v.
26592 # Break only if it was the GNU/non-GNU ld that we prefer.
26593 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26594 test "$with_gnu_ld" != no && break
26595 else
26596 test "$with_gnu_ld" != yes && break
26599 done
26600 IFS="$ac_save_ifs"
26601 else
26602 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26606 LD="$acl_cv_path_LD"
26607 if test -n "$LD"; then
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26609 $as_echo "$LD" >&6; }
26610 else
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26612 $as_echo "no" >&6; }
26614 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26616 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26617 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26618 $as_echo_n "(cached) " >&6
26619 else
26620 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26621 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26622 acl_cv_prog_gnu_ld=yes
26623 else
26624 acl_cv_prog_gnu_ld=no
26627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26628 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26629 with_gnu_ld=$acl_cv_prog_gnu_ld
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26634 $as_echo_n "checking for shared library run path origin... " >&6; }
26635 if test "${acl_cv_rpath+set}" = set; then :
26636 $as_echo_n "(cached) " >&6
26637 else
26639 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26640 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26641 . ./conftest.sh
26642 rm -f ./conftest.sh
26643 acl_cv_rpath=done
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26647 $as_echo "$acl_cv_rpath" >&6; }
26648 wl="$acl_cv_wl"
26649 libext="$acl_cv_libext"
26650 shlibext="$acl_cv_shlibext"
26651 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26652 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26653 hardcode_direct="$acl_cv_hardcode_direct"
26654 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26655 # Check whether --enable-rpath was given.
26656 if test "${enable_rpath+set}" = set; then :
26657 enableval=$enable_rpath; :
26658 else
26659 enable_rpath=yes
26669 use_additional=yes
26671 acl_save_prefix="$prefix"
26672 prefix="$acl_final_prefix"
26673 acl_save_exec_prefix="$exec_prefix"
26674 exec_prefix="$acl_final_exec_prefix"
26676 eval additional_includedir=\"$includedir\"
26677 eval additional_libdir=\"$libdir\"
26679 exec_prefix="$acl_save_exec_prefix"
26680 prefix="$acl_save_prefix"
26683 # Check whether --with-libiconv-prefix was given.
26684 if test "${with_libiconv_prefix+set}" = set; then :
26685 withval=$with_libiconv_prefix;
26686 if test "X$withval" = "Xno"; then
26687 use_additional=no
26688 else
26689 if test "X$withval" = "X"; then
26691 acl_save_prefix="$prefix"
26692 prefix="$acl_final_prefix"
26693 acl_save_exec_prefix="$exec_prefix"
26694 exec_prefix="$acl_final_exec_prefix"
26696 eval additional_includedir=\"$includedir\"
26697 eval additional_libdir=\"$libdir\"
26699 exec_prefix="$acl_save_exec_prefix"
26700 prefix="$acl_save_prefix"
26702 else
26703 additional_includedir="$withval/include"
26704 additional_libdir="$withval/lib"
26710 LIBICONV=
26711 LTLIBICONV=
26712 INCICONV=
26713 rpathdirs=
26714 ltrpathdirs=
26715 names_already_handled=
26716 names_next_round='iconv '
26717 while test -n "$names_next_round"; do
26718 names_this_round="$names_next_round"
26719 names_next_round=
26720 for name in $names_this_round; do
26721 already_handled=
26722 for n in $names_already_handled; do
26723 if test "$n" = "$name"; then
26724 already_handled=yes
26725 break
26727 done
26728 if test -z "$already_handled"; then
26729 names_already_handled="$names_already_handled $name"
26730 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26731 eval value=\"\$HAVE_LIB$uppername\"
26732 if test -n "$value"; then
26733 if test "$value" = yes; then
26734 eval value=\"\$LIB$uppername\"
26735 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26736 eval value=\"\$LTLIB$uppername\"
26737 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26738 else
26741 else
26742 found_dir=
26743 found_la=
26744 found_so=
26745 found_a=
26746 if test $use_additional = yes; then
26747 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26748 found_dir="$additional_libdir"
26749 found_so="$additional_libdir/lib$name.$shlibext"
26750 if test -f "$additional_libdir/lib$name.la"; then
26751 found_la="$additional_libdir/lib$name.la"
26753 else
26754 if test -f "$additional_libdir/lib$name.$libext"; then
26755 found_dir="$additional_libdir"
26756 found_a="$additional_libdir/lib$name.$libext"
26757 if test -f "$additional_libdir/lib$name.la"; then
26758 found_la="$additional_libdir/lib$name.la"
26763 if test "X$found_dir" = "X"; then
26764 for x in $LDFLAGS $LTLIBICONV; do
26766 acl_save_prefix="$prefix"
26767 prefix="$acl_final_prefix"
26768 acl_save_exec_prefix="$exec_prefix"
26769 exec_prefix="$acl_final_exec_prefix"
26770 eval x=\"$x\"
26771 exec_prefix="$acl_save_exec_prefix"
26772 prefix="$acl_save_prefix"
26774 case "$x" in
26775 -L*)
26776 dir=`echo "X$x" | sed -e 's/^X-L//'`
26777 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26778 found_dir="$dir"
26779 found_so="$dir/lib$name.$shlibext"
26780 if test -f "$dir/lib$name.la"; then
26781 found_la="$dir/lib$name.la"
26783 else
26784 if test -f "$dir/lib$name.$libext"; then
26785 found_dir="$dir"
26786 found_a="$dir/lib$name.$libext"
26787 if test -f "$dir/lib$name.la"; then
26788 found_la="$dir/lib$name.la"
26793 esac
26794 if test "X$found_dir" != "X"; then
26795 break
26797 done
26799 if test "X$found_dir" != "X"; then
26800 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26801 if test "X$found_so" != "X"; then
26802 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26803 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26804 else
26805 haveit=
26806 for x in $ltrpathdirs; do
26807 if test "X$x" = "X$found_dir"; then
26808 haveit=yes
26809 break
26811 done
26812 if test -z "$haveit"; then
26813 ltrpathdirs="$ltrpathdirs $found_dir"
26815 if test "$hardcode_direct" = yes; then
26816 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26817 else
26818 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26819 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26820 haveit=
26821 for x in $rpathdirs; do
26822 if test "X$x" = "X$found_dir"; then
26823 haveit=yes
26824 break
26826 done
26827 if test -z "$haveit"; then
26828 rpathdirs="$rpathdirs $found_dir"
26830 else
26831 haveit=
26832 for x in $LDFLAGS $LIBICONV; do
26834 acl_save_prefix="$prefix"
26835 prefix="$acl_final_prefix"
26836 acl_save_exec_prefix="$exec_prefix"
26837 exec_prefix="$acl_final_exec_prefix"
26838 eval x=\"$x\"
26839 exec_prefix="$acl_save_exec_prefix"
26840 prefix="$acl_save_prefix"
26842 if test "X$x" = "X-L$found_dir"; then
26843 haveit=yes
26844 break
26846 done
26847 if test -z "$haveit"; then
26848 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26850 if test "$hardcode_minus_L" != no; then
26851 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26852 else
26853 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26858 else
26859 if test "X$found_a" != "X"; then
26860 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26861 else
26862 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26865 additional_includedir=
26866 case "$found_dir" in
26867 */lib | */lib/)
26868 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26869 additional_includedir="$basedir/include"
26871 esac
26872 if test "X$additional_includedir" != "X"; then
26873 if test "X$additional_includedir" != "X/usr/include"; then
26874 haveit=
26875 if test "X$additional_includedir" = "X/usr/local/include"; then
26876 if test -n "$GCC"; then
26877 case $host_os in
26878 linux*) haveit=yes;;
26879 esac
26882 if test -z "$haveit"; then
26883 for x in $CPPFLAGS $INCICONV; do
26885 acl_save_prefix="$prefix"
26886 prefix="$acl_final_prefix"
26887 acl_save_exec_prefix="$exec_prefix"
26888 exec_prefix="$acl_final_exec_prefix"
26889 eval x=\"$x\"
26890 exec_prefix="$acl_save_exec_prefix"
26891 prefix="$acl_save_prefix"
26893 if test "X$x" = "X-I$additional_includedir"; then
26894 haveit=yes
26895 break
26897 done
26898 if test -z "$haveit"; then
26899 if test -d "$additional_includedir"; then
26900 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26906 if test -n "$found_la"; then
26907 save_libdir="$libdir"
26908 case "$found_la" in
26909 */* | *\\*) . "$found_la" ;;
26910 *) . "./$found_la" ;;
26911 esac
26912 libdir="$save_libdir"
26913 for dep in $dependency_libs; do
26914 case "$dep" in
26915 -L*)
26916 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26917 if test "X$additional_libdir" != "X/usr/lib"; then
26918 haveit=
26919 if test "X$additional_libdir" = "X/usr/local/lib"; then
26920 if test -n "$GCC"; then
26921 case $host_os in
26922 linux*) haveit=yes;;
26923 esac
26926 if test -z "$haveit"; then
26927 haveit=
26928 for x in $LDFLAGS $LIBICONV; do
26930 acl_save_prefix="$prefix"
26931 prefix="$acl_final_prefix"
26932 acl_save_exec_prefix="$exec_prefix"
26933 exec_prefix="$acl_final_exec_prefix"
26934 eval x=\"$x\"
26935 exec_prefix="$acl_save_exec_prefix"
26936 prefix="$acl_save_prefix"
26938 if test "X$x" = "X-L$additional_libdir"; then
26939 haveit=yes
26940 break
26942 done
26943 if test -z "$haveit"; then
26944 if test -d "$additional_libdir"; then
26945 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26948 haveit=
26949 for x in $LDFLAGS $LTLIBICONV; do
26951 acl_save_prefix="$prefix"
26952 prefix="$acl_final_prefix"
26953 acl_save_exec_prefix="$exec_prefix"
26954 exec_prefix="$acl_final_exec_prefix"
26955 eval x=\"$x\"
26956 exec_prefix="$acl_save_exec_prefix"
26957 prefix="$acl_save_prefix"
26959 if test "X$x" = "X-L$additional_libdir"; then
26960 haveit=yes
26961 break
26963 done
26964 if test -z "$haveit"; then
26965 if test -d "$additional_libdir"; then
26966 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26972 -R*)
26973 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26974 if test "$enable_rpath" != no; then
26975 haveit=
26976 for x in $rpathdirs; do
26977 if test "X$x" = "X$dir"; then
26978 haveit=yes
26979 break
26981 done
26982 if test -z "$haveit"; then
26983 rpathdirs="$rpathdirs $dir"
26985 haveit=
26986 for x in $ltrpathdirs; do
26987 if test "X$x" = "X$dir"; then
26988 haveit=yes
26989 break
26991 done
26992 if test -z "$haveit"; then
26993 ltrpathdirs="$ltrpathdirs $dir"
26997 -l*)
26998 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27000 *.la)
27001 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27004 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27005 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27007 esac
27008 done
27010 else
27011 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27012 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27016 done
27017 done
27018 if test "X$rpathdirs" != "X"; then
27019 if test -n "$hardcode_libdir_separator"; then
27020 alldirs=
27021 for found_dir in $rpathdirs; do
27022 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27023 done
27024 acl_save_libdir="$libdir"
27025 libdir="$alldirs"
27026 eval flag=\"$hardcode_libdir_flag_spec\"
27027 libdir="$acl_save_libdir"
27028 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27029 else
27030 for found_dir in $rpathdirs; do
27031 acl_save_libdir="$libdir"
27032 libdir="$found_dir"
27033 eval flag=\"$hardcode_libdir_flag_spec\"
27034 libdir="$acl_save_libdir"
27035 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27036 done
27039 if test "X$ltrpathdirs" != "X"; then
27040 for found_dir in $ltrpathdirs; do
27041 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27042 done
27051 am_save_CPPFLAGS="$CPPFLAGS"
27053 for element in $INCICONV; do
27054 haveit=
27055 for x in $CPPFLAGS; do
27057 acl_save_prefix="$prefix"
27058 prefix="$acl_final_prefix"
27059 acl_save_exec_prefix="$exec_prefix"
27060 exec_prefix="$acl_final_exec_prefix"
27061 eval x=\"$x\"
27062 exec_prefix="$acl_save_exec_prefix"
27063 prefix="$acl_save_prefix"
27065 if test "X$x" = "X$element"; then
27066 haveit=yes
27067 break
27069 done
27070 if test -z "$haveit"; then
27071 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27073 done
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27077 $as_echo_n "checking for iconv... " >&6; }
27078 if test "${am_cv_func_iconv+set}" = set; then :
27079 $as_echo_n "(cached) " >&6
27080 else
27082 am_cv_func_iconv="no, consider installing GNU libiconv"
27083 am_cv_lib_iconv=no
27084 if test x$gcc_no_link = xyes; then
27085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27088 /* end confdefs.h. */
27089 #include <stdlib.h>
27090 #include <iconv.h>
27092 main ()
27094 iconv_t cd = iconv_open("","");
27095 iconv(cd,NULL,NULL,NULL,NULL);
27096 iconv_close(cd);
27098 return 0;
27100 _ACEOF
27101 if ac_fn_c_try_link "$LINENO"; then :
27102 am_cv_func_iconv=yes
27104 rm -f core conftest.err conftest.$ac_objext \
27105 conftest$ac_exeext conftest.$ac_ext
27106 if test "$am_cv_func_iconv" != yes; then
27107 am_save_LIBS="$LIBS"
27108 LIBS="$LIBS $LIBICONV"
27109 if test x$gcc_no_link = xyes; then
27110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27113 /* end confdefs.h. */
27114 #include <stdlib.h>
27115 #include <iconv.h>
27117 main ()
27119 iconv_t cd = iconv_open("","");
27120 iconv(cd,NULL,NULL,NULL,NULL);
27121 iconv_close(cd);
27123 return 0;
27125 _ACEOF
27126 if ac_fn_c_try_link "$LINENO"; then :
27127 am_cv_lib_iconv=yes
27128 am_cv_func_iconv=yes
27130 rm -f core conftest.err conftest.$ac_objext \
27131 conftest$ac_exeext conftest.$ac_ext
27132 LIBS="$am_save_LIBS"
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27137 $as_echo "$am_cv_func_iconv" >&6; }
27138 if test "$am_cv_func_iconv" = yes; then
27140 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27143 if test "$am_cv_lib_iconv" = yes; then
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27145 $as_echo_n "checking how to link with libiconv... " >&6; }
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27147 $as_echo "$LIBICONV" >&6; }
27148 else
27149 CPPFLAGS="$am_save_CPPFLAGS"
27150 LIBICONV=
27151 LTLIBICONV=
27156 if test "$am_cv_func_iconv" = yes; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27158 $as_echo_n "checking for iconv declaration... " >&6; }
27159 if test "${am_cv_proto_iconv+set}" = set; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27164 /* end confdefs.h. */
27166 #include <stdlib.h>
27167 #include <iconv.h>
27168 extern
27169 #ifdef __cplusplus
27171 #endif
27172 #if defined(__STDC__) || defined(__cplusplus)
27173 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27174 #else
27175 size_t iconv();
27176 #endif
27179 main ()
27183 return 0;
27185 _ACEOF
27186 if ac_fn_c_try_compile "$LINENO"; then :
27187 am_cv_proto_iconv_arg1=""
27188 else
27189 am_cv_proto_iconv_arg1="const"
27191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27192 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);"
27195 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27197 }$am_cv_proto_iconv" >&5
27198 $as_echo "${ac_t:-
27199 }$am_cv_proto_iconv" >&6; }
27201 cat >>confdefs.h <<_ACEOF
27202 #define ICONV_CONST $am_cv_proto_iconv_arg1
27203 _ACEOF
27208 else
27210 # This lets us hard-code the functionality we know we'll have in the cross
27211 # target environment. "Let" is a sugar-coated word placed on an especially
27212 # dull and tedious hack, actually.
27214 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27215 # that involve linking, can't be used:
27216 # "cannot open sim-crt0.o"
27217 # "cannot open crt0.o"
27218 # etc. All this is because there currently exists no unified, consistent
27219 # way for top level CC information to be passed down to target directories:
27220 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27221 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27222 # crosses can be removed.
27224 # If Canadian cross, then don't pick up tools from the build directory.
27225 # Used only in GLIBCXX_EXPORT_INCLUDES.
27226 if test -n "$with_cross_host" &&
27227 test x"$build_alias" != x"$with_cross_host" &&
27228 test x"$build" != x"$target";
27229 then
27230 CANADIAN=yes
27231 else
27232 CANADIAN=no
27235 # Construct crosses by hand, eliminating bits that need ld...
27236 # GLIBCXX_CHECK_MATH_SUPPORT
27238 # First, test for "known" system libraries. We may be using newlib even
27239 # on a hosted environment.
27240 if test "x${with_newlib}" = "xyes"; then
27241 os_include_dir="os/newlib"
27242 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27245 # GLIBCXX_CHECK_STDLIB_SUPPORT
27246 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27249 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27251 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27253 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27255 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27257 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27259 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27261 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27263 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27265 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27267 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27269 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27271 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27273 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27275 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27277 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27279 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27281 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27283 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27285 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27287 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27289 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27291 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27294 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27296 else
27298 # Base decisions on target environment.
27299 case "${host}" in
27300 arm*-*-symbianelf*)
27301 # This is a freestanding configuration; there is nothing to do here.
27304 mips*-sde-elf*)
27305 # These definitions are for the SDE C library rather than newlib.
27306 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27309 # All these tests are for C++; save the language and the compiler flags.
27310 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27311 # found in GLIBCXX_CONFIGURE.
27313 ac_ext=cpp
27314 ac_cpp='$CXXCPP $CPPFLAGS'
27315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27319 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27320 ac_save_CXXFLAGS="$CXXFLAGS"
27322 # Check for maintainer-mode bits.
27323 if test x"$USE_MAINTAINER_MODE" = xno; then
27324 WERROR=''
27325 else
27326 WERROR='-Werror'
27329 # Check for -ffunction-sections -fdata-sections
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27331 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27332 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27334 /* end confdefs.h. */
27335 int foo; void bar() { };
27337 main ()
27341 return 0;
27343 _ACEOF
27344 if ac_fn_cxx_try_compile "$LINENO"; then :
27345 ac_fdsections=yes
27346 else
27347 ac_fdsections=no
27349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27350 if test "$ac_test_CXXFLAGS" = set; then
27351 CXXFLAGS="$ac_save_CXXFLAGS"
27352 else
27353 # this is the suspicious part
27354 CXXFLAGS=''
27356 if test x"$ac_fdsections" = x"yes"; then
27357 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27360 $as_echo "$ac_fdsections" >&6; }
27362 ac_ext=c
27363 ac_cpp='$CPP $CPPFLAGS'
27364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27372 # If we're not using GNU ld, then there's no point in even trying these
27373 # tests. Check for that first. We should have already tested for gld
27374 # by now (in libtool), but require it now just to be safe...
27375 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27376 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27380 # The name set by libtool depends on the version of libtool. Shame on us
27381 # for depending on an impl detail, but c'est la vie. Older versions used
27382 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27383 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27384 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27385 # set (hence we're using an older libtool), then set it.
27386 if test x${with_gnu_ld+set} != xset; then
27387 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27388 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27389 with_gnu_ld=no
27390 else
27391 with_gnu_ld=$ac_cv_prog_gnu_ld
27395 # Start by getting the version number. I think the libtool test already
27396 # does some of this, but throws away the result.
27397 glibcxx_ld_is_gold=no
27398 if test x"$with_gnu_ld" = x"yes"; then
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27400 $as_echo_n "checking for ld version... " >&6; }
27402 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27403 glibcxx_ld_is_gold=yes
27405 ldver=`$LD --version 2>/dev/null |
27406 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'`
27408 glibcxx_gnu_ld_version=`echo $ldver | \
27409 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27411 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27414 # Set --gc-sections.
27415 glibcxx_have_gc_sections=no
27416 if test "$glibcxx_ld_is_gold" = "yes"; then
27417 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27418 glibcxx_have_gc_sections=yes
27420 else
27421 glibcxx_gcsections_min_ld=21602
27422 if test x"$with_gnu_ld" = x"yes" &&
27423 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27424 glibcxx_have_gc_sections=yes
27427 if test "$glibcxx_have_gc_sections" = "yes"; then
27428 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27429 # NB: This flag only works reliably after 2.16.1. Configure tests
27430 # for this are difficult, so hard wire a value that should work.
27432 ac_test_CFLAGS="${CFLAGS+set}"
27433 ac_save_CFLAGS="$CFLAGS"
27434 CFLAGS='-Wl,--gc-sections'
27436 # Check for -Wl,--gc-sections
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27438 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27439 if test x$gcc_no_link = xyes; then
27440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 int one(void) { return 1; }
27445 int two(void) { return 2; }
27448 main ()
27450 two();
27452 return 0;
27454 _ACEOF
27455 if ac_fn_c_try_link "$LINENO"; then :
27456 ac_gcsections=yes
27457 else
27458 ac_gcsections=no
27460 rm -f core conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 if test "$ac_gcsections" = "yes"; then
27463 rm -f conftest.c
27464 touch conftest.c
27465 if $CC -c conftest.c; then
27466 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27467 grep "Warning: gc-sections option ignored" > /dev/null; then
27468 ac_gcsections=no
27471 rm -f conftest.c conftest.o conftest
27473 if test "$ac_gcsections" = "yes"; then
27474 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27477 $as_echo "$ac_gcsections" >&6; }
27479 if test "$ac_test_CFLAGS" = set; then
27480 CFLAGS="$ac_save_CFLAGS"
27481 else
27482 # this is the suspicious part
27483 CFLAGS=''
27487 # Set -z,relro.
27488 # Note this is only for shared objects.
27489 ac_ld_relro=no
27490 if test x"$with_gnu_ld" = x"yes"; then
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27492 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27493 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27494 if test -n "$cxx_z_relo"; then
27495 OPT_LDFLAGS="-Wl,-z,relro"
27496 ac_ld_relro=yes
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27499 $as_echo "$ac_ld_relro" >&6; }
27502 # Set linker optimization flags.
27503 if test x"$with_gnu_ld" = x"yes"; then
27504 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27511 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27512 ac_save_CXXFLAGS="$CXXFLAGS"
27513 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27516 $as_echo_n "checking for sin in -lm... " >&6; }
27517 if test "${ac_cv_lib_m_sin+set}" = set; then :
27518 $as_echo_n "(cached) " >&6
27519 else
27520 ac_check_lib_save_LIBS=$LIBS
27521 LIBS="-lm $LIBS"
27522 if test x$gcc_no_link = xyes; then
27523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27528 /* Override any GCC internal prototype to avoid an error.
27529 Use char because int might match the return type of a GCC
27530 builtin and then its argument prototype would still apply. */
27531 #ifdef __cplusplus
27532 extern "C"
27533 #endif
27534 char sin ();
27536 main ()
27538 return sin ();
27540 return 0;
27542 _ACEOF
27543 if ac_fn_c_try_link "$LINENO"; then :
27544 ac_cv_lib_m_sin=yes
27545 else
27546 ac_cv_lib_m_sin=no
27548 rm -f core conftest.err conftest.$ac_objext \
27549 conftest$ac_exeext conftest.$ac_ext
27550 LIBS=$ac_check_lib_save_LIBS
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27553 $as_echo "$ac_cv_lib_m_sin" >&6; }
27554 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27555 libm="-lm"
27558 ac_save_LIBS="$LIBS"
27559 LIBS="$LIBS $libm"
27563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27564 $as_echo_n "checking for isinf declaration... " >&6; }
27565 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27566 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27567 $as_echo_n "(cached) " >&6
27568 else
27571 ac_ext=cpp
27572 ac_cpp='$CXXCPP $CPPFLAGS'
27573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27578 /* end confdefs.h. */
27579 #include <math.h>
27580 #ifdef HAVE_IEEEFP_H
27581 #include <ieeefp.h>
27582 #endif
27585 main ()
27587 isinf(0);
27589 return 0;
27591 _ACEOF
27592 if ac_fn_cxx_try_compile "$LINENO"; then :
27593 glibcxx_cv_func_isinf_use=yes
27594 else
27595 glibcxx_cv_func_isinf_use=no
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598 ac_ext=c
27599 ac_cpp='$CPP $CPPFLAGS'
27600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27609 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27611 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27612 for ac_func in isinf
27613 do :
27614 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27615 if test "x$ac_cv_func_isinf" = x""yes; then :
27616 cat >>confdefs.h <<_ACEOF
27617 #define HAVE_ISINF 1
27618 _ACEOF
27621 done
27623 else
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27626 $as_echo_n "checking for _isinf declaration... " >&6; }
27627 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27628 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27629 $as_echo_n "(cached) " >&6
27630 else
27633 ac_ext=cpp
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <math.h>
27642 #ifdef HAVE_IEEEFP_H
27643 #include <ieeefp.h>
27644 #endif
27647 main ()
27649 _isinf(0);
27651 return 0;
27653 _ACEOF
27654 if ac_fn_cxx_try_compile "$LINENO"; then :
27655 glibcxx_cv_func__isinf_use=yes
27656 else
27657 glibcxx_cv_func__isinf_use=no
27659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27660 ac_ext=c
27661 ac_cpp='$CPP $CPPFLAGS'
27662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27671 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27673 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27674 for ac_func in _isinf
27675 do :
27676 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27677 if test "x$ac_cv_func__isinf" = x""yes; then :
27678 cat >>confdefs.h <<_ACEOF
27679 #define HAVE__ISINF 1
27680 _ACEOF
27683 done
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27693 $as_echo_n "checking for isnan declaration... " >&6; }
27694 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27695 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27696 $as_echo_n "(cached) " >&6
27697 else
27700 ac_ext=cpp
27701 ac_cpp='$CXXCPP $CPPFLAGS'
27702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h. */
27708 #include <math.h>
27709 #ifdef HAVE_IEEEFP_H
27710 #include <ieeefp.h>
27711 #endif
27714 main ()
27716 isnan(0);
27718 return 0;
27720 _ACEOF
27721 if ac_fn_cxx_try_compile "$LINENO"; then :
27722 glibcxx_cv_func_isnan_use=yes
27723 else
27724 glibcxx_cv_func_isnan_use=no
27726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727 ac_ext=c
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27738 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27740 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27741 for ac_func in isnan
27742 do :
27743 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27744 if test "x$ac_cv_func_isnan" = x""yes; then :
27745 cat >>confdefs.h <<_ACEOF
27746 #define HAVE_ISNAN 1
27747 _ACEOF
27750 done
27752 else
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27755 $as_echo_n "checking for _isnan declaration... " >&6; }
27756 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27757 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27758 $as_echo_n "(cached) " >&6
27759 else
27762 ac_ext=cpp
27763 ac_cpp='$CXXCPP $CPPFLAGS'
27764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27769 /* end confdefs.h. */
27770 #include <math.h>
27771 #ifdef HAVE_IEEEFP_H
27772 #include <ieeefp.h>
27773 #endif
27776 main ()
27778 _isnan(0);
27780 return 0;
27782 _ACEOF
27783 if ac_fn_cxx_try_compile "$LINENO"; then :
27784 glibcxx_cv_func__isnan_use=yes
27785 else
27786 glibcxx_cv_func__isnan_use=no
27788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27789 ac_ext=c
27790 ac_cpp='$CPP $CPPFLAGS'
27791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27800 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27802 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27803 for ac_func in _isnan
27804 do :
27805 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27806 if test "x$ac_cv_func__isnan" = x""yes; then :
27807 cat >>confdefs.h <<_ACEOF
27808 #define HAVE__ISNAN 1
27809 _ACEOF
27812 done
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27822 $as_echo_n "checking for finite declaration... " >&6; }
27823 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27824 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27825 $as_echo_n "(cached) " >&6
27826 else
27829 ac_ext=cpp
27830 ac_cpp='$CXXCPP $CPPFLAGS'
27831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h. */
27837 #include <math.h>
27838 #ifdef HAVE_IEEEFP_H
27839 #include <ieeefp.h>
27840 #endif
27843 main ()
27845 finite(0);
27847 return 0;
27849 _ACEOF
27850 if ac_fn_cxx_try_compile "$LINENO"; then :
27851 glibcxx_cv_func_finite_use=yes
27852 else
27853 glibcxx_cv_func_finite_use=no
27855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27856 ac_ext=c
27857 ac_cpp='$CPP $CPPFLAGS'
27858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27867 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27869 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27870 for ac_func in finite
27871 do :
27872 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27873 if test "x$ac_cv_func_finite" = x""yes; then :
27874 cat >>confdefs.h <<_ACEOF
27875 #define HAVE_FINITE 1
27876 _ACEOF
27879 done
27881 else
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27884 $as_echo_n "checking for _finite declaration... " >&6; }
27885 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27886 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27887 $as_echo_n "(cached) " >&6
27888 else
27891 ac_ext=cpp
27892 ac_cpp='$CXXCPP $CPPFLAGS'
27893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27898 /* end confdefs.h. */
27899 #include <math.h>
27900 #ifdef HAVE_IEEEFP_H
27901 #include <ieeefp.h>
27902 #endif
27905 main ()
27907 _finite(0);
27909 return 0;
27911 _ACEOF
27912 if ac_fn_cxx_try_compile "$LINENO"; then :
27913 glibcxx_cv_func__finite_use=yes
27914 else
27915 glibcxx_cv_func__finite_use=no
27917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27918 ac_ext=c
27919 ac_cpp='$CPP $CPPFLAGS'
27920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27929 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27931 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27932 for ac_func in _finite
27933 do :
27934 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27935 if test "x$ac_cv_func__finite" = x""yes; then :
27936 cat >>confdefs.h <<_ACEOF
27937 #define HAVE__FINITE 1
27938 _ACEOF
27941 done
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27951 $as_echo_n "checking for sincos declaration... " >&6; }
27952 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27953 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27954 $as_echo_n "(cached) " >&6
27955 else
27958 ac_ext=cpp
27959 ac_cpp='$CXXCPP $CPPFLAGS'
27960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h. */
27966 #include <math.h>
27968 main ()
27970 sincos(0, 0, 0);
27972 return 0;
27974 _ACEOF
27975 if ac_fn_cxx_try_compile "$LINENO"; then :
27976 glibcxx_cv_func_sincos_use=yes
27977 else
27978 glibcxx_cv_func_sincos_use=no
27980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27981 ac_ext=c
27982 ac_cpp='$CPP $CPPFLAGS'
27983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27992 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27994 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27995 for ac_func in sincos
27996 do :
27997 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27998 if test "x$ac_cv_func_sincos" = x""yes; then :
27999 cat >>confdefs.h <<_ACEOF
28000 #define HAVE_SINCOS 1
28001 _ACEOF
28004 done
28006 else
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28009 $as_echo_n "checking for _sincos declaration... " >&6; }
28010 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28011 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28012 $as_echo_n "(cached) " >&6
28013 else
28016 ac_ext=cpp
28017 ac_cpp='$CXXCPP $CPPFLAGS'
28018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 #include <math.h>
28026 main ()
28028 _sincos(0, 0, 0);
28030 return 0;
28032 _ACEOF
28033 if ac_fn_cxx_try_compile "$LINENO"; then :
28034 glibcxx_cv_func__sincos_use=yes
28035 else
28036 glibcxx_cv_func__sincos_use=no
28038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28039 ac_ext=c
28040 ac_cpp='$CPP $CPPFLAGS'
28041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28050 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28052 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28053 for ac_func in _sincos
28054 do :
28055 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28056 if test "x$ac_cv_func__sincos" = x""yes; then :
28057 cat >>confdefs.h <<_ACEOF
28058 #define HAVE__SINCOS 1
28059 _ACEOF
28062 done
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28072 $as_echo_n "checking for fpclass declaration... " >&6; }
28073 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28074 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28075 $as_echo_n "(cached) " >&6
28076 else
28079 ac_ext=cpp
28080 ac_cpp='$CXXCPP $CPPFLAGS'
28081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h. */
28087 #include <math.h>
28088 #ifdef HAVE_IEEEFP_H
28089 #include <ieeefp.h>
28090 #endif
28093 main ()
28095 fpclass(0);
28097 return 0;
28099 _ACEOF
28100 if ac_fn_cxx_try_compile "$LINENO"; then :
28101 glibcxx_cv_func_fpclass_use=yes
28102 else
28103 glibcxx_cv_func_fpclass_use=no
28105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28106 ac_ext=c
28107 ac_cpp='$CPP $CPPFLAGS'
28108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28117 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28119 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28120 for ac_func in fpclass
28121 do :
28122 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28123 if test "x$ac_cv_func_fpclass" = x""yes; then :
28124 cat >>confdefs.h <<_ACEOF
28125 #define HAVE_FPCLASS 1
28126 _ACEOF
28129 done
28131 else
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28134 $as_echo_n "checking for _fpclass declaration... " >&6; }
28135 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28136 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28137 $as_echo_n "(cached) " >&6
28138 else
28141 ac_ext=cpp
28142 ac_cpp='$CXXCPP $CPPFLAGS'
28143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28148 /* end confdefs.h. */
28149 #include <math.h>
28150 #ifdef HAVE_IEEEFP_H
28151 #include <ieeefp.h>
28152 #endif
28155 main ()
28157 _fpclass(0);
28159 return 0;
28161 _ACEOF
28162 if ac_fn_cxx_try_compile "$LINENO"; then :
28163 glibcxx_cv_func__fpclass_use=yes
28164 else
28165 glibcxx_cv_func__fpclass_use=no
28167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28168 ac_ext=c
28169 ac_cpp='$CPP $CPPFLAGS'
28170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28179 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28181 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28182 for ac_func in _fpclass
28183 do :
28184 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28185 if test "x$ac_cv_func__fpclass" = x""yes; then :
28186 cat >>confdefs.h <<_ACEOF
28187 #define HAVE__FPCLASS 1
28188 _ACEOF
28191 done
28200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28201 $as_echo_n "checking for qfpclass declaration... " >&6; }
28202 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28203 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28204 $as_echo_n "(cached) " >&6
28205 else
28208 ac_ext=cpp
28209 ac_cpp='$CXXCPP $CPPFLAGS'
28210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28215 /* end confdefs.h. */
28216 #include <math.h>
28217 #ifdef HAVE_IEEEFP_H
28218 #include <ieeefp.h>
28219 #endif
28222 main ()
28224 qfpclass(0);
28226 return 0;
28228 _ACEOF
28229 if ac_fn_cxx_try_compile "$LINENO"; then :
28230 glibcxx_cv_func_qfpclass_use=yes
28231 else
28232 glibcxx_cv_func_qfpclass_use=no
28234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28235 ac_ext=c
28236 ac_cpp='$CPP $CPPFLAGS'
28237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28246 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28248 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28249 for ac_func in qfpclass
28250 do :
28251 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28252 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28253 cat >>confdefs.h <<_ACEOF
28254 #define HAVE_QFPCLASS 1
28255 _ACEOF
28258 done
28260 else
28262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28263 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28264 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28265 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28266 $as_echo_n "(cached) " >&6
28267 else
28270 ac_ext=cpp
28271 ac_cpp='$CXXCPP $CPPFLAGS'
28272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28277 /* end confdefs.h. */
28278 #include <math.h>
28279 #ifdef HAVE_IEEEFP_H
28280 #include <ieeefp.h>
28281 #endif
28284 main ()
28286 _qfpclass(0);
28288 return 0;
28290 _ACEOF
28291 if ac_fn_cxx_try_compile "$LINENO"; then :
28292 glibcxx_cv_func__qfpclass_use=yes
28293 else
28294 glibcxx_cv_func__qfpclass_use=no
28296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28297 ac_ext=c
28298 ac_cpp='$CPP $CPPFLAGS'
28299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28308 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28310 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28311 for ac_func in _qfpclass
28312 do :
28313 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28314 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28315 cat >>confdefs.h <<_ACEOF
28316 #define HAVE__QFPCLASS 1
28317 _ACEOF
28320 done
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28330 $as_echo_n "checking for hypot declaration... " >&6; }
28331 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28332 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28333 $as_echo_n "(cached) " >&6
28334 else
28337 ac_ext=cpp
28338 ac_cpp='$CXXCPP $CPPFLAGS'
28339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28344 /* end confdefs.h. */
28345 #include <math.h>
28347 main ()
28349 hypot(0, 0);
28351 return 0;
28353 _ACEOF
28354 if ac_fn_cxx_try_compile "$LINENO"; then :
28355 glibcxx_cv_func_hypot_use=yes
28356 else
28357 glibcxx_cv_func_hypot_use=no
28359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28360 ac_ext=c
28361 ac_cpp='$CPP $CPPFLAGS'
28362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28371 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28373 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28374 for ac_func in hypot
28375 do :
28376 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28377 if test "x$ac_cv_func_hypot" = x""yes; then :
28378 cat >>confdefs.h <<_ACEOF
28379 #define HAVE_HYPOT 1
28380 _ACEOF
28383 done
28385 else
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28388 $as_echo_n "checking for _hypot declaration... " >&6; }
28389 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28390 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28391 $as_echo_n "(cached) " >&6
28392 else
28395 ac_ext=cpp
28396 ac_cpp='$CXXCPP $CPPFLAGS'
28397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28402 /* end confdefs.h. */
28403 #include <math.h>
28405 main ()
28407 _hypot(0, 0);
28409 return 0;
28411 _ACEOF
28412 if ac_fn_cxx_try_compile "$LINENO"; then :
28413 glibcxx_cv_func__hypot_use=yes
28414 else
28415 glibcxx_cv_func__hypot_use=no
28417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28418 ac_ext=c
28419 ac_cpp='$CPP $CPPFLAGS'
28420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28429 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28431 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28432 for ac_func in _hypot
28433 do :
28434 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28435 if test "x$ac_cv_func__hypot" = x""yes; then :
28436 cat >>confdefs.h <<_ACEOF
28437 #define HAVE__HYPOT 1
28438 _ACEOF
28441 done
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28451 $as_echo_n "checking for float trig functions... " >&6; }
28452 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28453 $as_echo_n "(cached) " >&6
28454 else
28457 ac_ext=cpp
28458 ac_cpp='$CXXCPP $CPPFLAGS'
28459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28464 /* end confdefs.h. */
28465 #include <math.h>
28467 main ()
28469 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28471 return 0;
28473 _ACEOF
28474 if ac_fn_cxx_try_compile "$LINENO"; then :
28475 glibcxx_cv_func_float_trig_use=yes
28476 else
28477 glibcxx_cv_func_float_trig_use=no
28479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480 ac_ext=c
28481 ac_cpp='$CPP $CPPFLAGS'
28482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28489 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28490 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28491 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28492 do :
28493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28495 eval as_val=\$$as_ac_var
28496 if test "x$as_val" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28499 _ACEOF
28502 done
28504 else
28505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28506 $as_echo_n "checking for _float trig functions... " >&6; }
28507 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28508 $as_echo_n "(cached) " >&6
28509 else
28512 ac_ext=cpp
28513 ac_cpp='$CXXCPP $CPPFLAGS'
28514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28519 /* end confdefs.h. */
28520 #include <math.h>
28522 main ()
28524 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28526 return 0;
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func__float_trig_use=yes
28531 else
28532 glibcxx_cv_func__float_trig_use=no
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28544 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28545 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28546 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28547 do :
28548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28550 eval as_val=\$$as_ac_var
28551 if test "x$as_val" = x""yes; then :
28552 cat >>confdefs.h <<_ACEOF
28553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28554 _ACEOF
28557 done
28566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28567 $as_echo_n "checking for float round functions... " >&6; }
28568 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28569 $as_echo_n "(cached) " >&6
28570 else
28573 ac_ext=cpp
28574 ac_cpp='$CXXCPP $CPPFLAGS'
28575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28580 /* end confdefs.h. */
28581 #include <math.h>
28583 main ()
28585 ceilf (0); floorf (0);
28587 return 0;
28589 _ACEOF
28590 if ac_fn_cxx_try_compile "$LINENO"; then :
28591 glibcxx_cv_func_float_round_use=yes
28592 else
28593 glibcxx_cv_func_float_round_use=no
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28596 ac_ext=c
28597 ac_cpp='$CPP $CPPFLAGS'
28598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28605 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28606 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28607 for ac_func in ceilf floorf
28608 do :
28609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28611 eval as_val=\$$as_ac_var
28612 if test "x$as_val" = x""yes; then :
28613 cat >>confdefs.h <<_ACEOF
28614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28615 _ACEOF
28618 done
28620 else
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28622 $as_echo_n "checking for _float round functions... " >&6; }
28623 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28624 $as_echo_n "(cached) " >&6
28625 else
28628 ac_ext=cpp
28629 ac_cpp='$CXXCPP $CPPFLAGS'
28630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28635 /* end confdefs.h. */
28636 #include <math.h>
28638 main ()
28640 _ceilf (0); _floorf (0);
28642 return 0;
28644 _ACEOF
28645 if ac_fn_cxx_try_compile "$LINENO"; then :
28646 glibcxx_cv_func__float_round_use=yes
28647 else
28648 glibcxx_cv_func__float_round_use=no
28650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28651 ac_ext=c
28652 ac_cpp='$CPP $CPPFLAGS'
28653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28660 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28661 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28662 for ac_func in _ceilf _floorf
28663 do :
28664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28666 eval as_val=\$$as_ac_var
28667 if test "x$as_val" = x""yes; then :
28668 cat >>confdefs.h <<_ACEOF
28669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28670 _ACEOF
28673 done
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28684 $as_echo_n "checking for expf declaration... " >&6; }
28685 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28686 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28687 $as_echo_n "(cached) " >&6
28688 else
28691 ac_ext=cpp
28692 ac_cpp='$CXXCPP $CPPFLAGS'
28693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28698 /* end confdefs.h. */
28699 #include <math.h>
28700 #ifdef HAVE_IEEEFP_H
28701 #include <ieeefp.h>
28702 #endif
28705 main ()
28707 expf(0);
28709 return 0;
28711 _ACEOF
28712 if ac_fn_cxx_try_compile "$LINENO"; then :
28713 glibcxx_cv_func_expf_use=yes
28714 else
28715 glibcxx_cv_func_expf_use=no
28717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718 ac_ext=c
28719 ac_cpp='$CPP $CPPFLAGS'
28720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28729 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28731 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28732 for ac_func in expf
28733 do :
28734 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28735 if test "x$ac_cv_func_expf" = x""yes; then :
28736 cat >>confdefs.h <<_ACEOF
28737 #define HAVE_EXPF 1
28738 _ACEOF
28741 done
28743 else
28745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28746 $as_echo_n "checking for _expf declaration... " >&6; }
28747 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28748 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28749 $as_echo_n "(cached) " >&6
28750 else
28753 ac_ext=cpp
28754 ac_cpp='$CXXCPP $CPPFLAGS'
28755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28760 /* end confdefs.h. */
28761 #include <math.h>
28762 #ifdef HAVE_IEEEFP_H
28763 #include <ieeefp.h>
28764 #endif
28767 main ()
28769 _expf(0);
28771 return 0;
28773 _ACEOF
28774 if ac_fn_cxx_try_compile "$LINENO"; then :
28775 glibcxx_cv_func__expf_use=yes
28776 else
28777 glibcxx_cv_func__expf_use=no
28779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28780 ac_ext=c
28781 ac_cpp='$CPP $CPPFLAGS'
28782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28791 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28793 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28794 for ac_func in _expf
28795 do :
28796 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28797 if test "x$ac_cv_func__expf" = x""yes; then :
28798 cat >>confdefs.h <<_ACEOF
28799 #define HAVE__EXPF 1
28800 _ACEOF
28803 done
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28813 $as_echo_n "checking for isnanf declaration... " >&6; }
28814 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28815 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28820 ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28834 main ()
28836 isnanf(0);
28838 return 0;
28840 _ACEOF
28841 if ac_fn_cxx_try_compile "$LINENO"; then :
28842 glibcxx_cv_func_isnanf_use=yes
28843 else
28844 glibcxx_cv_func_isnanf_use=no
28846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847 ac_ext=c
28848 ac_cpp='$CPP $CPPFLAGS'
28849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28858 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28860 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28861 for ac_func in isnanf
28862 do :
28863 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28864 if test "x$ac_cv_func_isnanf" = x""yes; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define HAVE_ISNANF 1
28867 _ACEOF
28870 done
28872 else
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28875 $as_echo_n "checking for _isnanf declaration... " >&6; }
28876 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28877 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28878 $as_echo_n "(cached) " >&6
28879 else
28882 ac_ext=cpp
28883 ac_cpp='$CXXCPP $CPPFLAGS'
28884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28890 #include <math.h>
28891 #ifdef HAVE_IEEEFP_H
28892 #include <ieeefp.h>
28893 #endif
28896 main ()
28898 _isnanf(0);
28900 return 0;
28902 _ACEOF
28903 if ac_fn_cxx_try_compile "$LINENO"; then :
28904 glibcxx_cv_func__isnanf_use=yes
28905 else
28906 glibcxx_cv_func__isnanf_use=no
28908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28909 ac_ext=c
28910 ac_cpp='$CPP $CPPFLAGS'
28911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28920 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28922 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28923 for ac_func in _isnanf
28924 do :
28925 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28926 if test "x$ac_cv_func__isnanf" = x""yes; then :
28927 cat >>confdefs.h <<_ACEOF
28928 #define HAVE__ISNANF 1
28929 _ACEOF
28932 done
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28942 $as_echo_n "checking for isinff declaration... " >&6; }
28943 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28944 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28945 $as_echo_n "(cached) " >&6
28946 else
28949 ac_ext=cpp
28950 ac_cpp='$CXXCPP $CPPFLAGS'
28951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28956 /* end confdefs.h. */
28957 #include <math.h>
28958 #ifdef HAVE_IEEEFP_H
28959 #include <ieeefp.h>
28960 #endif
28963 main ()
28965 isinff(0);
28967 return 0;
28969 _ACEOF
28970 if ac_fn_cxx_try_compile "$LINENO"; then :
28971 glibcxx_cv_func_isinff_use=yes
28972 else
28973 glibcxx_cv_func_isinff_use=no
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976 ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28987 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28989 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28990 for ac_func in isinff
28991 do :
28992 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28993 if test "x$ac_cv_func_isinff" = x""yes; then :
28994 cat >>confdefs.h <<_ACEOF
28995 #define HAVE_ISINFF 1
28996 _ACEOF
28999 done
29001 else
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29004 $as_echo_n "checking for _isinff declaration... " >&6; }
29005 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29006 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29007 $as_echo_n "(cached) " >&6
29008 else
29011 ac_ext=cpp
29012 ac_cpp='$CXXCPP $CPPFLAGS'
29013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29018 /* end confdefs.h. */
29019 #include <math.h>
29020 #ifdef HAVE_IEEEFP_H
29021 #include <ieeefp.h>
29022 #endif
29025 main ()
29027 _isinff(0);
29029 return 0;
29031 _ACEOF
29032 if ac_fn_cxx_try_compile "$LINENO"; then :
29033 glibcxx_cv_func__isinff_use=yes
29034 else
29035 glibcxx_cv_func__isinff_use=no
29037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29038 ac_ext=c
29039 ac_cpp='$CPP $CPPFLAGS'
29040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29049 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29051 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29052 for ac_func in _isinff
29053 do :
29054 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29055 if test "x$ac_cv_func__isinff" = x""yes; then :
29056 cat >>confdefs.h <<_ACEOF
29057 #define HAVE__ISINFF 1
29058 _ACEOF
29061 done
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29071 $as_echo_n "checking for atan2f declaration... " >&6; }
29072 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29073 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29074 $as_echo_n "(cached) " >&6
29075 else
29078 ac_ext=cpp
29079 ac_cpp='$CXXCPP $CPPFLAGS'
29080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29085 /* end confdefs.h. */
29086 #include <math.h>
29088 main ()
29090 atan2f(0, 0);
29092 return 0;
29094 _ACEOF
29095 if ac_fn_cxx_try_compile "$LINENO"; then :
29096 glibcxx_cv_func_atan2f_use=yes
29097 else
29098 glibcxx_cv_func_atan2f_use=no
29100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29101 ac_ext=c
29102 ac_cpp='$CPP $CPPFLAGS'
29103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29112 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29114 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29115 for ac_func in atan2f
29116 do :
29117 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29118 if test "x$ac_cv_func_atan2f" = x""yes; then :
29119 cat >>confdefs.h <<_ACEOF
29120 #define HAVE_ATAN2F 1
29121 _ACEOF
29124 done
29126 else
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29129 $as_echo_n "checking for _atan2f declaration... " >&6; }
29130 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29131 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29132 $as_echo_n "(cached) " >&6
29133 else
29136 ac_ext=cpp
29137 ac_cpp='$CXXCPP $CPPFLAGS'
29138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29143 /* end confdefs.h. */
29144 #include <math.h>
29146 main ()
29148 _atan2f(0, 0);
29150 return 0;
29152 _ACEOF
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154 glibcxx_cv_func__atan2f_use=yes
29155 else
29156 glibcxx_cv_func__atan2f_use=no
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29170 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29172 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29173 for ac_func in _atan2f
29174 do :
29175 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29176 if test "x$ac_cv_func__atan2f" = x""yes; then :
29177 cat >>confdefs.h <<_ACEOF
29178 #define HAVE__ATAN2F 1
29179 _ACEOF
29182 done
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29192 $as_echo_n "checking for fabsf declaration... " >&6; }
29193 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29194 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29195 $as_echo_n "(cached) " >&6
29196 else
29199 ac_ext=cpp
29200 ac_cpp='$CXXCPP $CPPFLAGS'
29201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29206 /* end confdefs.h. */
29207 #include <math.h>
29208 #ifdef HAVE_IEEEFP_H
29209 #include <ieeefp.h>
29210 #endif
29213 main ()
29215 fabsf(0);
29217 return 0;
29219 _ACEOF
29220 if ac_fn_cxx_try_compile "$LINENO"; then :
29221 glibcxx_cv_func_fabsf_use=yes
29222 else
29223 glibcxx_cv_func_fabsf_use=no
29225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29226 ac_ext=c
29227 ac_cpp='$CPP $CPPFLAGS'
29228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29237 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29239 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29240 for ac_func in fabsf
29241 do :
29242 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29243 if test "x$ac_cv_func_fabsf" = x""yes; then :
29244 cat >>confdefs.h <<_ACEOF
29245 #define HAVE_FABSF 1
29246 _ACEOF
29249 done
29251 else
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29254 $as_echo_n "checking for _fabsf declaration... " >&6; }
29255 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29256 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29257 $as_echo_n "(cached) " >&6
29258 else
29261 ac_ext=cpp
29262 ac_cpp='$CXXCPP $CPPFLAGS'
29263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29268 /* end confdefs.h. */
29269 #include <math.h>
29270 #ifdef HAVE_IEEEFP_H
29271 #include <ieeefp.h>
29272 #endif
29275 main ()
29277 _fabsf(0);
29279 return 0;
29281 _ACEOF
29282 if ac_fn_cxx_try_compile "$LINENO"; then :
29283 glibcxx_cv_func__fabsf_use=yes
29284 else
29285 glibcxx_cv_func__fabsf_use=no
29287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29288 ac_ext=c
29289 ac_cpp='$CPP $CPPFLAGS'
29290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29299 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29301 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29302 for ac_func in _fabsf
29303 do :
29304 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29305 if test "x$ac_cv_func__fabsf" = x""yes; then :
29306 cat >>confdefs.h <<_ACEOF
29307 #define HAVE__FABSF 1
29308 _ACEOF
29311 done
29320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29321 $as_echo_n "checking for fmodf declaration... " >&6; }
29322 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29323 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29324 $as_echo_n "(cached) " >&6
29325 else
29328 ac_ext=cpp
29329 ac_cpp='$CXXCPP $CPPFLAGS'
29330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29335 /* end confdefs.h. */
29336 #include <math.h>
29338 main ()
29340 fmodf(0, 0);
29342 return 0;
29344 _ACEOF
29345 if ac_fn_cxx_try_compile "$LINENO"; then :
29346 glibcxx_cv_func_fmodf_use=yes
29347 else
29348 glibcxx_cv_func_fmodf_use=no
29350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29351 ac_ext=c
29352 ac_cpp='$CPP $CPPFLAGS'
29353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29362 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29364 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29365 for ac_func in fmodf
29366 do :
29367 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29368 if test "x$ac_cv_func_fmodf" = x""yes; then :
29369 cat >>confdefs.h <<_ACEOF
29370 #define HAVE_FMODF 1
29371 _ACEOF
29374 done
29376 else
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29379 $as_echo_n "checking for _fmodf declaration... " >&6; }
29380 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29381 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29382 $as_echo_n "(cached) " >&6
29383 else
29386 ac_ext=cpp
29387 ac_cpp='$CXXCPP $CPPFLAGS'
29388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29393 /* end confdefs.h. */
29394 #include <math.h>
29396 main ()
29398 _fmodf(0, 0);
29400 return 0;
29402 _ACEOF
29403 if ac_fn_cxx_try_compile "$LINENO"; then :
29404 glibcxx_cv_func__fmodf_use=yes
29405 else
29406 glibcxx_cv_func__fmodf_use=no
29408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29409 ac_ext=c
29410 ac_cpp='$CPP $CPPFLAGS'
29411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29420 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29422 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29423 for ac_func in _fmodf
29424 do :
29425 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29426 if test "x$ac_cv_func__fmodf" = x""yes; then :
29427 cat >>confdefs.h <<_ACEOF
29428 #define HAVE__FMODF 1
29429 _ACEOF
29432 done
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29442 $as_echo_n "checking for frexpf declaration... " >&6; }
29443 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29444 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29445 $as_echo_n "(cached) " >&6
29446 else
29449 ac_ext=cpp
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29456 /* end confdefs.h. */
29457 #include <math.h>
29459 main ()
29461 frexpf(0, 0);
29463 return 0;
29465 _ACEOF
29466 if ac_fn_cxx_try_compile "$LINENO"; then :
29467 glibcxx_cv_func_frexpf_use=yes
29468 else
29469 glibcxx_cv_func_frexpf_use=no
29471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29472 ac_ext=c
29473 ac_cpp='$CPP $CPPFLAGS'
29474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29483 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29485 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29486 for ac_func in frexpf
29487 do :
29488 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29489 if test "x$ac_cv_func_frexpf" = x""yes; then :
29490 cat >>confdefs.h <<_ACEOF
29491 #define HAVE_FREXPF 1
29492 _ACEOF
29495 done
29497 else
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29500 $as_echo_n "checking for _frexpf declaration... " >&6; }
29501 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29502 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29503 $as_echo_n "(cached) " >&6
29504 else
29507 ac_ext=cpp
29508 ac_cpp='$CXXCPP $CPPFLAGS'
29509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29514 /* end confdefs.h. */
29515 #include <math.h>
29517 main ()
29519 _frexpf(0, 0);
29521 return 0;
29523 _ACEOF
29524 if ac_fn_cxx_try_compile "$LINENO"; then :
29525 glibcxx_cv_func__frexpf_use=yes
29526 else
29527 glibcxx_cv_func__frexpf_use=no
29529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29530 ac_ext=c
29531 ac_cpp='$CPP $CPPFLAGS'
29532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29541 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29543 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29544 for ac_func in _frexpf
29545 do :
29546 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29547 if test "x$ac_cv_func__frexpf" = x""yes; then :
29548 cat >>confdefs.h <<_ACEOF
29549 #define HAVE__FREXPF 1
29550 _ACEOF
29553 done
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29563 $as_echo_n "checking for hypotf declaration... " >&6; }
29564 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29565 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29566 $as_echo_n "(cached) " >&6
29567 else
29570 ac_ext=cpp
29571 ac_cpp='$CXXCPP $CPPFLAGS'
29572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29577 /* end confdefs.h. */
29578 #include <math.h>
29580 main ()
29582 hypotf(0, 0);
29584 return 0;
29586 _ACEOF
29587 if ac_fn_cxx_try_compile "$LINENO"; then :
29588 glibcxx_cv_func_hypotf_use=yes
29589 else
29590 glibcxx_cv_func_hypotf_use=no
29592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29593 ac_ext=c
29594 ac_cpp='$CPP $CPPFLAGS'
29595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29604 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29606 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29607 for ac_func in hypotf
29608 do :
29609 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29610 if test "x$ac_cv_func_hypotf" = x""yes; then :
29611 cat >>confdefs.h <<_ACEOF
29612 #define HAVE_HYPOTF 1
29613 _ACEOF
29616 done
29618 else
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29621 $as_echo_n "checking for _hypotf declaration... " >&6; }
29622 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29623 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29624 $as_echo_n "(cached) " >&6
29625 else
29628 ac_ext=cpp
29629 ac_cpp='$CXXCPP $CPPFLAGS'
29630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29635 /* end confdefs.h. */
29636 #include <math.h>
29638 main ()
29640 _hypotf(0, 0);
29642 return 0;
29644 _ACEOF
29645 if ac_fn_cxx_try_compile "$LINENO"; then :
29646 glibcxx_cv_func__hypotf_use=yes
29647 else
29648 glibcxx_cv_func__hypotf_use=no
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651 ac_ext=c
29652 ac_cpp='$CPP $CPPFLAGS'
29653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29662 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29664 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29665 for ac_func in _hypotf
29666 do :
29667 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29668 if test "x$ac_cv_func__hypotf" = x""yes; then :
29669 cat >>confdefs.h <<_ACEOF
29670 #define HAVE__HYPOTF 1
29671 _ACEOF
29674 done
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29684 $as_echo_n "checking for ldexpf declaration... " >&6; }
29685 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29686 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29691 ac_ext=cpp
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29698 /* end confdefs.h. */
29699 #include <math.h>
29701 main ()
29703 ldexpf(0, 0);
29705 return 0;
29707 _ACEOF
29708 if ac_fn_cxx_try_compile "$LINENO"; then :
29709 glibcxx_cv_func_ldexpf_use=yes
29710 else
29711 glibcxx_cv_func_ldexpf_use=no
29713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29714 ac_ext=c
29715 ac_cpp='$CPP $CPPFLAGS'
29716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29725 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29727 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29728 for ac_func in ldexpf
29729 do :
29730 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29731 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29732 cat >>confdefs.h <<_ACEOF
29733 #define HAVE_LDEXPF 1
29734 _ACEOF
29737 done
29739 else
29741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29742 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29743 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29744 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29745 $as_echo_n "(cached) " >&6
29746 else
29749 ac_ext=cpp
29750 ac_cpp='$CXXCPP $CPPFLAGS'
29751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29756 /* end confdefs.h. */
29757 #include <math.h>
29759 main ()
29761 _ldexpf(0, 0);
29763 return 0;
29765 _ACEOF
29766 if ac_fn_cxx_try_compile "$LINENO"; then :
29767 glibcxx_cv_func__ldexpf_use=yes
29768 else
29769 glibcxx_cv_func__ldexpf_use=no
29771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29772 ac_ext=c
29773 ac_cpp='$CPP $CPPFLAGS'
29774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29783 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29785 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29786 for ac_func in _ldexpf
29787 do :
29788 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29789 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29790 cat >>confdefs.h <<_ACEOF
29791 #define HAVE__LDEXPF 1
29792 _ACEOF
29795 done
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29805 $as_echo_n "checking for logf declaration... " >&6; }
29806 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29807 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29808 $as_echo_n "(cached) " >&6
29809 else
29812 ac_ext=cpp
29813 ac_cpp='$CXXCPP $CPPFLAGS'
29814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29819 /* end confdefs.h. */
29820 #include <math.h>
29821 #ifdef HAVE_IEEEFP_H
29822 #include <ieeefp.h>
29823 #endif
29826 main ()
29828 logf(0);
29830 return 0;
29832 _ACEOF
29833 if ac_fn_cxx_try_compile "$LINENO"; then :
29834 glibcxx_cv_func_logf_use=yes
29835 else
29836 glibcxx_cv_func_logf_use=no
29838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29839 ac_ext=c
29840 ac_cpp='$CPP $CPPFLAGS'
29841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29850 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29852 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29853 for ac_func in logf
29854 do :
29855 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29856 if test "x$ac_cv_func_logf" = x""yes; then :
29857 cat >>confdefs.h <<_ACEOF
29858 #define HAVE_LOGF 1
29859 _ACEOF
29862 done
29864 else
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29867 $as_echo_n "checking for _logf declaration... " >&6; }
29868 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29869 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29870 $as_echo_n "(cached) " >&6
29871 else
29874 ac_ext=cpp
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 /* end confdefs.h. */
29882 #include <math.h>
29883 #ifdef HAVE_IEEEFP_H
29884 #include <ieeefp.h>
29885 #endif
29888 main ()
29890 _logf(0);
29892 return 0;
29894 _ACEOF
29895 if ac_fn_cxx_try_compile "$LINENO"; then :
29896 glibcxx_cv_func__logf_use=yes
29897 else
29898 glibcxx_cv_func__logf_use=no
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29901 ac_ext=c
29902 ac_cpp='$CPP $CPPFLAGS'
29903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29912 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29914 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29915 for ac_func in _logf
29916 do :
29917 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29918 if test "x$ac_cv_func__logf" = x""yes; then :
29919 cat >>confdefs.h <<_ACEOF
29920 #define HAVE__LOGF 1
29921 _ACEOF
29924 done
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29934 $as_echo_n "checking for log10f declaration... " >&6; }
29935 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29936 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29937 $as_echo_n "(cached) " >&6
29938 else
29941 ac_ext=cpp
29942 ac_cpp='$CXXCPP $CPPFLAGS'
29943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29948 /* end confdefs.h. */
29949 #include <math.h>
29950 #ifdef HAVE_IEEEFP_H
29951 #include <ieeefp.h>
29952 #endif
29955 main ()
29957 log10f(0);
29959 return 0;
29961 _ACEOF
29962 if ac_fn_cxx_try_compile "$LINENO"; then :
29963 glibcxx_cv_func_log10f_use=yes
29964 else
29965 glibcxx_cv_func_log10f_use=no
29967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29968 ac_ext=c
29969 ac_cpp='$CPP $CPPFLAGS'
29970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29979 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29981 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29982 for ac_func in log10f
29983 do :
29984 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29985 if test "x$ac_cv_func_log10f" = x""yes; then :
29986 cat >>confdefs.h <<_ACEOF
29987 #define HAVE_LOG10F 1
29988 _ACEOF
29991 done
29993 else
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29996 $as_echo_n "checking for _log10f declaration... " >&6; }
29997 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29998 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29999 $as_echo_n "(cached) " >&6
30000 else
30003 ac_ext=cpp
30004 ac_cpp='$CXXCPP $CPPFLAGS'
30005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010 /* end confdefs.h. */
30011 #include <math.h>
30012 #ifdef HAVE_IEEEFP_H
30013 #include <ieeefp.h>
30014 #endif
30017 main ()
30019 _log10f(0);
30021 return 0;
30023 _ACEOF
30024 if ac_fn_cxx_try_compile "$LINENO"; then :
30025 glibcxx_cv_func__log10f_use=yes
30026 else
30027 glibcxx_cv_func__log10f_use=no
30029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30030 ac_ext=c
30031 ac_cpp='$CPP $CPPFLAGS'
30032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30041 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30043 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30044 for ac_func in _log10f
30045 do :
30046 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30047 if test "x$ac_cv_func__log10f" = x""yes; then :
30048 cat >>confdefs.h <<_ACEOF
30049 #define HAVE__LOG10F 1
30050 _ACEOF
30053 done
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30063 $as_echo_n "checking for modff declaration... " >&6; }
30064 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30065 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30066 $as_echo_n "(cached) " >&6
30067 else
30070 ac_ext=cpp
30071 ac_cpp='$CXXCPP $CPPFLAGS'
30072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30077 /* end confdefs.h. */
30078 #include <math.h>
30080 main ()
30082 modff(0, 0);
30084 return 0;
30086 _ACEOF
30087 if ac_fn_cxx_try_compile "$LINENO"; then :
30088 glibcxx_cv_func_modff_use=yes
30089 else
30090 glibcxx_cv_func_modff_use=no
30092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30093 ac_ext=c
30094 ac_cpp='$CPP $CPPFLAGS'
30095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30104 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30106 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30107 for ac_func in modff
30108 do :
30109 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30110 if test "x$ac_cv_func_modff" = x""yes; then :
30111 cat >>confdefs.h <<_ACEOF
30112 #define HAVE_MODFF 1
30113 _ACEOF
30116 done
30118 else
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30121 $as_echo_n "checking for _modff declaration... " >&6; }
30122 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30123 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30124 $as_echo_n "(cached) " >&6
30125 else
30128 ac_ext=cpp
30129 ac_cpp='$CXXCPP $CPPFLAGS'
30130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30135 /* end confdefs.h. */
30136 #include <math.h>
30138 main ()
30140 _modff(0, 0);
30142 return 0;
30144 _ACEOF
30145 if ac_fn_cxx_try_compile "$LINENO"; then :
30146 glibcxx_cv_func__modff_use=yes
30147 else
30148 glibcxx_cv_func__modff_use=no
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151 ac_ext=c
30152 ac_cpp='$CPP $CPPFLAGS'
30153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30162 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30164 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30165 for ac_func in _modff
30166 do :
30167 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30168 if test "x$ac_cv_func__modff" = x""yes; then :
30169 cat >>confdefs.h <<_ACEOF
30170 #define HAVE__MODFF 1
30171 _ACEOF
30174 done
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30184 $as_echo_n "checking for modf declaration... " >&6; }
30185 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30186 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30187 $as_echo_n "(cached) " >&6
30188 else
30191 ac_ext=cpp
30192 ac_cpp='$CXXCPP $CPPFLAGS'
30193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30198 /* end confdefs.h. */
30199 #include <math.h>
30201 main ()
30203 modf(0, 0);
30205 return 0;
30207 _ACEOF
30208 if ac_fn_cxx_try_compile "$LINENO"; then :
30209 glibcxx_cv_func_modf_use=yes
30210 else
30211 glibcxx_cv_func_modf_use=no
30213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30214 ac_ext=c
30215 ac_cpp='$CPP $CPPFLAGS'
30216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30225 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30227 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30228 for ac_func in modf
30229 do :
30230 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30231 if test "x$ac_cv_func_modf" = x""yes; then :
30232 cat >>confdefs.h <<_ACEOF
30233 #define HAVE_MODF 1
30234 _ACEOF
30237 done
30239 else
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30242 $as_echo_n "checking for _modf declaration... " >&6; }
30243 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30244 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30245 $as_echo_n "(cached) " >&6
30246 else
30249 ac_ext=cpp
30250 ac_cpp='$CXXCPP $CPPFLAGS'
30251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30256 /* end confdefs.h. */
30257 #include <math.h>
30259 main ()
30261 _modf(0, 0);
30263 return 0;
30265 _ACEOF
30266 if ac_fn_cxx_try_compile "$LINENO"; then :
30267 glibcxx_cv_func__modf_use=yes
30268 else
30269 glibcxx_cv_func__modf_use=no
30271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30272 ac_ext=c
30273 ac_cpp='$CPP $CPPFLAGS'
30274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30283 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30285 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30286 for ac_func in _modf
30287 do :
30288 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30289 if test "x$ac_cv_func__modf" = x""yes; then :
30290 cat >>confdefs.h <<_ACEOF
30291 #define HAVE__MODF 1
30292 _ACEOF
30295 done
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30305 $as_echo_n "checking for powf declaration... " >&6; }
30306 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30307 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30308 $as_echo_n "(cached) " >&6
30309 else
30312 ac_ext=cpp
30313 ac_cpp='$CXXCPP $CPPFLAGS'
30314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30319 /* end confdefs.h. */
30320 #include <math.h>
30322 main ()
30324 powf(0, 0);
30326 return 0;
30328 _ACEOF
30329 if ac_fn_cxx_try_compile "$LINENO"; then :
30330 glibcxx_cv_func_powf_use=yes
30331 else
30332 glibcxx_cv_func_powf_use=no
30334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30335 ac_ext=c
30336 ac_cpp='$CPP $CPPFLAGS'
30337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30346 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30348 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30349 for ac_func in powf
30350 do :
30351 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30352 if test "x$ac_cv_func_powf" = x""yes; then :
30353 cat >>confdefs.h <<_ACEOF
30354 #define HAVE_POWF 1
30355 _ACEOF
30358 done
30360 else
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30363 $as_echo_n "checking for _powf declaration... " >&6; }
30364 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30365 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30366 $as_echo_n "(cached) " >&6
30367 else
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <math.h>
30380 main ()
30382 _powf(0, 0);
30384 return 0;
30386 _ACEOF
30387 if ac_fn_cxx_try_compile "$LINENO"; then :
30388 glibcxx_cv_func__powf_use=yes
30389 else
30390 glibcxx_cv_func__powf_use=no
30392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_ext=c
30394 ac_cpp='$CPP $CPPFLAGS'
30395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30404 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30406 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30407 for ac_func in _powf
30408 do :
30409 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30410 if test "x$ac_cv_func__powf" = x""yes; then :
30411 cat >>confdefs.h <<_ACEOF
30412 #define HAVE__POWF 1
30413 _ACEOF
30416 done
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30426 $as_echo_n "checking for sqrtf declaration... " >&6; }
30427 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30428 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30429 $as_echo_n "(cached) " >&6
30430 else
30433 ac_ext=cpp
30434 ac_cpp='$CXXCPP $CPPFLAGS'
30435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30440 /* end confdefs.h. */
30441 #include <math.h>
30442 #ifdef HAVE_IEEEFP_H
30443 #include <ieeefp.h>
30444 #endif
30447 main ()
30449 sqrtf(0);
30451 return 0;
30453 _ACEOF
30454 if ac_fn_cxx_try_compile "$LINENO"; then :
30455 glibcxx_cv_func_sqrtf_use=yes
30456 else
30457 glibcxx_cv_func_sqrtf_use=no
30459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30460 ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30471 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30473 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30474 for ac_func in sqrtf
30475 do :
30476 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30477 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30478 cat >>confdefs.h <<_ACEOF
30479 #define HAVE_SQRTF 1
30480 _ACEOF
30483 done
30485 else
30487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30488 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30489 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30490 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30491 $as_echo_n "(cached) " >&6
30492 else
30495 ac_ext=cpp
30496 ac_cpp='$CXXCPP $CPPFLAGS'
30497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30502 /* end confdefs.h. */
30503 #include <math.h>
30504 #ifdef HAVE_IEEEFP_H
30505 #include <ieeefp.h>
30506 #endif
30509 main ()
30511 _sqrtf(0);
30513 return 0;
30515 _ACEOF
30516 if ac_fn_cxx_try_compile "$LINENO"; then :
30517 glibcxx_cv_func__sqrtf_use=yes
30518 else
30519 glibcxx_cv_func__sqrtf_use=no
30521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30522 ac_ext=c
30523 ac_cpp='$CPP $CPPFLAGS'
30524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30533 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30535 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30536 for ac_func in _sqrtf
30537 do :
30538 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30539 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30540 cat >>confdefs.h <<_ACEOF
30541 #define HAVE__SQRTF 1
30542 _ACEOF
30545 done
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30555 $as_echo_n "checking for sincosf declaration... " >&6; }
30556 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30557 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30558 $as_echo_n "(cached) " >&6
30559 else
30562 ac_ext=cpp
30563 ac_cpp='$CXXCPP $CPPFLAGS'
30564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30569 /* end confdefs.h. */
30570 #include <math.h>
30572 main ()
30574 sincosf(0, 0, 0);
30576 return 0;
30578 _ACEOF
30579 if ac_fn_cxx_try_compile "$LINENO"; then :
30580 glibcxx_cv_func_sincosf_use=yes
30581 else
30582 glibcxx_cv_func_sincosf_use=no
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30585 ac_ext=c
30586 ac_cpp='$CPP $CPPFLAGS'
30587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30596 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30598 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30599 for ac_func in sincosf
30600 do :
30601 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30602 if test "x$ac_cv_func_sincosf" = x""yes; then :
30603 cat >>confdefs.h <<_ACEOF
30604 #define HAVE_SINCOSF 1
30605 _ACEOF
30608 done
30610 else
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30613 $as_echo_n "checking for _sincosf declaration... " >&6; }
30614 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30615 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30616 $as_echo_n "(cached) " >&6
30617 else
30620 ac_ext=cpp
30621 ac_cpp='$CXXCPP $CPPFLAGS'
30622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30627 /* end confdefs.h. */
30628 #include <math.h>
30630 main ()
30632 _sincosf(0, 0, 0);
30634 return 0;
30636 _ACEOF
30637 if ac_fn_cxx_try_compile "$LINENO"; then :
30638 glibcxx_cv_func__sincosf_use=yes
30639 else
30640 glibcxx_cv_func__sincosf_use=no
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30643 ac_ext=c
30644 ac_cpp='$CPP $CPPFLAGS'
30645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30654 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30656 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30657 for ac_func in _sincosf
30658 do :
30659 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30660 if test "x$ac_cv_func__sincosf" = x""yes; then :
30661 cat >>confdefs.h <<_ACEOF
30662 #define HAVE__SINCOSF 1
30663 _ACEOF
30666 done
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30676 $as_echo_n "checking for finitef declaration... " >&6; }
30677 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30678 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30679 $as_echo_n "(cached) " >&6
30680 else
30683 ac_ext=cpp
30684 ac_cpp='$CXXCPP $CPPFLAGS'
30685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30690 /* end confdefs.h. */
30691 #include <math.h>
30692 #ifdef HAVE_IEEEFP_H
30693 #include <ieeefp.h>
30694 #endif
30697 main ()
30699 finitef(0);
30701 return 0;
30703 _ACEOF
30704 if ac_fn_cxx_try_compile "$LINENO"; then :
30705 glibcxx_cv_func_finitef_use=yes
30706 else
30707 glibcxx_cv_func_finitef_use=no
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30710 ac_ext=c
30711 ac_cpp='$CPP $CPPFLAGS'
30712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30721 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30723 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30724 for ac_func in finitef
30725 do :
30726 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30727 if test "x$ac_cv_func_finitef" = x""yes; then :
30728 cat >>confdefs.h <<_ACEOF
30729 #define HAVE_FINITEF 1
30730 _ACEOF
30733 done
30735 else
30737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30738 $as_echo_n "checking for _finitef declaration... " >&6; }
30739 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30740 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30741 $as_echo_n "(cached) " >&6
30742 else
30745 ac_ext=cpp
30746 ac_cpp='$CXXCPP $CPPFLAGS'
30747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30752 /* end confdefs.h. */
30753 #include <math.h>
30754 #ifdef HAVE_IEEEFP_H
30755 #include <ieeefp.h>
30756 #endif
30759 main ()
30761 _finitef(0);
30763 return 0;
30765 _ACEOF
30766 if ac_fn_cxx_try_compile "$LINENO"; then :
30767 glibcxx_cv_func__finitef_use=yes
30768 else
30769 glibcxx_cv_func__finitef_use=no
30771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772 ac_ext=c
30773 ac_cpp='$CPP $CPPFLAGS'
30774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30783 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30785 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30786 for ac_func in _finitef
30787 do :
30788 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30789 if test "x$ac_cv_func__finitef" = x""yes; then :
30790 cat >>confdefs.h <<_ACEOF
30791 #define HAVE__FINITEF 1
30792 _ACEOF
30795 done
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30805 $as_echo_n "checking for long double trig functions... " >&6; }
30806 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30807 $as_echo_n "(cached) " >&6
30808 else
30811 ac_ext=cpp
30812 ac_cpp='$CXXCPP $CPPFLAGS'
30813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30818 /* end confdefs.h. */
30819 #include <math.h>
30821 main ()
30823 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30825 return 0;
30827 _ACEOF
30828 if ac_fn_cxx_try_compile "$LINENO"; then :
30829 glibcxx_cv_func_long_double_trig_use=yes
30830 else
30831 glibcxx_cv_func_long_double_trig_use=no
30833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30834 ac_ext=c
30835 ac_cpp='$CPP $CPPFLAGS'
30836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30843 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30844 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30845 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30846 do :
30847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30849 eval as_val=\$$as_ac_var
30850 if test "x$as_val" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30853 _ACEOF
30856 done
30858 else
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30860 $as_echo_n "checking for _long double trig functions... " >&6; }
30861 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30866 ac_ext=cpp
30867 ac_cpp='$CXXCPP $CPPFLAGS'
30868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30873 /* end confdefs.h. */
30874 #include <math.h>
30876 main ()
30878 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30880 return 0;
30882 _ACEOF
30883 if ac_fn_cxx_try_compile "$LINENO"; then :
30884 glibcxx_cv_func__long_double_trig_use=yes
30885 else
30886 glibcxx_cv_func__long_double_trig_use=no
30888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30889 ac_ext=c
30890 ac_cpp='$CPP $CPPFLAGS'
30891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30898 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30899 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30900 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30901 do :
30902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30904 eval as_val=\$$as_ac_var
30905 if test "x$as_val" = x""yes; then :
30906 cat >>confdefs.h <<_ACEOF
30907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30908 _ACEOF
30911 done
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30921 $as_echo_n "checking for long double round functions... " >&6; }
30922 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30923 $as_echo_n "(cached) " >&6
30924 else
30927 ac_ext=cpp
30928 ac_cpp='$CXXCPP $CPPFLAGS'
30929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30935 #include <math.h>
30937 main ()
30939 ceill (0); floorl (0);
30941 return 0;
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_long_double_round_use=yes
30946 else
30947 glibcxx_cv_func_long_double_round_use=no
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30959 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30960 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30961 for ac_func in ceill floorl
30962 do :
30963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30965 eval as_val=\$$as_ac_var
30966 if test "x$as_val" = x""yes; then :
30967 cat >>confdefs.h <<_ACEOF
30968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30969 _ACEOF
30972 done
30974 else
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30976 $as_echo_n "checking for _long double round functions... " >&6; }
30977 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30978 $as_echo_n "(cached) " >&6
30979 else
30982 ac_ext=cpp
30983 ac_cpp='$CXXCPP $CPPFLAGS'
30984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990 #include <math.h>
30992 main ()
30994 _ceill (0); _floorl (0);
30996 return 0;
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000 glibcxx_cv_func__long_double_round_use=yes
31001 else
31002 glibcxx_cv_func__long_double_round_use=no
31004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005 ac_ext=c
31006 ac_cpp='$CPP $CPPFLAGS'
31007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31014 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31015 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31016 for ac_func in _ceill _floorl
31017 do :
31018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31020 eval as_val=\$$as_ac_var
31021 if test "x$as_val" = x""yes; then :
31022 cat >>confdefs.h <<_ACEOF
31023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31024 _ACEOF
31027 done
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31038 $as_echo_n "checking for isnanl declaration... " >&6; }
31039 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31040 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31041 $as_echo_n "(cached) " >&6
31042 else
31045 ac_ext=cpp
31046 ac_cpp='$CXXCPP $CPPFLAGS'
31047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31052 /* end confdefs.h. */
31053 #include <math.h>
31054 #ifdef HAVE_IEEEFP_H
31055 #include <ieeefp.h>
31056 #endif
31059 main ()
31061 isnanl(0);
31063 return 0;
31065 _ACEOF
31066 if ac_fn_cxx_try_compile "$LINENO"; then :
31067 glibcxx_cv_func_isnanl_use=yes
31068 else
31069 glibcxx_cv_func_isnanl_use=no
31071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072 ac_ext=c
31073 ac_cpp='$CPP $CPPFLAGS'
31074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31083 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31085 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31086 for ac_func in isnanl
31087 do :
31088 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31089 if test "x$ac_cv_func_isnanl" = x""yes; then :
31090 cat >>confdefs.h <<_ACEOF
31091 #define HAVE_ISNANL 1
31092 _ACEOF
31095 done
31097 else
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31100 $as_echo_n "checking for _isnanl declaration... " >&6; }
31101 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31102 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31103 $as_echo_n "(cached) " >&6
31104 else
31107 ac_ext=cpp
31108 ac_cpp='$CXXCPP $CPPFLAGS'
31109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31114 /* end confdefs.h. */
31115 #include <math.h>
31116 #ifdef HAVE_IEEEFP_H
31117 #include <ieeefp.h>
31118 #endif
31121 main ()
31123 _isnanl(0);
31125 return 0;
31127 _ACEOF
31128 if ac_fn_cxx_try_compile "$LINENO"; then :
31129 glibcxx_cv_func__isnanl_use=yes
31130 else
31131 glibcxx_cv_func__isnanl_use=no
31133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31134 ac_ext=c
31135 ac_cpp='$CPP $CPPFLAGS'
31136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31145 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31147 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31148 for ac_func in _isnanl
31149 do :
31150 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31151 if test "x$ac_cv_func__isnanl" = x""yes; then :
31152 cat >>confdefs.h <<_ACEOF
31153 #define HAVE__ISNANL 1
31154 _ACEOF
31157 done
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31167 $as_echo_n "checking for isinfl declaration... " >&6; }
31168 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31169 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31183 #ifdef HAVE_IEEEFP_H
31184 #include <ieeefp.h>
31185 #endif
31188 main ()
31190 isinfl(0);
31192 return 0;
31194 _ACEOF
31195 if ac_fn_cxx_try_compile "$LINENO"; then :
31196 glibcxx_cv_func_isinfl_use=yes
31197 else
31198 glibcxx_cv_func_isinfl_use=no
31200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31201 ac_ext=c
31202 ac_cpp='$CPP $CPPFLAGS'
31203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31212 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31214 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31215 for ac_func in isinfl
31216 do :
31217 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31218 if test "x$ac_cv_func_isinfl" = x""yes; then :
31219 cat >>confdefs.h <<_ACEOF
31220 #define HAVE_ISINFL 1
31221 _ACEOF
31224 done
31226 else
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31229 $as_echo_n "checking for _isinfl declaration... " >&6; }
31230 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31231 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31232 $as_echo_n "(cached) " >&6
31233 else
31236 ac_ext=cpp
31237 ac_cpp='$CXXCPP $CPPFLAGS'
31238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h. */
31244 #include <math.h>
31245 #ifdef HAVE_IEEEFP_H
31246 #include <ieeefp.h>
31247 #endif
31250 main ()
31252 _isinfl(0);
31254 return 0;
31256 _ACEOF
31257 if ac_fn_cxx_try_compile "$LINENO"; then :
31258 glibcxx_cv_func__isinfl_use=yes
31259 else
31260 glibcxx_cv_func__isinfl_use=no
31262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31263 ac_ext=c
31264 ac_cpp='$CPP $CPPFLAGS'
31265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31274 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31276 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31277 for ac_func in _isinfl
31278 do :
31279 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31280 if test "x$ac_cv_func__isinfl" = x""yes; then :
31281 cat >>confdefs.h <<_ACEOF
31282 #define HAVE__ISINFL 1
31283 _ACEOF
31286 done
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31296 $as_echo_n "checking for atan2l declaration... " >&6; }
31297 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31298 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31299 $as_echo_n "(cached) " >&6
31300 else
31303 ac_ext=cpp
31304 ac_cpp='$CXXCPP $CPPFLAGS'
31305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31310 /* end confdefs.h. */
31311 #include <math.h>
31313 main ()
31315 atan2l(0, 0);
31317 return 0;
31319 _ACEOF
31320 if ac_fn_cxx_try_compile "$LINENO"; then :
31321 glibcxx_cv_func_atan2l_use=yes
31322 else
31323 glibcxx_cv_func_atan2l_use=no
31325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31326 ac_ext=c
31327 ac_cpp='$CPP $CPPFLAGS'
31328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31337 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31339 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31340 for ac_func in atan2l
31341 do :
31342 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31343 if test "x$ac_cv_func_atan2l" = x""yes; then :
31344 cat >>confdefs.h <<_ACEOF
31345 #define HAVE_ATAN2L 1
31346 _ACEOF
31349 done
31351 else
31353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31354 $as_echo_n "checking for _atan2l declaration... " >&6; }
31355 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31356 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31357 $as_echo_n "(cached) " >&6
31358 else
31361 ac_ext=cpp
31362 ac_cpp='$CXXCPP $CPPFLAGS'
31363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31368 /* end confdefs.h. */
31369 #include <math.h>
31371 main ()
31373 _atan2l(0, 0);
31375 return 0;
31377 _ACEOF
31378 if ac_fn_cxx_try_compile "$LINENO"; then :
31379 glibcxx_cv_func__atan2l_use=yes
31380 else
31381 glibcxx_cv_func__atan2l_use=no
31383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384 ac_ext=c
31385 ac_cpp='$CPP $CPPFLAGS'
31386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31395 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31397 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31398 for ac_func in _atan2l
31399 do :
31400 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31401 if test "x$ac_cv_func__atan2l" = x""yes; then :
31402 cat >>confdefs.h <<_ACEOF
31403 #define HAVE__ATAN2L 1
31404 _ACEOF
31407 done
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31417 $as_echo_n "checking for expl declaration... " >&6; }
31418 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31419 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31420 $as_echo_n "(cached) " >&6
31421 else
31424 ac_ext=cpp
31425 ac_cpp='$CXXCPP $CPPFLAGS'
31426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31431 /* end confdefs.h. */
31432 #include <math.h>
31433 #ifdef HAVE_IEEEFP_H
31434 #include <ieeefp.h>
31435 #endif
31438 main ()
31440 expl(0);
31442 return 0;
31444 _ACEOF
31445 if ac_fn_cxx_try_compile "$LINENO"; then :
31446 glibcxx_cv_func_expl_use=yes
31447 else
31448 glibcxx_cv_func_expl_use=no
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451 ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31462 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31464 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31465 for ac_func in expl
31466 do :
31467 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31468 if test "x$ac_cv_func_expl" = x""yes; then :
31469 cat >>confdefs.h <<_ACEOF
31470 #define HAVE_EXPL 1
31471 _ACEOF
31474 done
31476 else
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31479 $as_echo_n "checking for _expl declaration... " >&6; }
31480 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31481 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31482 $as_echo_n "(cached) " >&6
31483 else
31486 ac_ext=cpp
31487 ac_cpp='$CXXCPP $CPPFLAGS'
31488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h. */
31494 #include <math.h>
31495 #ifdef HAVE_IEEEFP_H
31496 #include <ieeefp.h>
31497 #endif
31500 main ()
31502 _expl(0);
31504 return 0;
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func__expl_use=yes
31509 else
31510 glibcxx_cv_func__expl_use=no
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513 ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31524 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31526 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31527 for ac_func in _expl
31528 do :
31529 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31530 if test "x$ac_cv_func__expl" = x""yes; then :
31531 cat >>confdefs.h <<_ACEOF
31532 #define HAVE__EXPL 1
31533 _ACEOF
31536 done
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31546 $as_echo_n "checking for fabsl declaration... " >&6; }
31547 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31548 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31549 $as_echo_n "(cached) " >&6
31550 else
31553 ac_ext=cpp
31554 ac_cpp='$CXXCPP $CPPFLAGS'
31555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31560 /* end confdefs.h. */
31561 #include <math.h>
31562 #ifdef HAVE_IEEEFP_H
31563 #include <ieeefp.h>
31564 #endif
31567 main ()
31569 fabsl(0);
31571 return 0;
31573 _ACEOF
31574 if ac_fn_cxx_try_compile "$LINENO"; then :
31575 glibcxx_cv_func_fabsl_use=yes
31576 else
31577 glibcxx_cv_func_fabsl_use=no
31579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31580 ac_ext=c
31581 ac_cpp='$CPP $CPPFLAGS'
31582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31591 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31593 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31594 for ac_func in fabsl
31595 do :
31596 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31597 if test "x$ac_cv_func_fabsl" = x""yes; then :
31598 cat >>confdefs.h <<_ACEOF
31599 #define HAVE_FABSL 1
31600 _ACEOF
31603 done
31605 else
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31608 $as_echo_n "checking for _fabsl declaration... " >&6; }
31609 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31610 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31611 $as_echo_n "(cached) " >&6
31612 else
31615 ac_ext=cpp
31616 ac_cpp='$CXXCPP $CPPFLAGS'
31617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31622 /* end confdefs.h. */
31623 #include <math.h>
31624 #ifdef HAVE_IEEEFP_H
31625 #include <ieeefp.h>
31626 #endif
31629 main ()
31631 _fabsl(0);
31633 return 0;
31635 _ACEOF
31636 if ac_fn_cxx_try_compile "$LINENO"; then :
31637 glibcxx_cv_func__fabsl_use=yes
31638 else
31639 glibcxx_cv_func__fabsl_use=no
31641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31642 ac_ext=c
31643 ac_cpp='$CPP $CPPFLAGS'
31644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31653 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31655 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31656 for ac_func in _fabsl
31657 do :
31658 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31659 if test "x$ac_cv_func__fabsl" = x""yes; then :
31660 cat >>confdefs.h <<_ACEOF
31661 #define HAVE__FABSL 1
31662 _ACEOF
31665 done
31674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31675 $as_echo_n "checking for fmodl declaration... " >&6; }
31676 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31677 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31678 $as_echo_n "(cached) " >&6
31679 else
31682 ac_ext=cpp
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h. */
31690 #include <math.h>
31692 main ()
31694 fmodl(0, 0);
31696 return 0;
31698 _ACEOF
31699 if ac_fn_cxx_try_compile "$LINENO"; then :
31700 glibcxx_cv_func_fmodl_use=yes
31701 else
31702 glibcxx_cv_func_fmodl_use=no
31704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31705 ac_ext=c
31706 ac_cpp='$CPP $CPPFLAGS'
31707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31716 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31718 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31719 for ac_func in fmodl
31720 do :
31721 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31722 if test "x$ac_cv_func_fmodl" = x""yes; then :
31723 cat >>confdefs.h <<_ACEOF
31724 #define HAVE_FMODL 1
31725 _ACEOF
31728 done
31730 else
31732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31733 $as_echo_n "checking for _fmodl declaration... " >&6; }
31734 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31735 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31736 $as_echo_n "(cached) " >&6
31737 else
31740 ac_ext=cpp
31741 ac_cpp='$CXXCPP $CPPFLAGS'
31742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31747 /* end confdefs.h. */
31748 #include <math.h>
31750 main ()
31752 _fmodl(0, 0);
31754 return 0;
31756 _ACEOF
31757 if ac_fn_cxx_try_compile "$LINENO"; then :
31758 glibcxx_cv_func__fmodl_use=yes
31759 else
31760 glibcxx_cv_func__fmodl_use=no
31762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31763 ac_ext=c
31764 ac_cpp='$CPP $CPPFLAGS'
31765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31774 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31776 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31777 for ac_func in _fmodl
31778 do :
31779 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31780 if test "x$ac_cv_func__fmodl" = x""yes; then :
31781 cat >>confdefs.h <<_ACEOF
31782 #define HAVE__FMODL 1
31783 _ACEOF
31786 done
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31796 $as_echo_n "checking for frexpl declaration... " >&6; }
31797 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31798 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31799 $as_echo_n "(cached) " >&6
31800 else
31803 ac_ext=cpp
31804 ac_cpp='$CXXCPP $CPPFLAGS'
31805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31810 /* end confdefs.h. */
31811 #include <math.h>
31813 main ()
31815 frexpl(0, 0);
31817 return 0;
31819 _ACEOF
31820 if ac_fn_cxx_try_compile "$LINENO"; then :
31821 glibcxx_cv_func_frexpl_use=yes
31822 else
31823 glibcxx_cv_func_frexpl_use=no
31825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31826 ac_ext=c
31827 ac_cpp='$CPP $CPPFLAGS'
31828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31837 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31839 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31840 for ac_func in frexpl
31841 do :
31842 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31843 if test "x$ac_cv_func_frexpl" = x""yes; then :
31844 cat >>confdefs.h <<_ACEOF
31845 #define HAVE_FREXPL 1
31846 _ACEOF
31849 done
31851 else
31853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31854 $as_echo_n "checking for _frexpl declaration... " >&6; }
31855 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31856 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31857 $as_echo_n "(cached) " >&6
31858 else
31861 ac_ext=cpp
31862 ac_cpp='$CXXCPP $CPPFLAGS'
31863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31868 /* end confdefs.h. */
31869 #include <math.h>
31871 main ()
31873 _frexpl(0, 0);
31875 return 0;
31877 _ACEOF
31878 if ac_fn_cxx_try_compile "$LINENO"; then :
31879 glibcxx_cv_func__frexpl_use=yes
31880 else
31881 glibcxx_cv_func__frexpl_use=no
31883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31884 ac_ext=c
31885 ac_cpp='$CPP $CPPFLAGS'
31886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31895 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31897 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31898 for ac_func in _frexpl
31899 do :
31900 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31901 if test "x$ac_cv_func__frexpl" = x""yes; then :
31902 cat >>confdefs.h <<_ACEOF
31903 #define HAVE__FREXPL 1
31904 _ACEOF
31907 done
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31917 $as_echo_n "checking for hypotl declaration... " >&6; }
31918 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31919 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31920 $as_echo_n "(cached) " >&6
31921 else
31924 ac_ext=cpp
31925 ac_cpp='$CXXCPP $CPPFLAGS'
31926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31931 /* end confdefs.h. */
31932 #include <math.h>
31934 main ()
31936 hypotl(0, 0);
31938 return 0;
31940 _ACEOF
31941 if ac_fn_cxx_try_compile "$LINENO"; then :
31942 glibcxx_cv_func_hypotl_use=yes
31943 else
31944 glibcxx_cv_func_hypotl_use=no
31946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31947 ac_ext=c
31948 ac_cpp='$CPP $CPPFLAGS'
31949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31958 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31960 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31961 for ac_func in hypotl
31962 do :
31963 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31964 if test "x$ac_cv_func_hypotl" = x""yes; then :
31965 cat >>confdefs.h <<_ACEOF
31966 #define HAVE_HYPOTL 1
31967 _ACEOF
31970 done
31972 else
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31975 $as_echo_n "checking for _hypotl declaration... " >&6; }
31976 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31977 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31978 $as_echo_n "(cached) " >&6
31979 else
31982 ac_ext=cpp
31983 ac_cpp='$CXXCPP $CPPFLAGS'
31984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31989 /* end confdefs.h. */
31990 #include <math.h>
31992 main ()
31994 _hypotl(0, 0);
31996 return 0;
31998 _ACEOF
31999 if ac_fn_cxx_try_compile "$LINENO"; then :
32000 glibcxx_cv_func__hypotl_use=yes
32001 else
32002 glibcxx_cv_func__hypotl_use=no
32004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32005 ac_ext=c
32006 ac_cpp='$CPP $CPPFLAGS'
32007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32016 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32018 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32019 for ac_func in _hypotl
32020 do :
32021 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32022 if test "x$ac_cv_func__hypotl" = x""yes; then :
32023 cat >>confdefs.h <<_ACEOF
32024 #define HAVE__HYPOTL 1
32025 _ACEOF
32028 done
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32038 $as_echo_n "checking for ldexpl declaration... " >&6; }
32039 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32040 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32041 $as_echo_n "(cached) " >&6
32042 else
32045 ac_ext=cpp
32046 ac_cpp='$CXXCPP $CPPFLAGS'
32047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32052 /* end confdefs.h. */
32053 #include <math.h>
32055 main ()
32057 ldexpl(0, 0);
32059 return 0;
32061 _ACEOF
32062 if ac_fn_cxx_try_compile "$LINENO"; then :
32063 glibcxx_cv_func_ldexpl_use=yes
32064 else
32065 glibcxx_cv_func_ldexpl_use=no
32067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32068 ac_ext=c
32069 ac_cpp='$CPP $CPPFLAGS'
32070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32079 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32081 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32082 for ac_func in ldexpl
32083 do :
32084 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32085 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32086 cat >>confdefs.h <<_ACEOF
32087 #define HAVE_LDEXPL 1
32088 _ACEOF
32091 done
32093 else
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32096 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32097 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32098 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32099 $as_echo_n "(cached) " >&6
32100 else
32103 ac_ext=cpp
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32110 /* end confdefs.h. */
32111 #include <math.h>
32113 main ()
32115 _ldexpl(0, 0);
32117 return 0;
32119 _ACEOF
32120 if ac_fn_cxx_try_compile "$LINENO"; then :
32121 glibcxx_cv_func__ldexpl_use=yes
32122 else
32123 glibcxx_cv_func__ldexpl_use=no
32125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32126 ac_ext=c
32127 ac_cpp='$CPP $CPPFLAGS'
32128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32137 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32139 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32140 for ac_func in _ldexpl
32141 do :
32142 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32143 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32144 cat >>confdefs.h <<_ACEOF
32145 #define HAVE__LDEXPL 1
32146 _ACEOF
32149 done
32158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32159 $as_echo_n "checking for logl declaration... " >&6; }
32160 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32161 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32162 $as_echo_n "(cached) " >&6
32163 else
32166 ac_ext=cpp
32167 ac_cpp='$CXXCPP $CPPFLAGS'
32168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32173 /* end confdefs.h. */
32174 #include <math.h>
32175 #ifdef HAVE_IEEEFP_H
32176 #include <ieeefp.h>
32177 #endif
32180 main ()
32182 logl(0);
32184 return 0;
32186 _ACEOF
32187 if ac_fn_cxx_try_compile "$LINENO"; then :
32188 glibcxx_cv_func_logl_use=yes
32189 else
32190 glibcxx_cv_func_logl_use=no
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193 ac_ext=c
32194 ac_cpp='$CPP $CPPFLAGS'
32195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32204 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32206 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32207 for ac_func in logl
32208 do :
32209 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32210 if test "x$ac_cv_func_logl" = x""yes; then :
32211 cat >>confdefs.h <<_ACEOF
32212 #define HAVE_LOGL 1
32213 _ACEOF
32216 done
32218 else
32220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32221 $as_echo_n "checking for _logl declaration... " >&6; }
32222 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32223 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32224 $as_echo_n "(cached) " >&6
32225 else
32228 ac_ext=cpp
32229 ac_cpp='$CXXCPP $CPPFLAGS'
32230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32235 /* end confdefs.h. */
32236 #include <math.h>
32237 #ifdef HAVE_IEEEFP_H
32238 #include <ieeefp.h>
32239 #endif
32242 main ()
32244 _logl(0);
32246 return 0;
32248 _ACEOF
32249 if ac_fn_cxx_try_compile "$LINENO"; then :
32250 glibcxx_cv_func__logl_use=yes
32251 else
32252 glibcxx_cv_func__logl_use=no
32254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32255 ac_ext=c
32256 ac_cpp='$CPP $CPPFLAGS'
32257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32266 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32268 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32269 for ac_func in _logl
32270 do :
32271 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32272 if test "x$ac_cv_func__logl" = x""yes; then :
32273 cat >>confdefs.h <<_ACEOF
32274 #define HAVE__LOGL 1
32275 _ACEOF
32278 done
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32288 $as_echo_n "checking for log10l declaration... " >&6; }
32289 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32290 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32291 $as_echo_n "(cached) " >&6
32292 else
32295 ac_ext=cpp
32296 ac_cpp='$CXXCPP $CPPFLAGS'
32297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h. */
32303 #include <math.h>
32304 #ifdef HAVE_IEEEFP_H
32305 #include <ieeefp.h>
32306 #endif
32309 main ()
32311 log10l(0);
32313 return 0;
32315 _ACEOF
32316 if ac_fn_cxx_try_compile "$LINENO"; then :
32317 glibcxx_cv_func_log10l_use=yes
32318 else
32319 glibcxx_cv_func_log10l_use=no
32321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32322 ac_ext=c
32323 ac_cpp='$CPP $CPPFLAGS'
32324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32333 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32335 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32336 for ac_func in log10l
32337 do :
32338 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32339 if test "x$ac_cv_func_log10l" = x""yes; then :
32340 cat >>confdefs.h <<_ACEOF
32341 #define HAVE_LOG10L 1
32342 _ACEOF
32345 done
32347 else
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32350 $as_echo_n "checking for _log10l declaration... " >&6; }
32351 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32352 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32353 $as_echo_n "(cached) " >&6
32354 else
32357 ac_ext=cpp
32358 ac_cpp='$CXXCPP $CPPFLAGS'
32359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32364 /* end confdefs.h. */
32365 #include <math.h>
32366 #ifdef HAVE_IEEEFP_H
32367 #include <ieeefp.h>
32368 #endif
32371 main ()
32373 _log10l(0);
32375 return 0;
32377 _ACEOF
32378 if ac_fn_cxx_try_compile "$LINENO"; then :
32379 glibcxx_cv_func__log10l_use=yes
32380 else
32381 glibcxx_cv_func__log10l_use=no
32383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32384 ac_ext=c
32385 ac_cpp='$CPP $CPPFLAGS'
32386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32395 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32397 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32398 for ac_func in _log10l
32399 do :
32400 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32401 if test "x$ac_cv_func__log10l" = x""yes; then :
32402 cat >>confdefs.h <<_ACEOF
32403 #define HAVE__LOG10L 1
32404 _ACEOF
32407 done
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32417 $as_echo_n "checking for modfl declaration... " >&6; }
32418 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32419 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32420 $as_echo_n "(cached) " >&6
32421 else
32424 ac_ext=cpp
32425 ac_cpp='$CXXCPP $CPPFLAGS'
32426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32431 /* end confdefs.h. */
32432 #include <math.h>
32434 main ()
32436 modfl(0, 0);
32438 return 0;
32440 _ACEOF
32441 if ac_fn_cxx_try_compile "$LINENO"; then :
32442 glibcxx_cv_func_modfl_use=yes
32443 else
32444 glibcxx_cv_func_modfl_use=no
32446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32447 ac_ext=c
32448 ac_cpp='$CPP $CPPFLAGS'
32449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32458 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32460 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32461 for ac_func in modfl
32462 do :
32463 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32464 if test "x$ac_cv_func_modfl" = x""yes; then :
32465 cat >>confdefs.h <<_ACEOF
32466 #define HAVE_MODFL 1
32467 _ACEOF
32470 done
32472 else
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32475 $as_echo_n "checking for _modfl declaration... " >&6; }
32476 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32477 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32478 $as_echo_n "(cached) " >&6
32479 else
32482 ac_ext=cpp
32483 ac_cpp='$CXXCPP $CPPFLAGS'
32484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32489 /* end confdefs.h. */
32490 #include <math.h>
32492 main ()
32494 _modfl(0, 0);
32496 return 0;
32498 _ACEOF
32499 if ac_fn_cxx_try_compile "$LINENO"; then :
32500 glibcxx_cv_func__modfl_use=yes
32501 else
32502 glibcxx_cv_func__modfl_use=no
32504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505 ac_ext=c
32506 ac_cpp='$CPP $CPPFLAGS'
32507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32516 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32518 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32519 for ac_func in _modfl
32520 do :
32521 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32522 if test "x$ac_cv_func__modfl" = x""yes; then :
32523 cat >>confdefs.h <<_ACEOF
32524 #define HAVE__MODFL 1
32525 _ACEOF
32528 done
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32538 $as_echo_n "checking for powl declaration... " >&6; }
32539 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32540 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32541 $as_echo_n "(cached) " >&6
32542 else
32545 ac_ext=cpp
32546 ac_cpp='$CXXCPP $CPPFLAGS'
32547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32552 /* end confdefs.h. */
32553 #include <math.h>
32555 main ()
32557 powl(0, 0);
32559 return 0;
32561 _ACEOF
32562 if ac_fn_cxx_try_compile "$LINENO"; then :
32563 glibcxx_cv_func_powl_use=yes
32564 else
32565 glibcxx_cv_func_powl_use=no
32567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32568 ac_ext=c
32569 ac_cpp='$CPP $CPPFLAGS'
32570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32579 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32581 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32582 for ac_func in powl
32583 do :
32584 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32585 if test "x$ac_cv_func_powl" = x""yes; then :
32586 cat >>confdefs.h <<_ACEOF
32587 #define HAVE_POWL 1
32588 _ACEOF
32591 done
32593 else
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32596 $as_echo_n "checking for _powl declaration... " >&6; }
32597 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32598 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32599 $as_echo_n "(cached) " >&6
32600 else
32603 ac_ext=cpp
32604 ac_cpp='$CXXCPP $CPPFLAGS'
32605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32610 /* end confdefs.h. */
32611 #include <math.h>
32613 main ()
32615 _powl(0, 0);
32617 return 0;
32619 _ACEOF
32620 if ac_fn_cxx_try_compile "$LINENO"; then :
32621 glibcxx_cv_func__powl_use=yes
32622 else
32623 glibcxx_cv_func__powl_use=no
32625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32626 ac_ext=c
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32637 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32639 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32640 for ac_func in _powl
32641 do :
32642 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32643 if test "x$ac_cv_func__powl" = x""yes; then :
32644 cat >>confdefs.h <<_ACEOF
32645 #define HAVE__POWL 1
32646 _ACEOF
32649 done
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32659 $as_echo_n "checking for sqrtl declaration... " >&6; }
32660 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32661 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32662 $as_echo_n "(cached) " >&6
32663 else
32666 ac_ext=cpp
32667 ac_cpp='$CXXCPP $CPPFLAGS'
32668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32673 /* end confdefs.h. */
32674 #include <math.h>
32675 #ifdef HAVE_IEEEFP_H
32676 #include <ieeefp.h>
32677 #endif
32680 main ()
32682 sqrtl(0);
32684 return 0;
32686 _ACEOF
32687 if ac_fn_cxx_try_compile "$LINENO"; then :
32688 glibcxx_cv_func_sqrtl_use=yes
32689 else
32690 glibcxx_cv_func_sqrtl_use=no
32692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32693 ac_ext=c
32694 ac_cpp='$CPP $CPPFLAGS'
32695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32704 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32706 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32707 for ac_func in sqrtl
32708 do :
32709 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32710 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32711 cat >>confdefs.h <<_ACEOF
32712 #define HAVE_SQRTL 1
32713 _ACEOF
32716 done
32718 else
32720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32721 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32722 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32723 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32724 $as_echo_n "(cached) " >&6
32725 else
32728 ac_ext=cpp
32729 ac_cpp='$CXXCPP $CPPFLAGS'
32730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32735 /* end confdefs.h. */
32736 #include <math.h>
32737 #ifdef HAVE_IEEEFP_H
32738 #include <ieeefp.h>
32739 #endif
32742 main ()
32744 _sqrtl(0);
32746 return 0;
32748 _ACEOF
32749 if ac_fn_cxx_try_compile "$LINENO"; then :
32750 glibcxx_cv_func__sqrtl_use=yes
32751 else
32752 glibcxx_cv_func__sqrtl_use=no
32754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32755 ac_ext=c
32756 ac_cpp='$CPP $CPPFLAGS'
32757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32766 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32768 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32769 for ac_func in _sqrtl
32770 do :
32771 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32772 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32773 cat >>confdefs.h <<_ACEOF
32774 #define HAVE__SQRTL 1
32775 _ACEOF
32778 done
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32788 $as_echo_n "checking for sincosl declaration... " >&6; }
32789 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32790 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32791 $as_echo_n "(cached) " >&6
32792 else
32795 ac_ext=cpp
32796 ac_cpp='$CXXCPP $CPPFLAGS'
32797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32802 /* end confdefs.h. */
32803 #include <math.h>
32805 main ()
32807 sincosl(0, 0, 0);
32809 return 0;
32811 _ACEOF
32812 if ac_fn_cxx_try_compile "$LINENO"; then :
32813 glibcxx_cv_func_sincosl_use=yes
32814 else
32815 glibcxx_cv_func_sincosl_use=no
32817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32818 ac_ext=c
32819 ac_cpp='$CPP $CPPFLAGS'
32820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32829 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32831 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32832 for ac_func in sincosl
32833 do :
32834 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32835 if test "x$ac_cv_func_sincosl" = x""yes; then :
32836 cat >>confdefs.h <<_ACEOF
32837 #define HAVE_SINCOSL 1
32838 _ACEOF
32841 done
32843 else
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32846 $as_echo_n "checking for _sincosl declaration... " >&6; }
32847 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32848 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32849 $as_echo_n "(cached) " >&6
32850 else
32853 ac_ext=cpp
32854 ac_cpp='$CXXCPP $CPPFLAGS'
32855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32860 /* end confdefs.h. */
32861 #include <math.h>
32863 main ()
32865 _sincosl(0, 0, 0);
32867 return 0;
32869 _ACEOF
32870 if ac_fn_cxx_try_compile "$LINENO"; then :
32871 glibcxx_cv_func__sincosl_use=yes
32872 else
32873 glibcxx_cv_func__sincosl_use=no
32875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32876 ac_ext=c
32877 ac_cpp='$CPP $CPPFLAGS'
32878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32887 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32889 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32890 for ac_func in _sincosl
32891 do :
32892 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32893 if test "x$ac_cv_func__sincosl" = x""yes; then :
32894 cat >>confdefs.h <<_ACEOF
32895 #define HAVE__SINCOSL 1
32896 _ACEOF
32899 done
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32909 $as_echo_n "checking for finitel declaration... " >&6; }
32910 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32911 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32912 $as_echo_n "(cached) " >&6
32913 else
32916 ac_ext=cpp
32917 ac_cpp='$CXXCPP $CPPFLAGS'
32918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32923 /* end confdefs.h. */
32924 #include <math.h>
32925 #ifdef HAVE_IEEEFP_H
32926 #include <ieeefp.h>
32927 #endif
32930 main ()
32932 finitel(0);
32934 return 0;
32936 _ACEOF
32937 if ac_fn_cxx_try_compile "$LINENO"; then :
32938 glibcxx_cv_func_finitel_use=yes
32939 else
32940 glibcxx_cv_func_finitel_use=no
32942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32943 ac_ext=c
32944 ac_cpp='$CPP $CPPFLAGS'
32945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32954 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32956 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32957 for ac_func in finitel
32958 do :
32959 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32960 if test "x$ac_cv_func_finitel" = x""yes; then :
32961 cat >>confdefs.h <<_ACEOF
32962 #define HAVE_FINITEL 1
32963 _ACEOF
32966 done
32968 else
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32971 $as_echo_n "checking for _finitel declaration... " >&6; }
32972 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32973 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32974 $as_echo_n "(cached) " >&6
32975 else
32978 ac_ext=cpp
32979 ac_cpp='$CXXCPP $CPPFLAGS'
32980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32985 /* end confdefs.h. */
32986 #include <math.h>
32987 #ifdef HAVE_IEEEFP_H
32988 #include <ieeefp.h>
32989 #endif
32992 main ()
32994 _finitel(0);
32996 return 0;
32998 _ACEOF
32999 if ac_fn_cxx_try_compile "$LINENO"; then :
33000 glibcxx_cv_func__finitel_use=yes
33001 else
33002 glibcxx_cv_func__finitel_use=no
33004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33005 ac_ext=c
33006 ac_cpp='$CPP $CPPFLAGS'
33007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33016 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33018 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33019 for ac_func in _finitel
33020 do :
33021 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33022 if test "x$ac_cv_func__finitel" = x""yes; then :
33023 cat >>confdefs.h <<_ACEOF
33024 #define HAVE__FINITEL 1
33025 _ACEOF
33028 done
33036 LIBS="$ac_save_LIBS"
33037 CXXFLAGS="$ac_save_CXXFLAGS"
33040 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33041 ac_save_CXXFLAGS="$CXXFLAGS"
33042 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33046 $as_echo_n "checking for strtold declaration... " >&6; }
33047 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33048 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33049 $as_echo_n "(cached) " >&6
33050 else
33053 ac_ext=cpp
33054 ac_cpp='$CXXCPP $CPPFLAGS'
33055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33060 /* end confdefs.h. */
33061 #include <stdlib.h>
33063 main ()
33065 strtold(0, 0);
33067 return 0;
33069 _ACEOF
33070 if ac_fn_cxx_try_compile "$LINENO"; then :
33071 glibcxx_cv_func_strtold_use=yes
33072 else
33073 glibcxx_cv_func_strtold_use=no
33075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33076 ac_ext=c
33077 ac_cpp='$CPP $CPPFLAGS'
33078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33087 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33088 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33089 for ac_func in strtold
33090 do :
33091 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33092 if test "x$ac_cv_func_strtold" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_STRTOLD 1
33095 _ACEOF
33098 done
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33106 $as_echo_n "checking for strtof declaration... " >&6; }
33107 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33108 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33109 $as_echo_n "(cached) " >&6
33110 else
33113 ac_ext=cpp
33114 ac_cpp='$CXXCPP $CPPFLAGS'
33115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33120 /* end confdefs.h. */
33121 #include <stdlib.h>
33123 main ()
33125 strtof(0, 0);
33127 return 0;
33129 _ACEOF
33130 if ac_fn_cxx_try_compile "$LINENO"; then :
33131 glibcxx_cv_func_strtof_use=yes
33132 else
33133 glibcxx_cv_func_strtof_use=no
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136 ac_ext=c
33137 ac_cpp='$CPP $CPPFLAGS'
33138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33147 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33148 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33149 for ac_func in strtof
33150 do :
33151 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33152 if test "x$ac_cv_func_strtof" = x""yes; then :
33153 cat >>confdefs.h <<_ACEOF
33154 #define HAVE_STRTOF 1
33155 _ACEOF
33158 done
33165 CXXFLAGS="$ac_save_CXXFLAGS"
33168 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33170 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33172 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33174 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33177 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33179 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33181 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33185 *-aix*)
33187 # If we're not using GNU ld, then there's no point in even trying these
33188 # tests. Check for that first. We should have already tested for gld
33189 # by now (in libtool), but require it now just to be safe...
33190 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33191 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33195 # The name set by libtool depends on the version of libtool. Shame on us
33196 # for depending on an impl detail, but c'est la vie. Older versions used
33197 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33198 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33199 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33200 # set (hence we're using an older libtool), then set it.
33201 if test x${with_gnu_ld+set} != xset; then
33202 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33203 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33204 with_gnu_ld=no
33205 else
33206 with_gnu_ld=$ac_cv_prog_gnu_ld
33210 # Start by getting the version number. I think the libtool test already
33211 # does some of this, but throws away the result.
33212 glibcxx_ld_is_gold=no
33213 if test x"$with_gnu_ld" = x"yes"; then
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33215 $as_echo_n "checking for ld version... " >&6; }
33217 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33218 glibcxx_ld_is_gold=yes
33220 ldver=`$LD --version 2>/dev/null |
33221 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'`
33223 glibcxx_gnu_ld_version=`echo $ldver | \
33224 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33226 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33229 # Set --gc-sections.
33230 glibcxx_have_gc_sections=no
33231 if test "$glibcxx_ld_is_gold" = "yes"; then
33232 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33233 glibcxx_have_gc_sections=yes
33235 else
33236 glibcxx_gcsections_min_ld=21602
33237 if test x"$with_gnu_ld" = x"yes" &&
33238 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33239 glibcxx_have_gc_sections=yes
33242 if test "$glibcxx_have_gc_sections" = "yes"; then
33243 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33244 # NB: This flag only works reliably after 2.16.1. Configure tests
33245 # for this are difficult, so hard wire a value that should work.
33247 ac_test_CFLAGS="${CFLAGS+set}"
33248 ac_save_CFLAGS="$CFLAGS"
33249 CFLAGS='-Wl,--gc-sections'
33251 # Check for -Wl,--gc-sections
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33253 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33254 if test x$gcc_no_link = xyes; then
33255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 int one(void) { return 1; }
33260 int two(void) { return 2; }
33263 main ()
33265 two();
33267 return 0;
33269 _ACEOF
33270 if ac_fn_c_try_link "$LINENO"; then :
33271 ac_gcsections=yes
33272 else
33273 ac_gcsections=no
33275 rm -f core conftest.err conftest.$ac_objext \
33276 conftest$ac_exeext conftest.$ac_ext
33277 if test "$ac_gcsections" = "yes"; then
33278 rm -f conftest.c
33279 touch conftest.c
33280 if $CC -c conftest.c; then
33281 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33282 grep "Warning: gc-sections option ignored" > /dev/null; then
33283 ac_gcsections=no
33286 rm -f conftest.c conftest.o conftest
33288 if test "$ac_gcsections" = "yes"; then
33289 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33292 $as_echo "$ac_gcsections" >&6; }
33294 if test "$ac_test_CFLAGS" = set; then
33295 CFLAGS="$ac_save_CFLAGS"
33296 else
33297 # this is the suspicious part
33298 CFLAGS=''
33302 # Set -z,relro.
33303 # Note this is only for shared objects.
33304 ac_ld_relro=no
33305 if test x"$with_gnu_ld" = x"yes"; then
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33307 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33308 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33309 if test -n "$cxx_z_relo"; then
33310 OPT_LDFLAGS="-Wl,-z,relro"
33311 ac_ld_relro=yes
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33314 $as_echo "$ac_ld_relro" >&6; }
33317 # Set linker optimization flags.
33318 if test x"$with_gnu_ld" = x"yes"; then
33319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33327 ac_save_CXXFLAGS="$CXXFLAGS"
33328 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33331 $as_echo_n "checking for sin in -lm... " >&6; }
33332 if test "${ac_cv_lib_m_sin+set}" = set; then :
33333 $as_echo_n "(cached) " >&6
33334 else
33335 ac_check_lib_save_LIBS=$LIBS
33336 LIBS="-lm $LIBS"
33337 if test x$gcc_no_link = xyes; then
33338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33343 /* Override any GCC internal prototype to avoid an error.
33344 Use char because int might match the return type of a GCC
33345 builtin and then its argument prototype would still apply. */
33346 #ifdef __cplusplus
33347 extern "C"
33348 #endif
33349 char sin ();
33351 main ()
33353 return sin ();
33355 return 0;
33357 _ACEOF
33358 if ac_fn_c_try_link "$LINENO"; then :
33359 ac_cv_lib_m_sin=yes
33360 else
33361 ac_cv_lib_m_sin=no
33363 rm -f core conftest.err conftest.$ac_objext \
33364 conftest$ac_exeext conftest.$ac_ext
33365 LIBS=$ac_check_lib_save_LIBS
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33368 $as_echo "$ac_cv_lib_m_sin" >&6; }
33369 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33370 libm="-lm"
33373 ac_save_LIBS="$LIBS"
33374 LIBS="$LIBS $libm"
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33379 $as_echo_n "checking for isinf declaration... " >&6; }
33380 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33381 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33382 $as_echo_n "(cached) " >&6
33383 else
33386 ac_ext=cpp
33387 ac_cpp='$CXXCPP $CPPFLAGS'
33388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393 /* end confdefs.h. */
33394 #include <math.h>
33395 #ifdef HAVE_IEEEFP_H
33396 #include <ieeefp.h>
33397 #endif
33400 main ()
33402 isinf(0);
33404 return 0;
33406 _ACEOF
33407 if ac_fn_cxx_try_compile "$LINENO"; then :
33408 glibcxx_cv_func_isinf_use=yes
33409 else
33410 glibcxx_cv_func_isinf_use=no
33412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413 ac_ext=c
33414 ac_cpp='$CPP $CPPFLAGS'
33415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33424 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33426 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33427 for ac_func in isinf
33428 do :
33429 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33430 if test "x$ac_cv_func_isinf" = x""yes; then :
33431 cat >>confdefs.h <<_ACEOF
33432 #define HAVE_ISINF 1
33433 _ACEOF
33436 done
33438 else
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33441 $as_echo_n "checking for _isinf declaration... " >&6; }
33442 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33443 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33444 $as_echo_n "(cached) " >&6
33445 else
33448 ac_ext=cpp
33449 ac_cpp='$CXXCPP $CPPFLAGS'
33450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33455 /* end confdefs.h. */
33456 #include <math.h>
33457 #ifdef HAVE_IEEEFP_H
33458 #include <ieeefp.h>
33459 #endif
33462 main ()
33464 _isinf(0);
33466 return 0;
33468 _ACEOF
33469 if ac_fn_cxx_try_compile "$LINENO"; then :
33470 glibcxx_cv_func__isinf_use=yes
33471 else
33472 glibcxx_cv_func__isinf_use=no
33474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33486 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33488 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33489 for ac_func in _isinf
33490 do :
33491 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33492 if test "x$ac_cv_func__isinf" = x""yes; then :
33493 cat >>confdefs.h <<_ACEOF
33494 #define HAVE__ISINF 1
33495 _ACEOF
33498 done
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33508 $as_echo_n "checking for isnan declaration... " >&6; }
33509 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33510 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33511 $as_echo_n "(cached) " >&6
33512 else
33515 ac_ext=cpp
33516 ac_cpp='$CXXCPP $CPPFLAGS'
33517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h. */
33523 #include <math.h>
33524 #ifdef HAVE_IEEEFP_H
33525 #include <ieeefp.h>
33526 #endif
33529 main ()
33531 isnan(0);
33533 return 0;
33535 _ACEOF
33536 if ac_fn_cxx_try_compile "$LINENO"; then :
33537 glibcxx_cv_func_isnan_use=yes
33538 else
33539 glibcxx_cv_func_isnan_use=no
33541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542 ac_ext=c
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33553 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33555 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33556 for ac_func in isnan
33557 do :
33558 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33559 if test "x$ac_cv_func_isnan" = x""yes; then :
33560 cat >>confdefs.h <<_ACEOF
33561 #define HAVE_ISNAN 1
33562 _ACEOF
33565 done
33567 else
33569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33570 $as_echo_n "checking for _isnan declaration... " >&6; }
33571 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33572 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33573 $as_echo_n "(cached) " >&6
33574 else
33577 ac_ext=cpp
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33584 /* end confdefs.h. */
33585 #include <math.h>
33586 #ifdef HAVE_IEEEFP_H
33587 #include <ieeefp.h>
33588 #endif
33591 main ()
33593 _isnan(0);
33595 return 0;
33597 _ACEOF
33598 if ac_fn_cxx_try_compile "$LINENO"; then :
33599 glibcxx_cv_func__isnan_use=yes
33600 else
33601 glibcxx_cv_func__isnan_use=no
33603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33604 ac_ext=c
33605 ac_cpp='$CPP $CPPFLAGS'
33606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33615 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33617 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33618 for ac_func in _isnan
33619 do :
33620 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33621 if test "x$ac_cv_func__isnan" = x""yes; then :
33622 cat >>confdefs.h <<_ACEOF
33623 #define HAVE__ISNAN 1
33624 _ACEOF
33627 done
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33637 $as_echo_n "checking for finite declaration... " >&6; }
33638 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33639 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33640 $as_echo_n "(cached) " >&6
33641 else
33644 ac_ext=cpp
33645 ac_cpp='$CXXCPP $CPPFLAGS'
33646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33651 /* end confdefs.h. */
33652 #include <math.h>
33653 #ifdef HAVE_IEEEFP_H
33654 #include <ieeefp.h>
33655 #endif
33658 main ()
33660 finite(0);
33662 return 0;
33664 _ACEOF
33665 if ac_fn_cxx_try_compile "$LINENO"; then :
33666 glibcxx_cv_func_finite_use=yes
33667 else
33668 glibcxx_cv_func_finite_use=no
33670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33671 ac_ext=c
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33682 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33684 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33685 for ac_func in finite
33686 do :
33687 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33688 if test "x$ac_cv_func_finite" = x""yes; then :
33689 cat >>confdefs.h <<_ACEOF
33690 #define HAVE_FINITE 1
33691 _ACEOF
33694 done
33696 else
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33699 $as_echo_n "checking for _finite declaration... " >&6; }
33700 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33701 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33702 $as_echo_n "(cached) " >&6
33703 else
33706 ac_ext=cpp
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33713 /* end confdefs.h. */
33714 #include <math.h>
33715 #ifdef HAVE_IEEEFP_H
33716 #include <ieeefp.h>
33717 #endif
33720 main ()
33722 _finite(0);
33724 return 0;
33726 _ACEOF
33727 if ac_fn_cxx_try_compile "$LINENO"; then :
33728 glibcxx_cv_func__finite_use=yes
33729 else
33730 glibcxx_cv_func__finite_use=no
33732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33733 ac_ext=c
33734 ac_cpp='$CPP $CPPFLAGS'
33735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33744 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33746 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33747 for ac_func in _finite
33748 do :
33749 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33750 if test "x$ac_cv_func__finite" = x""yes; then :
33751 cat >>confdefs.h <<_ACEOF
33752 #define HAVE__FINITE 1
33753 _ACEOF
33756 done
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33766 $as_echo_n "checking for sincos declaration... " >&6; }
33767 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33768 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33769 $as_echo_n "(cached) " >&6
33770 else
33773 ac_ext=cpp
33774 ac_cpp='$CXXCPP $CPPFLAGS'
33775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33780 /* end confdefs.h. */
33781 #include <math.h>
33783 main ()
33785 sincos(0, 0, 0);
33787 return 0;
33789 _ACEOF
33790 if ac_fn_cxx_try_compile "$LINENO"; then :
33791 glibcxx_cv_func_sincos_use=yes
33792 else
33793 glibcxx_cv_func_sincos_use=no
33795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33796 ac_ext=c
33797 ac_cpp='$CPP $CPPFLAGS'
33798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33807 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33809 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33810 for ac_func in sincos
33811 do :
33812 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33813 if test "x$ac_cv_func_sincos" = x""yes; then :
33814 cat >>confdefs.h <<_ACEOF
33815 #define HAVE_SINCOS 1
33816 _ACEOF
33819 done
33821 else
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33824 $as_echo_n "checking for _sincos declaration... " >&6; }
33825 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33826 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33827 $as_echo_n "(cached) " >&6
33828 else
33831 ac_ext=cpp
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33838 /* end confdefs.h. */
33839 #include <math.h>
33841 main ()
33843 _sincos(0, 0, 0);
33845 return 0;
33847 _ACEOF
33848 if ac_fn_cxx_try_compile "$LINENO"; then :
33849 glibcxx_cv_func__sincos_use=yes
33850 else
33851 glibcxx_cv_func__sincos_use=no
33853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33854 ac_ext=c
33855 ac_cpp='$CPP $CPPFLAGS'
33856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33865 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33867 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33868 for ac_func in _sincos
33869 do :
33870 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33871 if test "x$ac_cv_func__sincos" = x""yes; then :
33872 cat >>confdefs.h <<_ACEOF
33873 #define HAVE__SINCOS 1
33874 _ACEOF
33877 done
33886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33887 $as_echo_n "checking for fpclass declaration... " >&6; }
33888 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33889 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33890 $as_echo_n "(cached) " >&6
33891 else
33894 ac_ext=cpp
33895 ac_cpp='$CXXCPP $CPPFLAGS'
33896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33901 /* end confdefs.h. */
33902 #include <math.h>
33903 #ifdef HAVE_IEEEFP_H
33904 #include <ieeefp.h>
33905 #endif
33908 main ()
33910 fpclass(0);
33912 return 0;
33914 _ACEOF
33915 if ac_fn_cxx_try_compile "$LINENO"; then :
33916 glibcxx_cv_func_fpclass_use=yes
33917 else
33918 glibcxx_cv_func_fpclass_use=no
33920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921 ac_ext=c
33922 ac_cpp='$CPP $CPPFLAGS'
33923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33932 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33934 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33935 for ac_func in fpclass
33936 do :
33937 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33938 if test "x$ac_cv_func_fpclass" = x""yes; then :
33939 cat >>confdefs.h <<_ACEOF
33940 #define HAVE_FPCLASS 1
33941 _ACEOF
33944 done
33946 else
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33949 $as_echo_n "checking for _fpclass declaration... " >&6; }
33950 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33951 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33952 $as_echo_n "(cached) " >&6
33953 else
33956 ac_ext=cpp
33957 ac_cpp='$CXXCPP $CPPFLAGS'
33958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33963 /* end confdefs.h. */
33964 #include <math.h>
33965 #ifdef HAVE_IEEEFP_H
33966 #include <ieeefp.h>
33967 #endif
33970 main ()
33972 _fpclass(0);
33974 return 0;
33976 _ACEOF
33977 if ac_fn_cxx_try_compile "$LINENO"; then :
33978 glibcxx_cv_func__fpclass_use=yes
33979 else
33980 glibcxx_cv_func__fpclass_use=no
33982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33983 ac_ext=c
33984 ac_cpp='$CPP $CPPFLAGS'
33985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33994 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33996 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33997 for ac_func in _fpclass
33998 do :
33999 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34000 if test "x$ac_cv_func__fpclass" = x""yes; then :
34001 cat >>confdefs.h <<_ACEOF
34002 #define HAVE__FPCLASS 1
34003 _ACEOF
34006 done
34015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34016 $as_echo_n "checking for qfpclass declaration... " >&6; }
34017 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34018 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34019 $as_echo_n "(cached) " >&6
34020 else
34023 ac_ext=cpp
34024 ac_cpp='$CXXCPP $CPPFLAGS'
34025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34030 /* end confdefs.h. */
34031 #include <math.h>
34032 #ifdef HAVE_IEEEFP_H
34033 #include <ieeefp.h>
34034 #endif
34037 main ()
34039 qfpclass(0);
34041 return 0;
34043 _ACEOF
34044 if ac_fn_cxx_try_compile "$LINENO"; then :
34045 glibcxx_cv_func_qfpclass_use=yes
34046 else
34047 glibcxx_cv_func_qfpclass_use=no
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050 ac_ext=c
34051 ac_cpp='$CPP $CPPFLAGS'
34052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34061 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34063 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34064 for ac_func in qfpclass
34065 do :
34066 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34067 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34068 cat >>confdefs.h <<_ACEOF
34069 #define HAVE_QFPCLASS 1
34070 _ACEOF
34073 done
34075 else
34077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34078 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34079 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34080 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34081 $as_echo_n "(cached) " >&6
34082 else
34085 ac_ext=cpp
34086 ac_cpp='$CXXCPP $CPPFLAGS'
34087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34092 /* end confdefs.h. */
34093 #include <math.h>
34094 #ifdef HAVE_IEEEFP_H
34095 #include <ieeefp.h>
34096 #endif
34099 main ()
34101 _qfpclass(0);
34103 return 0;
34105 _ACEOF
34106 if ac_fn_cxx_try_compile "$LINENO"; then :
34107 glibcxx_cv_func__qfpclass_use=yes
34108 else
34109 glibcxx_cv_func__qfpclass_use=no
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112 ac_ext=c
34113 ac_cpp='$CPP $CPPFLAGS'
34114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34123 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34125 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34126 for ac_func in _qfpclass
34127 do :
34128 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34129 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34130 cat >>confdefs.h <<_ACEOF
34131 #define HAVE__QFPCLASS 1
34132 _ACEOF
34135 done
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34145 $as_echo_n "checking for hypot declaration... " >&6; }
34146 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34147 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34148 $as_echo_n "(cached) " >&6
34149 else
34152 ac_ext=cpp
34153 ac_cpp='$CXXCPP $CPPFLAGS'
34154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34159 /* end confdefs.h. */
34160 #include <math.h>
34162 main ()
34164 hypot(0, 0);
34166 return 0;
34168 _ACEOF
34169 if ac_fn_cxx_try_compile "$LINENO"; then :
34170 glibcxx_cv_func_hypot_use=yes
34171 else
34172 glibcxx_cv_func_hypot_use=no
34174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34175 ac_ext=c
34176 ac_cpp='$CPP $CPPFLAGS'
34177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34186 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34188 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34189 for ac_func in hypot
34190 do :
34191 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34192 if test "x$ac_cv_func_hypot" = x""yes; then :
34193 cat >>confdefs.h <<_ACEOF
34194 #define HAVE_HYPOT 1
34195 _ACEOF
34198 done
34200 else
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34203 $as_echo_n "checking for _hypot declaration... " >&6; }
34204 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34205 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34206 $as_echo_n "(cached) " >&6
34207 else
34210 ac_ext=cpp
34211 ac_cpp='$CXXCPP $CPPFLAGS'
34212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34217 /* end confdefs.h. */
34218 #include <math.h>
34220 main ()
34222 _hypot(0, 0);
34224 return 0;
34226 _ACEOF
34227 if ac_fn_cxx_try_compile "$LINENO"; then :
34228 glibcxx_cv_func__hypot_use=yes
34229 else
34230 glibcxx_cv_func__hypot_use=no
34232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34233 ac_ext=c
34234 ac_cpp='$CPP $CPPFLAGS'
34235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34244 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34246 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34247 for ac_func in _hypot
34248 do :
34249 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34250 if test "x$ac_cv_func__hypot" = x""yes; then :
34251 cat >>confdefs.h <<_ACEOF
34252 #define HAVE__HYPOT 1
34253 _ACEOF
34256 done
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34266 $as_echo_n "checking for float trig functions... " >&6; }
34267 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34268 $as_echo_n "(cached) " >&6
34269 else
34272 ac_ext=cpp
34273 ac_cpp='$CXXCPP $CPPFLAGS'
34274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34279 /* end confdefs.h. */
34280 #include <math.h>
34282 main ()
34284 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34286 return 0;
34288 _ACEOF
34289 if ac_fn_cxx_try_compile "$LINENO"; then :
34290 glibcxx_cv_func_float_trig_use=yes
34291 else
34292 glibcxx_cv_func_float_trig_use=no
34294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34295 ac_ext=c
34296 ac_cpp='$CPP $CPPFLAGS'
34297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34304 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34305 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34306 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34307 do :
34308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34310 eval as_val=\$$as_ac_var
34311 if test "x$as_val" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34314 _ACEOF
34317 done
34319 else
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34321 $as_echo_n "checking for _float trig functions... " >&6; }
34322 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34337 main ()
34339 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func__float_trig_use=yes
34346 else
34347 glibcxx_cv_func__float_trig_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34359 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34360 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34361 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34362 do :
34363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34365 eval as_val=\$$as_ac_var
34366 if test "x$as_val" = x""yes; then :
34367 cat >>confdefs.h <<_ACEOF
34368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34369 _ACEOF
34372 done
34381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34382 $as_echo_n "checking for float round functions... " >&6; }
34383 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34384 $as_echo_n "(cached) " >&6
34385 else
34388 ac_ext=cpp
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 /* end confdefs.h. */
34396 #include <math.h>
34398 main ()
34400 ceilf (0); floorf (0);
34402 return 0;
34404 _ACEOF
34405 if ac_fn_cxx_try_compile "$LINENO"; then :
34406 glibcxx_cv_func_float_round_use=yes
34407 else
34408 glibcxx_cv_func_float_round_use=no
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 ac_ext=c
34412 ac_cpp='$CPP $CPPFLAGS'
34413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34420 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34421 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34422 for ac_func in ceilf floorf
34423 do :
34424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34426 eval as_val=\$$as_ac_var
34427 if test "x$as_val" = x""yes; then :
34428 cat >>confdefs.h <<_ACEOF
34429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34430 _ACEOF
34433 done
34435 else
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34437 $as_echo_n "checking for _float round functions... " >&6; }
34438 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34439 $as_echo_n "(cached) " >&6
34440 else
34443 ac_ext=cpp
34444 ac_cpp='$CXXCPP $CPPFLAGS'
34445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34450 /* end confdefs.h. */
34451 #include <math.h>
34453 main ()
34455 _ceilf (0); _floorf (0);
34457 return 0;
34459 _ACEOF
34460 if ac_fn_cxx_try_compile "$LINENO"; then :
34461 glibcxx_cv_func__float_round_use=yes
34462 else
34463 glibcxx_cv_func__float_round_use=no
34465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466 ac_ext=c
34467 ac_cpp='$CPP $CPPFLAGS'
34468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34476 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34477 for ac_func in _ceilf _floorf
34478 do :
34479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34481 eval as_val=\$$as_ac_var
34482 if test "x$as_val" = x""yes; then :
34483 cat >>confdefs.h <<_ACEOF
34484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34485 _ACEOF
34488 done
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34499 $as_echo_n "checking for expf declaration... " >&6; }
34500 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34501 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34502 $as_echo_n "(cached) " >&6
34503 else
34506 ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h. */
34514 #include <math.h>
34515 #ifdef HAVE_IEEEFP_H
34516 #include <ieeefp.h>
34517 #endif
34520 main ()
34522 expf(0);
34524 return 0;
34526 _ACEOF
34527 if ac_fn_cxx_try_compile "$LINENO"; then :
34528 glibcxx_cv_func_expf_use=yes
34529 else
34530 glibcxx_cv_func_expf_use=no
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 ac_ext=c
34534 ac_cpp='$CPP $CPPFLAGS'
34535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34544 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34546 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34547 for ac_func in expf
34548 do :
34549 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34550 if test "x$ac_cv_func_expf" = x""yes; then :
34551 cat >>confdefs.h <<_ACEOF
34552 #define HAVE_EXPF 1
34553 _ACEOF
34556 done
34558 else
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34561 $as_echo_n "checking for _expf declaration... " >&6; }
34562 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34563 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34564 $as_echo_n "(cached) " >&6
34565 else
34568 ac_ext=cpp
34569 ac_cpp='$CXXCPP $CPPFLAGS'
34570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34575 /* end confdefs.h. */
34576 #include <math.h>
34577 #ifdef HAVE_IEEEFP_H
34578 #include <ieeefp.h>
34579 #endif
34582 main ()
34584 _expf(0);
34586 return 0;
34588 _ACEOF
34589 if ac_fn_cxx_try_compile "$LINENO"; then :
34590 glibcxx_cv_func__expf_use=yes
34591 else
34592 glibcxx_cv_func__expf_use=no
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595 ac_ext=c
34596 ac_cpp='$CPP $CPPFLAGS'
34597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34606 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34608 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34609 for ac_func in _expf
34610 do :
34611 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34612 if test "x$ac_cv_func__expf" = x""yes; then :
34613 cat >>confdefs.h <<_ACEOF
34614 #define HAVE__EXPF 1
34615 _ACEOF
34618 done
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34628 $as_echo_n "checking for isnanf declaration... " >&6; }
34629 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34630 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34631 $as_echo_n "(cached) " >&6
34632 else
34635 ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h. */
34643 #include <math.h>
34644 #ifdef HAVE_IEEEFP_H
34645 #include <ieeefp.h>
34646 #endif
34649 main ()
34651 isnanf(0);
34653 return 0;
34655 _ACEOF
34656 if ac_fn_cxx_try_compile "$LINENO"; then :
34657 glibcxx_cv_func_isnanf_use=yes
34658 else
34659 glibcxx_cv_func_isnanf_use=no
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662 ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34673 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34675 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34676 for ac_func in isnanf
34677 do :
34678 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34679 if test "x$ac_cv_func_isnanf" = x""yes; then :
34680 cat >>confdefs.h <<_ACEOF
34681 #define HAVE_ISNANF 1
34682 _ACEOF
34685 done
34687 else
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34690 $as_echo_n "checking for _isnanf declaration... " >&6; }
34691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34693 $as_echo_n "(cached) " >&6
34694 else
34697 ac_ext=cpp
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34705 #include <math.h>
34706 #ifdef HAVE_IEEEFP_H
34707 #include <ieeefp.h>
34708 #endif
34711 main ()
34713 _isnanf(0);
34715 return 0;
34717 _ACEOF
34718 if ac_fn_cxx_try_compile "$LINENO"; then :
34719 glibcxx_cv_func__isnanf_use=yes
34720 else
34721 glibcxx_cv_func__isnanf_use=no
34723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724 ac_ext=c
34725 ac_cpp='$CPP $CPPFLAGS'
34726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34735 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34737 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34738 for ac_func in _isnanf
34739 do :
34740 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34741 if test "x$ac_cv_func__isnanf" = x""yes; then :
34742 cat >>confdefs.h <<_ACEOF
34743 #define HAVE__ISNANF 1
34744 _ACEOF
34747 done
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34757 $as_echo_n "checking for isinff declaration... " >&6; }
34758 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34759 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34760 $as_echo_n "(cached) " >&6
34761 else
34764 ac_ext=cpp
34765 ac_cpp='$CXXCPP $CPPFLAGS'
34766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34771 /* end confdefs.h. */
34772 #include <math.h>
34773 #ifdef HAVE_IEEEFP_H
34774 #include <ieeefp.h>
34775 #endif
34778 main ()
34780 isinff(0);
34782 return 0;
34784 _ACEOF
34785 if ac_fn_cxx_try_compile "$LINENO"; then :
34786 glibcxx_cv_func_isinff_use=yes
34787 else
34788 glibcxx_cv_func_isinff_use=no
34790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34791 ac_ext=c
34792 ac_cpp='$CPP $CPPFLAGS'
34793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34802 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34804 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34805 for ac_func in isinff
34806 do :
34807 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34808 if test "x$ac_cv_func_isinff" = x""yes; then :
34809 cat >>confdefs.h <<_ACEOF
34810 #define HAVE_ISINFF 1
34811 _ACEOF
34814 done
34816 else
34818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34819 $as_echo_n "checking for _isinff declaration... " >&6; }
34820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34822 $as_echo_n "(cached) " >&6
34823 else
34826 ac_ext=cpp
34827 ac_cpp='$CXXCPP $CPPFLAGS'
34828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34833 /* end confdefs.h. */
34834 #include <math.h>
34835 #ifdef HAVE_IEEEFP_H
34836 #include <ieeefp.h>
34837 #endif
34840 main ()
34842 _isinff(0);
34844 return 0;
34846 _ACEOF
34847 if ac_fn_cxx_try_compile "$LINENO"; then :
34848 glibcxx_cv_func__isinff_use=yes
34849 else
34850 glibcxx_cv_func__isinff_use=no
34852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34853 ac_ext=c
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34864 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34866 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34867 for ac_func in _isinff
34868 do :
34869 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34870 if test "x$ac_cv_func__isinff" = x""yes; then :
34871 cat >>confdefs.h <<_ACEOF
34872 #define HAVE__ISINFF 1
34873 _ACEOF
34876 done
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34886 $as_echo_n "checking for atan2f declaration... " >&6; }
34887 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34888 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34889 $as_echo_n "(cached) " >&6
34890 else
34893 ac_ext=cpp
34894 ac_cpp='$CXXCPP $CPPFLAGS'
34895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h. */
34901 #include <math.h>
34903 main ()
34905 atan2f(0, 0);
34907 return 0;
34909 _ACEOF
34910 if ac_fn_cxx_try_compile "$LINENO"; then :
34911 glibcxx_cv_func_atan2f_use=yes
34912 else
34913 glibcxx_cv_func_atan2f_use=no
34915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34916 ac_ext=c
34917 ac_cpp='$CPP $CPPFLAGS'
34918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34927 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34929 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34930 for ac_func in atan2f
34931 do :
34932 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34933 if test "x$ac_cv_func_atan2f" = x""yes; then :
34934 cat >>confdefs.h <<_ACEOF
34935 #define HAVE_ATAN2F 1
34936 _ACEOF
34939 done
34941 else
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34944 $as_echo_n "checking for _atan2f declaration... " >&6; }
34945 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34946 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34947 $as_echo_n "(cached) " >&6
34948 else
34951 ac_ext=cpp
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h. */
34959 #include <math.h>
34961 main ()
34963 _atan2f(0, 0);
34965 return 0;
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func__atan2f_use=yes
34970 else
34971 glibcxx_cv_func__atan2f_use=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34985 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34987 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34988 for ac_func in _atan2f
34989 do :
34990 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34991 if test "x$ac_cv_func__atan2f" = x""yes; then :
34992 cat >>confdefs.h <<_ACEOF
34993 #define HAVE__ATAN2F 1
34994 _ACEOF
34997 done
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35007 $as_echo_n "checking for fabsf declaration... " >&6; }
35008 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35009 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35010 $as_echo_n "(cached) " >&6
35011 else
35014 ac_ext=cpp
35015 ac_cpp='$CXXCPP $CPPFLAGS'
35016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35021 /* end confdefs.h. */
35022 #include <math.h>
35023 #ifdef HAVE_IEEEFP_H
35024 #include <ieeefp.h>
35025 #endif
35028 main ()
35030 fabsf(0);
35032 return 0;
35034 _ACEOF
35035 if ac_fn_cxx_try_compile "$LINENO"; then :
35036 glibcxx_cv_func_fabsf_use=yes
35037 else
35038 glibcxx_cv_func_fabsf_use=no
35040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35041 ac_ext=c
35042 ac_cpp='$CPP $CPPFLAGS'
35043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35052 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35054 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35055 for ac_func in fabsf
35056 do :
35057 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35058 if test "x$ac_cv_func_fabsf" = x""yes; then :
35059 cat >>confdefs.h <<_ACEOF
35060 #define HAVE_FABSF 1
35061 _ACEOF
35064 done
35066 else
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35069 $as_echo_n "checking for _fabsf declaration... " >&6; }
35070 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35071 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35072 $as_echo_n "(cached) " >&6
35073 else
35076 ac_ext=cpp
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35083 /* end confdefs.h. */
35084 #include <math.h>
35085 #ifdef HAVE_IEEEFP_H
35086 #include <ieeefp.h>
35087 #endif
35090 main ()
35092 _fabsf(0);
35094 return 0;
35096 _ACEOF
35097 if ac_fn_cxx_try_compile "$LINENO"; then :
35098 glibcxx_cv_func__fabsf_use=yes
35099 else
35100 glibcxx_cv_func__fabsf_use=no
35102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35103 ac_ext=c
35104 ac_cpp='$CPP $CPPFLAGS'
35105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35114 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35116 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35117 for ac_func in _fabsf
35118 do :
35119 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35120 if test "x$ac_cv_func__fabsf" = x""yes; then :
35121 cat >>confdefs.h <<_ACEOF
35122 #define HAVE__FABSF 1
35123 _ACEOF
35126 done
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35136 $as_echo_n "checking for fmodf declaration... " >&6; }
35137 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35138 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35139 $as_echo_n "(cached) " >&6
35140 else
35143 ac_ext=cpp
35144 ac_cpp='$CXXCPP $CPPFLAGS'
35145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35150 /* end confdefs.h. */
35151 #include <math.h>
35153 main ()
35155 fmodf(0, 0);
35157 return 0;
35159 _ACEOF
35160 if ac_fn_cxx_try_compile "$LINENO"; then :
35161 glibcxx_cv_func_fmodf_use=yes
35162 else
35163 glibcxx_cv_func_fmodf_use=no
35165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35166 ac_ext=c
35167 ac_cpp='$CPP $CPPFLAGS'
35168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35177 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35179 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35180 for ac_func in fmodf
35181 do :
35182 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35183 if test "x$ac_cv_func_fmodf" = x""yes; then :
35184 cat >>confdefs.h <<_ACEOF
35185 #define HAVE_FMODF 1
35186 _ACEOF
35189 done
35191 else
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35194 $as_echo_n "checking for _fmodf declaration... " >&6; }
35195 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35196 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35197 $as_echo_n "(cached) " >&6
35198 else
35201 ac_ext=cpp
35202 ac_cpp='$CXXCPP $CPPFLAGS'
35203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35208 /* end confdefs.h. */
35209 #include <math.h>
35211 main ()
35213 _fmodf(0, 0);
35215 return 0;
35217 _ACEOF
35218 if ac_fn_cxx_try_compile "$LINENO"; then :
35219 glibcxx_cv_func__fmodf_use=yes
35220 else
35221 glibcxx_cv_func__fmodf_use=no
35223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35224 ac_ext=c
35225 ac_cpp='$CPP $CPPFLAGS'
35226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35235 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35237 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35238 for ac_func in _fmodf
35239 do :
35240 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35241 if test "x$ac_cv_func__fmodf" = x""yes; then :
35242 cat >>confdefs.h <<_ACEOF
35243 #define HAVE__FMODF 1
35244 _ACEOF
35247 done
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35257 $as_echo_n "checking for frexpf declaration... " >&6; }
35258 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35259 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35260 $as_echo_n "(cached) " >&6
35261 else
35264 ac_ext=cpp
35265 ac_cpp='$CXXCPP $CPPFLAGS'
35266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35271 /* end confdefs.h. */
35272 #include <math.h>
35274 main ()
35276 frexpf(0, 0);
35278 return 0;
35280 _ACEOF
35281 if ac_fn_cxx_try_compile "$LINENO"; then :
35282 glibcxx_cv_func_frexpf_use=yes
35283 else
35284 glibcxx_cv_func_frexpf_use=no
35286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287 ac_ext=c
35288 ac_cpp='$CPP $CPPFLAGS'
35289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35298 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35300 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35301 for ac_func in frexpf
35302 do :
35303 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35304 if test "x$ac_cv_func_frexpf" = x""yes; then :
35305 cat >>confdefs.h <<_ACEOF
35306 #define HAVE_FREXPF 1
35307 _ACEOF
35310 done
35312 else
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35315 $as_echo_n "checking for _frexpf declaration... " >&6; }
35316 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35317 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35318 $as_echo_n "(cached) " >&6
35319 else
35322 ac_ext=cpp
35323 ac_cpp='$CXXCPP $CPPFLAGS'
35324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35329 /* end confdefs.h. */
35330 #include <math.h>
35332 main ()
35334 _frexpf(0, 0);
35336 return 0;
35338 _ACEOF
35339 if ac_fn_cxx_try_compile "$LINENO"; then :
35340 glibcxx_cv_func__frexpf_use=yes
35341 else
35342 glibcxx_cv_func__frexpf_use=no
35344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35345 ac_ext=c
35346 ac_cpp='$CPP $CPPFLAGS'
35347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35356 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35358 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35359 for ac_func in _frexpf
35360 do :
35361 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35362 if test "x$ac_cv_func__frexpf" = x""yes; then :
35363 cat >>confdefs.h <<_ACEOF
35364 #define HAVE__FREXPF 1
35365 _ACEOF
35368 done
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35378 $as_echo_n "checking for hypotf declaration... " >&6; }
35379 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35380 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35381 $as_echo_n "(cached) " >&6
35382 else
35385 ac_ext=cpp
35386 ac_cpp='$CXXCPP $CPPFLAGS'
35387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35392 /* end confdefs.h. */
35393 #include <math.h>
35395 main ()
35397 hypotf(0, 0);
35399 return 0;
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func_hypotf_use=yes
35404 else
35405 glibcxx_cv_func_hypotf_use=no
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408 ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35419 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35421 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35422 for ac_func in hypotf
35423 do :
35424 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35425 if test "x$ac_cv_func_hypotf" = x""yes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE_HYPOTF 1
35428 _ACEOF
35431 done
35433 else
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35436 $as_echo_n "checking for _hypotf declaration... " >&6; }
35437 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35438 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35439 $as_echo_n "(cached) " >&6
35440 else
35443 ac_ext=cpp
35444 ac_cpp='$CXXCPP $CPPFLAGS'
35445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35450 /* end confdefs.h. */
35451 #include <math.h>
35453 main ()
35455 _hypotf(0, 0);
35457 return 0;
35459 _ACEOF
35460 if ac_fn_cxx_try_compile "$LINENO"; then :
35461 glibcxx_cv_func__hypotf_use=yes
35462 else
35463 glibcxx_cv_func__hypotf_use=no
35465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35466 ac_ext=c
35467 ac_cpp='$CPP $CPPFLAGS'
35468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35477 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35479 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35480 for ac_func in _hypotf
35481 do :
35482 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35483 if test "x$ac_cv_func__hypotf" = x""yes; then :
35484 cat >>confdefs.h <<_ACEOF
35485 #define HAVE__HYPOTF 1
35486 _ACEOF
35489 done
35498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35499 $as_echo_n "checking for ldexpf declaration... " >&6; }
35500 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35501 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35502 $as_echo_n "(cached) " >&6
35503 else
35506 ac_ext=cpp
35507 ac_cpp='$CXXCPP $CPPFLAGS'
35508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35513 /* end confdefs.h. */
35514 #include <math.h>
35516 main ()
35518 ldexpf(0, 0);
35520 return 0;
35522 _ACEOF
35523 if ac_fn_cxx_try_compile "$LINENO"; then :
35524 glibcxx_cv_func_ldexpf_use=yes
35525 else
35526 glibcxx_cv_func_ldexpf_use=no
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 ac_ext=c
35530 ac_cpp='$CPP $CPPFLAGS'
35531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35540 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35542 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35543 for ac_func in ldexpf
35544 do :
35545 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35546 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35547 cat >>confdefs.h <<_ACEOF
35548 #define HAVE_LDEXPF 1
35549 _ACEOF
35552 done
35554 else
35556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35557 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35558 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35559 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35560 $as_echo_n "(cached) " >&6
35561 else
35564 ac_ext=cpp
35565 ac_cpp='$CXXCPP $CPPFLAGS'
35566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35571 /* end confdefs.h. */
35572 #include <math.h>
35574 main ()
35576 _ldexpf(0, 0);
35578 return 0;
35580 _ACEOF
35581 if ac_fn_cxx_try_compile "$LINENO"; then :
35582 glibcxx_cv_func__ldexpf_use=yes
35583 else
35584 glibcxx_cv_func__ldexpf_use=no
35586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587 ac_ext=c
35588 ac_cpp='$CPP $CPPFLAGS'
35589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35598 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35600 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35601 for ac_func in _ldexpf
35602 do :
35603 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35604 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35605 cat >>confdefs.h <<_ACEOF
35606 #define HAVE__LDEXPF 1
35607 _ACEOF
35610 done
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35620 $as_echo_n "checking for logf declaration... " >&6; }
35621 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35622 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35623 $as_echo_n "(cached) " >&6
35624 else
35627 ac_ext=cpp
35628 ac_cpp='$CXXCPP $CPPFLAGS'
35629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35634 /* end confdefs.h. */
35635 #include <math.h>
35636 #ifdef HAVE_IEEEFP_H
35637 #include <ieeefp.h>
35638 #endif
35641 main ()
35643 logf(0);
35645 return 0;
35647 _ACEOF
35648 if ac_fn_cxx_try_compile "$LINENO"; then :
35649 glibcxx_cv_func_logf_use=yes
35650 else
35651 glibcxx_cv_func_logf_use=no
35653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35654 ac_ext=c
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35665 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35668 for ac_func in logf
35669 do :
35670 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35671 if test "x$ac_cv_func_logf" = x""yes; then :
35672 cat >>confdefs.h <<_ACEOF
35673 #define HAVE_LOGF 1
35674 _ACEOF
35677 done
35679 else
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35682 $as_echo_n "checking for _logf declaration... " >&6; }
35683 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35684 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35685 $as_echo_n "(cached) " >&6
35686 else
35689 ac_ext=cpp
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35697 #include <math.h>
35698 #ifdef HAVE_IEEEFP_H
35699 #include <ieeefp.h>
35700 #endif
35703 main ()
35705 _logf(0);
35707 return 0;
35709 _ACEOF
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711 glibcxx_cv_func__logf_use=yes
35712 else
35713 glibcxx_cv_func__logf_use=no
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716 ac_ext=c
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35727 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35729 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35730 for ac_func in _logf
35731 do :
35732 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35733 if test "x$ac_cv_func__logf" = x""yes; then :
35734 cat >>confdefs.h <<_ACEOF
35735 #define HAVE__LOGF 1
35736 _ACEOF
35739 done
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35749 $as_echo_n "checking for log10f declaration... " >&6; }
35750 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35751 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35752 $as_echo_n "(cached) " >&6
35753 else
35756 ac_ext=cpp
35757 ac_cpp='$CXXCPP $CPPFLAGS'
35758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35763 /* end confdefs.h. */
35764 #include <math.h>
35765 #ifdef HAVE_IEEEFP_H
35766 #include <ieeefp.h>
35767 #endif
35770 main ()
35772 log10f(0);
35774 return 0;
35776 _ACEOF
35777 if ac_fn_cxx_try_compile "$LINENO"; then :
35778 glibcxx_cv_func_log10f_use=yes
35779 else
35780 glibcxx_cv_func_log10f_use=no
35782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35783 ac_ext=c
35784 ac_cpp='$CPP $CPPFLAGS'
35785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35794 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35796 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35797 for ac_func in log10f
35798 do :
35799 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35800 if test "x$ac_cv_func_log10f" = x""yes; then :
35801 cat >>confdefs.h <<_ACEOF
35802 #define HAVE_LOG10F 1
35803 _ACEOF
35806 done
35808 else
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35811 $as_echo_n "checking for _log10f declaration... " >&6; }
35812 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35813 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35814 $as_echo_n "(cached) " >&6
35815 else
35818 ac_ext=cpp
35819 ac_cpp='$CXXCPP $CPPFLAGS'
35820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35825 /* end confdefs.h. */
35826 #include <math.h>
35827 #ifdef HAVE_IEEEFP_H
35828 #include <ieeefp.h>
35829 #endif
35832 main ()
35834 _log10f(0);
35836 return 0;
35838 _ACEOF
35839 if ac_fn_cxx_try_compile "$LINENO"; then :
35840 glibcxx_cv_func__log10f_use=yes
35841 else
35842 glibcxx_cv_func__log10f_use=no
35844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35845 ac_ext=c
35846 ac_cpp='$CPP $CPPFLAGS'
35847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35856 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35859 for ac_func in _log10f
35860 do :
35861 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35862 if test "x$ac_cv_func__log10f" = x""yes; then :
35863 cat >>confdefs.h <<_ACEOF
35864 #define HAVE__LOG10F 1
35865 _ACEOF
35868 done
35877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35878 $as_echo_n "checking for modff declaration... " >&6; }
35879 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35880 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35881 $as_echo_n "(cached) " >&6
35882 else
35885 ac_ext=cpp
35886 ac_cpp='$CXXCPP $CPPFLAGS'
35887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35892 /* end confdefs.h. */
35893 #include <math.h>
35895 main ()
35897 modff(0, 0);
35899 return 0;
35901 _ACEOF
35902 if ac_fn_cxx_try_compile "$LINENO"; then :
35903 glibcxx_cv_func_modff_use=yes
35904 else
35905 glibcxx_cv_func_modff_use=no
35907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35908 ac_ext=c
35909 ac_cpp='$CPP $CPPFLAGS'
35910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35919 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35921 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35922 for ac_func in modff
35923 do :
35924 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35925 if test "x$ac_cv_func_modff" = x""yes; then :
35926 cat >>confdefs.h <<_ACEOF
35927 #define HAVE_MODFF 1
35928 _ACEOF
35931 done
35933 else
35935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35936 $as_echo_n "checking for _modff declaration... " >&6; }
35937 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35938 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35939 $as_echo_n "(cached) " >&6
35940 else
35943 ac_ext=cpp
35944 ac_cpp='$CXXCPP $CPPFLAGS'
35945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35950 /* end confdefs.h. */
35951 #include <math.h>
35953 main ()
35955 _modff(0, 0);
35957 return 0;
35959 _ACEOF
35960 if ac_fn_cxx_try_compile "$LINENO"; then :
35961 glibcxx_cv_func__modff_use=yes
35962 else
35963 glibcxx_cv_func__modff_use=no
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35966 ac_ext=c
35967 ac_cpp='$CPP $CPPFLAGS'
35968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35977 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35979 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35980 for ac_func in _modff
35981 do :
35982 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35983 if test "x$ac_cv_func__modff" = x""yes; then :
35984 cat >>confdefs.h <<_ACEOF
35985 #define HAVE__MODFF 1
35986 _ACEOF
35989 done
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35999 $as_echo_n "checking for modf declaration... " >&6; }
36000 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36001 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36002 $as_echo_n "(cached) " >&6
36003 else
36006 ac_ext=cpp
36007 ac_cpp='$CXXCPP $CPPFLAGS'
36008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36013 /* end confdefs.h. */
36014 #include <math.h>
36016 main ()
36018 modf(0, 0);
36020 return 0;
36022 _ACEOF
36023 if ac_fn_cxx_try_compile "$LINENO"; then :
36024 glibcxx_cv_func_modf_use=yes
36025 else
36026 glibcxx_cv_func_modf_use=no
36028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36029 ac_ext=c
36030 ac_cpp='$CPP $CPPFLAGS'
36031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36040 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36042 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36043 for ac_func in modf
36044 do :
36045 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36046 if test "x$ac_cv_func_modf" = x""yes; then :
36047 cat >>confdefs.h <<_ACEOF
36048 #define HAVE_MODF 1
36049 _ACEOF
36052 done
36054 else
36056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36057 $as_echo_n "checking for _modf declaration... " >&6; }
36058 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36059 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36060 $as_echo_n "(cached) " >&6
36061 else
36064 ac_ext=cpp
36065 ac_cpp='$CXXCPP $CPPFLAGS'
36066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36071 /* end confdefs.h. */
36072 #include <math.h>
36074 main ()
36076 _modf(0, 0);
36078 return 0;
36080 _ACEOF
36081 if ac_fn_cxx_try_compile "$LINENO"; then :
36082 glibcxx_cv_func__modf_use=yes
36083 else
36084 glibcxx_cv_func__modf_use=no
36086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36087 ac_ext=c
36088 ac_cpp='$CPP $CPPFLAGS'
36089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36098 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36100 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36101 for ac_func in _modf
36102 do :
36103 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36104 if test "x$ac_cv_func__modf" = x""yes; then :
36105 cat >>confdefs.h <<_ACEOF
36106 #define HAVE__MODF 1
36107 _ACEOF
36110 done
36119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36120 $as_echo_n "checking for powf declaration... " >&6; }
36121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36122 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36123 $as_echo_n "(cached) " >&6
36124 else
36127 ac_ext=cpp
36128 ac_cpp='$CXXCPP $CPPFLAGS'
36129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36134 /* end confdefs.h. */
36135 #include <math.h>
36137 main ()
36139 powf(0, 0);
36141 return 0;
36143 _ACEOF
36144 if ac_fn_cxx_try_compile "$LINENO"; then :
36145 glibcxx_cv_func_powf_use=yes
36146 else
36147 glibcxx_cv_func_powf_use=no
36149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36150 ac_ext=c
36151 ac_cpp='$CPP $CPPFLAGS'
36152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36161 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36163 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36164 for ac_func in powf
36165 do :
36166 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36167 if test "x$ac_cv_func_powf" = x""yes; then :
36168 cat >>confdefs.h <<_ACEOF
36169 #define HAVE_POWF 1
36170 _ACEOF
36173 done
36175 else
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36178 $as_echo_n "checking for _powf declaration... " >&6; }
36179 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36180 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36181 $as_echo_n "(cached) " >&6
36182 else
36185 ac_ext=cpp
36186 ac_cpp='$CXXCPP $CPPFLAGS'
36187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36192 /* end confdefs.h. */
36193 #include <math.h>
36195 main ()
36197 _powf(0, 0);
36199 return 0;
36201 _ACEOF
36202 if ac_fn_cxx_try_compile "$LINENO"; then :
36203 glibcxx_cv_func__powf_use=yes
36204 else
36205 glibcxx_cv_func__powf_use=no
36207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36208 ac_ext=c
36209 ac_cpp='$CPP $CPPFLAGS'
36210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36219 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36221 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36222 for ac_func in _powf
36223 do :
36224 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36225 if test "x$ac_cv_func__powf" = x""yes; then :
36226 cat >>confdefs.h <<_ACEOF
36227 #define HAVE__POWF 1
36228 _ACEOF
36231 done
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36241 $as_echo_n "checking for sqrtf declaration... " >&6; }
36242 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36243 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36244 $as_echo_n "(cached) " >&6
36245 else
36248 ac_ext=cpp
36249 ac_cpp='$CXXCPP $CPPFLAGS'
36250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36255 /* end confdefs.h. */
36256 #include <math.h>
36257 #ifdef HAVE_IEEEFP_H
36258 #include <ieeefp.h>
36259 #endif
36262 main ()
36264 sqrtf(0);
36266 return 0;
36268 _ACEOF
36269 if ac_fn_cxx_try_compile "$LINENO"; then :
36270 glibcxx_cv_func_sqrtf_use=yes
36271 else
36272 glibcxx_cv_func_sqrtf_use=no
36274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36275 ac_ext=c
36276 ac_cpp='$CPP $CPPFLAGS'
36277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36286 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36288 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36289 for ac_func in sqrtf
36290 do :
36291 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36292 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36293 cat >>confdefs.h <<_ACEOF
36294 #define HAVE_SQRTF 1
36295 _ACEOF
36298 done
36300 else
36302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36303 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36304 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36305 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36306 $as_echo_n "(cached) " >&6
36307 else
36310 ac_ext=cpp
36311 ac_cpp='$CXXCPP $CPPFLAGS'
36312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36317 /* end confdefs.h. */
36318 #include <math.h>
36319 #ifdef HAVE_IEEEFP_H
36320 #include <ieeefp.h>
36321 #endif
36324 main ()
36326 _sqrtf(0);
36328 return 0;
36330 _ACEOF
36331 if ac_fn_cxx_try_compile "$LINENO"; then :
36332 glibcxx_cv_func__sqrtf_use=yes
36333 else
36334 glibcxx_cv_func__sqrtf_use=no
36336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36337 ac_ext=c
36338 ac_cpp='$CPP $CPPFLAGS'
36339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36348 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36350 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36351 for ac_func in _sqrtf
36352 do :
36353 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36354 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36355 cat >>confdefs.h <<_ACEOF
36356 #define HAVE__SQRTF 1
36357 _ACEOF
36360 done
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36370 $as_echo_n "checking for sincosf declaration... " >&6; }
36371 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36372 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36373 $as_echo_n "(cached) " >&6
36374 else
36377 ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h. */
36385 #include <math.h>
36387 main ()
36389 sincosf(0, 0, 0);
36391 return 0;
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func_sincosf_use=yes
36396 else
36397 glibcxx_cv_func_sincosf_use=no
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36411 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36413 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36414 for ac_func in sincosf
36415 do :
36416 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36417 if test "x$ac_cv_func_sincosf" = x""yes; then :
36418 cat >>confdefs.h <<_ACEOF
36419 #define HAVE_SINCOSF 1
36420 _ACEOF
36423 done
36425 else
36427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36428 $as_echo_n "checking for _sincosf declaration... " >&6; }
36429 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36430 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36431 $as_echo_n "(cached) " >&6
36432 else
36435 ac_ext=cpp
36436 ac_cpp='$CXXCPP $CPPFLAGS'
36437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36442 /* end confdefs.h. */
36443 #include <math.h>
36445 main ()
36447 _sincosf(0, 0, 0);
36449 return 0;
36451 _ACEOF
36452 if ac_fn_cxx_try_compile "$LINENO"; then :
36453 glibcxx_cv_func__sincosf_use=yes
36454 else
36455 glibcxx_cv_func__sincosf_use=no
36457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458 ac_ext=c
36459 ac_cpp='$CPP $CPPFLAGS'
36460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36469 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36471 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36472 for ac_func in _sincosf
36473 do :
36474 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36475 if test "x$ac_cv_func__sincosf" = x""yes; then :
36476 cat >>confdefs.h <<_ACEOF
36477 #define HAVE__SINCOSF 1
36478 _ACEOF
36481 done
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36491 $as_echo_n "checking for finitef declaration... " >&6; }
36492 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36493 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36494 $as_echo_n "(cached) " >&6
36495 else
36498 ac_ext=cpp
36499 ac_cpp='$CXXCPP $CPPFLAGS'
36500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36505 /* end confdefs.h. */
36506 #include <math.h>
36507 #ifdef HAVE_IEEEFP_H
36508 #include <ieeefp.h>
36509 #endif
36512 main ()
36514 finitef(0);
36516 return 0;
36518 _ACEOF
36519 if ac_fn_cxx_try_compile "$LINENO"; then :
36520 glibcxx_cv_func_finitef_use=yes
36521 else
36522 glibcxx_cv_func_finitef_use=no
36524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36525 ac_ext=c
36526 ac_cpp='$CPP $CPPFLAGS'
36527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36536 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36538 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36539 for ac_func in finitef
36540 do :
36541 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36542 if test "x$ac_cv_func_finitef" = x""yes; then :
36543 cat >>confdefs.h <<_ACEOF
36544 #define HAVE_FINITEF 1
36545 _ACEOF
36548 done
36550 else
36552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36553 $as_echo_n "checking for _finitef declaration... " >&6; }
36554 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36555 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36556 $as_echo_n "(cached) " >&6
36557 else
36560 ac_ext=cpp
36561 ac_cpp='$CXXCPP $CPPFLAGS'
36562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36567 /* end confdefs.h. */
36568 #include <math.h>
36569 #ifdef HAVE_IEEEFP_H
36570 #include <ieeefp.h>
36571 #endif
36574 main ()
36576 _finitef(0);
36578 return 0;
36580 _ACEOF
36581 if ac_fn_cxx_try_compile "$LINENO"; then :
36582 glibcxx_cv_func__finitef_use=yes
36583 else
36584 glibcxx_cv_func__finitef_use=no
36586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36587 ac_ext=c
36588 ac_cpp='$CPP $CPPFLAGS'
36589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36598 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36600 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36601 for ac_func in _finitef
36602 do :
36603 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36604 if test "x$ac_cv_func__finitef" = x""yes; then :
36605 cat >>confdefs.h <<_ACEOF
36606 #define HAVE__FINITEF 1
36607 _ACEOF
36610 done
36619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36620 $as_echo_n "checking for long double trig functions... " >&6; }
36621 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36622 $as_echo_n "(cached) " >&6
36623 else
36626 ac_ext=cpp
36627 ac_cpp='$CXXCPP $CPPFLAGS'
36628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36633 /* end confdefs.h. */
36634 #include <math.h>
36636 main ()
36638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36640 return 0;
36642 _ACEOF
36643 if ac_fn_cxx_try_compile "$LINENO"; then :
36644 glibcxx_cv_func_long_double_trig_use=yes
36645 else
36646 glibcxx_cv_func_long_double_trig_use=no
36648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36649 ac_ext=c
36650 ac_cpp='$CPP $CPPFLAGS'
36651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36658 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36659 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36660 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36661 do :
36662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36664 eval as_val=\$$as_ac_var
36665 if test "x$as_val" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36668 _ACEOF
36671 done
36673 else
36674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36675 $as_echo_n "checking for _long double trig functions... " >&6; }
36676 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36677 $as_echo_n "(cached) " >&6
36678 else
36681 ac_ext=cpp
36682 ac_cpp='$CXXCPP $CPPFLAGS'
36683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688 /* end confdefs.h. */
36689 #include <math.h>
36691 main ()
36693 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36695 return 0;
36697 _ACEOF
36698 if ac_fn_cxx_try_compile "$LINENO"; then :
36699 glibcxx_cv_func__long_double_trig_use=yes
36700 else
36701 glibcxx_cv_func__long_double_trig_use=no
36703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36704 ac_ext=c
36705 ac_cpp='$CPP $CPPFLAGS'
36706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36713 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36714 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36715 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36716 do :
36717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36719 eval as_val=\$$as_ac_var
36720 if test "x$as_val" = x""yes; then :
36721 cat >>confdefs.h <<_ACEOF
36722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36723 _ACEOF
36726 done
36735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36736 $as_echo_n "checking for long double round functions... " >&6; }
36737 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36738 $as_echo_n "(cached) " >&6
36739 else
36742 ac_ext=cpp
36743 ac_cpp='$CXXCPP $CPPFLAGS'
36744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36749 /* end confdefs.h. */
36750 #include <math.h>
36752 main ()
36754 ceill (0); floorl (0);
36756 return 0;
36758 _ACEOF
36759 if ac_fn_cxx_try_compile "$LINENO"; then :
36760 glibcxx_cv_func_long_double_round_use=yes
36761 else
36762 glibcxx_cv_func_long_double_round_use=no
36764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765 ac_ext=c
36766 ac_cpp='$CPP $CPPFLAGS'
36767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36774 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36775 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36776 for ac_func in ceill floorl
36777 do :
36778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36780 eval as_val=\$$as_ac_var
36781 if test "x$as_val" = x""yes; then :
36782 cat >>confdefs.h <<_ACEOF
36783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 _ACEOF
36787 done
36789 else
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36791 $as_echo_n "checking for _long double round functions... " >&6; }
36792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36793 $as_echo_n "(cached) " >&6
36794 else
36797 ac_ext=cpp
36798 ac_cpp='$CXXCPP $CPPFLAGS'
36799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 /* end confdefs.h. */
36805 #include <math.h>
36807 main ()
36809 _ceill (0); _floorl (0);
36811 return 0;
36813 _ACEOF
36814 if ac_fn_cxx_try_compile "$LINENO"; then :
36815 glibcxx_cv_func__long_double_round_use=yes
36816 else
36817 glibcxx_cv_func__long_double_round_use=no
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36829 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36830 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36831 for ac_func in _ceill _floorl
36832 do :
36833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36835 eval as_val=\$$as_ac_var
36836 if test "x$as_val" = x""yes; then :
36837 cat >>confdefs.h <<_ACEOF
36838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36839 _ACEOF
36842 done
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36853 $as_echo_n "checking for isnanl declaration... " >&6; }
36854 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36855 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36856 $as_echo_n "(cached) " >&6
36857 else
36860 ac_ext=cpp
36861 ac_cpp='$CXXCPP $CPPFLAGS'
36862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36867 /* end confdefs.h. */
36868 #include <math.h>
36869 #ifdef HAVE_IEEEFP_H
36870 #include <ieeefp.h>
36871 #endif
36874 main ()
36876 isnanl(0);
36878 return 0;
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882 glibcxx_cv_func_isnanl_use=yes
36883 else
36884 glibcxx_cv_func_isnanl_use=no
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36898 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36900 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36901 for ac_func in isnanl
36902 do :
36903 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36904 if test "x$ac_cv_func_isnanl" = x""yes; then :
36905 cat >>confdefs.h <<_ACEOF
36906 #define HAVE_ISNANL 1
36907 _ACEOF
36910 done
36912 else
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36915 $as_echo_n "checking for _isnanl declaration... " >&6; }
36916 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36917 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36918 $as_echo_n "(cached) " >&6
36919 else
36922 ac_ext=cpp
36923 ac_cpp='$CXXCPP $CPPFLAGS'
36924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36929 /* end confdefs.h. */
36930 #include <math.h>
36931 #ifdef HAVE_IEEEFP_H
36932 #include <ieeefp.h>
36933 #endif
36936 main ()
36938 _isnanl(0);
36940 return 0;
36942 _ACEOF
36943 if ac_fn_cxx_try_compile "$LINENO"; then :
36944 glibcxx_cv_func__isnanl_use=yes
36945 else
36946 glibcxx_cv_func__isnanl_use=no
36948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36949 ac_ext=c
36950 ac_cpp='$CPP $CPPFLAGS'
36951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36960 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36962 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36963 for ac_func in _isnanl
36964 do :
36965 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36966 if test "x$ac_cv_func__isnanl" = x""yes; then :
36967 cat >>confdefs.h <<_ACEOF
36968 #define HAVE__ISNANL 1
36969 _ACEOF
36972 done
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36982 $as_echo_n "checking for isinfl declaration... " >&6; }
36983 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36984 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36985 $as_echo_n "(cached) " >&6
36986 else
36989 ac_ext=cpp
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996 /* end confdefs.h. */
36997 #include <math.h>
36998 #ifdef HAVE_IEEEFP_H
36999 #include <ieeefp.h>
37000 #endif
37003 main ()
37005 isinfl(0);
37007 return 0;
37009 _ACEOF
37010 if ac_fn_cxx_try_compile "$LINENO"; then :
37011 glibcxx_cv_func_isinfl_use=yes
37012 else
37013 glibcxx_cv_func_isinfl_use=no
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016 ac_ext=c
37017 ac_cpp='$CPP $CPPFLAGS'
37018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37027 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37029 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37030 for ac_func in isinfl
37031 do :
37032 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37033 if test "x$ac_cv_func_isinfl" = x""yes; then :
37034 cat >>confdefs.h <<_ACEOF
37035 #define HAVE_ISINFL 1
37036 _ACEOF
37039 done
37041 else
37043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37044 $as_echo_n "checking for _isinfl declaration... " >&6; }
37045 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37046 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37047 $as_echo_n "(cached) " >&6
37048 else
37051 ac_ext=cpp
37052 ac_cpp='$CXXCPP $CPPFLAGS'
37053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37058 /* end confdefs.h. */
37059 #include <math.h>
37060 #ifdef HAVE_IEEEFP_H
37061 #include <ieeefp.h>
37062 #endif
37065 main ()
37067 _isinfl(0);
37069 return 0;
37071 _ACEOF
37072 if ac_fn_cxx_try_compile "$LINENO"; then :
37073 glibcxx_cv_func__isinfl_use=yes
37074 else
37075 glibcxx_cv_func__isinfl_use=no
37077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37078 ac_ext=c
37079 ac_cpp='$CPP $CPPFLAGS'
37080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37089 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37091 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37092 for ac_func in _isinfl
37093 do :
37094 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37095 if test "x$ac_cv_func__isinfl" = x""yes; then :
37096 cat >>confdefs.h <<_ACEOF
37097 #define HAVE__ISINFL 1
37098 _ACEOF
37101 done
37110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37111 $as_echo_n "checking for atan2l declaration... " >&6; }
37112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37114 $as_echo_n "(cached) " >&6
37115 else
37118 ac_ext=cpp
37119 ac_cpp='$CXXCPP $CPPFLAGS'
37120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37125 /* end confdefs.h. */
37126 #include <math.h>
37128 main ()
37130 atan2l(0, 0);
37132 return 0;
37134 _ACEOF
37135 if ac_fn_cxx_try_compile "$LINENO"; then :
37136 glibcxx_cv_func_atan2l_use=yes
37137 else
37138 glibcxx_cv_func_atan2l_use=no
37140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37141 ac_ext=c
37142 ac_cpp='$CPP $CPPFLAGS'
37143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37152 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37154 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37155 for ac_func in atan2l
37156 do :
37157 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37158 if test "x$ac_cv_func_atan2l" = x""yes; then :
37159 cat >>confdefs.h <<_ACEOF
37160 #define HAVE_ATAN2L 1
37161 _ACEOF
37164 done
37166 else
37168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37169 $as_echo_n "checking for _atan2l declaration... " >&6; }
37170 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37171 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37172 $as_echo_n "(cached) " >&6
37173 else
37176 ac_ext=cpp
37177 ac_cpp='$CXXCPP $CPPFLAGS'
37178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37183 /* end confdefs.h. */
37184 #include <math.h>
37186 main ()
37188 _atan2l(0, 0);
37190 return 0;
37192 _ACEOF
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194 glibcxx_cv_func__atan2l_use=yes
37195 else
37196 glibcxx_cv_func__atan2l_use=no
37198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37199 ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37210 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37212 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37213 for ac_func in _atan2l
37214 do :
37215 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37216 if test "x$ac_cv_func__atan2l" = x""yes; then :
37217 cat >>confdefs.h <<_ACEOF
37218 #define HAVE__ATAN2L 1
37219 _ACEOF
37222 done
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37232 $as_echo_n "checking for expl declaration... " >&6; }
37233 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37234 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37235 $as_echo_n "(cached) " >&6
37236 else
37239 ac_ext=cpp
37240 ac_cpp='$CXXCPP $CPPFLAGS'
37241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37246 /* end confdefs.h. */
37247 #include <math.h>
37248 #ifdef HAVE_IEEEFP_H
37249 #include <ieeefp.h>
37250 #endif
37253 main ()
37255 expl(0);
37257 return 0;
37259 _ACEOF
37260 if ac_fn_cxx_try_compile "$LINENO"; then :
37261 glibcxx_cv_func_expl_use=yes
37262 else
37263 glibcxx_cv_func_expl_use=no
37265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37266 ac_ext=c
37267 ac_cpp='$CPP $CPPFLAGS'
37268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37277 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37279 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37280 for ac_func in expl
37281 do :
37282 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37283 if test "x$ac_cv_func_expl" = x""yes; then :
37284 cat >>confdefs.h <<_ACEOF
37285 #define HAVE_EXPL 1
37286 _ACEOF
37289 done
37291 else
37293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37294 $as_echo_n "checking for _expl declaration... " >&6; }
37295 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37296 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37297 $as_echo_n "(cached) " >&6
37298 else
37301 ac_ext=cpp
37302 ac_cpp='$CXXCPP $CPPFLAGS'
37303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37308 /* end confdefs.h. */
37309 #include <math.h>
37310 #ifdef HAVE_IEEEFP_H
37311 #include <ieeefp.h>
37312 #endif
37315 main ()
37317 _expl(0);
37319 return 0;
37321 _ACEOF
37322 if ac_fn_cxx_try_compile "$LINENO"; then :
37323 glibcxx_cv_func__expl_use=yes
37324 else
37325 glibcxx_cv_func__expl_use=no
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37328 ac_ext=c
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37339 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37341 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37342 for ac_func in _expl
37343 do :
37344 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37345 if test "x$ac_cv_func__expl" = x""yes; then :
37346 cat >>confdefs.h <<_ACEOF
37347 #define HAVE__EXPL 1
37348 _ACEOF
37351 done
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37361 $as_echo_n "checking for fabsl declaration... " >&6; }
37362 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37363 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37364 $as_echo_n "(cached) " >&6
37365 else
37368 ac_ext=cpp
37369 ac_cpp='$CXXCPP $CPPFLAGS'
37370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37375 /* end confdefs.h. */
37376 #include <math.h>
37377 #ifdef HAVE_IEEEFP_H
37378 #include <ieeefp.h>
37379 #endif
37382 main ()
37384 fabsl(0);
37386 return 0;
37388 _ACEOF
37389 if ac_fn_cxx_try_compile "$LINENO"; then :
37390 glibcxx_cv_func_fabsl_use=yes
37391 else
37392 glibcxx_cv_func_fabsl_use=no
37394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37395 ac_ext=c
37396 ac_cpp='$CPP $CPPFLAGS'
37397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37406 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37408 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37409 for ac_func in fabsl
37410 do :
37411 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37412 if test "x$ac_cv_func_fabsl" = x""yes; then :
37413 cat >>confdefs.h <<_ACEOF
37414 #define HAVE_FABSL 1
37415 _ACEOF
37418 done
37420 else
37422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37423 $as_echo_n "checking for _fabsl declaration... " >&6; }
37424 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37425 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37426 $as_echo_n "(cached) " >&6
37427 else
37430 ac_ext=cpp
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37437 /* end confdefs.h. */
37438 #include <math.h>
37439 #ifdef HAVE_IEEEFP_H
37440 #include <ieeefp.h>
37441 #endif
37444 main ()
37446 _fabsl(0);
37448 return 0;
37450 _ACEOF
37451 if ac_fn_cxx_try_compile "$LINENO"; then :
37452 glibcxx_cv_func__fabsl_use=yes
37453 else
37454 glibcxx_cv_func__fabsl_use=no
37456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37457 ac_ext=c
37458 ac_cpp='$CPP $CPPFLAGS'
37459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37468 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37470 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37471 for ac_func in _fabsl
37472 do :
37473 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37474 if test "x$ac_cv_func__fabsl" = x""yes; then :
37475 cat >>confdefs.h <<_ACEOF
37476 #define HAVE__FABSL 1
37477 _ACEOF
37480 done
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37490 $as_echo_n "checking for fmodl declaration... " >&6; }
37491 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37492 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37493 $as_echo_n "(cached) " >&6
37494 else
37497 ac_ext=cpp
37498 ac_cpp='$CXXCPP $CPPFLAGS'
37499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37504 /* end confdefs.h. */
37505 #include <math.h>
37507 main ()
37509 fmodl(0, 0);
37511 return 0;
37513 _ACEOF
37514 if ac_fn_cxx_try_compile "$LINENO"; then :
37515 glibcxx_cv_func_fmodl_use=yes
37516 else
37517 glibcxx_cv_func_fmodl_use=no
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37520 ac_ext=c
37521 ac_cpp='$CPP $CPPFLAGS'
37522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37531 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37533 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37534 for ac_func in fmodl
37535 do :
37536 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37537 if test "x$ac_cv_func_fmodl" = x""yes; then :
37538 cat >>confdefs.h <<_ACEOF
37539 #define HAVE_FMODL 1
37540 _ACEOF
37543 done
37545 else
37547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37548 $as_echo_n "checking for _fmodl declaration... " >&6; }
37549 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37550 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37551 $as_echo_n "(cached) " >&6
37552 else
37555 ac_ext=cpp
37556 ac_cpp='$CXXCPP $CPPFLAGS'
37557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37562 /* end confdefs.h. */
37563 #include <math.h>
37565 main ()
37567 _fmodl(0, 0);
37569 return 0;
37571 _ACEOF
37572 if ac_fn_cxx_try_compile "$LINENO"; then :
37573 glibcxx_cv_func__fmodl_use=yes
37574 else
37575 glibcxx_cv_func__fmodl_use=no
37577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578 ac_ext=c
37579 ac_cpp='$CPP $CPPFLAGS'
37580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37589 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37591 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37592 for ac_func in _fmodl
37593 do :
37594 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37595 if test "x$ac_cv_func__fmodl" = x""yes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define HAVE__FMODL 1
37598 _ACEOF
37601 done
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37611 $as_echo_n "checking for frexpl declaration... " >&6; }
37612 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37613 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37614 $as_echo_n "(cached) " >&6
37615 else
37618 ac_ext=cpp
37619 ac_cpp='$CXXCPP $CPPFLAGS'
37620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37625 /* end confdefs.h. */
37626 #include <math.h>
37628 main ()
37630 frexpl(0, 0);
37632 return 0;
37634 _ACEOF
37635 if ac_fn_cxx_try_compile "$LINENO"; then :
37636 glibcxx_cv_func_frexpl_use=yes
37637 else
37638 glibcxx_cv_func_frexpl_use=no
37640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37641 ac_ext=c
37642 ac_cpp='$CPP $CPPFLAGS'
37643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37654 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37655 for ac_func in frexpl
37656 do :
37657 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37658 if test "x$ac_cv_func_frexpl" = x""yes; then :
37659 cat >>confdefs.h <<_ACEOF
37660 #define HAVE_FREXPL 1
37661 _ACEOF
37664 done
37666 else
37668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37669 $as_echo_n "checking for _frexpl declaration... " >&6; }
37670 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37671 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37672 $as_echo_n "(cached) " >&6
37673 else
37676 ac_ext=cpp
37677 ac_cpp='$CXXCPP $CPPFLAGS'
37678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37683 /* end confdefs.h. */
37684 #include <math.h>
37686 main ()
37688 _frexpl(0, 0);
37690 return 0;
37692 _ACEOF
37693 if ac_fn_cxx_try_compile "$LINENO"; then :
37694 glibcxx_cv_func__frexpl_use=yes
37695 else
37696 glibcxx_cv_func__frexpl_use=no
37698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37699 ac_ext=c
37700 ac_cpp='$CPP $CPPFLAGS'
37701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37710 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37712 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37713 for ac_func in _frexpl
37714 do :
37715 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37716 if test "x$ac_cv_func__frexpl" = x""yes; then :
37717 cat >>confdefs.h <<_ACEOF
37718 #define HAVE__FREXPL 1
37719 _ACEOF
37722 done
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37732 $as_echo_n "checking for hypotl declaration... " >&6; }
37733 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37734 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37735 $as_echo_n "(cached) " >&6
37736 else
37739 ac_ext=cpp
37740 ac_cpp='$CXXCPP $CPPFLAGS'
37741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37746 /* end confdefs.h. */
37747 #include <math.h>
37749 main ()
37751 hypotl(0, 0);
37753 return 0;
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757 glibcxx_cv_func_hypotl_use=yes
37758 else
37759 glibcxx_cv_func_hypotl_use=no
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762 ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37775 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37776 for ac_func in hypotl
37777 do :
37778 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37779 if test "x$ac_cv_func_hypotl" = x""yes; then :
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE_HYPOTL 1
37782 _ACEOF
37785 done
37787 else
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37790 $as_echo_n "checking for _hypotl declaration... " >&6; }
37791 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37792 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37793 $as_echo_n "(cached) " >&6
37794 else
37797 ac_ext=cpp
37798 ac_cpp='$CXXCPP $CPPFLAGS'
37799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37804 /* end confdefs.h. */
37805 #include <math.h>
37807 main ()
37809 _hypotl(0, 0);
37811 return 0;
37813 _ACEOF
37814 if ac_fn_cxx_try_compile "$LINENO"; then :
37815 glibcxx_cv_func__hypotl_use=yes
37816 else
37817 glibcxx_cv_func__hypotl_use=no
37819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37820 ac_ext=c
37821 ac_cpp='$CPP $CPPFLAGS'
37822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37831 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37833 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37834 for ac_func in _hypotl
37835 do :
37836 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37837 if test "x$ac_cv_func__hypotl" = x""yes; then :
37838 cat >>confdefs.h <<_ACEOF
37839 #define HAVE__HYPOTL 1
37840 _ACEOF
37843 done
37852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37853 $as_echo_n "checking for ldexpl declaration... " >&6; }
37854 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37855 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37856 $as_echo_n "(cached) " >&6
37857 else
37860 ac_ext=cpp
37861 ac_cpp='$CXXCPP $CPPFLAGS'
37862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37867 /* end confdefs.h. */
37868 #include <math.h>
37870 main ()
37872 ldexpl(0, 0);
37874 return 0;
37876 _ACEOF
37877 if ac_fn_cxx_try_compile "$LINENO"; then :
37878 glibcxx_cv_func_ldexpl_use=yes
37879 else
37880 glibcxx_cv_func_ldexpl_use=no
37882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 ac_ext=c
37884 ac_cpp='$CPP $CPPFLAGS'
37885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37894 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37896 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37897 for ac_func in ldexpl
37898 do :
37899 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37900 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37901 cat >>confdefs.h <<_ACEOF
37902 #define HAVE_LDEXPL 1
37903 _ACEOF
37906 done
37908 else
37910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37911 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37912 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37913 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37914 $as_echo_n "(cached) " >&6
37915 else
37918 ac_ext=cpp
37919 ac_cpp='$CXXCPP $CPPFLAGS'
37920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37925 /* end confdefs.h. */
37926 #include <math.h>
37928 main ()
37930 _ldexpl(0, 0);
37932 return 0;
37934 _ACEOF
37935 if ac_fn_cxx_try_compile "$LINENO"; then :
37936 glibcxx_cv_func__ldexpl_use=yes
37937 else
37938 glibcxx_cv_func__ldexpl_use=no
37940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37941 ac_ext=c
37942 ac_cpp='$CPP $CPPFLAGS'
37943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37952 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37954 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37955 for ac_func in _ldexpl
37956 do :
37957 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37958 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37959 cat >>confdefs.h <<_ACEOF
37960 #define HAVE__LDEXPL 1
37961 _ACEOF
37964 done
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37974 $as_echo_n "checking for logl declaration... " >&6; }
37975 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37976 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37977 $as_echo_n "(cached) " >&6
37978 else
37981 ac_ext=cpp
37982 ac_cpp='$CXXCPP $CPPFLAGS'
37983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37988 /* end confdefs.h. */
37989 #include <math.h>
37990 #ifdef HAVE_IEEEFP_H
37991 #include <ieeefp.h>
37992 #endif
37995 main ()
37997 logl(0);
37999 return 0;
38001 _ACEOF
38002 if ac_fn_cxx_try_compile "$LINENO"; then :
38003 glibcxx_cv_func_logl_use=yes
38004 else
38005 glibcxx_cv_func_logl_use=no
38007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38008 ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38019 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38021 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38022 for ac_func in logl
38023 do :
38024 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38025 if test "x$ac_cv_func_logl" = x""yes; then :
38026 cat >>confdefs.h <<_ACEOF
38027 #define HAVE_LOGL 1
38028 _ACEOF
38031 done
38033 else
38035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38036 $as_echo_n "checking for _logl declaration... " >&6; }
38037 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38038 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38039 $as_echo_n "(cached) " >&6
38040 else
38043 ac_ext=cpp
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38050 /* end confdefs.h. */
38051 #include <math.h>
38052 #ifdef HAVE_IEEEFP_H
38053 #include <ieeefp.h>
38054 #endif
38057 main ()
38059 _logl(0);
38061 return 0;
38063 _ACEOF
38064 if ac_fn_cxx_try_compile "$LINENO"; then :
38065 glibcxx_cv_func__logl_use=yes
38066 else
38067 glibcxx_cv_func__logl_use=no
38069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38070 ac_ext=c
38071 ac_cpp='$CPP $CPPFLAGS'
38072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38081 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38083 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38084 for ac_func in _logl
38085 do :
38086 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38087 if test "x$ac_cv_func__logl" = x""yes; then :
38088 cat >>confdefs.h <<_ACEOF
38089 #define HAVE__LOGL 1
38090 _ACEOF
38093 done
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38103 $as_echo_n "checking for log10l declaration... " >&6; }
38104 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38105 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38106 $as_echo_n "(cached) " >&6
38107 else
38110 ac_ext=cpp
38111 ac_cpp='$CXXCPP $CPPFLAGS'
38112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38117 /* end confdefs.h. */
38118 #include <math.h>
38119 #ifdef HAVE_IEEEFP_H
38120 #include <ieeefp.h>
38121 #endif
38124 main ()
38126 log10l(0);
38128 return 0;
38130 _ACEOF
38131 if ac_fn_cxx_try_compile "$LINENO"; then :
38132 glibcxx_cv_func_log10l_use=yes
38133 else
38134 glibcxx_cv_func_log10l_use=no
38136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38137 ac_ext=c
38138 ac_cpp='$CPP $CPPFLAGS'
38139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38148 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38150 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38151 for ac_func in log10l
38152 do :
38153 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38154 if test "x$ac_cv_func_log10l" = x""yes; then :
38155 cat >>confdefs.h <<_ACEOF
38156 #define HAVE_LOG10L 1
38157 _ACEOF
38160 done
38162 else
38164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38165 $as_echo_n "checking for _log10l declaration... " >&6; }
38166 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38167 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38168 $as_echo_n "(cached) " >&6
38169 else
38172 ac_ext=cpp
38173 ac_cpp='$CXXCPP $CPPFLAGS'
38174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38179 /* end confdefs.h. */
38180 #include <math.h>
38181 #ifdef HAVE_IEEEFP_H
38182 #include <ieeefp.h>
38183 #endif
38186 main ()
38188 _log10l(0);
38190 return 0;
38192 _ACEOF
38193 if ac_fn_cxx_try_compile "$LINENO"; then :
38194 glibcxx_cv_func__log10l_use=yes
38195 else
38196 glibcxx_cv_func__log10l_use=no
38198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38199 ac_ext=c
38200 ac_cpp='$CPP $CPPFLAGS'
38201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38210 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38212 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38213 for ac_func in _log10l
38214 do :
38215 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38216 if test "x$ac_cv_func__log10l" = x""yes; then :
38217 cat >>confdefs.h <<_ACEOF
38218 #define HAVE__LOG10L 1
38219 _ACEOF
38222 done
38231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38232 $as_echo_n "checking for modfl declaration... " >&6; }
38233 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38234 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38235 $as_echo_n "(cached) " >&6
38236 else
38239 ac_ext=cpp
38240 ac_cpp='$CXXCPP $CPPFLAGS'
38241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38246 /* end confdefs.h. */
38247 #include <math.h>
38249 main ()
38251 modfl(0, 0);
38253 return 0;
38255 _ACEOF
38256 if ac_fn_cxx_try_compile "$LINENO"; then :
38257 glibcxx_cv_func_modfl_use=yes
38258 else
38259 glibcxx_cv_func_modfl_use=no
38261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38262 ac_ext=c
38263 ac_cpp='$CPP $CPPFLAGS'
38264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38273 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38275 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38276 for ac_func in modfl
38277 do :
38278 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38279 if test "x$ac_cv_func_modfl" = x""yes; then :
38280 cat >>confdefs.h <<_ACEOF
38281 #define HAVE_MODFL 1
38282 _ACEOF
38285 done
38287 else
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38290 $as_echo_n "checking for _modfl declaration... " >&6; }
38291 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38292 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38293 $as_echo_n "(cached) " >&6
38294 else
38297 ac_ext=cpp
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38304 /* end confdefs.h. */
38305 #include <math.h>
38307 main ()
38309 _modfl(0, 0);
38311 return 0;
38313 _ACEOF
38314 if ac_fn_cxx_try_compile "$LINENO"; then :
38315 glibcxx_cv_func__modfl_use=yes
38316 else
38317 glibcxx_cv_func__modfl_use=no
38319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38320 ac_ext=c
38321 ac_cpp='$CPP $CPPFLAGS'
38322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38331 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38333 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38334 for ac_func in _modfl
38335 do :
38336 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38337 if test "x$ac_cv_func__modfl" = x""yes; then :
38338 cat >>confdefs.h <<_ACEOF
38339 #define HAVE__MODFL 1
38340 _ACEOF
38343 done
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38353 $as_echo_n "checking for powl declaration... " >&6; }
38354 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38355 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38356 $as_echo_n "(cached) " >&6
38357 else
38360 ac_ext=cpp
38361 ac_cpp='$CXXCPP $CPPFLAGS'
38362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38367 /* end confdefs.h. */
38368 #include <math.h>
38370 main ()
38372 powl(0, 0);
38374 return 0;
38376 _ACEOF
38377 if ac_fn_cxx_try_compile "$LINENO"; then :
38378 glibcxx_cv_func_powl_use=yes
38379 else
38380 glibcxx_cv_func_powl_use=no
38382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38383 ac_ext=c
38384 ac_cpp='$CPP $CPPFLAGS'
38385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38394 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38396 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38397 for ac_func in powl
38398 do :
38399 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38400 if test "x$ac_cv_func_powl" = x""yes; then :
38401 cat >>confdefs.h <<_ACEOF
38402 #define HAVE_POWL 1
38403 _ACEOF
38406 done
38408 else
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38411 $as_echo_n "checking for _powl declaration... " >&6; }
38412 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38413 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38414 $as_echo_n "(cached) " >&6
38415 else
38418 ac_ext=cpp
38419 ac_cpp='$CXXCPP $CPPFLAGS'
38420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38425 /* end confdefs.h. */
38426 #include <math.h>
38428 main ()
38430 _powl(0, 0);
38432 return 0;
38434 _ACEOF
38435 if ac_fn_cxx_try_compile "$LINENO"; then :
38436 glibcxx_cv_func__powl_use=yes
38437 else
38438 glibcxx_cv_func__powl_use=no
38440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38441 ac_ext=c
38442 ac_cpp='$CPP $CPPFLAGS'
38443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38452 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38454 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38455 for ac_func in _powl
38456 do :
38457 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38458 if test "x$ac_cv_func__powl" = x""yes; then :
38459 cat >>confdefs.h <<_ACEOF
38460 #define HAVE__POWL 1
38461 _ACEOF
38464 done
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38474 $as_echo_n "checking for sqrtl declaration... " >&6; }
38475 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38476 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38477 $as_echo_n "(cached) " >&6
38478 else
38481 ac_ext=cpp
38482 ac_cpp='$CXXCPP $CPPFLAGS'
38483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38488 /* end confdefs.h. */
38489 #include <math.h>
38490 #ifdef HAVE_IEEEFP_H
38491 #include <ieeefp.h>
38492 #endif
38495 main ()
38497 sqrtl(0);
38499 return 0;
38501 _ACEOF
38502 if ac_fn_cxx_try_compile "$LINENO"; then :
38503 glibcxx_cv_func_sqrtl_use=yes
38504 else
38505 glibcxx_cv_func_sqrtl_use=no
38507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38508 ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38519 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38521 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38522 for ac_func in sqrtl
38523 do :
38524 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38525 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38526 cat >>confdefs.h <<_ACEOF
38527 #define HAVE_SQRTL 1
38528 _ACEOF
38531 done
38533 else
38535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38536 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38537 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38538 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38539 $as_echo_n "(cached) " >&6
38540 else
38543 ac_ext=cpp
38544 ac_cpp='$CXXCPP $CPPFLAGS'
38545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38550 /* end confdefs.h. */
38551 #include <math.h>
38552 #ifdef HAVE_IEEEFP_H
38553 #include <ieeefp.h>
38554 #endif
38557 main ()
38559 _sqrtl(0);
38561 return 0;
38563 _ACEOF
38564 if ac_fn_cxx_try_compile "$LINENO"; then :
38565 glibcxx_cv_func__sqrtl_use=yes
38566 else
38567 glibcxx_cv_func__sqrtl_use=no
38569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38570 ac_ext=c
38571 ac_cpp='$CPP $CPPFLAGS'
38572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38581 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38583 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38584 for ac_func in _sqrtl
38585 do :
38586 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38587 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38588 cat >>confdefs.h <<_ACEOF
38589 #define HAVE__SQRTL 1
38590 _ACEOF
38593 done
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38603 $as_echo_n "checking for sincosl declaration... " >&6; }
38604 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38605 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38606 $as_echo_n "(cached) " >&6
38607 else
38610 ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h. */
38618 #include <math.h>
38620 main ()
38622 sincosl(0, 0, 0);
38624 return 0;
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628 glibcxx_cv_func_sincosl_use=yes
38629 else
38630 glibcxx_cv_func_sincosl_use=no
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38644 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38646 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38647 for ac_func in sincosl
38648 do :
38649 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38650 if test "x$ac_cv_func_sincosl" = x""yes; then :
38651 cat >>confdefs.h <<_ACEOF
38652 #define HAVE_SINCOSL 1
38653 _ACEOF
38656 done
38658 else
38660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38661 $as_echo_n "checking for _sincosl declaration... " >&6; }
38662 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38663 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38664 $as_echo_n "(cached) " >&6
38665 else
38668 ac_ext=cpp
38669 ac_cpp='$CXXCPP $CPPFLAGS'
38670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38675 /* end confdefs.h. */
38676 #include <math.h>
38678 main ()
38680 _sincosl(0, 0, 0);
38682 return 0;
38684 _ACEOF
38685 if ac_fn_cxx_try_compile "$LINENO"; then :
38686 glibcxx_cv_func__sincosl_use=yes
38687 else
38688 glibcxx_cv_func__sincosl_use=no
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691 ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38702 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38704 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38705 for ac_func in _sincosl
38706 do :
38707 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38708 if test "x$ac_cv_func__sincosl" = x""yes; then :
38709 cat >>confdefs.h <<_ACEOF
38710 #define HAVE__SINCOSL 1
38711 _ACEOF
38714 done
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38724 $as_echo_n "checking for finitel declaration... " >&6; }
38725 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38726 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38727 $as_echo_n "(cached) " >&6
38728 else
38731 ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h. */
38739 #include <math.h>
38740 #ifdef HAVE_IEEEFP_H
38741 #include <ieeefp.h>
38742 #endif
38745 main ()
38747 finitel(0);
38749 return 0;
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753 glibcxx_cv_func_finitel_use=yes
38754 else
38755 glibcxx_cv_func_finitel_use=no
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38769 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38771 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38772 for ac_func in finitel
38773 do :
38774 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38775 if test "x$ac_cv_func_finitel" = x""yes; then :
38776 cat >>confdefs.h <<_ACEOF
38777 #define HAVE_FINITEL 1
38778 _ACEOF
38781 done
38783 else
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38786 $as_echo_n "checking for _finitel declaration... " >&6; }
38787 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38788 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38802 #ifdef HAVE_IEEEFP_H
38803 #include <ieeefp.h>
38804 #endif
38807 main ()
38809 _finitel(0);
38811 return 0;
38813 _ACEOF
38814 if ac_fn_cxx_try_compile "$LINENO"; then :
38815 glibcxx_cv_func__finitel_use=yes
38816 else
38817 glibcxx_cv_func__finitel_use=no
38819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38820 ac_ext=c
38821 ac_cpp='$CPP $CPPFLAGS'
38822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38831 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38833 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38834 for ac_func in _finitel
38835 do :
38836 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38837 if test "x$ac_cv_func__finitel" = x""yes; then :
38838 cat >>confdefs.h <<_ACEOF
38839 #define HAVE__FINITEL 1
38840 _ACEOF
38843 done
38851 LIBS="$ac_save_LIBS"
38852 CXXFLAGS="$ac_save_CXXFLAGS"
38855 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38856 ac_save_CXXFLAGS="$CXXFLAGS"
38857 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38861 $as_echo_n "checking for strtold declaration... " >&6; }
38862 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38863 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38864 $as_echo_n "(cached) " >&6
38865 else
38868 ac_ext=cpp
38869 ac_cpp='$CXXCPP $CPPFLAGS'
38870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38875 /* end confdefs.h. */
38876 #include <stdlib.h>
38878 main ()
38880 strtold(0, 0);
38882 return 0;
38884 _ACEOF
38885 if ac_fn_cxx_try_compile "$LINENO"; then :
38886 glibcxx_cv_func_strtold_use=yes
38887 else
38888 glibcxx_cv_func_strtold_use=no
38890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38891 ac_ext=c
38892 ac_cpp='$CPP $CPPFLAGS'
38893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38902 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38903 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38904 for ac_func in strtold
38905 do :
38906 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38907 if test "x$ac_cv_func_strtold" = x""yes; then :
38908 cat >>confdefs.h <<_ACEOF
38909 #define HAVE_STRTOLD 1
38910 _ACEOF
38913 done
38920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38921 $as_echo_n "checking for strtof declaration... " >&6; }
38922 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38923 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38924 $as_echo_n "(cached) " >&6
38925 else
38928 ac_ext=cpp
38929 ac_cpp='$CXXCPP $CPPFLAGS'
38930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38935 /* end confdefs.h. */
38936 #include <stdlib.h>
38938 main ()
38940 strtof(0, 0);
38942 return 0;
38944 _ACEOF
38945 if ac_fn_cxx_try_compile "$LINENO"; then :
38946 glibcxx_cv_func_strtof_use=yes
38947 else
38948 glibcxx_cv_func_strtof_use=no
38950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38951 ac_ext=c
38952 ac_cpp='$CPP $CPPFLAGS'
38953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38962 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38963 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38964 for ac_func in strtof
38965 do :
38966 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38967 if test "x$ac_cv_func_strtof" = x""yes; then :
38968 cat >>confdefs.h <<_ACEOF
38969 #define HAVE_STRTOF 1
38970 _ACEOF
38973 done
38980 CXXFLAGS="$ac_save_CXXFLAGS"
38982 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38984 # We don't yet support AIX's TLS ABI.
38985 #GCC_CHECK_TLS
38991 am_save_CPPFLAGS="$CPPFLAGS"
38993 for element in $INCICONV; do
38994 haveit=
38995 for x in $CPPFLAGS; do
38997 acl_save_prefix="$prefix"
38998 prefix="$acl_final_prefix"
38999 acl_save_exec_prefix="$exec_prefix"
39000 exec_prefix="$acl_final_exec_prefix"
39001 eval x=\"$x\"
39002 exec_prefix="$acl_save_exec_prefix"
39003 prefix="$acl_save_prefix"
39005 if test "X$x" = "X$element"; then
39006 haveit=yes
39007 break
39009 done
39010 if test -z "$haveit"; then
39011 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39013 done
39016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39017 $as_echo_n "checking for iconv... " >&6; }
39018 if test "${am_cv_func_iconv+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39022 am_cv_func_iconv="no, consider installing GNU libiconv"
39023 am_cv_lib_iconv=no
39024 if test x$gcc_no_link = xyes; then
39025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39028 /* end confdefs.h. */
39029 #include <stdlib.h>
39030 #include <iconv.h>
39032 main ()
39034 iconv_t cd = iconv_open("","");
39035 iconv(cd,NULL,NULL,NULL,NULL);
39036 iconv_close(cd);
39038 return 0;
39040 _ACEOF
39041 if ac_fn_c_try_link "$LINENO"; then :
39042 am_cv_func_iconv=yes
39044 rm -f core conftest.err conftest.$ac_objext \
39045 conftest$ac_exeext conftest.$ac_ext
39046 if test "$am_cv_func_iconv" != yes; then
39047 am_save_LIBS="$LIBS"
39048 LIBS="$LIBS $LIBICONV"
39049 if test x$gcc_no_link = xyes; then
39050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39054 #include <stdlib.h>
39055 #include <iconv.h>
39057 main ()
39059 iconv_t cd = iconv_open("","");
39060 iconv(cd,NULL,NULL,NULL,NULL);
39061 iconv_close(cd);
39063 return 0;
39065 _ACEOF
39066 if ac_fn_c_try_link "$LINENO"; then :
39067 am_cv_lib_iconv=yes
39068 am_cv_func_iconv=yes
39070 rm -f core conftest.err conftest.$ac_objext \
39071 conftest$ac_exeext conftest.$ac_ext
39072 LIBS="$am_save_LIBS"
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39077 $as_echo "$am_cv_func_iconv" >&6; }
39078 if test "$am_cv_func_iconv" = yes; then
39080 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39083 if test "$am_cv_lib_iconv" = yes; then
39084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39085 $as_echo_n "checking how to link with libiconv... " >&6; }
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39087 $as_echo "$LIBICONV" >&6; }
39088 else
39089 CPPFLAGS="$am_save_CPPFLAGS"
39090 LIBICONV=
39091 LTLIBICONV=
39096 if test "$am_cv_func_iconv" = yes; then
39097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39098 $as_echo_n "checking for iconv declaration... " >&6; }
39099 if test "${am_cv_proto_iconv+set}" = set; then :
39100 $as_echo_n "(cached) " >&6
39101 else
39103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39104 /* end confdefs.h. */
39106 #include <stdlib.h>
39107 #include <iconv.h>
39108 extern
39109 #ifdef __cplusplus
39111 #endif
39112 #if defined(__STDC__) || defined(__cplusplus)
39113 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39114 #else
39115 size_t iconv();
39116 #endif
39119 main ()
39123 return 0;
39125 _ACEOF
39126 if ac_fn_c_try_compile "$LINENO"; then :
39127 am_cv_proto_iconv_arg1=""
39128 else
39129 am_cv_proto_iconv_arg1="const"
39131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39132 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);"
39135 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39137 }$am_cv_proto_iconv" >&5
39138 $as_echo "${ac_t:-
39139 }$am_cv_proto_iconv" >&6; }
39141 cat >>confdefs.h <<_ACEOF
39142 #define ICONV_CONST $am_cv_proto_iconv_arg1
39143 _ACEOF
39149 *-darwin*)
39150 # Darwin versions vary, but the linker should work in a cross environment,
39151 # so we just check for all the features here.
39152 # Check for available headers.
39154 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39156 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39157 ac_save_CXXFLAGS="$CXXFLAGS"
39158 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39161 $as_echo_n "checking for sin in -lm... " >&6; }
39162 if test "${ac_cv_lib_m_sin+set}" = set; then :
39163 $as_echo_n "(cached) " >&6
39164 else
39165 ac_check_lib_save_LIBS=$LIBS
39166 LIBS="-lm $LIBS"
39167 if test x$gcc_no_link = xyes; then
39168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h. */
39173 /* Override any GCC internal prototype to avoid an error.
39174 Use char because int might match the return type of a GCC
39175 builtin and then its argument prototype would still apply. */
39176 #ifdef __cplusplus
39177 extern "C"
39178 #endif
39179 char sin ();
39181 main ()
39183 return sin ();
39185 return 0;
39187 _ACEOF
39188 if ac_fn_c_try_link "$LINENO"; then :
39189 ac_cv_lib_m_sin=yes
39190 else
39191 ac_cv_lib_m_sin=no
39193 rm -f core conftest.err conftest.$ac_objext \
39194 conftest$ac_exeext conftest.$ac_ext
39195 LIBS=$ac_check_lib_save_LIBS
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39198 $as_echo "$ac_cv_lib_m_sin" >&6; }
39199 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39200 libm="-lm"
39203 ac_save_LIBS="$LIBS"
39204 LIBS="$LIBS $libm"
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39209 $as_echo_n "checking for isinf declaration... " >&6; }
39210 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39211 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39212 $as_echo_n "(cached) " >&6
39213 else
39216 ac_ext=cpp
39217 ac_cpp='$CXXCPP $CPPFLAGS'
39218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39223 /* end confdefs.h. */
39224 #include <math.h>
39225 #ifdef HAVE_IEEEFP_H
39226 #include <ieeefp.h>
39227 #endif
39230 main ()
39232 isinf(0);
39234 return 0;
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238 glibcxx_cv_func_isinf_use=yes
39239 else
39240 glibcxx_cv_func_isinf_use=no
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243 ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39254 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39256 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39257 for ac_func in isinf
39258 do :
39259 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39260 if test "x$ac_cv_func_isinf" = x""yes; then :
39261 cat >>confdefs.h <<_ACEOF
39262 #define HAVE_ISINF 1
39263 _ACEOF
39266 done
39268 else
39270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39271 $as_echo_n "checking for _isinf declaration... " >&6; }
39272 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39273 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39274 $as_echo_n "(cached) " >&6
39275 else
39278 ac_ext=cpp
39279 ac_cpp='$CXXCPP $CPPFLAGS'
39280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39285 /* end confdefs.h. */
39286 #include <math.h>
39287 #ifdef HAVE_IEEEFP_H
39288 #include <ieeefp.h>
39289 #endif
39292 main ()
39294 _isinf(0);
39296 return 0;
39298 _ACEOF
39299 if ac_fn_cxx_try_compile "$LINENO"; then :
39300 glibcxx_cv_func__isinf_use=yes
39301 else
39302 glibcxx_cv_func__isinf_use=no
39304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39305 ac_ext=c
39306 ac_cpp='$CPP $CPPFLAGS'
39307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39316 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39318 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39319 for ac_func in _isinf
39320 do :
39321 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39322 if test "x$ac_cv_func__isinf" = x""yes; then :
39323 cat >>confdefs.h <<_ACEOF
39324 #define HAVE__ISINF 1
39325 _ACEOF
39328 done
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39338 $as_echo_n "checking for isnan declaration... " >&6; }
39339 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39340 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39341 $as_echo_n "(cached) " >&6
39342 else
39345 ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h. */
39353 #include <math.h>
39354 #ifdef HAVE_IEEEFP_H
39355 #include <ieeefp.h>
39356 #endif
39359 main ()
39361 isnan(0);
39363 return 0;
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func_isnan_use=yes
39368 else
39369 glibcxx_cv_func_isnan_use=no
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39383 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39385 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39386 for ac_func in isnan
39387 do :
39388 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39389 if test "x$ac_cv_func_isnan" = x""yes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE_ISNAN 1
39392 _ACEOF
39395 done
39397 else
39399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39400 $as_echo_n "checking for _isnan declaration... " >&6; }
39401 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39402 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39403 $as_echo_n "(cached) " >&6
39404 else
39407 ac_ext=cpp
39408 ac_cpp='$CXXCPP $CPPFLAGS'
39409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39414 /* end confdefs.h. */
39415 #include <math.h>
39416 #ifdef HAVE_IEEEFP_H
39417 #include <ieeefp.h>
39418 #endif
39421 main ()
39423 _isnan(0);
39425 return 0;
39427 _ACEOF
39428 if ac_fn_cxx_try_compile "$LINENO"; then :
39429 glibcxx_cv_func__isnan_use=yes
39430 else
39431 glibcxx_cv_func__isnan_use=no
39433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39434 ac_ext=c
39435 ac_cpp='$CPP $CPPFLAGS'
39436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39445 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39447 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39448 for ac_func in _isnan
39449 do :
39450 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39451 if test "x$ac_cv_func__isnan" = x""yes; then :
39452 cat >>confdefs.h <<_ACEOF
39453 #define HAVE__ISNAN 1
39454 _ACEOF
39457 done
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39467 $as_echo_n "checking for finite declaration... " >&6; }
39468 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39469 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39483 #ifdef HAVE_IEEEFP_H
39484 #include <ieeefp.h>
39485 #endif
39488 main ()
39490 finite(0);
39492 return 0;
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496 glibcxx_cv_func_finite_use=yes
39497 else
39498 glibcxx_cv_func_finite_use=no
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501 ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39512 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39514 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39515 for ac_func in finite
39516 do :
39517 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39518 if test "x$ac_cv_func_finite" = x""yes; then :
39519 cat >>confdefs.h <<_ACEOF
39520 #define HAVE_FINITE 1
39521 _ACEOF
39524 done
39526 else
39528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39529 $as_echo_n "checking for _finite declaration... " >&6; }
39530 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39531 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39532 $as_echo_n "(cached) " >&6
39533 else
39536 ac_ext=cpp
39537 ac_cpp='$CXXCPP $CPPFLAGS'
39538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39543 /* end confdefs.h. */
39544 #include <math.h>
39545 #ifdef HAVE_IEEEFP_H
39546 #include <ieeefp.h>
39547 #endif
39550 main ()
39552 _finite(0);
39554 return 0;
39556 _ACEOF
39557 if ac_fn_cxx_try_compile "$LINENO"; then :
39558 glibcxx_cv_func__finite_use=yes
39559 else
39560 glibcxx_cv_func__finite_use=no
39562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39563 ac_ext=c
39564 ac_cpp='$CPP $CPPFLAGS'
39565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39574 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39576 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39577 for ac_func in _finite
39578 do :
39579 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39580 if test "x$ac_cv_func__finite" = x""yes; then :
39581 cat >>confdefs.h <<_ACEOF
39582 #define HAVE__FINITE 1
39583 _ACEOF
39586 done
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39596 $as_echo_n "checking for sincos declaration... " >&6; }
39597 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39598 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39599 $as_echo_n "(cached) " >&6
39600 else
39603 ac_ext=cpp
39604 ac_cpp='$CXXCPP $CPPFLAGS'
39605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39610 /* end confdefs.h. */
39611 #include <math.h>
39613 main ()
39615 sincos(0, 0, 0);
39617 return 0;
39619 _ACEOF
39620 if ac_fn_cxx_try_compile "$LINENO"; then :
39621 glibcxx_cv_func_sincos_use=yes
39622 else
39623 glibcxx_cv_func_sincos_use=no
39625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39626 ac_ext=c
39627 ac_cpp='$CPP $CPPFLAGS'
39628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39637 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39639 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39640 for ac_func in sincos
39641 do :
39642 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39643 if test "x$ac_cv_func_sincos" = x""yes; then :
39644 cat >>confdefs.h <<_ACEOF
39645 #define HAVE_SINCOS 1
39646 _ACEOF
39649 done
39651 else
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39654 $as_echo_n "checking for _sincos declaration... " >&6; }
39655 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39656 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39657 $as_echo_n "(cached) " >&6
39658 else
39661 ac_ext=cpp
39662 ac_cpp='$CXXCPP $CPPFLAGS'
39663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39668 /* end confdefs.h. */
39669 #include <math.h>
39671 main ()
39673 _sincos(0, 0, 0);
39675 return 0;
39677 _ACEOF
39678 if ac_fn_cxx_try_compile "$LINENO"; then :
39679 glibcxx_cv_func__sincos_use=yes
39680 else
39681 glibcxx_cv_func__sincos_use=no
39683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39684 ac_ext=c
39685 ac_cpp='$CPP $CPPFLAGS'
39686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39695 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39697 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39698 for ac_func in _sincos
39699 do :
39700 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39701 if test "x$ac_cv_func__sincos" = x""yes; then :
39702 cat >>confdefs.h <<_ACEOF
39703 #define HAVE__SINCOS 1
39704 _ACEOF
39707 done
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39717 $as_echo_n "checking for fpclass declaration... " >&6; }
39718 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39719 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39720 $as_echo_n "(cached) " >&6
39721 else
39724 ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h. */
39732 #include <math.h>
39733 #ifdef HAVE_IEEEFP_H
39734 #include <ieeefp.h>
39735 #endif
39738 main ()
39740 fpclass(0);
39742 return 0;
39744 _ACEOF
39745 if ac_fn_cxx_try_compile "$LINENO"; then :
39746 glibcxx_cv_func_fpclass_use=yes
39747 else
39748 glibcxx_cv_func_fpclass_use=no
39750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39751 ac_ext=c
39752 ac_cpp='$CPP $CPPFLAGS'
39753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39762 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39764 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39765 for ac_func in fpclass
39766 do :
39767 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39768 if test "x$ac_cv_func_fpclass" = x""yes; then :
39769 cat >>confdefs.h <<_ACEOF
39770 #define HAVE_FPCLASS 1
39771 _ACEOF
39774 done
39776 else
39778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39779 $as_echo_n "checking for _fpclass declaration... " >&6; }
39780 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39781 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39782 $as_echo_n "(cached) " >&6
39783 else
39786 ac_ext=cpp
39787 ac_cpp='$CXXCPP $CPPFLAGS'
39788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39793 /* end confdefs.h. */
39794 #include <math.h>
39795 #ifdef HAVE_IEEEFP_H
39796 #include <ieeefp.h>
39797 #endif
39800 main ()
39802 _fpclass(0);
39804 return 0;
39806 _ACEOF
39807 if ac_fn_cxx_try_compile "$LINENO"; then :
39808 glibcxx_cv_func__fpclass_use=yes
39809 else
39810 glibcxx_cv_func__fpclass_use=no
39812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39813 ac_ext=c
39814 ac_cpp='$CPP $CPPFLAGS'
39815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39824 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39826 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39827 for ac_func in _fpclass
39828 do :
39829 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39830 if test "x$ac_cv_func__fpclass" = x""yes; then :
39831 cat >>confdefs.h <<_ACEOF
39832 #define HAVE__FPCLASS 1
39833 _ACEOF
39836 done
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39846 $as_echo_n "checking for qfpclass declaration... " >&6; }
39847 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39848 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39849 $as_echo_n "(cached) " >&6
39850 else
39853 ac_ext=cpp
39854 ac_cpp='$CXXCPP $CPPFLAGS'
39855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39860 /* end confdefs.h. */
39861 #include <math.h>
39862 #ifdef HAVE_IEEEFP_H
39863 #include <ieeefp.h>
39864 #endif
39867 main ()
39869 qfpclass(0);
39871 return 0;
39873 _ACEOF
39874 if ac_fn_cxx_try_compile "$LINENO"; then :
39875 glibcxx_cv_func_qfpclass_use=yes
39876 else
39877 glibcxx_cv_func_qfpclass_use=no
39879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39880 ac_ext=c
39881 ac_cpp='$CPP $CPPFLAGS'
39882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39891 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39893 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39894 for ac_func in qfpclass
39895 do :
39896 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39897 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39898 cat >>confdefs.h <<_ACEOF
39899 #define HAVE_QFPCLASS 1
39900 _ACEOF
39903 done
39905 else
39907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39908 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39909 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39910 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39911 $as_echo_n "(cached) " >&6
39912 else
39915 ac_ext=cpp
39916 ac_cpp='$CXXCPP $CPPFLAGS'
39917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39922 /* end confdefs.h. */
39923 #include <math.h>
39924 #ifdef HAVE_IEEEFP_H
39925 #include <ieeefp.h>
39926 #endif
39929 main ()
39931 _qfpclass(0);
39933 return 0;
39935 _ACEOF
39936 if ac_fn_cxx_try_compile "$LINENO"; then :
39937 glibcxx_cv_func__qfpclass_use=yes
39938 else
39939 glibcxx_cv_func__qfpclass_use=no
39941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39942 ac_ext=c
39943 ac_cpp='$CPP $CPPFLAGS'
39944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39953 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39955 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39956 for ac_func in _qfpclass
39957 do :
39958 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39959 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39960 cat >>confdefs.h <<_ACEOF
39961 #define HAVE__QFPCLASS 1
39962 _ACEOF
39965 done
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39975 $as_echo_n "checking for hypot declaration... " >&6; }
39976 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39977 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39978 $as_echo_n "(cached) " >&6
39979 else
39982 ac_ext=cpp
39983 ac_cpp='$CXXCPP $CPPFLAGS'
39984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39989 /* end confdefs.h. */
39990 #include <math.h>
39992 main ()
39994 hypot(0, 0);
39996 return 0;
39998 _ACEOF
39999 if ac_fn_cxx_try_compile "$LINENO"; then :
40000 glibcxx_cv_func_hypot_use=yes
40001 else
40002 glibcxx_cv_func_hypot_use=no
40004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40005 ac_ext=c
40006 ac_cpp='$CPP $CPPFLAGS'
40007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40016 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40018 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40019 for ac_func in hypot
40020 do :
40021 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40022 if test "x$ac_cv_func_hypot" = x""yes; then :
40023 cat >>confdefs.h <<_ACEOF
40024 #define HAVE_HYPOT 1
40025 _ACEOF
40028 done
40030 else
40032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40033 $as_echo_n "checking for _hypot declaration... " >&6; }
40034 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40035 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40036 $as_echo_n "(cached) " >&6
40037 else
40040 ac_ext=cpp
40041 ac_cpp='$CXXCPP $CPPFLAGS'
40042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40047 /* end confdefs.h. */
40048 #include <math.h>
40050 main ()
40052 _hypot(0, 0);
40054 return 0;
40056 _ACEOF
40057 if ac_fn_cxx_try_compile "$LINENO"; then :
40058 glibcxx_cv_func__hypot_use=yes
40059 else
40060 glibcxx_cv_func__hypot_use=no
40062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40063 ac_ext=c
40064 ac_cpp='$CPP $CPPFLAGS'
40065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40074 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40076 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40077 for ac_func in _hypot
40078 do :
40079 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40080 if test "x$ac_cv_func__hypot" = x""yes; then :
40081 cat >>confdefs.h <<_ACEOF
40082 #define HAVE__HYPOT 1
40083 _ACEOF
40086 done
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40096 $as_echo_n "checking for float trig functions... " >&6; }
40097 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40098 $as_echo_n "(cached) " >&6
40099 else
40102 ac_ext=cpp
40103 ac_cpp='$CXXCPP $CPPFLAGS'
40104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40109 /* end confdefs.h. */
40110 #include <math.h>
40112 main ()
40114 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40116 return 0;
40118 _ACEOF
40119 if ac_fn_cxx_try_compile "$LINENO"; then :
40120 glibcxx_cv_func_float_trig_use=yes
40121 else
40122 glibcxx_cv_func_float_trig_use=no
40124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40125 ac_ext=c
40126 ac_cpp='$CPP $CPPFLAGS'
40127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40134 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40135 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40136 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40137 do :
40138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40140 eval as_val=\$$as_ac_var
40141 if test "x$as_val" = x""yes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40144 _ACEOF
40147 done
40149 else
40150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40151 $as_echo_n "checking for _float trig functions... " >&6; }
40152 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40153 $as_echo_n "(cached) " >&6
40154 else
40157 ac_ext=cpp
40158 ac_cpp='$CXXCPP $CPPFLAGS'
40159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40164 /* end confdefs.h. */
40165 #include <math.h>
40167 main ()
40169 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40171 return 0;
40173 _ACEOF
40174 if ac_fn_cxx_try_compile "$LINENO"; then :
40175 glibcxx_cv_func__float_trig_use=yes
40176 else
40177 glibcxx_cv_func__float_trig_use=no
40179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40180 ac_ext=c
40181 ac_cpp='$CPP $CPPFLAGS'
40182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40189 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40190 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40191 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40192 do :
40193 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40195 eval as_val=\$$as_ac_var
40196 if test "x$as_val" = x""yes; then :
40197 cat >>confdefs.h <<_ACEOF
40198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40199 _ACEOF
40202 done
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40212 $as_echo_n "checking for float round functions... " >&6; }
40213 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40214 $as_echo_n "(cached) " >&6
40215 else
40218 ac_ext=cpp
40219 ac_cpp='$CXXCPP $CPPFLAGS'
40220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40225 /* end confdefs.h. */
40226 #include <math.h>
40228 main ()
40230 ceilf (0); floorf (0);
40232 return 0;
40234 _ACEOF
40235 if ac_fn_cxx_try_compile "$LINENO"; then :
40236 glibcxx_cv_func_float_round_use=yes
40237 else
40238 glibcxx_cv_func_float_round_use=no
40240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40241 ac_ext=c
40242 ac_cpp='$CPP $CPPFLAGS'
40243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40250 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40251 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40252 for ac_func in ceilf floorf
40253 do :
40254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40256 eval as_val=\$$as_ac_var
40257 if test "x$as_val" = x""yes; then :
40258 cat >>confdefs.h <<_ACEOF
40259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40260 _ACEOF
40263 done
40265 else
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40267 $as_echo_n "checking for _float round functions... " >&6; }
40268 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40269 $as_echo_n "(cached) " >&6
40270 else
40273 ac_ext=cpp
40274 ac_cpp='$CXXCPP $CPPFLAGS'
40275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40280 /* end confdefs.h. */
40281 #include <math.h>
40283 main ()
40285 _ceilf (0); _floorf (0);
40287 return 0;
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291 glibcxx_cv_func__float_round_use=yes
40292 else
40293 glibcxx_cv_func__float_round_use=no
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40305 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40306 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40307 for ac_func in _ceilf _floorf
40308 do :
40309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40311 eval as_val=\$$as_ac_var
40312 if test "x$as_val" = x""yes; then :
40313 cat >>confdefs.h <<_ACEOF
40314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40315 _ACEOF
40318 done
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40329 $as_echo_n "checking for expf declaration... " >&6; }
40330 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40331 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40332 $as_echo_n "(cached) " >&6
40333 else
40336 ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h. */
40344 #include <math.h>
40345 #ifdef HAVE_IEEEFP_H
40346 #include <ieeefp.h>
40347 #endif
40350 main ()
40352 expf(0);
40354 return 0;
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358 glibcxx_cv_func_expf_use=yes
40359 else
40360 glibcxx_cv_func_expf_use=no
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363 ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40374 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40376 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40377 for ac_func in expf
40378 do :
40379 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40380 if test "x$ac_cv_func_expf" = x""yes; then :
40381 cat >>confdefs.h <<_ACEOF
40382 #define HAVE_EXPF 1
40383 _ACEOF
40386 done
40388 else
40390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40391 $as_echo_n "checking for _expf declaration... " >&6; }
40392 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40393 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40394 $as_echo_n "(cached) " >&6
40395 else
40398 ac_ext=cpp
40399 ac_cpp='$CXXCPP $CPPFLAGS'
40400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40405 /* end confdefs.h. */
40406 #include <math.h>
40407 #ifdef HAVE_IEEEFP_H
40408 #include <ieeefp.h>
40409 #endif
40412 main ()
40414 _expf(0);
40416 return 0;
40418 _ACEOF
40419 if ac_fn_cxx_try_compile "$LINENO"; then :
40420 glibcxx_cv_func__expf_use=yes
40421 else
40422 glibcxx_cv_func__expf_use=no
40424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40425 ac_ext=c
40426 ac_cpp='$CPP $CPPFLAGS'
40427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40436 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40438 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40439 for ac_func in _expf
40440 do :
40441 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40442 if test "x$ac_cv_func__expf" = x""yes; then :
40443 cat >>confdefs.h <<_ACEOF
40444 #define HAVE__EXPF 1
40445 _ACEOF
40448 done
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40458 $as_echo_n "checking for isnanf declaration... " >&6; }
40459 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40460 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40461 $as_echo_n "(cached) " >&6
40462 else
40465 ac_ext=cpp
40466 ac_cpp='$CXXCPP $CPPFLAGS'
40467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40472 /* end confdefs.h. */
40473 #include <math.h>
40474 #ifdef HAVE_IEEEFP_H
40475 #include <ieeefp.h>
40476 #endif
40479 main ()
40481 isnanf(0);
40483 return 0;
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func_isnanf_use=yes
40488 else
40489 glibcxx_cv_func_isnanf_use=no
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492 ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40503 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40505 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40506 for ac_func in isnanf
40507 do :
40508 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40509 if test "x$ac_cv_func_isnanf" = x""yes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE_ISNANF 1
40512 _ACEOF
40515 done
40517 else
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40520 $as_echo_n "checking for _isnanf declaration... " >&6; }
40521 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40522 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40523 $as_echo_n "(cached) " >&6
40524 else
40527 ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40535 #include <math.h>
40536 #ifdef HAVE_IEEEFP_H
40537 #include <ieeefp.h>
40538 #endif
40541 main ()
40543 _isnanf(0);
40545 return 0;
40547 _ACEOF
40548 if ac_fn_cxx_try_compile "$LINENO"; then :
40549 glibcxx_cv_func__isnanf_use=yes
40550 else
40551 glibcxx_cv_func__isnanf_use=no
40553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40554 ac_ext=c
40555 ac_cpp='$CPP $CPPFLAGS'
40556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40565 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40567 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40568 for ac_func in _isnanf
40569 do :
40570 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40571 if test "x$ac_cv_func__isnanf" = x""yes; then :
40572 cat >>confdefs.h <<_ACEOF
40573 #define HAVE__ISNANF 1
40574 _ACEOF
40577 done
40586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40587 $as_echo_n "checking for isinff declaration... " >&6; }
40588 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40589 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40590 $as_echo_n "(cached) " >&6
40591 else
40594 ac_ext=cpp
40595 ac_cpp='$CXXCPP $CPPFLAGS'
40596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40601 /* end confdefs.h. */
40602 #include <math.h>
40603 #ifdef HAVE_IEEEFP_H
40604 #include <ieeefp.h>
40605 #endif
40608 main ()
40610 isinff(0);
40612 return 0;
40614 _ACEOF
40615 if ac_fn_cxx_try_compile "$LINENO"; then :
40616 glibcxx_cv_func_isinff_use=yes
40617 else
40618 glibcxx_cv_func_isinff_use=no
40620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40621 ac_ext=c
40622 ac_cpp='$CPP $CPPFLAGS'
40623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40632 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40634 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40635 for ac_func in isinff
40636 do :
40637 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40638 if test "x$ac_cv_func_isinff" = x""yes; then :
40639 cat >>confdefs.h <<_ACEOF
40640 #define HAVE_ISINFF 1
40641 _ACEOF
40644 done
40646 else
40648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40649 $as_echo_n "checking for _isinff declaration... " >&6; }
40650 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40651 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40652 $as_echo_n "(cached) " >&6
40653 else
40656 ac_ext=cpp
40657 ac_cpp='$CXXCPP $CPPFLAGS'
40658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40663 /* end confdefs.h. */
40664 #include <math.h>
40665 #ifdef HAVE_IEEEFP_H
40666 #include <ieeefp.h>
40667 #endif
40670 main ()
40672 _isinff(0);
40674 return 0;
40676 _ACEOF
40677 if ac_fn_cxx_try_compile "$LINENO"; then :
40678 glibcxx_cv_func__isinff_use=yes
40679 else
40680 glibcxx_cv_func__isinff_use=no
40682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40683 ac_ext=c
40684 ac_cpp='$CPP $CPPFLAGS'
40685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40694 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40696 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40697 for ac_func in _isinff
40698 do :
40699 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40700 if test "x$ac_cv_func__isinff" = x""yes; then :
40701 cat >>confdefs.h <<_ACEOF
40702 #define HAVE__ISINFF 1
40703 _ACEOF
40706 done
40715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40716 $as_echo_n "checking for atan2f declaration... " >&6; }
40717 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40718 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40719 $as_echo_n "(cached) " >&6
40720 else
40723 ac_ext=cpp
40724 ac_cpp='$CXXCPP $CPPFLAGS'
40725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40730 /* end confdefs.h. */
40731 #include <math.h>
40733 main ()
40735 atan2f(0, 0);
40737 return 0;
40739 _ACEOF
40740 if ac_fn_cxx_try_compile "$LINENO"; then :
40741 glibcxx_cv_func_atan2f_use=yes
40742 else
40743 glibcxx_cv_func_atan2f_use=no
40745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40746 ac_ext=c
40747 ac_cpp='$CPP $CPPFLAGS'
40748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40757 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40759 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40760 for ac_func in atan2f
40761 do :
40762 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40763 if test "x$ac_cv_func_atan2f" = x""yes; then :
40764 cat >>confdefs.h <<_ACEOF
40765 #define HAVE_ATAN2F 1
40766 _ACEOF
40769 done
40771 else
40773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40774 $as_echo_n "checking for _atan2f declaration... " >&6; }
40775 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40776 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40777 $as_echo_n "(cached) " >&6
40778 else
40781 ac_ext=cpp
40782 ac_cpp='$CXXCPP $CPPFLAGS'
40783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40788 /* end confdefs.h. */
40789 #include <math.h>
40791 main ()
40793 _atan2f(0, 0);
40795 return 0;
40797 _ACEOF
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799 glibcxx_cv_func__atan2f_use=yes
40800 else
40801 glibcxx_cv_func__atan2f_use=no
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804 ac_ext=c
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40815 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40817 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40818 for ac_func in _atan2f
40819 do :
40820 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40821 if test "x$ac_cv_func__atan2f" = x""yes; then :
40822 cat >>confdefs.h <<_ACEOF
40823 #define HAVE__ATAN2F 1
40824 _ACEOF
40827 done
40836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40837 $as_echo_n "checking for fabsf declaration... " >&6; }
40838 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40839 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40840 $as_echo_n "(cached) " >&6
40841 else
40844 ac_ext=cpp
40845 ac_cpp='$CXXCPP $CPPFLAGS'
40846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40851 /* end confdefs.h. */
40852 #include <math.h>
40853 #ifdef HAVE_IEEEFP_H
40854 #include <ieeefp.h>
40855 #endif
40858 main ()
40860 fabsf(0);
40862 return 0;
40864 _ACEOF
40865 if ac_fn_cxx_try_compile "$LINENO"; then :
40866 glibcxx_cv_func_fabsf_use=yes
40867 else
40868 glibcxx_cv_func_fabsf_use=no
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40871 ac_ext=c
40872 ac_cpp='$CPP $CPPFLAGS'
40873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40882 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40884 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40885 for ac_func in fabsf
40886 do :
40887 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40888 if test "x$ac_cv_func_fabsf" = x""yes; then :
40889 cat >>confdefs.h <<_ACEOF
40890 #define HAVE_FABSF 1
40891 _ACEOF
40894 done
40896 else
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40899 $as_echo_n "checking for _fabsf declaration... " >&6; }
40900 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40901 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40902 $as_echo_n "(cached) " >&6
40903 else
40906 ac_ext=cpp
40907 ac_cpp='$CXXCPP $CPPFLAGS'
40908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40913 /* end confdefs.h. */
40914 #include <math.h>
40915 #ifdef HAVE_IEEEFP_H
40916 #include <ieeefp.h>
40917 #endif
40920 main ()
40922 _fabsf(0);
40924 return 0;
40926 _ACEOF
40927 if ac_fn_cxx_try_compile "$LINENO"; then :
40928 glibcxx_cv_func__fabsf_use=yes
40929 else
40930 glibcxx_cv_func__fabsf_use=no
40932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40933 ac_ext=c
40934 ac_cpp='$CPP $CPPFLAGS'
40935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40944 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40946 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40947 for ac_func in _fabsf
40948 do :
40949 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40950 if test "x$ac_cv_func__fabsf" = x""yes; then :
40951 cat >>confdefs.h <<_ACEOF
40952 #define HAVE__FABSF 1
40953 _ACEOF
40956 done
40965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40966 $as_echo_n "checking for fmodf declaration... " >&6; }
40967 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40968 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40969 $as_echo_n "(cached) " >&6
40970 else
40973 ac_ext=cpp
40974 ac_cpp='$CXXCPP $CPPFLAGS'
40975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40980 /* end confdefs.h. */
40981 #include <math.h>
40983 main ()
40985 fmodf(0, 0);
40987 return 0;
40989 _ACEOF
40990 if ac_fn_cxx_try_compile "$LINENO"; then :
40991 glibcxx_cv_func_fmodf_use=yes
40992 else
40993 glibcxx_cv_func_fmodf_use=no
40995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40996 ac_ext=c
40997 ac_cpp='$CPP $CPPFLAGS'
40998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41007 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41009 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41010 for ac_func in fmodf
41011 do :
41012 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41013 if test "x$ac_cv_func_fmodf" = x""yes; then :
41014 cat >>confdefs.h <<_ACEOF
41015 #define HAVE_FMODF 1
41016 _ACEOF
41019 done
41021 else
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41024 $as_echo_n "checking for _fmodf declaration... " >&6; }
41025 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41026 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41027 $as_echo_n "(cached) " >&6
41028 else
41031 ac_ext=cpp
41032 ac_cpp='$CXXCPP $CPPFLAGS'
41033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41038 /* end confdefs.h. */
41039 #include <math.h>
41041 main ()
41043 _fmodf(0, 0);
41045 return 0;
41047 _ACEOF
41048 if ac_fn_cxx_try_compile "$LINENO"; then :
41049 glibcxx_cv_func__fmodf_use=yes
41050 else
41051 glibcxx_cv_func__fmodf_use=no
41053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41054 ac_ext=c
41055 ac_cpp='$CPP $CPPFLAGS'
41056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41065 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41067 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41068 for ac_func in _fmodf
41069 do :
41070 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41071 if test "x$ac_cv_func__fmodf" = x""yes; then :
41072 cat >>confdefs.h <<_ACEOF
41073 #define HAVE__FMODF 1
41074 _ACEOF
41077 done
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41087 $as_echo_n "checking for frexpf declaration... " >&6; }
41088 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41089 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41090 $as_echo_n "(cached) " >&6
41091 else
41094 ac_ext=cpp
41095 ac_cpp='$CXXCPP $CPPFLAGS'
41096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41101 /* end confdefs.h. */
41102 #include <math.h>
41104 main ()
41106 frexpf(0, 0);
41108 return 0;
41110 _ACEOF
41111 if ac_fn_cxx_try_compile "$LINENO"; then :
41112 glibcxx_cv_func_frexpf_use=yes
41113 else
41114 glibcxx_cv_func_frexpf_use=no
41116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41117 ac_ext=c
41118 ac_cpp='$CPP $CPPFLAGS'
41119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41128 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41130 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41131 for ac_func in frexpf
41132 do :
41133 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41134 if test "x$ac_cv_func_frexpf" = x""yes; then :
41135 cat >>confdefs.h <<_ACEOF
41136 #define HAVE_FREXPF 1
41137 _ACEOF
41140 done
41142 else
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41145 $as_echo_n "checking for _frexpf declaration... " >&6; }
41146 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41147 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41148 $as_echo_n "(cached) " >&6
41149 else
41152 ac_ext=cpp
41153 ac_cpp='$CXXCPP $CPPFLAGS'
41154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41159 /* end confdefs.h. */
41160 #include <math.h>
41162 main ()
41164 _frexpf(0, 0);
41166 return 0;
41168 _ACEOF
41169 if ac_fn_cxx_try_compile "$LINENO"; then :
41170 glibcxx_cv_func__frexpf_use=yes
41171 else
41172 glibcxx_cv_func__frexpf_use=no
41174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41175 ac_ext=c
41176 ac_cpp='$CPP $CPPFLAGS'
41177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41186 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41188 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41189 for ac_func in _frexpf
41190 do :
41191 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41192 if test "x$ac_cv_func__frexpf" = x""yes; then :
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE__FREXPF 1
41195 _ACEOF
41198 done
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41208 $as_echo_n "checking for hypotf declaration... " >&6; }
41209 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41210 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41211 $as_echo_n "(cached) " >&6
41212 else
41215 ac_ext=cpp
41216 ac_cpp='$CXXCPP $CPPFLAGS'
41217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41222 /* end confdefs.h. */
41223 #include <math.h>
41225 main ()
41227 hypotf(0, 0);
41229 return 0;
41231 _ACEOF
41232 if ac_fn_cxx_try_compile "$LINENO"; then :
41233 glibcxx_cv_func_hypotf_use=yes
41234 else
41235 glibcxx_cv_func_hypotf_use=no
41237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41238 ac_ext=c
41239 ac_cpp='$CPP $CPPFLAGS'
41240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41249 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41251 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41252 for ac_func in hypotf
41253 do :
41254 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41255 if test "x$ac_cv_func_hypotf" = x""yes; then :
41256 cat >>confdefs.h <<_ACEOF
41257 #define HAVE_HYPOTF 1
41258 _ACEOF
41261 done
41263 else
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41266 $as_echo_n "checking for _hypotf declaration... " >&6; }
41267 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41268 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41269 $as_echo_n "(cached) " >&6
41270 else
41273 ac_ext=cpp
41274 ac_cpp='$CXXCPP $CPPFLAGS'
41275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41280 /* end confdefs.h. */
41281 #include <math.h>
41283 main ()
41285 _hypotf(0, 0);
41287 return 0;
41289 _ACEOF
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291 glibcxx_cv_func__hypotf_use=yes
41292 else
41293 glibcxx_cv_func__hypotf_use=no
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41296 ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41307 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41309 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41310 for ac_func in _hypotf
41311 do :
41312 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41313 if test "x$ac_cv_func__hypotf" = x""yes; then :
41314 cat >>confdefs.h <<_ACEOF
41315 #define HAVE__HYPOTF 1
41316 _ACEOF
41319 done
41328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41329 $as_echo_n "checking for ldexpf declaration... " >&6; }
41330 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41331 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41332 $as_echo_n "(cached) " >&6
41333 else
41336 ac_ext=cpp
41337 ac_cpp='$CXXCPP $CPPFLAGS'
41338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41343 /* end confdefs.h. */
41344 #include <math.h>
41346 main ()
41348 ldexpf(0, 0);
41350 return 0;
41352 _ACEOF
41353 if ac_fn_cxx_try_compile "$LINENO"; then :
41354 glibcxx_cv_func_ldexpf_use=yes
41355 else
41356 glibcxx_cv_func_ldexpf_use=no
41358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41359 ac_ext=c
41360 ac_cpp='$CPP $CPPFLAGS'
41361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41370 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41372 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41373 for ac_func in ldexpf
41374 do :
41375 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41376 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41377 cat >>confdefs.h <<_ACEOF
41378 #define HAVE_LDEXPF 1
41379 _ACEOF
41382 done
41384 else
41386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41387 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41388 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41389 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41390 $as_echo_n "(cached) " >&6
41391 else
41394 ac_ext=cpp
41395 ac_cpp='$CXXCPP $CPPFLAGS'
41396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41401 /* end confdefs.h. */
41402 #include <math.h>
41404 main ()
41406 _ldexpf(0, 0);
41408 return 0;
41410 _ACEOF
41411 if ac_fn_cxx_try_compile "$LINENO"; then :
41412 glibcxx_cv_func__ldexpf_use=yes
41413 else
41414 glibcxx_cv_func__ldexpf_use=no
41416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41417 ac_ext=c
41418 ac_cpp='$CPP $CPPFLAGS'
41419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41428 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41430 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41431 for ac_func in _ldexpf
41432 do :
41433 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41434 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41435 cat >>confdefs.h <<_ACEOF
41436 #define HAVE__LDEXPF 1
41437 _ACEOF
41440 done
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41450 $as_echo_n "checking for logf declaration... " >&6; }
41451 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41452 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41453 $as_echo_n "(cached) " >&6
41454 else
41457 ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h. */
41465 #include <math.h>
41466 #ifdef HAVE_IEEEFP_H
41467 #include <ieeefp.h>
41468 #endif
41471 main ()
41473 logf(0);
41475 return 0;
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479 glibcxx_cv_func_logf_use=yes
41480 else
41481 glibcxx_cv_func_logf_use=no
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41495 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41497 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41498 for ac_func in logf
41499 do :
41500 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41501 if test "x$ac_cv_func_logf" = x""yes; then :
41502 cat >>confdefs.h <<_ACEOF
41503 #define HAVE_LOGF 1
41504 _ACEOF
41507 done
41509 else
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41512 $as_echo_n "checking for _logf declaration... " >&6; }
41513 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41514 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41515 $as_echo_n "(cached) " >&6
41516 else
41519 ac_ext=cpp
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h. */
41527 #include <math.h>
41528 #ifdef HAVE_IEEEFP_H
41529 #include <ieeefp.h>
41530 #endif
41533 main ()
41535 _logf(0);
41537 return 0;
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func__logf_use=yes
41542 else
41543 glibcxx_cv_func__logf_use=no
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546 ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41557 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41559 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41560 for ac_func in _logf
41561 do :
41562 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41563 if test "x$ac_cv_func__logf" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE__LOGF 1
41566 _ACEOF
41569 done
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41579 $as_echo_n "checking for log10f declaration... " >&6; }
41580 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41581 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41582 $as_echo_n "(cached) " >&6
41583 else
41586 ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h. */
41594 #include <math.h>
41595 #ifdef HAVE_IEEEFP_H
41596 #include <ieeefp.h>
41597 #endif
41600 main ()
41602 log10f(0);
41604 return 0;
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608 glibcxx_cv_func_log10f_use=yes
41609 else
41610 glibcxx_cv_func_log10f_use=no
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41624 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41626 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41627 for ac_func in log10f
41628 do :
41629 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41630 if test "x$ac_cv_func_log10f" = x""yes; then :
41631 cat >>confdefs.h <<_ACEOF
41632 #define HAVE_LOG10F 1
41633 _ACEOF
41636 done
41638 else
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41641 $as_echo_n "checking for _log10f declaration... " >&6; }
41642 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41643 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41644 $as_echo_n "(cached) " >&6
41645 else
41648 ac_ext=cpp
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41655 /* end confdefs.h. */
41656 #include <math.h>
41657 #ifdef HAVE_IEEEFP_H
41658 #include <ieeefp.h>
41659 #endif
41662 main ()
41664 _log10f(0);
41666 return 0;
41668 _ACEOF
41669 if ac_fn_cxx_try_compile "$LINENO"; then :
41670 glibcxx_cv_func__log10f_use=yes
41671 else
41672 glibcxx_cv_func__log10f_use=no
41674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 ac_ext=c
41676 ac_cpp='$CPP $CPPFLAGS'
41677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41686 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41688 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41689 for ac_func in _log10f
41690 do :
41691 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41692 if test "x$ac_cv_func__log10f" = x""yes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define HAVE__LOG10F 1
41695 _ACEOF
41698 done
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41708 $as_echo_n "checking for modff declaration... " >&6; }
41709 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41710 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41725 main ()
41727 modff(0, 0);
41729 return 0;
41731 _ACEOF
41732 if ac_fn_cxx_try_compile "$LINENO"; then :
41733 glibcxx_cv_func_modff_use=yes
41734 else
41735 glibcxx_cv_func_modff_use=no
41737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738 ac_ext=c
41739 ac_cpp='$CPP $CPPFLAGS'
41740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41749 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41751 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41752 for ac_func in modff
41753 do :
41754 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41755 if test "x$ac_cv_func_modff" = x""yes; then :
41756 cat >>confdefs.h <<_ACEOF
41757 #define HAVE_MODFF 1
41758 _ACEOF
41761 done
41763 else
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41766 $as_echo_n "checking for _modff declaration... " >&6; }
41767 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41768 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41769 $as_echo_n "(cached) " >&6
41770 else
41773 ac_ext=cpp
41774 ac_cpp='$CXXCPP $CPPFLAGS'
41775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41780 /* end confdefs.h. */
41781 #include <math.h>
41783 main ()
41785 _modff(0, 0);
41787 return 0;
41789 _ACEOF
41790 if ac_fn_cxx_try_compile "$LINENO"; then :
41791 glibcxx_cv_func__modff_use=yes
41792 else
41793 glibcxx_cv_func__modff_use=no
41795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41796 ac_ext=c
41797 ac_cpp='$CPP $CPPFLAGS'
41798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41807 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41809 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41810 for ac_func in _modff
41811 do :
41812 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41813 if test "x$ac_cv_func__modff" = x""yes; then :
41814 cat >>confdefs.h <<_ACEOF
41815 #define HAVE__MODFF 1
41816 _ACEOF
41819 done
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41829 $as_echo_n "checking for modf declaration... " >&6; }
41830 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41831 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41832 $as_echo_n "(cached) " >&6
41833 else
41836 ac_ext=cpp
41837 ac_cpp='$CXXCPP $CPPFLAGS'
41838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h. */
41844 #include <math.h>
41846 main ()
41848 modf(0, 0);
41850 return 0;
41852 _ACEOF
41853 if ac_fn_cxx_try_compile "$LINENO"; then :
41854 glibcxx_cv_func_modf_use=yes
41855 else
41856 glibcxx_cv_func_modf_use=no
41858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41859 ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41870 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41872 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41873 for ac_func in modf
41874 do :
41875 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41876 if test "x$ac_cv_func_modf" = x""yes; then :
41877 cat >>confdefs.h <<_ACEOF
41878 #define HAVE_MODF 1
41879 _ACEOF
41882 done
41884 else
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41887 $as_echo_n "checking for _modf declaration... " >&6; }
41888 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41889 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41890 $as_echo_n "(cached) " >&6
41891 else
41894 ac_ext=cpp
41895 ac_cpp='$CXXCPP $CPPFLAGS'
41896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41901 /* end confdefs.h. */
41902 #include <math.h>
41904 main ()
41906 _modf(0, 0);
41908 return 0;
41910 _ACEOF
41911 if ac_fn_cxx_try_compile "$LINENO"; then :
41912 glibcxx_cv_func__modf_use=yes
41913 else
41914 glibcxx_cv_func__modf_use=no
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41917 ac_ext=c
41918 ac_cpp='$CPP $CPPFLAGS'
41919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41928 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41930 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41931 for ac_func in _modf
41932 do :
41933 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41934 if test "x$ac_cv_func__modf" = x""yes; then :
41935 cat >>confdefs.h <<_ACEOF
41936 #define HAVE__MODF 1
41937 _ACEOF
41940 done
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41950 $as_echo_n "checking for powf declaration... " >&6; }
41951 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41952 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41957 ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h. */
41965 #include <math.h>
41967 main ()
41969 powf(0, 0);
41971 return 0;
41973 _ACEOF
41974 if ac_fn_cxx_try_compile "$LINENO"; then :
41975 glibcxx_cv_func_powf_use=yes
41976 else
41977 glibcxx_cv_func_powf_use=no
41979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41980 ac_ext=c
41981 ac_cpp='$CPP $CPPFLAGS'
41982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41991 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41993 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41994 for ac_func in powf
41995 do :
41996 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41997 if test "x$ac_cv_func_powf" = x""yes; then :
41998 cat >>confdefs.h <<_ACEOF
41999 #define HAVE_POWF 1
42000 _ACEOF
42003 done
42005 else
42007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42008 $as_echo_n "checking for _powf declaration... " >&6; }
42009 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42010 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42011 $as_echo_n "(cached) " >&6
42012 else
42015 ac_ext=cpp
42016 ac_cpp='$CXXCPP $CPPFLAGS'
42017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42022 /* end confdefs.h. */
42023 #include <math.h>
42025 main ()
42027 _powf(0, 0);
42029 return 0;
42031 _ACEOF
42032 if ac_fn_cxx_try_compile "$LINENO"; then :
42033 glibcxx_cv_func__powf_use=yes
42034 else
42035 glibcxx_cv_func__powf_use=no
42037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42038 ac_ext=c
42039 ac_cpp='$CPP $CPPFLAGS'
42040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42049 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42051 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42052 for ac_func in _powf
42053 do :
42054 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42055 if test "x$ac_cv_func__powf" = x""yes; then :
42056 cat >>confdefs.h <<_ACEOF
42057 #define HAVE__POWF 1
42058 _ACEOF
42061 done
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42071 $as_echo_n "checking for sqrtf declaration... " >&6; }
42072 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42073 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42074 $as_echo_n "(cached) " >&6
42075 else
42078 ac_ext=cpp
42079 ac_cpp='$CXXCPP $CPPFLAGS'
42080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42085 /* end confdefs.h. */
42086 #include <math.h>
42087 #ifdef HAVE_IEEEFP_H
42088 #include <ieeefp.h>
42089 #endif
42092 main ()
42094 sqrtf(0);
42096 return 0;
42098 _ACEOF
42099 if ac_fn_cxx_try_compile "$LINENO"; then :
42100 glibcxx_cv_func_sqrtf_use=yes
42101 else
42102 glibcxx_cv_func_sqrtf_use=no
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42105 ac_ext=c
42106 ac_cpp='$CPP $CPPFLAGS'
42107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42116 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42118 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42119 for ac_func in sqrtf
42120 do :
42121 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42122 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42123 cat >>confdefs.h <<_ACEOF
42124 #define HAVE_SQRTF 1
42125 _ACEOF
42128 done
42130 else
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42133 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42134 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42135 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42136 $as_echo_n "(cached) " >&6
42137 else
42140 ac_ext=cpp
42141 ac_cpp='$CXXCPP $CPPFLAGS'
42142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42147 /* end confdefs.h. */
42148 #include <math.h>
42149 #ifdef HAVE_IEEEFP_H
42150 #include <ieeefp.h>
42151 #endif
42154 main ()
42156 _sqrtf(0);
42158 return 0;
42160 _ACEOF
42161 if ac_fn_cxx_try_compile "$LINENO"; then :
42162 glibcxx_cv_func__sqrtf_use=yes
42163 else
42164 glibcxx_cv_func__sqrtf_use=no
42166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42167 ac_ext=c
42168 ac_cpp='$CPP $CPPFLAGS'
42169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42178 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42180 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42181 for ac_func in _sqrtf
42182 do :
42183 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42184 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42185 cat >>confdefs.h <<_ACEOF
42186 #define HAVE__SQRTF 1
42187 _ACEOF
42190 done
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42200 $as_echo_n "checking for sincosf declaration... " >&6; }
42201 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42202 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42203 $as_echo_n "(cached) " >&6
42204 else
42207 ac_ext=cpp
42208 ac_cpp='$CXXCPP $CPPFLAGS'
42209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42214 /* end confdefs.h. */
42215 #include <math.h>
42217 main ()
42219 sincosf(0, 0, 0);
42221 return 0;
42223 _ACEOF
42224 if ac_fn_cxx_try_compile "$LINENO"; then :
42225 glibcxx_cv_func_sincosf_use=yes
42226 else
42227 glibcxx_cv_func_sincosf_use=no
42229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42230 ac_ext=c
42231 ac_cpp='$CPP $CPPFLAGS'
42232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42241 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42243 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42244 for ac_func in sincosf
42245 do :
42246 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42247 if test "x$ac_cv_func_sincosf" = x""yes; then :
42248 cat >>confdefs.h <<_ACEOF
42249 #define HAVE_SINCOSF 1
42250 _ACEOF
42253 done
42255 else
42257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42258 $as_echo_n "checking for _sincosf declaration... " >&6; }
42259 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42260 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42261 $as_echo_n "(cached) " >&6
42262 else
42265 ac_ext=cpp
42266 ac_cpp='$CXXCPP $CPPFLAGS'
42267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42272 /* end confdefs.h. */
42273 #include <math.h>
42275 main ()
42277 _sincosf(0, 0, 0);
42279 return 0;
42281 _ACEOF
42282 if ac_fn_cxx_try_compile "$LINENO"; then :
42283 glibcxx_cv_func__sincosf_use=yes
42284 else
42285 glibcxx_cv_func__sincosf_use=no
42287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42288 ac_ext=c
42289 ac_cpp='$CPP $CPPFLAGS'
42290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42299 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42301 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42302 for ac_func in _sincosf
42303 do :
42304 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42305 if test "x$ac_cv_func__sincosf" = x""yes; then :
42306 cat >>confdefs.h <<_ACEOF
42307 #define HAVE__SINCOSF 1
42308 _ACEOF
42311 done
42320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42321 $as_echo_n "checking for finitef declaration... " >&6; }
42322 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42323 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42324 $as_echo_n "(cached) " >&6
42325 else
42328 ac_ext=cpp
42329 ac_cpp='$CXXCPP $CPPFLAGS'
42330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42335 /* end confdefs.h. */
42336 #include <math.h>
42337 #ifdef HAVE_IEEEFP_H
42338 #include <ieeefp.h>
42339 #endif
42342 main ()
42344 finitef(0);
42346 return 0;
42348 _ACEOF
42349 if ac_fn_cxx_try_compile "$LINENO"; then :
42350 glibcxx_cv_func_finitef_use=yes
42351 else
42352 glibcxx_cv_func_finitef_use=no
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355 ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42366 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42368 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42369 for ac_func in finitef
42370 do :
42371 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42372 if test "x$ac_cv_func_finitef" = x""yes; then :
42373 cat >>confdefs.h <<_ACEOF
42374 #define HAVE_FINITEF 1
42375 _ACEOF
42378 done
42380 else
42382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42383 $as_echo_n "checking for _finitef declaration... " >&6; }
42384 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42385 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42386 $as_echo_n "(cached) " >&6
42387 else
42390 ac_ext=cpp
42391 ac_cpp='$CXXCPP $CPPFLAGS'
42392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42397 /* end confdefs.h. */
42398 #include <math.h>
42399 #ifdef HAVE_IEEEFP_H
42400 #include <ieeefp.h>
42401 #endif
42404 main ()
42406 _finitef(0);
42408 return 0;
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__finitef_use=yes
42413 else
42414 glibcxx_cv_func__finitef_use=no
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42428 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42430 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42431 for ac_func in _finitef
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42434 if test "x$ac_cv_func__finitef" = x""yes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__FINITEF 1
42437 _ACEOF
42440 done
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42450 $as_echo_n "checking for long double trig functions... " >&6; }
42451 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42452 $as_echo_n "(cached) " >&6
42453 else
42456 ac_ext=cpp
42457 ac_cpp='$CXXCPP $CPPFLAGS'
42458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42463 /* end confdefs.h. */
42464 #include <math.h>
42466 main ()
42468 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42470 return 0;
42472 _ACEOF
42473 if ac_fn_cxx_try_compile "$LINENO"; then :
42474 glibcxx_cv_func_long_double_trig_use=yes
42475 else
42476 glibcxx_cv_func_long_double_trig_use=no
42478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 ac_ext=c
42480 ac_cpp='$CPP $CPPFLAGS'
42481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42488 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42489 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42490 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42491 do :
42492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42494 eval as_val=\$$as_ac_var
42495 if test "x$as_val" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42498 _ACEOF
42501 done
42503 else
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42505 $as_echo_n "checking for _long double trig functions... " >&6; }
42506 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42507 $as_echo_n "(cached) " >&6
42508 else
42511 ac_ext=cpp
42512 ac_cpp='$CXXCPP $CPPFLAGS'
42513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42518 /* end confdefs.h. */
42519 #include <math.h>
42521 main ()
42523 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42525 return 0;
42527 _ACEOF
42528 if ac_fn_cxx_try_compile "$LINENO"; then :
42529 glibcxx_cv_func__long_double_trig_use=yes
42530 else
42531 glibcxx_cv_func__long_double_trig_use=no
42533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42534 ac_ext=c
42535 ac_cpp='$CPP $CPPFLAGS'
42536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42543 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42544 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42545 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42546 do :
42547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42549 eval as_val=\$$as_ac_var
42550 if test "x$as_val" = x""yes; then :
42551 cat >>confdefs.h <<_ACEOF
42552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42553 _ACEOF
42556 done
42565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42566 $as_echo_n "checking for long double round functions... " >&6; }
42567 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42568 $as_echo_n "(cached) " >&6
42569 else
42572 ac_ext=cpp
42573 ac_cpp='$CXXCPP $CPPFLAGS'
42574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42579 /* end confdefs.h. */
42580 #include <math.h>
42582 main ()
42584 ceill (0); floorl (0);
42586 return 0;
42588 _ACEOF
42589 if ac_fn_cxx_try_compile "$LINENO"; then :
42590 glibcxx_cv_func_long_double_round_use=yes
42591 else
42592 glibcxx_cv_func_long_double_round_use=no
42594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42595 ac_ext=c
42596 ac_cpp='$CPP $CPPFLAGS'
42597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42604 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42605 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42606 for ac_func in ceill floorl
42607 do :
42608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42610 eval as_val=\$$as_ac_var
42611 if test "x$as_val" = x""yes; then :
42612 cat >>confdefs.h <<_ACEOF
42613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42614 _ACEOF
42617 done
42619 else
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42621 $as_echo_n "checking for _long double round functions... " >&6; }
42622 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42623 $as_echo_n "(cached) " >&6
42624 else
42627 ac_ext=cpp
42628 ac_cpp='$CXXCPP $CPPFLAGS'
42629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42634 /* end confdefs.h. */
42635 #include <math.h>
42637 main ()
42639 _ceill (0); _floorl (0);
42641 return 0;
42643 _ACEOF
42644 if ac_fn_cxx_try_compile "$LINENO"; then :
42645 glibcxx_cv_func__long_double_round_use=yes
42646 else
42647 glibcxx_cv_func__long_double_round_use=no
42649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42650 ac_ext=c
42651 ac_cpp='$CPP $CPPFLAGS'
42652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42659 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42660 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42661 for ac_func in _ceill _floorl
42662 do :
42663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42665 eval as_val=\$$as_ac_var
42666 if test "x$as_val" = x""yes; then :
42667 cat >>confdefs.h <<_ACEOF
42668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42669 _ACEOF
42672 done
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42683 $as_echo_n "checking for isnanl declaration... " >&6; }
42684 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42685 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42686 $as_echo_n "(cached) " >&6
42687 else
42690 ac_ext=cpp
42691 ac_cpp='$CXXCPP $CPPFLAGS'
42692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42697 /* end confdefs.h. */
42698 #include <math.h>
42699 #ifdef HAVE_IEEEFP_H
42700 #include <ieeefp.h>
42701 #endif
42704 main ()
42706 isnanl(0);
42708 return 0;
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712 glibcxx_cv_func_isnanl_use=yes
42713 else
42714 glibcxx_cv_func_isnanl_use=no
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42728 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42730 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42731 for ac_func in isnanl
42732 do :
42733 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42734 if test "x$ac_cv_func_isnanl" = x""yes; then :
42735 cat >>confdefs.h <<_ACEOF
42736 #define HAVE_ISNANL 1
42737 _ACEOF
42740 done
42742 else
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42745 $as_echo_n "checking for _isnanl declaration... " >&6; }
42746 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42747 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42748 $as_echo_n "(cached) " >&6
42749 else
42752 ac_ext=cpp
42753 ac_cpp='$CXXCPP $CPPFLAGS'
42754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42759 /* end confdefs.h. */
42760 #include <math.h>
42761 #ifdef HAVE_IEEEFP_H
42762 #include <ieeefp.h>
42763 #endif
42766 main ()
42768 _isnanl(0);
42770 return 0;
42772 _ACEOF
42773 if ac_fn_cxx_try_compile "$LINENO"; then :
42774 glibcxx_cv_func__isnanl_use=yes
42775 else
42776 glibcxx_cv_func__isnanl_use=no
42778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42779 ac_ext=c
42780 ac_cpp='$CPP $CPPFLAGS'
42781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42790 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42792 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42793 for ac_func in _isnanl
42794 do :
42795 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42796 if test "x$ac_cv_func__isnanl" = x""yes; then :
42797 cat >>confdefs.h <<_ACEOF
42798 #define HAVE__ISNANL 1
42799 _ACEOF
42802 done
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42812 $as_echo_n "checking for isinfl declaration... " >&6; }
42813 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42814 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42815 $as_echo_n "(cached) " >&6
42816 else
42819 ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h. */
42827 #include <math.h>
42828 #ifdef HAVE_IEEEFP_H
42829 #include <ieeefp.h>
42830 #endif
42833 main ()
42835 isinfl(0);
42837 return 0;
42839 _ACEOF
42840 if ac_fn_cxx_try_compile "$LINENO"; then :
42841 glibcxx_cv_func_isinfl_use=yes
42842 else
42843 glibcxx_cv_func_isinfl_use=no
42845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42846 ac_ext=c
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42857 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42859 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42860 for ac_func in isinfl
42861 do :
42862 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42863 if test "x$ac_cv_func_isinfl" = x""yes; then :
42864 cat >>confdefs.h <<_ACEOF
42865 #define HAVE_ISINFL 1
42866 _ACEOF
42869 done
42871 else
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42874 $as_echo_n "checking for _isinfl declaration... " >&6; }
42875 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42876 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42877 $as_echo_n "(cached) " >&6
42878 else
42881 ac_ext=cpp
42882 ac_cpp='$CXXCPP $CPPFLAGS'
42883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42888 /* end confdefs.h. */
42889 #include <math.h>
42890 #ifdef HAVE_IEEEFP_H
42891 #include <ieeefp.h>
42892 #endif
42895 main ()
42897 _isinfl(0);
42899 return 0;
42901 _ACEOF
42902 if ac_fn_cxx_try_compile "$LINENO"; then :
42903 glibcxx_cv_func__isinfl_use=yes
42904 else
42905 glibcxx_cv_func__isinfl_use=no
42907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42908 ac_ext=c
42909 ac_cpp='$CPP $CPPFLAGS'
42910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42919 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42921 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42922 for ac_func in _isinfl
42923 do :
42924 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42925 if test "x$ac_cv_func__isinfl" = x""yes; then :
42926 cat >>confdefs.h <<_ACEOF
42927 #define HAVE__ISINFL 1
42928 _ACEOF
42931 done
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42941 $as_echo_n "checking for atan2l declaration... " >&6; }
42942 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42943 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42944 $as_echo_n "(cached) " >&6
42945 else
42948 ac_ext=cpp
42949 ac_cpp='$CXXCPP $CPPFLAGS'
42950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42955 /* end confdefs.h. */
42956 #include <math.h>
42958 main ()
42960 atan2l(0, 0);
42962 return 0;
42964 _ACEOF
42965 if ac_fn_cxx_try_compile "$LINENO"; then :
42966 glibcxx_cv_func_atan2l_use=yes
42967 else
42968 glibcxx_cv_func_atan2l_use=no
42970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971 ac_ext=c
42972 ac_cpp='$CPP $CPPFLAGS'
42973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42982 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42984 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42985 for ac_func in atan2l
42986 do :
42987 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42988 if test "x$ac_cv_func_atan2l" = x""yes; then :
42989 cat >>confdefs.h <<_ACEOF
42990 #define HAVE_ATAN2L 1
42991 _ACEOF
42994 done
42996 else
42998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42999 $as_echo_n "checking for _atan2l declaration... " >&6; }
43000 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43001 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43002 $as_echo_n "(cached) " >&6
43003 else
43006 ac_ext=cpp
43007 ac_cpp='$CXXCPP $CPPFLAGS'
43008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43013 /* end confdefs.h. */
43014 #include <math.h>
43016 main ()
43018 _atan2l(0, 0);
43020 return 0;
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024 glibcxx_cv_func__atan2l_use=yes
43025 else
43026 glibcxx_cv_func__atan2l_use=no
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43029 ac_ext=c
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43040 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43042 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43043 for ac_func in _atan2l
43044 do :
43045 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43046 if test "x$ac_cv_func__atan2l" = x""yes; then :
43047 cat >>confdefs.h <<_ACEOF
43048 #define HAVE__ATAN2L 1
43049 _ACEOF
43052 done
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43062 $as_echo_n "checking for expl declaration... " >&6; }
43063 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43064 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43065 $as_echo_n "(cached) " >&6
43066 else
43069 ac_ext=cpp
43070 ac_cpp='$CXXCPP $CPPFLAGS'
43071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43076 /* end confdefs.h. */
43077 #include <math.h>
43078 #ifdef HAVE_IEEEFP_H
43079 #include <ieeefp.h>
43080 #endif
43083 main ()
43085 expl(0);
43087 return 0;
43089 _ACEOF
43090 if ac_fn_cxx_try_compile "$LINENO"; then :
43091 glibcxx_cv_func_expl_use=yes
43092 else
43093 glibcxx_cv_func_expl_use=no
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43096 ac_ext=c
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43107 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43109 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43110 for ac_func in expl
43111 do :
43112 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43113 if test "x$ac_cv_func_expl" = x""yes; then :
43114 cat >>confdefs.h <<_ACEOF
43115 #define HAVE_EXPL 1
43116 _ACEOF
43119 done
43121 else
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43124 $as_echo_n "checking for _expl declaration... " >&6; }
43125 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43126 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43127 $as_echo_n "(cached) " >&6
43128 else
43131 ac_ext=cpp
43132 ac_cpp='$CXXCPP $CPPFLAGS'
43133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h. */
43139 #include <math.h>
43140 #ifdef HAVE_IEEEFP_H
43141 #include <ieeefp.h>
43142 #endif
43145 main ()
43147 _expl(0);
43149 return 0;
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153 glibcxx_cv_func__expl_use=yes
43154 else
43155 glibcxx_cv_func__expl_use=no
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158 ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43169 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43171 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43172 for ac_func in _expl
43173 do :
43174 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43175 if test "x$ac_cv_func__expl" = x""yes; then :
43176 cat >>confdefs.h <<_ACEOF
43177 #define HAVE__EXPL 1
43178 _ACEOF
43181 done
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43191 $as_echo_n "checking for fabsl declaration... " >&6; }
43192 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43193 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43194 $as_echo_n "(cached) " >&6
43195 else
43198 ac_ext=cpp
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43205 /* end confdefs.h. */
43206 #include <math.h>
43207 #ifdef HAVE_IEEEFP_H
43208 #include <ieeefp.h>
43209 #endif
43212 main ()
43214 fabsl(0);
43216 return 0;
43218 _ACEOF
43219 if ac_fn_cxx_try_compile "$LINENO"; then :
43220 glibcxx_cv_func_fabsl_use=yes
43221 else
43222 glibcxx_cv_func_fabsl_use=no
43224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43225 ac_ext=c
43226 ac_cpp='$CPP $CPPFLAGS'
43227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43236 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43238 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43239 for ac_func in fabsl
43240 do :
43241 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43242 if test "x$ac_cv_func_fabsl" = x""yes; then :
43243 cat >>confdefs.h <<_ACEOF
43244 #define HAVE_FABSL 1
43245 _ACEOF
43248 done
43250 else
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43253 $as_echo_n "checking for _fabsl declaration... " >&6; }
43254 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43255 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43256 $as_echo_n "(cached) " >&6
43257 else
43260 ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h. */
43268 #include <math.h>
43269 #ifdef HAVE_IEEEFP_H
43270 #include <ieeefp.h>
43271 #endif
43274 main ()
43276 _fabsl(0);
43278 return 0;
43280 _ACEOF
43281 if ac_fn_cxx_try_compile "$LINENO"; then :
43282 glibcxx_cv_func__fabsl_use=yes
43283 else
43284 glibcxx_cv_func__fabsl_use=no
43286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43287 ac_ext=c
43288 ac_cpp='$CPP $CPPFLAGS'
43289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43298 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43300 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43301 for ac_func in _fabsl
43302 do :
43303 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43304 if test "x$ac_cv_func__fabsl" = x""yes; then :
43305 cat >>confdefs.h <<_ACEOF
43306 #define HAVE__FABSL 1
43307 _ACEOF
43310 done
43319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43320 $as_echo_n "checking for fmodl declaration... " >&6; }
43321 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43322 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43323 $as_echo_n "(cached) " >&6
43324 else
43327 ac_ext=cpp
43328 ac_cpp='$CXXCPP $CPPFLAGS'
43329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43334 /* end confdefs.h. */
43335 #include <math.h>
43337 main ()
43339 fmodl(0, 0);
43341 return 0;
43343 _ACEOF
43344 if ac_fn_cxx_try_compile "$LINENO"; then :
43345 glibcxx_cv_func_fmodl_use=yes
43346 else
43347 glibcxx_cv_func_fmodl_use=no
43349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43350 ac_ext=c
43351 ac_cpp='$CPP $CPPFLAGS'
43352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43361 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43363 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43364 for ac_func in fmodl
43365 do :
43366 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43367 if test "x$ac_cv_func_fmodl" = x""yes; then :
43368 cat >>confdefs.h <<_ACEOF
43369 #define HAVE_FMODL 1
43370 _ACEOF
43373 done
43375 else
43377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43378 $as_echo_n "checking for _fmodl declaration... " >&6; }
43379 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43380 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43381 $as_echo_n "(cached) " >&6
43382 else
43385 ac_ext=cpp
43386 ac_cpp='$CXXCPP $CPPFLAGS'
43387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43392 /* end confdefs.h. */
43393 #include <math.h>
43395 main ()
43397 _fmodl(0, 0);
43399 return 0;
43401 _ACEOF
43402 if ac_fn_cxx_try_compile "$LINENO"; then :
43403 glibcxx_cv_func__fmodl_use=yes
43404 else
43405 glibcxx_cv_func__fmodl_use=no
43407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 ac_ext=c
43409 ac_cpp='$CPP $CPPFLAGS'
43410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43419 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43421 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43422 for ac_func in _fmodl
43423 do :
43424 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43425 if test "x$ac_cv_func__fmodl" = x""yes; then :
43426 cat >>confdefs.h <<_ACEOF
43427 #define HAVE__FMODL 1
43428 _ACEOF
43431 done
43440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43441 $as_echo_n "checking for frexpl declaration... " >&6; }
43442 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43443 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43444 $as_echo_n "(cached) " >&6
43445 else
43448 ac_ext=cpp
43449 ac_cpp='$CXXCPP $CPPFLAGS'
43450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43455 /* end confdefs.h. */
43456 #include <math.h>
43458 main ()
43460 frexpl(0, 0);
43462 return 0;
43464 _ACEOF
43465 if ac_fn_cxx_try_compile "$LINENO"; then :
43466 glibcxx_cv_func_frexpl_use=yes
43467 else
43468 glibcxx_cv_func_frexpl_use=no
43470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43471 ac_ext=c
43472 ac_cpp='$CPP $CPPFLAGS'
43473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43482 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43484 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43485 for ac_func in frexpl
43486 do :
43487 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43488 if test "x$ac_cv_func_frexpl" = x""yes; then :
43489 cat >>confdefs.h <<_ACEOF
43490 #define HAVE_FREXPL 1
43491 _ACEOF
43494 done
43496 else
43498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43499 $as_echo_n "checking for _frexpl declaration... " >&6; }
43500 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43501 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43502 $as_echo_n "(cached) " >&6
43503 else
43506 ac_ext=cpp
43507 ac_cpp='$CXXCPP $CPPFLAGS'
43508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43513 /* end confdefs.h. */
43514 #include <math.h>
43516 main ()
43518 _frexpl(0, 0);
43520 return 0;
43522 _ACEOF
43523 if ac_fn_cxx_try_compile "$LINENO"; then :
43524 glibcxx_cv_func__frexpl_use=yes
43525 else
43526 glibcxx_cv_func__frexpl_use=no
43528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43529 ac_ext=c
43530 ac_cpp='$CPP $CPPFLAGS'
43531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43540 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43542 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43543 for ac_func in _frexpl
43544 do :
43545 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43546 if test "x$ac_cv_func__frexpl" = x""yes; then :
43547 cat >>confdefs.h <<_ACEOF
43548 #define HAVE__FREXPL 1
43549 _ACEOF
43552 done
43561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43562 $as_echo_n "checking for hypotl declaration... " >&6; }
43563 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43564 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43565 $as_echo_n "(cached) " >&6
43566 else
43569 ac_ext=cpp
43570 ac_cpp='$CXXCPP $CPPFLAGS'
43571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43576 /* end confdefs.h. */
43577 #include <math.h>
43579 main ()
43581 hypotl(0, 0);
43583 return 0;
43585 _ACEOF
43586 if ac_fn_cxx_try_compile "$LINENO"; then :
43587 glibcxx_cv_func_hypotl_use=yes
43588 else
43589 glibcxx_cv_func_hypotl_use=no
43591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592 ac_ext=c
43593 ac_cpp='$CPP $CPPFLAGS'
43594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43603 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43605 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43606 for ac_func in hypotl
43607 do :
43608 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43609 if test "x$ac_cv_func_hypotl" = x""yes; then :
43610 cat >>confdefs.h <<_ACEOF
43611 #define HAVE_HYPOTL 1
43612 _ACEOF
43615 done
43617 else
43619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43620 $as_echo_n "checking for _hypotl declaration... " >&6; }
43621 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43622 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43623 $as_echo_n "(cached) " >&6
43624 else
43627 ac_ext=cpp
43628 ac_cpp='$CXXCPP $CPPFLAGS'
43629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43634 /* end confdefs.h. */
43635 #include <math.h>
43637 main ()
43639 _hypotl(0, 0);
43641 return 0;
43643 _ACEOF
43644 if ac_fn_cxx_try_compile "$LINENO"; then :
43645 glibcxx_cv_func__hypotl_use=yes
43646 else
43647 glibcxx_cv_func__hypotl_use=no
43649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43650 ac_ext=c
43651 ac_cpp='$CPP $CPPFLAGS'
43652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43661 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43663 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43664 for ac_func in _hypotl
43665 do :
43666 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43667 if test "x$ac_cv_func__hypotl" = x""yes; then :
43668 cat >>confdefs.h <<_ACEOF
43669 #define HAVE__HYPOTL 1
43670 _ACEOF
43673 done
43682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43683 $as_echo_n "checking for ldexpl declaration... " >&6; }
43684 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43685 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43686 $as_echo_n "(cached) " >&6
43687 else
43690 ac_ext=cpp
43691 ac_cpp='$CXXCPP $CPPFLAGS'
43692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43697 /* end confdefs.h. */
43698 #include <math.h>
43700 main ()
43702 ldexpl(0, 0);
43704 return 0;
43706 _ACEOF
43707 if ac_fn_cxx_try_compile "$LINENO"; then :
43708 glibcxx_cv_func_ldexpl_use=yes
43709 else
43710 glibcxx_cv_func_ldexpl_use=no
43712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43713 ac_ext=c
43714 ac_cpp='$CPP $CPPFLAGS'
43715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43724 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43726 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43727 for ac_func in ldexpl
43728 do :
43729 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43730 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43731 cat >>confdefs.h <<_ACEOF
43732 #define HAVE_LDEXPL 1
43733 _ACEOF
43736 done
43738 else
43740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43741 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43742 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43743 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43744 $as_echo_n "(cached) " >&6
43745 else
43748 ac_ext=cpp
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43755 /* end confdefs.h. */
43756 #include <math.h>
43758 main ()
43760 _ldexpl(0, 0);
43762 return 0;
43764 _ACEOF
43765 if ac_fn_cxx_try_compile "$LINENO"; then :
43766 glibcxx_cv_func__ldexpl_use=yes
43767 else
43768 glibcxx_cv_func__ldexpl_use=no
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771 ac_ext=c
43772 ac_cpp='$CPP $CPPFLAGS'
43773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43782 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43784 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43785 for ac_func in _ldexpl
43786 do :
43787 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43788 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43789 cat >>confdefs.h <<_ACEOF
43790 #define HAVE__LDEXPL 1
43791 _ACEOF
43794 done
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43804 $as_echo_n "checking for logl declaration... " >&6; }
43805 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43806 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43825 main ()
43827 logl(0);
43829 return 0;
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func_logl_use=yes
43834 else
43835 glibcxx_cv_func_logl_use=no
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43849 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43851 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43852 for ac_func in logl
43853 do :
43854 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43855 if test "x$ac_cv_func_logl" = x""yes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE_LOGL 1
43858 _ACEOF
43861 done
43863 else
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43866 $as_echo_n "checking for _logl declaration... " >&6; }
43867 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43868 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43869 $as_echo_n "(cached) " >&6
43870 else
43873 ac_ext=cpp
43874 ac_cpp='$CXXCPP $CPPFLAGS'
43875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43880 /* end confdefs.h. */
43881 #include <math.h>
43882 #ifdef HAVE_IEEEFP_H
43883 #include <ieeefp.h>
43884 #endif
43887 main ()
43889 _logl(0);
43891 return 0;
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895 glibcxx_cv_func__logl_use=yes
43896 else
43897 glibcxx_cv_func__logl_use=no
43899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900 ac_ext=c
43901 ac_cpp='$CPP $CPPFLAGS'
43902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43911 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43913 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43914 for ac_func in _logl
43915 do :
43916 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43917 if test "x$ac_cv_func__logl" = x""yes; then :
43918 cat >>confdefs.h <<_ACEOF
43919 #define HAVE__LOGL 1
43920 _ACEOF
43923 done
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43933 $as_echo_n "checking for log10l declaration... " >&6; }
43934 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43935 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43936 $as_echo_n "(cached) " >&6
43937 else
43940 ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43954 main ()
43956 log10l(0);
43958 return 0;
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962 glibcxx_cv_func_log10l_use=yes
43963 else
43964 glibcxx_cv_func_log10l_use=no
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43978 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43980 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43981 for ac_func in log10l
43982 do :
43983 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43984 if test "x$ac_cv_func_log10l" = x""yes; then :
43985 cat >>confdefs.h <<_ACEOF
43986 #define HAVE_LOG10L 1
43987 _ACEOF
43990 done
43992 else
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43995 $as_echo_n "checking for _log10l declaration... " >&6; }
43996 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43997 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43998 $as_echo_n "(cached) " >&6
43999 else
44002 ac_ext=cpp
44003 ac_cpp='$CXXCPP $CPPFLAGS'
44004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44009 /* end confdefs.h. */
44010 #include <math.h>
44011 #ifdef HAVE_IEEEFP_H
44012 #include <ieeefp.h>
44013 #endif
44016 main ()
44018 _log10l(0);
44020 return 0;
44022 _ACEOF
44023 if ac_fn_cxx_try_compile "$LINENO"; then :
44024 glibcxx_cv_func__log10l_use=yes
44025 else
44026 glibcxx_cv_func__log10l_use=no
44028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44029 ac_ext=c
44030 ac_cpp='$CPP $CPPFLAGS'
44031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44040 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44042 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44043 for ac_func in _log10l
44044 do :
44045 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44046 if test "x$ac_cv_func__log10l" = x""yes; then :
44047 cat >>confdefs.h <<_ACEOF
44048 #define HAVE__LOG10L 1
44049 _ACEOF
44052 done
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44062 $as_echo_n "checking for modfl declaration... " >&6; }
44063 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44064 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44065 $as_echo_n "(cached) " >&6
44066 else
44069 ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h. */
44077 #include <math.h>
44079 main ()
44081 modfl(0, 0);
44083 return 0;
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087 glibcxx_cv_func_modfl_use=yes
44088 else
44089 glibcxx_cv_func_modfl_use=no
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092 ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44103 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44105 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44106 for ac_func in modfl
44107 do :
44108 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44109 if test "x$ac_cv_func_modfl" = x""yes; then :
44110 cat >>confdefs.h <<_ACEOF
44111 #define HAVE_MODFL 1
44112 _ACEOF
44115 done
44117 else
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44120 $as_echo_n "checking for _modfl declaration... " >&6; }
44121 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44122 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44123 $as_echo_n "(cached) " >&6
44124 else
44127 ac_ext=cpp
44128 ac_cpp='$CXXCPP $CPPFLAGS'
44129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44134 /* end confdefs.h. */
44135 #include <math.h>
44137 main ()
44139 _modfl(0, 0);
44141 return 0;
44143 _ACEOF
44144 if ac_fn_cxx_try_compile "$LINENO"; then :
44145 glibcxx_cv_func__modfl_use=yes
44146 else
44147 glibcxx_cv_func__modfl_use=no
44149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44150 ac_ext=c
44151 ac_cpp='$CPP $CPPFLAGS'
44152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44161 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44163 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44164 for ac_func in _modfl
44165 do :
44166 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44167 if test "x$ac_cv_func__modfl" = x""yes; then :
44168 cat >>confdefs.h <<_ACEOF
44169 #define HAVE__MODFL 1
44170 _ACEOF
44173 done
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44183 $as_echo_n "checking for powl declaration... " >&6; }
44184 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44185 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44200 main ()
44202 powl(0, 0);
44204 return 0;
44206 _ACEOF
44207 if ac_fn_cxx_try_compile "$LINENO"; then :
44208 glibcxx_cv_func_powl_use=yes
44209 else
44210 glibcxx_cv_func_powl_use=no
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44213 ac_ext=c
44214 ac_cpp='$CPP $CPPFLAGS'
44215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44224 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44226 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44227 for ac_func in powl
44228 do :
44229 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44230 if test "x$ac_cv_func_powl" = x""yes; then :
44231 cat >>confdefs.h <<_ACEOF
44232 #define HAVE_POWL 1
44233 _ACEOF
44236 done
44238 else
44240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44241 $as_echo_n "checking for _powl declaration... " >&6; }
44242 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44243 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44244 $as_echo_n "(cached) " >&6
44245 else
44248 ac_ext=cpp
44249 ac_cpp='$CXXCPP $CPPFLAGS'
44250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44255 /* end confdefs.h. */
44256 #include <math.h>
44258 main ()
44260 _powl(0, 0);
44262 return 0;
44264 _ACEOF
44265 if ac_fn_cxx_try_compile "$LINENO"; then :
44266 glibcxx_cv_func__powl_use=yes
44267 else
44268 glibcxx_cv_func__powl_use=no
44270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44271 ac_ext=c
44272 ac_cpp='$CPP $CPPFLAGS'
44273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44282 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44284 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44285 for ac_func in _powl
44286 do :
44287 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44288 if test "x$ac_cv_func__powl" = x""yes; then :
44289 cat >>confdefs.h <<_ACEOF
44290 #define HAVE__POWL 1
44291 _ACEOF
44294 done
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44304 $as_echo_n "checking for sqrtl declaration... " >&6; }
44305 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44306 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44307 $as_echo_n "(cached) " >&6
44308 else
44311 ac_ext=cpp
44312 ac_cpp='$CXXCPP $CPPFLAGS'
44313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44318 /* end confdefs.h. */
44319 #include <math.h>
44320 #ifdef HAVE_IEEEFP_H
44321 #include <ieeefp.h>
44322 #endif
44325 main ()
44327 sqrtl(0);
44329 return 0;
44331 _ACEOF
44332 if ac_fn_cxx_try_compile "$LINENO"; then :
44333 glibcxx_cv_func_sqrtl_use=yes
44334 else
44335 glibcxx_cv_func_sqrtl_use=no
44337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44338 ac_ext=c
44339 ac_cpp='$CPP $CPPFLAGS'
44340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44349 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44351 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44352 for ac_func in sqrtl
44353 do :
44354 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44355 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44356 cat >>confdefs.h <<_ACEOF
44357 #define HAVE_SQRTL 1
44358 _ACEOF
44361 done
44363 else
44365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44366 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44367 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44368 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44369 $as_echo_n "(cached) " >&6
44370 else
44373 ac_ext=cpp
44374 ac_cpp='$CXXCPP $CPPFLAGS'
44375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44380 /* end confdefs.h. */
44381 #include <math.h>
44382 #ifdef HAVE_IEEEFP_H
44383 #include <ieeefp.h>
44384 #endif
44387 main ()
44389 _sqrtl(0);
44391 return 0;
44393 _ACEOF
44394 if ac_fn_cxx_try_compile "$LINENO"; then :
44395 glibcxx_cv_func__sqrtl_use=yes
44396 else
44397 glibcxx_cv_func__sqrtl_use=no
44399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44400 ac_ext=c
44401 ac_cpp='$CPP $CPPFLAGS'
44402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44411 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44413 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44414 for ac_func in _sqrtl
44415 do :
44416 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44417 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44418 cat >>confdefs.h <<_ACEOF
44419 #define HAVE__SQRTL 1
44420 _ACEOF
44423 done
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44433 $as_echo_n "checking for sincosl declaration... " >&6; }
44434 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44435 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44436 $as_echo_n "(cached) " >&6
44437 else
44440 ac_ext=cpp
44441 ac_cpp='$CXXCPP $CPPFLAGS'
44442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44447 /* end confdefs.h. */
44448 #include <math.h>
44450 main ()
44452 sincosl(0, 0, 0);
44454 return 0;
44456 _ACEOF
44457 if ac_fn_cxx_try_compile "$LINENO"; then :
44458 glibcxx_cv_func_sincosl_use=yes
44459 else
44460 glibcxx_cv_func_sincosl_use=no
44462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44463 ac_ext=c
44464 ac_cpp='$CPP $CPPFLAGS'
44465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44474 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44476 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44477 for ac_func in sincosl
44478 do :
44479 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44480 if test "x$ac_cv_func_sincosl" = x""yes; then :
44481 cat >>confdefs.h <<_ACEOF
44482 #define HAVE_SINCOSL 1
44483 _ACEOF
44486 done
44488 else
44490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44491 $as_echo_n "checking for _sincosl declaration... " >&6; }
44492 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44493 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44494 $as_echo_n "(cached) " >&6
44495 else
44498 ac_ext=cpp
44499 ac_cpp='$CXXCPP $CPPFLAGS'
44500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44505 /* end confdefs.h. */
44506 #include <math.h>
44508 main ()
44510 _sincosl(0, 0, 0);
44512 return 0;
44514 _ACEOF
44515 if ac_fn_cxx_try_compile "$LINENO"; then :
44516 glibcxx_cv_func__sincosl_use=yes
44517 else
44518 glibcxx_cv_func__sincosl_use=no
44520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44521 ac_ext=c
44522 ac_cpp='$CPP $CPPFLAGS'
44523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44532 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44534 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44535 for ac_func in _sincosl
44536 do :
44537 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44538 if test "x$ac_cv_func__sincosl" = x""yes; then :
44539 cat >>confdefs.h <<_ACEOF
44540 #define HAVE__SINCOSL 1
44541 _ACEOF
44544 done
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44554 $as_echo_n "checking for finitel declaration... " >&6; }
44555 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44556 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44557 $as_echo_n "(cached) " >&6
44558 else
44561 ac_ext=cpp
44562 ac_cpp='$CXXCPP $CPPFLAGS'
44563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44568 /* end confdefs.h. */
44569 #include <math.h>
44570 #ifdef HAVE_IEEEFP_H
44571 #include <ieeefp.h>
44572 #endif
44575 main ()
44577 finitel(0);
44579 return 0;
44581 _ACEOF
44582 if ac_fn_cxx_try_compile "$LINENO"; then :
44583 glibcxx_cv_func_finitel_use=yes
44584 else
44585 glibcxx_cv_func_finitel_use=no
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44588 ac_ext=c
44589 ac_cpp='$CPP $CPPFLAGS'
44590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44599 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44601 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44602 for ac_func in finitel
44603 do :
44604 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44605 if test "x$ac_cv_func_finitel" = x""yes; then :
44606 cat >>confdefs.h <<_ACEOF
44607 #define HAVE_FINITEL 1
44608 _ACEOF
44611 done
44613 else
44615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44616 $as_echo_n "checking for _finitel declaration... " >&6; }
44617 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44618 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44619 $as_echo_n "(cached) " >&6
44620 else
44623 ac_ext=cpp
44624 ac_cpp='$CXXCPP $CPPFLAGS'
44625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44630 /* end confdefs.h. */
44631 #include <math.h>
44632 #ifdef HAVE_IEEEFP_H
44633 #include <ieeefp.h>
44634 #endif
44637 main ()
44639 _finitel(0);
44641 return 0;
44643 _ACEOF
44644 if ac_fn_cxx_try_compile "$LINENO"; then :
44645 glibcxx_cv_func__finitel_use=yes
44646 else
44647 glibcxx_cv_func__finitel_use=no
44649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 ac_ext=c
44651 ac_cpp='$CPP $CPPFLAGS'
44652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44661 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44663 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44664 for ac_func in _finitel
44665 do :
44666 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44667 if test "x$ac_cv_func__finitel" = x""yes; then :
44668 cat >>confdefs.h <<_ACEOF
44669 #define HAVE__FINITEL 1
44670 _ACEOF
44673 done
44681 LIBS="$ac_save_LIBS"
44682 CXXFLAGS="$ac_save_CXXFLAGS"
44685 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44686 ac_save_CXXFLAGS="$CXXFLAGS"
44687 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44691 $as_echo_n "checking for strtold declaration... " >&6; }
44692 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44693 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44694 $as_echo_n "(cached) " >&6
44695 else
44698 ac_ext=cpp
44699 ac_cpp='$CXXCPP $CPPFLAGS'
44700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44705 /* end confdefs.h. */
44706 #include <stdlib.h>
44708 main ()
44710 strtold(0, 0);
44712 return 0;
44714 _ACEOF
44715 if ac_fn_cxx_try_compile "$LINENO"; then :
44716 glibcxx_cv_func_strtold_use=yes
44717 else
44718 glibcxx_cv_func_strtold_use=no
44720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44721 ac_ext=c
44722 ac_cpp='$CPP $CPPFLAGS'
44723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44732 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44733 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44734 for ac_func in strtold
44735 do :
44736 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44737 if test "x$ac_cv_func_strtold" = x""yes; then :
44738 cat >>confdefs.h <<_ACEOF
44739 #define HAVE_STRTOLD 1
44740 _ACEOF
44743 done
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44751 $as_echo_n "checking for strtof declaration... " >&6; }
44752 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44753 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44754 $as_echo_n "(cached) " >&6
44755 else
44758 ac_ext=cpp
44759 ac_cpp='$CXXCPP $CPPFLAGS'
44760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44765 /* end confdefs.h. */
44766 #include <stdlib.h>
44768 main ()
44770 strtof(0, 0);
44772 return 0;
44774 _ACEOF
44775 if ac_fn_cxx_try_compile "$LINENO"; then :
44776 glibcxx_cv_func_strtof_use=yes
44777 else
44778 glibcxx_cv_func_strtof_use=no
44780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44781 ac_ext=c
44782 ac_cpp='$CPP $CPPFLAGS'
44783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44792 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44793 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44794 for ac_func in strtof
44795 do :
44796 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44797 if test "x$ac_cv_func_strtof" = x""yes; then :
44798 cat >>confdefs.h <<_ACEOF
44799 #define HAVE_STRTOF 1
44800 _ACEOF
44803 done
44810 CXXFLAGS="$ac_save_CXXFLAGS"
44814 *djgpp)
44815 # GLIBCXX_CHECK_MATH_SUPPORT
44816 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44818 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44820 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44822 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44824 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44828 *-freebsd*)
44829 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44832 # If we're not using GNU ld, then there's no point in even trying these
44833 # tests. Check for that first. We should have already tested for gld
44834 # by now (in libtool), but require it now just to be safe...
44835 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44836 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44840 # The name set by libtool depends on the version of libtool. Shame on us
44841 # for depending on an impl detail, but c'est la vie. Older versions used
44842 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44843 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44844 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44845 # set (hence we're using an older libtool), then set it.
44846 if test x${with_gnu_ld+set} != xset; then
44847 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44848 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44849 with_gnu_ld=no
44850 else
44851 with_gnu_ld=$ac_cv_prog_gnu_ld
44855 # Start by getting the version number. I think the libtool test already
44856 # does some of this, but throws away the result.
44857 glibcxx_ld_is_gold=no
44858 if test x"$with_gnu_ld" = x"yes"; then
44859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44860 $as_echo_n "checking for ld version... " >&6; }
44862 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44863 glibcxx_ld_is_gold=yes
44865 ldver=`$LD --version 2>/dev/null |
44866 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'`
44868 glibcxx_gnu_ld_version=`echo $ldver | \
44869 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44871 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44874 # Set --gc-sections.
44875 glibcxx_have_gc_sections=no
44876 if test "$glibcxx_ld_is_gold" = "yes"; then
44877 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44878 glibcxx_have_gc_sections=yes
44880 else
44881 glibcxx_gcsections_min_ld=21602
44882 if test x"$with_gnu_ld" = x"yes" &&
44883 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44884 glibcxx_have_gc_sections=yes
44887 if test "$glibcxx_have_gc_sections" = "yes"; then
44888 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44889 # NB: This flag only works reliably after 2.16.1. Configure tests
44890 # for this are difficult, so hard wire a value that should work.
44892 ac_test_CFLAGS="${CFLAGS+set}"
44893 ac_save_CFLAGS="$CFLAGS"
44894 CFLAGS='-Wl,--gc-sections'
44896 # Check for -Wl,--gc-sections
44897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44898 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44899 if test x$gcc_no_link = xyes; then
44900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44903 /* end confdefs.h. */
44904 int one(void) { return 1; }
44905 int two(void) { return 2; }
44908 main ()
44910 two();
44912 return 0;
44914 _ACEOF
44915 if ac_fn_c_try_link "$LINENO"; then :
44916 ac_gcsections=yes
44917 else
44918 ac_gcsections=no
44920 rm -f core conftest.err conftest.$ac_objext \
44921 conftest$ac_exeext conftest.$ac_ext
44922 if test "$ac_gcsections" = "yes"; then
44923 rm -f conftest.c
44924 touch conftest.c
44925 if $CC -c conftest.c; then
44926 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44927 grep "Warning: gc-sections option ignored" > /dev/null; then
44928 ac_gcsections=no
44931 rm -f conftest.c conftest.o conftest
44933 if test "$ac_gcsections" = "yes"; then
44934 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44937 $as_echo "$ac_gcsections" >&6; }
44939 if test "$ac_test_CFLAGS" = set; then
44940 CFLAGS="$ac_save_CFLAGS"
44941 else
44942 # this is the suspicious part
44943 CFLAGS=''
44947 # Set -z,relro.
44948 # Note this is only for shared objects.
44949 ac_ld_relro=no
44950 if test x"$with_gnu_ld" = x"yes"; then
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44952 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44953 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44954 if test -n "$cxx_z_relo"; then
44955 OPT_LDFLAGS="-Wl,-z,relro"
44956 ac_ld_relro=yes
44958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44959 $as_echo "$ac_ld_relro" >&6; }
44962 # Set linker optimization flags.
44963 if test x"$with_gnu_ld" = x"yes"; then
44964 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44970 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44972 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44974 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44976 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44978 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44980 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44982 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44984 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44986 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44989 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44991 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44993 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44995 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44997 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44999 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45001 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45003 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45005 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45007 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45009 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45011 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45013 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45015 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45017 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45019 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45021 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45023 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45025 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45027 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45029 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45031 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45033 if test x"long_double_math_on_this_cpu" = x"yes"; then
45034 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45036 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45038 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45042 *-hpux*)
45043 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45046 # If we're not using GNU ld, then there's no point in even trying these
45047 # tests. Check for that first. We should have already tested for gld
45048 # by now (in libtool), but require it now just to be safe...
45049 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45050 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45054 # The name set by libtool depends on the version of libtool. Shame on us
45055 # for depending on an impl detail, but c'est la vie. Older versions used
45056 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45057 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45058 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45059 # set (hence we're using an older libtool), then set it.
45060 if test x${with_gnu_ld+set} != xset; then
45061 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45062 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45063 with_gnu_ld=no
45064 else
45065 with_gnu_ld=$ac_cv_prog_gnu_ld
45069 # Start by getting the version number. I think the libtool test already
45070 # does some of this, but throws away the result.
45071 glibcxx_ld_is_gold=no
45072 if test x"$with_gnu_ld" = x"yes"; then
45073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45074 $as_echo_n "checking for ld version... " >&6; }
45076 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45077 glibcxx_ld_is_gold=yes
45079 ldver=`$LD --version 2>/dev/null |
45080 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'`
45082 glibcxx_gnu_ld_version=`echo $ldver | \
45083 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45085 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45088 # Set --gc-sections.
45089 glibcxx_have_gc_sections=no
45090 if test "$glibcxx_ld_is_gold" = "yes"; then
45091 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45092 glibcxx_have_gc_sections=yes
45094 else
45095 glibcxx_gcsections_min_ld=21602
45096 if test x"$with_gnu_ld" = x"yes" &&
45097 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45098 glibcxx_have_gc_sections=yes
45101 if test "$glibcxx_have_gc_sections" = "yes"; then
45102 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45103 # NB: This flag only works reliably after 2.16.1. Configure tests
45104 # for this are difficult, so hard wire a value that should work.
45106 ac_test_CFLAGS="${CFLAGS+set}"
45107 ac_save_CFLAGS="$CFLAGS"
45108 CFLAGS='-Wl,--gc-sections'
45110 # Check for -Wl,--gc-sections
45111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45112 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45113 if test x$gcc_no_link = xyes; then
45114 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45117 /* end confdefs.h. */
45118 int one(void) { return 1; }
45119 int two(void) { return 2; }
45122 main ()
45124 two();
45126 return 0;
45128 _ACEOF
45129 if ac_fn_c_try_link "$LINENO"; then :
45130 ac_gcsections=yes
45131 else
45132 ac_gcsections=no
45134 rm -f core conftest.err conftest.$ac_objext \
45135 conftest$ac_exeext conftest.$ac_ext
45136 if test "$ac_gcsections" = "yes"; then
45137 rm -f conftest.c
45138 touch conftest.c
45139 if $CC -c conftest.c; then
45140 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45141 grep "Warning: gc-sections option ignored" > /dev/null; then
45142 ac_gcsections=no
45145 rm -f conftest.c conftest.o conftest
45147 if test "$ac_gcsections" = "yes"; then
45148 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45151 $as_echo "$ac_gcsections" >&6; }
45153 if test "$ac_test_CFLAGS" = set; then
45154 CFLAGS="$ac_save_CFLAGS"
45155 else
45156 # this is the suspicious part
45157 CFLAGS=''
45161 # Set -z,relro.
45162 # Note this is only for shared objects.
45163 ac_ld_relro=no
45164 if test x"$with_gnu_ld" = x"yes"; then
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45166 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45167 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45168 if test -n "$cxx_z_relo"; then
45169 OPT_LDFLAGS="-Wl,-z,relro"
45170 ac_ld_relro=yes
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45173 $as_echo "$ac_ld_relro" >&6; }
45176 # Set linker optimization flags.
45177 if test x"$with_gnu_ld" = x"yes"; then
45178 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45185 # GLIBCXX_CHECK_MATH_SUPPORT
45186 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45188 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45190 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45192 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45194 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45196 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45198 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45200 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45202 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45204 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45206 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45208 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45210 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45212 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45214 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45216 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45218 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45220 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45222 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45224 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45226 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45229 # GLIBCXX_CHECK_STDLIB_SUPPORT
45230 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45235 # Check whether --enable-tls was given.
45236 if test "${enable_tls+set}" = set; then :
45237 enableval=$enable_tls;
45238 case "$enableval" in
45239 yes|no) ;;
45240 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45241 esac
45243 else
45244 enable_tls=yes
45248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45249 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45250 if test "${gcc_cv_have_tls+set}" = set; then :
45251 $as_echo_n "(cached) " >&6
45252 else
45254 if test "$cross_compiling" = yes; then :
45255 if test x$gcc_no_link = xyes; then
45256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45259 /* end confdefs.h. */
45260 __thread int a; int b; int main() { return a = b; }
45261 _ACEOF
45262 if ac_fn_c_try_link "$LINENO"; then :
45263 chktls_save_LDFLAGS="$LDFLAGS"
45264 case $host in
45265 *-*-linux*)
45266 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45268 esac
45269 chktls_save_CFLAGS="$CFLAGS"
45270 CFLAGS="-fPIC $CFLAGS"
45271 if test x$gcc_no_link = xyes; then
45272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45275 /* end confdefs.h. */
45276 int f() { return 0; }
45277 _ACEOF
45278 if ac_fn_c_try_link "$LINENO"; then :
45279 if test x$gcc_no_link = xyes; then
45280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45283 /* end confdefs.h. */
45284 __thread int a; int b; int f() { return a = b; }
45285 _ACEOF
45286 if ac_fn_c_try_link "$LINENO"; then :
45287 gcc_cv_have_tls=yes
45288 else
45289 gcc_cv_have_tls=no
45291 rm -f core conftest.err conftest.$ac_objext \
45292 conftest$ac_exeext conftest.$ac_ext
45293 else
45294 gcc_cv_have_tls=yes
45296 rm -f core conftest.err conftest.$ac_objext \
45297 conftest$ac_exeext conftest.$ac_ext
45298 CFLAGS="$chktls_save_CFLAGS"
45299 LDFLAGS="$chktls_save_LDFLAGS"
45300 else
45301 gcc_cv_have_tls=no
45303 rm -f core conftest.err conftest.$ac_objext \
45304 conftest$ac_exeext conftest.$ac_ext
45307 else
45308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45309 /* end confdefs.h. */
45310 __thread int a; int b; int main() { return a = b; }
45311 _ACEOF
45312 if ac_fn_c_try_run "$LINENO"; then :
45313 chktls_save_LDFLAGS="$LDFLAGS"
45314 LDFLAGS="-static $LDFLAGS"
45315 if test x$gcc_no_link = xyes; then
45316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45319 /* end confdefs.h. */
45320 int main() { return 0; }
45321 _ACEOF
45322 if ac_fn_c_try_link "$LINENO"; then :
45323 if test "$cross_compiling" = yes; then :
45324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45326 as_fn_error "cannot run test program while cross compiling
45327 See \`config.log' for more details." "$LINENO" 5; }
45328 else
45329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45330 /* end confdefs.h. */
45331 __thread int a; int b; int main() { return a = b; }
45332 _ACEOF
45333 if ac_fn_c_try_run "$LINENO"; then :
45334 gcc_cv_have_tls=yes
45335 else
45336 gcc_cv_have_tls=no
45338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45339 conftest.$ac_objext conftest.beam conftest.$ac_ext
45342 else
45343 gcc_cv_have_tls=yes
45345 rm -f core conftest.err conftest.$ac_objext \
45346 conftest$ac_exeext conftest.$ac_ext
45347 LDFLAGS="$chktls_save_LDFLAGS"
45348 if test $gcc_cv_have_tls = yes; then
45349 chktls_save_CFLAGS="$CFLAGS"
45350 thread_CFLAGS=failed
45351 for flag in '' '-pthread' '-lpthread'; do
45352 CFLAGS="$flag $chktls_save_CFLAGS"
45353 if test x$gcc_no_link = xyes; then
45354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357 /* end confdefs.h. */
45358 #include <pthread.h>
45359 void *g(void *d) { return NULL; }
45361 main ()
45363 pthread_t t; pthread_create(&t,NULL,g,NULL);
45365 return 0;
45367 _ACEOF
45368 if ac_fn_c_try_link "$LINENO"; then :
45369 thread_CFLAGS="$flag"
45371 rm -f core conftest.err conftest.$ac_objext \
45372 conftest$ac_exeext conftest.$ac_ext
45373 if test "X$thread_CFLAGS" != Xfailed; then
45374 break
45376 done
45377 CFLAGS="$chktls_save_CFLAGS"
45378 if test "X$thread_CFLAGS" != Xfailed; then
45379 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45380 if test "$cross_compiling" = yes; then :
45381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45383 as_fn_error "cannot run test program while cross compiling
45384 See \`config.log' for more details." "$LINENO" 5; }
45385 else
45386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45387 /* end confdefs.h. */
45388 #include <pthread.h>
45389 __thread int a;
45390 static int *volatile a_in_other_thread;
45391 static void *
45392 thread_func (void *arg)
45394 a_in_other_thread = &a;
45395 return (void *)0;
45398 main ()
45400 pthread_t thread;
45401 void *thread_retval;
45402 int *volatile a_in_main_thread;
45403 a_in_main_thread = &a;
45404 if (pthread_create (&thread, (pthread_attr_t *)0,
45405 thread_func, (void *)0))
45406 return 0;
45407 if (pthread_join (thread, &thread_retval))
45408 return 0;
45409 return (a_in_other_thread == a_in_main_thread);
45411 return 0;
45413 _ACEOF
45414 if ac_fn_c_try_run "$LINENO"; then :
45415 gcc_cv_have_tls=yes
45416 else
45417 gcc_cv_have_tls=no
45419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45420 conftest.$ac_objext conftest.beam conftest.$ac_ext
45423 CFLAGS="$chktls_save_CFLAGS"
45426 else
45427 gcc_cv_have_tls=no
45429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45430 conftest.$ac_objext conftest.beam conftest.$ac_ext
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45435 $as_echo "$gcc_cv_have_tls" >&6; }
45436 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45438 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45441 case "$target" in
45442 *-hpux10*)
45443 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45445 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45447 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45449 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45451 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45454 esac
45456 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45458 # All these tests are for C++; save the language and the compiler flags.
45459 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45460 # found in GLIBCXX_CONFIGURE.
45462 ac_ext=cpp
45463 ac_cpp='$CXXCPP $CPPFLAGS'
45464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45468 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45469 ac_save_CXXFLAGS="$CXXFLAGS"
45471 # Check for maintainer-mode bits.
45472 if test x"$USE_MAINTAINER_MODE" = xno; then
45473 WERROR=''
45474 else
45475 WERROR='-Werror'
45478 # Check for -ffunction-sections -fdata-sections
45479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45480 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45481 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45483 /* end confdefs.h. */
45484 int foo; void bar() { };
45486 main ()
45490 return 0;
45492 _ACEOF
45493 if ac_fn_cxx_try_compile "$LINENO"; then :
45494 ac_fdsections=yes
45495 else
45496 ac_fdsections=no
45498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45499 if test "$ac_test_CXXFLAGS" = set; then
45500 CXXFLAGS="$ac_save_CXXFLAGS"
45501 else
45502 # this is the suspicious part
45503 CXXFLAGS=''
45505 if test x"$ac_fdsections" = x"yes"; then
45506 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45509 $as_echo "$ac_fdsections" >&6; }
45511 ac_ext=c
45512 ac_cpp='$CPP $CPPFLAGS'
45513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45521 # If we're not using GNU ld, then there's no point in even trying these
45522 # tests. Check for that first. We should have already tested for gld
45523 # by now (in libtool), but require it now just to be safe...
45524 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45525 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45529 # The name set by libtool depends on the version of libtool. Shame on us
45530 # for depending on an impl detail, but c'est la vie. Older versions used
45531 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45532 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45533 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45534 # set (hence we're using an older libtool), then set it.
45535 if test x${with_gnu_ld+set} != xset; then
45536 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45537 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45538 with_gnu_ld=no
45539 else
45540 with_gnu_ld=$ac_cv_prog_gnu_ld
45544 # Start by getting the version number. I think the libtool test already
45545 # does some of this, but throws away the result.
45546 glibcxx_ld_is_gold=no
45547 if test x"$with_gnu_ld" = x"yes"; then
45548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45549 $as_echo_n "checking for ld version... " >&6; }
45551 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45552 glibcxx_ld_is_gold=yes
45554 ldver=`$LD --version 2>/dev/null |
45555 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'`
45557 glibcxx_gnu_ld_version=`echo $ldver | \
45558 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45560 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45563 # Set --gc-sections.
45564 glibcxx_have_gc_sections=no
45565 if test "$glibcxx_ld_is_gold" = "yes"; then
45566 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45567 glibcxx_have_gc_sections=yes
45569 else
45570 glibcxx_gcsections_min_ld=21602
45571 if test x"$with_gnu_ld" = x"yes" &&
45572 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45573 glibcxx_have_gc_sections=yes
45576 if test "$glibcxx_have_gc_sections" = "yes"; then
45577 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45578 # NB: This flag only works reliably after 2.16.1. Configure tests
45579 # for this are difficult, so hard wire a value that should work.
45581 ac_test_CFLAGS="${CFLAGS+set}"
45582 ac_save_CFLAGS="$CFLAGS"
45583 CFLAGS='-Wl,--gc-sections'
45585 # Check for -Wl,--gc-sections
45586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45587 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45588 if test x$gcc_no_link = xyes; then
45589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 int one(void) { return 1; }
45594 int two(void) { return 2; }
45597 main ()
45599 two();
45601 return 0;
45603 _ACEOF
45604 if ac_fn_c_try_link "$LINENO"; then :
45605 ac_gcsections=yes
45606 else
45607 ac_gcsections=no
45609 rm -f core conftest.err conftest.$ac_objext \
45610 conftest$ac_exeext conftest.$ac_ext
45611 if test "$ac_gcsections" = "yes"; then
45612 rm -f conftest.c
45613 touch conftest.c
45614 if $CC -c conftest.c; then
45615 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45616 grep "Warning: gc-sections option ignored" > /dev/null; then
45617 ac_gcsections=no
45620 rm -f conftest.c conftest.o conftest
45622 if test "$ac_gcsections" = "yes"; then
45623 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45626 $as_echo "$ac_gcsections" >&6; }
45628 if test "$ac_test_CFLAGS" = set; then
45629 CFLAGS="$ac_save_CFLAGS"
45630 else
45631 # this is the suspicious part
45632 CFLAGS=''
45636 # Set -z,relro.
45637 # Note this is only for shared objects.
45638 ac_ld_relro=no
45639 if test x"$with_gnu_ld" = x"yes"; then
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45641 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45642 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45643 if test -n "$cxx_z_relo"; then
45644 OPT_LDFLAGS="-Wl,-z,relro"
45645 ac_ld_relro=yes
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45648 $as_echo "$ac_ld_relro" >&6; }
45651 # Set linker optimization flags.
45652 if test x"$with_gnu_ld" = x"yes"; then
45653 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45660 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45661 ac_save_CXXFLAGS="$CXXFLAGS"
45662 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45665 $as_echo_n "checking for sin in -lm... " >&6; }
45666 if test "${ac_cv_lib_m_sin+set}" = set; then :
45667 $as_echo_n "(cached) " >&6
45668 else
45669 ac_check_lib_save_LIBS=$LIBS
45670 LIBS="-lm $LIBS"
45671 if test x$gcc_no_link = xyes; then
45672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45677 /* Override any GCC internal prototype to avoid an error.
45678 Use char because int might match the return type of a GCC
45679 builtin and then its argument prototype would still apply. */
45680 #ifdef __cplusplus
45681 extern "C"
45682 #endif
45683 char sin ();
45685 main ()
45687 return sin ();
45689 return 0;
45691 _ACEOF
45692 if ac_fn_c_try_link "$LINENO"; then :
45693 ac_cv_lib_m_sin=yes
45694 else
45695 ac_cv_lib_m_sin=no
45697 rm -f core conftest.err conftest.$ac_objext \
45698 conftest$ac_exeext conftest.$ac_ext
45699 LIBS=$ac_check_lib_save_LIBS
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45702 $as_echo "$ac_cv_lib_m_sin" >&6; }
45703 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45704 libm="-lm"
45707 ac_save_LIBS="$LIBS"
45708 LIBS="$LIBS $libm"
45712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45713 $as_echo_n "checking for isinf declaration... " >&6; }
45714 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45715 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45716 $as_echo_n "(cached) " >&6
45717 else
45720 ac_ext=cpp
45721 ac_cpp='$CXXCPP $CPPFLAGS'
45722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45727 /* end confdefs.h. */
45728 #include <math.h>
45729 #ifdef HAVE_IEEEFP_H
45730 #include <ieeefp.h>
45731 #endif
45734 main ()
45736 isinf(0);
45738 return 0;
45740 _ACEOF
45741 if ac_fn_cxx_try_compile "$LINENO"; then :
45742 glibcxx_cv_func_isinf_use=yes
45743 else
45744 glibcxx_cv_func_isinf_use=no
45746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45747 ac_ext=c
45748 ac_cpp='$CPP $CPPFLAGS'
45749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45758 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45760 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45761 for ac_func in isinf
45762 do :
45763 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45764 if test "x$ac_cv_func_isinf" = x""yes; then :
45765 cat >>confdefs.h <<_ACEOF
45766 #define HAVE_ISINF 1
45767 _ACEOF
45770 done
45772 else
45774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45775 $as_echo_n "checking for _isinf declaration... " >&6; }
45776 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45777 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45778 $as_echo_n "(cached) " >&6
45779 else
45782 ac_ext=cpp
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45789 /* end confdefs.h. */
45790 #include <math.h>
45791 #ifdef HAVE_IEEEFP_H
45792 #include <ieeefp.h>
45793 #endif
45796 main ()
45798 _isinf(0);
45800 return 0;
45802 _ACEOF
45803 if ac_fn_cxx_try_compile "$LINENO"; then :
45804 glibcxx_cv_func__isinf_use=yes
45805 else
45806 glibcxx_cv_func__isinf_use=no
45808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45809 ac_ext=c
45810 ac_cpp='$CPP $CPPFLAGS'
45811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45820 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45822 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45823 for ac_func in _isinf
45824 do :
45825 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45826 if test "x$ac_cv_func__isinf" = x""yes; then :
45827 cat >>confdefs.h <<_ACEOF
45828 #define HAVE__ISINF 1
45829 _ACEOF
45832 done
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45842 $as_echo_n "checking for isnan declaration... " >&6; }
45843 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45844 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45845 $as_echo_n "(cached) " >&6
45846 else
45849 ac_ext=cpp
45850 ac_cpp='$CXXCPP $CPPFLAGS'
45851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45856 /* end confdefs.h. */
45857 #include <math.h>
45858 #ifdef HAVE_IEEEFP_H
45859 #include <ieeefp.h>
45860 #endif
45863 main ()
45865 isnan(0);
45867 return 0;
45869 _ACEOF
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871 glibcxx_cv_func_isnan_use=yes
45872 else
45873 glibcxx_cv_func_isnan_use=no
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876 ac_ext=c
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45887 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45889 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45890 for ac_func in isnan
45891 do :
45892 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45893 if test "x$ac_cv_func_isnan" = x""yes; then :
45894 cat >>confdefs.h <<_ACEOF
45895 #define HAVE_ISNAN 1
45896 _ACEOF
45899 done
45901 else
45903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45904 $as_echo_n "checking for _isnan declaration... " >&6; }
45905 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45906 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45907 $as_echo_n "(cached) " >&6
45908 else
45911 ac_ext=cpp
45912 ac_cpp='$CXXCPP $CPPFLAGS'
45913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45918 /* end confdefs.h. */
45919 #include <math.h>
45920 #ifdef HAVE_IEEEFP_H
45921 #include <ieeefp.h>
45922 #endif
45925 main ()
45927 _isnan(0);
45929 return 0;
45931 _ACEOF
45932 if ac_fn_cxx_try_compile "$LINENO"; then :
45933 glibcxx_cv_func__isnan_use=yes
45934 else
45935 glibcxx_cv_func__isnan_use=no
45937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45938 ac_ext=c
45939 ac_cpp='$CPP $CPPFLAGS'
45940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45949 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45951 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45952 for ac_func in _isnan
45953 do :
45954 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45955 if test "x$ac_cv_func__isnan" = x""yes; then :
45956 cat >>confdefs.h <<_ACEOF
45957 #define HAVE__ISNAN 1
45958 _ACEOF
45961 done
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45971 $as_echo_n "checking for finite declaration... " >&6; }
45972 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45973 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45974 $as_echo_n "(cached) " >&6
45975 else
45978 ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <math.h>
45987 #ifdef HAVE_IEEEFP_H
45988 #include <ieeefp.h>
45989 #endif
45992 main ()
45994 finite(0);
45996 return 0;
45998 _ACEOF
45999 if ac_fn_cxx_try_compile "$LINENO"; then :
46000 glibcxx_cv_func_finite_use=yes
46001 else
46002 glibcxx_cv_func_finite_use=no
46004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46005 ac_ext=c
46006 ac_cpp='$CPP $CPPFLAGS'
46007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46016 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46018 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46019 for ac_func in finite
46020 do :
46021 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46022 if test "x$ac_cv_func_finite" = x""yes; then :
46023 cat >>confdefs.h <<_ACEOF
46024 #define HAVE_FINITE 1
46025 _ACEOF
46028 done
46030 else
46032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46033 $as_echo_n "checking for _finite declaration... " >&6; }
46034 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46035 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46036 $as_echo_n "(cached) " >&6
46037 else
46040 ac_ext=cpp
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047 /* end confdefs.h. */
46048 #include <math.h>
46049 #ifdef HAVE_IEEEFP_H
46050 #include <ieeefp.h>
46051 #endif
46054 main ()
46056 _finite(0);
46058 return 0;
46060 _ACEOF
46061 if ac_fn_cxx_try_compile "$LINENO"; then :
46062 glibcxx_cv_func__finite_use=yes
46063 else
46064 glibcxx_cv_func__finite_use=no
46066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46067 ac_ext=c
46068 ac_cpp='$CPP $CPPFLAGS'
46069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46078 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46080 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46081 for ac_func in _finite
46082 do :
46083 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46084 if test "x$ac_cv_func__finite" = x""yes; then :
46085 cat >>confdefs.h <<_ACEOF
46086 #define HAVE__FINITE 1
46087 _ACEOF
46090 done
46099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46100 $as_echo_n "checking for sincos declaration... " >&6; }
46101 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46102 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46103 $as_echo_n "(cached) " >&6
46104 else
46107 ac_ext=cpp
46108 ac_cpp='$CXXCPP $CPPFLAGS'
46109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46114 /* end confdefs.h. */
46115 #include <math.h>
46117 main ()
46119 sincos(0, 0, 0);
46121 return 0;
46123 _ACEOF
46124 if ac_fn_cxx_try_compile "$LINENO"; then :
46125 glibcxx_cv_func_sincos_use=yes
46126 else
46127 glibcxx_cv_func_sincos_use=no
46129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46130 ac_ext=c
46131 ac_cpp='$CPP $CPPFLAGS'
46132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46141 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46143 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46144 for ac_func in sincos
46145 do :
46146 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46147 if test "x$ac_cv_func_sincos" = x""yes; then :
46148 cat >>confdefs.h <<_ACEOF
46149 #define HAVE_SINCOS 1
46150 _ACEOF
46153 done
46155 else
46157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46158 $as_echo_n "checking for _sincos declaration... " >&6; }
46159 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46160 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46161 $as_echo_n "(cached) " >&6
46162 else
46165 ac_ext=cpp
46166 ac_cpp='$CXXCPP $CPPFLAGS'
46167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46172 /* end confdefs.h. */
46173 #include <math.h>
46175 main ()
46177 _sincos(0, 0, 0);
46179 return 0;
46181 _ACEOF
46182 if ac_fn_cxx_try_compile "$LINENO"; then :
46183 glibcxx_cv_func__sincos_use=yes
46184 else
46185 glibcxx_cv_func__sincos_use=no
46187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46188 ac_ext=c
46189 ac_cpp='$CPP $CPPFLAGS'
46190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46199 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46201 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46202 for ac_func in _sincos
46203 do :
46204 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46205 if test "x$ac_cv_func__sincos" = x""yes; then :
46206 cat >>confdefs.h <<_ACEOF
46207 #define HAVE__SINCOS 1
46208 _ACEOF
46211 done
46220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46221 $as_echo_n "checking for fpclass declaration... " >&6; }
46222 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46223 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46224 $as_echo_n "(cached) " >&6
46225 else
46228 ac_ext=cpp
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46235 /* end confdefs.h. */
46236 #include <math.h>
46237 #ifdef HAVE_IEEEFP_H
46238 #include <ieeefp.h>
46239 #endif
46242 main ()
46244 fpclass(0);
46246 return 0;
46248 _ACEOF
46249 if ac_fn_cxx_try_compile "$LINENO"; then :
46250 glibcxx_cv_func_fpclass_use=yes
46251 else
46252 glibcxx_cv_func_fpclass_use=no
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46266 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46268 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46269 for ac_func in fpclass
46270 do :
46271 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46272 if test "x$ac_cv_func_fpclass" = x""yes; then :
46273 cat >>confdefs.h <<_ACEOF
46274 #define HAVE_FPCLASS 1
46275 _ACEOF
46278 done
46280 else
46282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46283 $as_echo_n "checking for _fpclass declaration... " >&6; }
46284 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46285 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46286 $as_echo_n "(cached) " >&6
46287 else
46290 ac_ext=cpp
46291 ac_cpp='$CXXCPP $CPPFLAGS'
46292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46297 /* end confdefs.h. */
46298 #include <math.h>
46299 #ifdef HAVE_IEEEFP_H
46300 #include <ieeefp.h>
46301 #endif
46304 main ()
46306 _fpclass(0);
46308 return 0;
46310 _ACEOF
46311 if ac_fn_cxx_try_compile "$LINENO"; then :
46312 glibcxx_cv_func__fpclass_use=yes
46313 else
46314 glibcxx_cv_func__fpclass_use=no
46316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46317 ac_ext=c
46318 ac_cpp='$CPP $CPPFLAGS'
46319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46328 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46330 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46331 for ac_func in _fpclass
46332 do :
46333 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46334 if test "x$ac_cv_func__fpclass" = x""yes; then :
46335 cat >>confdefs.h <<_ACEOF
46336 #define HAVE__FPCLASS 1
46337 _ACEOF
46340 done
46349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46350 $as_echo_n "checking for qfpclass declaration... " >&6; }
46351 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46352 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46353 $as_echo_n "(cached) " >&6
46354 else
46357 ac_ext=cpp
46358 ac_cpp='$CXXCPP $CPPFLAGS'
46359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46364 /* end confdefs.h. */
46365 #include <math.h>
46366 #ifdef HAVE_IEEEFP_H
46367 #include <ieeefp.h>
46368 #endif
46371 main ()
46373 qfpclass(0);
46375 return 0;
46377 _ACEOF
46378 if ac_fn_cxx_try_compile "$LINENO"; then :
46379 glibcxx_cv_func_qfpclass_use=yes
46380 else
46381 glibcxx_cv_func_qfpclass_use=no
46383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46384 ac_ext=c
46385 ac_cpp='$CPP $CPPFLAGS'
46386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46395 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46397 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46398 for ac_func in qfpclass
46399 do :
46400 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46401 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46402 cat >>confdefs.h <<_ACEOF
46403 #define HAVE_QFPCLASS 1
46404 _ACEOF
46407 done
46409 else
46411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46412 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46413 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46414 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46415 $as_echo_n "(cached) " >&6
46416 else
46419 ac_ext=cpp
46420 ac_cpp='$CXXCPP $CPPFLAGS'
46421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46426 /* end confdefs.h. */
46427 #include <math.h>
46428 #ifdef HAVE_IEEEFP_H
46429 #include <ieeefp.h>
46430 #endif
46433 main ()
46435 _qfpclass(0);
46437 return 0;
46439 _ACEOF
46440 if ac_fn_cxx_try_compile "$LINENO"; then :
46441 glibcxx_cv_func__qfpclass_use=yes
46442 else
46443 glibcxx_cv_func__qfpclass_use=no
46445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46446 ac_ext=c
46447 ac_cpp='$CPP $CPPFLAGS'
46448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46457 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46459 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46460 for ac_func in _qfpclass
46461 do :
46462 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46463 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46464 cat >>confdefs.h <<_ACEOF
46465 #define HAVE__QFPCLASS 1
46466 _ACEOF
46469 done
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46479 $as_echo_n "checking for hypot declaration... " >&6; }
46480 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46481 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46482 $as_echo_n "(cached) " >&6
46483 else
46486 ac_ext=cpp
46487 ac_cpp='$CXXCPP $CPPFLAGS'
46488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46493 /* end confdefs.h. */
46494 #include <math.h>
46496 main ()
46498 hypot(0, 0);
46500 return 0;
46502 _ACEOF
46503 if ac_fn_cxx_try_compile "$LINENO"; then :
46504 glibcxx_cv_func_hypot_use=yes
46505 else
46506 glibcxx_cv_func_hypot_use=no
46508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46509 ac_ext=c
46510 ac_cpp='$CPP $CPPFLAGS'
46511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46520 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46522 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46523 for ac_func in hypot
46524 do :
46525 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46526 if test "x$ac_cv_func_hypot" = x""yes; then :
46527 cat >>confdefs.h <<_ACEOF
46528 #define HAVE_HYPOT 1
46529 _ACEOF
46532 done
46534 else
46536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46537 $as_echo_n "checking for _hypot declaration... " >&6; }
46538 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46539 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46540 $as_echo_n "(cached) " >&6
46541 else
46544 ac_ext=cpp
46545 ac_cpp='$CXXCPP $CPPFLAGS'
46546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46551 /* end confdefs.h. */
46552 #include <math.h>
46554 main ()
46556 _hypot(0, 0);
46558 return 0;
46560 _ACEOF
46561 if ac_fn_cxx_try_compile "$LINENO"; then :
46562 glibcxx_cv_func__hypot_use=yes
46563 else
46564 glibcxx_cv_func__hypot_use=no
46566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567 ac_ext=c
46568 ac_cpp='$CPP $CPPFLAGS'
46569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46578 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46580 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46581 for ac_func in _hypot
46582 do :
46583 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46584 if test "x$ac_cv_func__hypot" = x""yes; then :
46585 cat >>confdefs.h <<_ACEOF
46586 #define HAVE__HYPOT 1
46587 _ACEOF
46590 done
46599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46600 $as_echo_n "checking for float trig functions... " >&6; }
46601 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46602 $as_echo_n "(cached) " >&6
46603 else
46606 ac_ext=cpp
46607 ac_cpp='$CXXCPP $CPPFLAGS'
46608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46613 /* end confdefs.h. */
46614 #include <math.h>
46616 main ()
46618 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46620 return 0;
46622 _ACEOF
46623 if ac_fn_cxx_try_compile "$LINENO"; then :
46624 glibcxx_cv_func_float_trig_use=yes
46625 else
46626 glibcxx_cv_func_float_trig_use=no
46628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46629 ac_ext=c
46630 ac_cpp='$CPP $CPPFLAGS'
46631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46638 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46639 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46640 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46641 do :
46642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46644 eval as_val=\$$as_ac_var
46645 if test "x$as_val" = x""yes; then :
46646 cat >>confdefs.h <<_ACEOF
46647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46648 _ACEOF
46651 done
46653 else
46654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46655 $as_echo_n "checking for _float trig functions... " >&6; }
46656 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46657 $as_echo_n "(cached) " >&6
46658 else
46661 ac_ext=cpp
46662 ac_cpp='$CXXCPP $CPPFLAGS'
46663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46668 /* end confdefs.h. */
46669 #include <math.h>
46671 main ()
46673 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46675 return 0;
46677 _ACEOF
46678 if ac_fn_cxx_try_compile "$LINENO"; then :
46679 glibcxx_cv_func__float_trig_use=yes
46680 else
46681 glibcxx_cv_func__float_trig_use=no
46683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46684 ac_ext=c
46685 ac_cpp='$CPP $CPPFLAGS'
46686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46693 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46694 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46695 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46696 do :
46697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46699 eval as_val=\$$as_ac_var
46700 if test "x$as_val" = x""yes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46703 _ACEOF
46706 done
46715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46716 $as_echo_n "checking for float round functions... " >&6; }
46717 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46718 $as_echo_n "(cached) " >&6
46719 else
46722 ac_ext=cpp
46723 ac_cpp='$CXXCPP $CPPFLAGS'
46724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46729 /* end confdefs.h. */
46730 #include <math.h>
46732 main ()
46734 ceilf (0); floorf (0);
46736 return 0;
46738 _ACEOF
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func_float_round_use=yes
46741 else
46742 glibcxx_cv_func_float_round_use=no
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46754 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46755 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46756 for ac_func in ceilf floorf
46757 do :
46758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46760 eval as_val=\$$as_ac_var
46761 if test "x$as_val" = x""yes; then :
46762 cat >>confdefs.h <<_ACEOF
46763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46764 _ACEOF
46767 done
46769 else
46770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46771 $as_echo_n "checking for _float round functions... " >&6; }
46772 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46773 $as_echo_n "(cached) " >&6
46774 else
46777 ac_ext=cpp
46778 ac_cpp='$CXXCPP $CPPFLAGS'
46779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46784 /* end confdefs.h. */
46785 #include <math.h>
46787 main ()
46789 _ceilf (0); _floorf (0);
46791 return 0;
46793 _ACEOF
46794 if ac_fn_cxx_try_compile "$LINENO"; then :
46795 glibcxx_cv_func__float_round_use=yes
46796 else
46797 glibcxx_cv_func__float_round_use=no
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800 ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46809 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46810 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46811 for ac_func in _ceilf _floorf
46812 do :
46813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46815 eval as_val=\$$as_ac_var
46816 if test "x$as_val" = x""yes; then :
46817 cat >>confdefs.h <<_ACEOF
46818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46819 _ACEOF
46822 done
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46833 $as_echo_n "checking for expf declaration... " >&6; }
46834 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46835 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46836 $as_echo_n "(cached) " >&6
46837 else
46840 ac_ext=cpp
46841 ac_cpp='$CXXCPP $CPPFLAGS'
46842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46847 /* end confdefs.h. */
46848 #include <math.h>
46849 #ifdef HAVE_IEEEFP_H
46850 #include <ieeefp.h>
46851 #endif
46854 main ()
46856 expf(0);
46858 return 0;
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862 glibcxx_cv_func_expf_use=yes
46863 else
46864 glibcxx_cv_func_expf_use=no
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867 ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46878 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46880 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46881 for ac_func in expf
46882 do :
46883 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46884 if test "x$ac_cv_func_expf" = x""yes; then :
46885 cat >>confdefs.h <<_ACEOF
46886 #define HAVE_EXPF 1
46887 _ACEOF
46890 done
46892 else
46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46895 $as_echo_n "checking for _expf declaration... " >&6; }
46896 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46897 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46898 $as_echo_n "(cached) " >&6
46899 else
46902 ac_ext=cpp
46903 ac_cpp='$CXXCPP $CPPFLAGS'
46904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46909 /* end confdefs.h. */
46910 #include <math.h>
46911 #ifdef HAVE_IEEEFP_H
46912 #include <ieeefp.h>
46913 #endif
46916 main ()
46918 _expf(0);
46920 return 0;
46922 _ACEOF
46923 if ac_fn_cxx_try_compile "$LINENO"; then :
46924 glibcxx_cv_func__expf_use=yes
46925 else
46926 glibcxx_cv_func__expf_use=no
46928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46929 ac_ext=c
46930 ac_cpp='$CPP $CPPFLAGS'
46931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46940 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46942 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46943 for ac_func in _expf
46944 do :
46945 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46946 if test "x$ac_cv_func__expf" = x""yes; then :
46947 cat >>confdefs.h <<_ACEOF
46948 #define HAVE__EXPF 1
46949 _ACEOF
46952 done
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46962 $as_echo_n "checking for isnanf declaration... " >&6; }
46963 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46964 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46965 $as_echo_n "(cached) " >&6
46966 else
46969 ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977 #include <math.h>
46978 #ifdef HAVE_IEEEFP_H
46979 #include <ieeefp.h>
46980 #endif
46983 main ()
46985 isnanf(0);
46987 return 0;
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991 glibcxx_cv_func_isnanf_use=yes
46992 else
46993 glibcxx_cv_func_isnanf_use=no
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996 ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47007 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47009 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47010 for ac_func in isnanf
47011 do :
47012 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47013 if test "x$ac_cv_func_isnanf" = x""yes; then :
47014 cat >>confdefs.h <<_ACEOF
47015 #define HAVE_ISNANF 1
47016 _ACEOF
47019 done
47021 else
47023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47024 $as_echo_n "checking for _isnanf declaration... " >&6; }
47025 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47026 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47027 $as_echo_n "(cached) " >&6
47028 else
47031 ac_ext=cpp
47032 ac_cpp='$CXXCPP $CPPFLAGS'
47033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47038 /* end confdefs.h. */
47039 #include <math.h>
47040 #ifdef HAVE_IEEEFP_H
47041 #include <ieeefp.h>
47042 #endif
47045 main ()
47047 _isnanf(0);
47049 return 0;
47051 _ACEOF
47052 if ac_fn_cxx_try_compile "$LINENO"; then :
47053 glibcxx_cv_func__isnanf_use=yes
47054 else
47055 glibcxx_cv_func__isnanf_use=no
47057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47058 ac_ext=c
47059 ac_cpp='$CPP $CPPFLAGS'
47060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47069 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47071 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47072 for ac_func in _isnanf
47073 do :
47074 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47075 if test "x$ac_cv_func__isnanf" = x""yes; then :
47076 cat >>confdefs.h <<_ACEOF
47077 #define HAVE__ISNANF 1
47078 _ACEOF
47081 done
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47091 $as_echo_n "checking for isinff declaration... " >&6; }
47092 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47093 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47094 $as_echo_n "(cached) " >&6
47095 else
47098 ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h. */
47106 #include <math.h>
47107 #ifdef HAVE_IEEEFP_H
47108 #include <ieeefp.h>
47109 #endif
47112 main ()
47114 isinff(0);
47116 return 0;
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120 glibcxx_cv_func_isinff_use=yes
47121 else
47122 glibcxx_cv_func_isinff_use=no
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125 ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47136 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47138 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47139 for ac_func in isinff
47140 do :
47141 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47142 if test "x$ac_cv_func_isinff" = x""yes; then :
47143 cat >>confdefs.h <<_ACEOF
47144 #define HAVE_ISINFF 1
47145 _ACEOF
47148 done
47150 else
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47153 $as_echo_n "checking for _isinff declaration... " >&6; }
47154 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47155 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47156 $as_echo_n "(cached) " >&6
47157 else
47160 ac_ext=cpp
47161 ac_cpp='$CXXCPP $CPPFLAGS'
47162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47167 /* end confdefs.h. */
47168 #include <math.h>
47169 #ifdef HAVE_IEEEFP_H
47170 #include <ieeefp.h>
47171 #endif
47174 main ()
47176 _isinff(0);
47178 return 0;
47180 _ACEOF
47181 if ac_fn_cxx_try_compile "$LINENO"; then :
47182 glibcxx_cv_func__isinff_use=yes
47183 else
47184 glibcxx_cv_func__isinff_use=no
47186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47187 ac_ext=c
47188 ac_cpp='$CPP $CPPFLAGS'
47189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47198 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47200 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47201 for ac_func in _isinff
47202 do :
47203 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47204 if test "x$ac_cv_func__isinff" = x""yes; then :
47205 cat >>confdefs.h <<_ACEOF
47206 #define HAVE__ISINFF 1
47207 _ACEOF
47210 done
47219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47220 $as_echo_n "checking for atan2f declaration... " >&6; }
47221 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47222 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47223 $as_echo_n "(cached) " >&6
47224 else
47227 ac_ext=cpp
47228 ac_cpp='$CXXCPP $CPPFLAGS'
47229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47234 /* end confdefs.h. */
47235 #include <math.h>
47237 main ()
47239 atan2f(0, 0);
47241 return 0;
47243 _ACEOF
47244 if ac_fn_cxx_try_compile "$LINENO"; then :
47245 glibcxx_cv_func_atan2f_use=yes
47246 else
47247 glibcxx_cv_func_atan2f_use=no
47249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47250 ac_ext=c
47251 ac_cpp='$CPP $CPPFLAGS'
47252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47261 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47263 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47264 for ac_func in atan2f
47265 do :
47266 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47267 if test "x$ac_cv_func_atan2f" = x""yes; then :
47268 cat >>confdefs.h <<_ACEOF
47269 #define HAVE_ATAN2F 1
47270 _ACEOF
47273 done
47275 else
47277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47278 $as_echo_n "checking for _atan2f declaration... " >&6; }
47279 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47280 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47281 $as_echo_n "(cached) " >&6
47282 else
47285 ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h. */
47293 #include <math.h>
47295 main ()
47297 _atan2f(0, 0);
47299 return 0;
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func__atan2f_use=yes
47304 else
47305 glibcxx_cv_func__atan2f_use=no
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47319 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47321 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47322 for ac_func in _atan2f
47323 do :
47324 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47325 if test "x$ac_cv_func__atan2f" = x""yes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define HAVE__ATAN2F 1
47328 _ACEOF
47331 done
47340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47341 $as_echo_n "checking for fabsf declaration... " >&6; }
47342 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47343 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47344 $as_echo_n "(cached) " >&6
47345 else
47348 ac_ext=cpp
47349 ac_cpp='$CXXCPP $CPPFLAGS'
47350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47355 /* end confdefs.h. */
47356 #include <math.h>
47357 #ifdef HAVE_IEEEFP_H
47358 #include <ieeefp.h>
47359 #endif
47362 main ()
47364 fabsf(0);
47366 return 0;
47368 _ACEOF
47369 if ac_fn_cxx_try_compile "$LINENO"; then :
47370 glibcxx_cv_func_fabsf_use=yes
47371 else
47372 glibcxx_cv_func_fabsf_use=no
47374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47375 ac_ext=c
47376 ac_cpp='$CPP $CPPFLAGS'
47377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47386 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47388 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47389 for ac_func in fabsf
47390 do :
47391 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47392 if test "x$ac_cv_func_fabsf" = x""yes; then :
47393 cat >>confdefs.h <<_ACEOF
47394 #define HAVE_FABSF 1
47395 _ACEOF
47398 done
47400 else
47402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47403 $as_echo_n "checking for _fabsf declaration... " >&6; }
47404 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47405 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47406 $as_echo_n "(cached) " >&6
47407 else
47410 ac_ext=cpp
47411 ac_cpp='$CXXCPP $CPPFLAGS'
47412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47417 /* end confdefs.h. */
47418 #include <math.h>
47419 #ifdef HAVE_IEEEFP_H
47420 #include <ieeefp.h>
47421 #endif
47424 main ()
47426 _fabsf(0);
47428 return 0;
47430 _ACEOF
47431 if ac_fn_cxx_try_compile "$LINENO"; then :
47432 glibcxx_cv_func__fabsf_use=yes
47433 else
47434 glibcxx_cv_func__fabsf_use=no
47436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47437 ac_ext=c
47438 ac_cpp='$CPP $CPPFLAGS'
47439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47448 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47450 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47451 for ac_func in _fabsf
47452 do :
47453 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47454 if test "x$ac_cv_func__fabsf" = x""yes; then :
47455 cat >>confdefs.h <<_ACEOF
47456 #define HAVE__FABSF 1
47457 _ACEOF
47460 done
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47470 $as_echo_n "checking for fmodf declaration... " >&6; }
47471 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47472 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47473 $as_echo_n "(cached) " >&6
47474 else
47477 ac_ext=cpp
47478 ac_cpp='$CXXCPP $CPPFLAGS'
47479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47484 /* end confdefs.h. */
47485 #include <math.h>
47487 main ()
47489 fmodf(0, 0);
47491 return 0;
47493 _ACEOF
47494 if ac_fn_cxx_try_compile "$LINENO"; then :
47495 glibcxx_cv_func_fmodf_use=yes
47496 else
47497 glibcxx_cv_func_fmodf_use=no
47499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47500 ac_ext=c
47501 ac_cpp='$CPP $CPPFLAGS'
47502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47511 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47513 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47514 for ac_func in fmodf
47515 do :
47516 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47517 if test "x$ac_cv_func_fmodf" = x""yes; then :
47518 cat >>confdefs.h <<_ACEOF
47519 #define HAVE_FMODF 1
47520 _ACEOF
47523 done
47525 else
47527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47528 $as_echo_n "checking for _fmodf declaration... " >&6; }
47529 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47530 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47531 $as_echo_n "(cached) " >&6
47532 else
47535 ac_ext=cpp
47536 ac_cpp='$CXXCPP $CPPFLAGS'
47537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47542 /* end confdefs.h. */
47543 #include <math.h>
47545 main ()
47547 _fmodf(0, 0);
47549 return 0;
47551 _ACEOF
47552 if ac_fn_cxx_try_compile "$LINENO"; then :
47553 glibcxx_cv_func__fmodf_use=yes
47554 else
47555 glibcxx_cv_func__fmodf_use=no
47557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47558 ac_ext=c
47559 ac_cpp='$CPP $CPPFLAGS'
47560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47569 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47571 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47572 for ac_func in _fmodf
47573 do :
47574 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47575 if test "x$ac_cv_func__fmodf" = x""yes; then :
47576 cat >>confdefs.h <<_ACEOF
47577 #define HAVE__FMODF 1
47578 _ACEOF
47581 done
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47591 $as_echo_n "checking for frexpf declaration... " >&6; }
47592 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47593 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47594 $as_echo_n "(cached) " >&6
47595 else
47598 ac_ext=cpp
47599 ac_cpp='$CXXCPP $CPPFLAGS'
47600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47605 /* end confdefs.h. */
47606 #include <math.h>
47608 main ()
47610 frexpf(0, 0);
47612 return 0;
47614 _ACEOF
47615 if ac_fn_cxx_try_compile "$LINENO"; then :
47616 glibcxx_cv_func_frexpf_use=yes
47617 else
47618 glibcxx_cv_func_frexpf_use=no
47620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621 ac_ext=c
47622 ac_cpp='$CPP $CPPFLAGS'
47623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47632 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47634 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47635 for ac_func in frexpf
47636 do :
47637 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47638 if test "x$ac_cv_func_frexpf" = x""yes; then :
47639 cat >>confdefs.h <<_ACEOF
47640 #define HAVE_FREXPF 1
47641 _ACEOF
47644 done
47646 else
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47649 $as_echo_n "checking for _frexpf declaration... " >&6; }
47650 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47651 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47652 $as_echo_n "(cached) " >&6
47653 else
47656 ac_ext=cpp
47657 ac_cpp='$CXXCPP $CPPFLAGS'
47658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47663 /* end confdefs.h. */
47664 #include <math.h>
47666 main ()
47668 _frexpf(0, 0);
47670 return 0;
47672 _ACEOF
47673 if ac_fn_cxx_try_compile "$LINENO"; then :
47674 glibcxx_cv_func__frexpf_use=yes
47675 else
47676 glibcxx_cv_func__frexpf_use=no
47678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47679 ac_ext=c
47680 ac_cpp='$CPP $CPPFLAGS'
47681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47690 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47692 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47693 for ac_func in _frexpf
47694 do :
47695 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47696 if test "x$ac_cv_func__frexpf" = x""yes; then :
47697 cat >>confdefs.h <<_ACEOF
47698 #define HAVE__FREXPF 1
47699 _ACEOF
47702 done
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47712 $as_echo_n "checking for hypotf declaration... " >&6; }
47713 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47714 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47715 $as_echo_n "(cached) " >&6
47716 else
47719 ac_ext=cpp
47720 ac_cpp='$CXXCPP $CPPFLAGS'
47721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47726 /* end confdefs.h. */
47727 #include <math.h>
47729 main ()
47731 hypotf(0, 0);
47733 return 0;
47735 _ACEOF
47736 if ac_fn_cxx_try_compile "$LINENO"; then :
47737 glibcxx_cv_func_hypotf_use=yes
47738 else
47739 glibcxx_cv_func_hypotf_use=no
47741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47742 ac_ext=c
47743 ac_cpp='$CPP $CPPFLAGS'
47744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47753 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47755 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47756 for ac_func in hypotf
47757 do :
47758 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47759 if test "x$ac_cv_func_hypotf" = x""yes; then :
47760 cat >>confdefs.h <<_ACEOF
47761 #define HAVE_HYPOTF 1
47762 _ACEOF
47765 done
47767 else
47769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47770 $as_echo_n "checking for _hypotf declaration... " >&6; }
47771 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47772 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47773 $as_echo_n "(cached) " >&6
47774 else
47777 ac_ext=cpp
47778 ac_cpp='$CXXCPP $CPPFLAGS'
47779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47784 /* end confdefs.h. */
47785 #include <math.h>
47787 main ()
47789 _hypotf(0, 0);
47791 return 0;
47793 _ACEOF
47794 if ac_fn_cxx_try_compile "$LINENO"; then :
47795 glibcxx_cv_func__hypotf_use=yes
47796 else
47797 glibcxx_cv_func__hypotf_use=no
47799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47800 ac_ext=c
47801 ac_cpp='$CPP $CPPFLAGS'
47802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47811 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47813 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47814 for ac_func in _hypotf
47815 do :
47816 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47817 if test "x$ac_cv_func__hypotf" = x""yes; then :
47818 cat >>confdefs.h <<_ACEOF
47819 #define HAVE__HYPOTF 1
47820 _ACEOF
47823 done
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47833 $as_echo_n "checking for ldexpf declaration... " >&6; }
47834 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47835 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47836 $as_echo_n "(cached) " >&6
47837 else
47840 ac_ext=cpp
47841 ac_cpp='$CXXCPP $CPPFLAGS'
47842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47847 /* end confdefs.h. */
47848 #include <math.h>
47850 main ()
47852 ldexpf(0, 0);
47854 return 0;
47856 _ACEOF
47857 if ac_fn_cxx_try_compile "$LINENO"; then :
47858 glibcxx_cv_func_ldexpf_use=yes
47859 else
47860 glibcxx_cv_func_ldexpf_use=no
47862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47863 ac_ext=c
47864 ac_cpp='$CPP $CPPFLAGS'
47865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47874 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47876 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47877 for ac_func in ldexpf
47878 do :
47879 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47880 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47881 cat >>confdefs.h <<_ACEOF
47882 #define HAVE_LDEXPF 1
47883 _ACEOF
47886 done
47888 else
47890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47891 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47892 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47893 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47894 $as_echo_n "(cached) " >&6
47895 else
47898 ac_ext=cpp
47899 ac_cpp='$CXXCPP $CPPFLAGS'
47900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47905 /* end confdefs.h. */
47906 #include <math.h>
47908 main ()
47910 _ldexpf(0, 0);
47912 return 0;
47914 _ACEOF
47915 if ac_fn_cxx_try_compile "$LINENO"; then :
47916 glibcxx_cv_func__ldexpf_use=yes
47917 else
47918 glibcxx_cv_func__ldexpf_use=no
47920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47921 ac_ext=c
47922 ac_cpp='$CPP $CPPFLAGS'
47923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47932 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47934 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47935 for ac_func in _ldexpf
47936 do :
47937 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47938 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47939 cat >>confdefs.h <<_ACEOF
47940 #define HAVE__LDEXPF 1
47941 _ACEOF
47944 done
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47954 $as_echo_n "checking for logf declaration... " >&6; }
47955 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47956 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47957 $as_echo_n "(cached) " >&6
47958 else
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47968 /* end confdefs.h. */
47969 #include <math.h>
47970 #ifdef HAVE_IEEEFP_H
47971 #include <ieeefp.h>
47972 #endif
47975 main ()
47977 logf(0);
47979 return 0;
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983 glibcxx_cv_func_logf_use=yes
47984 else
47985 glibcxx_cv_func_logf_use=no
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988 ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47999 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48001 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48002 for ac_func in logf
48003 do :
48004 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48005 if test "x$ac_cv_func_logf" = x""yes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE_LOGF 1
48008 _ACEOF
48011 done
48013 else
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48016 $as_echo_n "checking for _logf declaration... " >&6; }
48017 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48018 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48034 #endif
48037 main ()
48039 _logf(0);
48041 return 0;
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func__logf_use=yes
48046 else
48047 glibcxx_cv_func__logf_use=no
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48061 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48063 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48064 for ac_func in _logf
48065 do :
48066 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48067 if test "x$ac_cv_func__logf" = x""yes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE__LOGF 1
48070 _ACEOF
48073 done
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48083 $as_echo_n "checking for log10f declaration... " >&6; }
48084 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48085 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48086 $as_echo_n "(cached) " >&6
48087 else
48090 ac_ext=cpp
48091 ac_cpp='$CXXCPP $CPPFLAGS'
48092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48097 /* end confdefs.h. */
48098 #include <math.h>
48099 #ifdef HAVE_IEEEFP_H
48100 #include <ieeefp.h>
48101 #endif
48104 main ()
48106 log10f(0);
48108 return 0;
48110 _ACEOF
48111 if ac_fn_cxx_try_compile "$LINENO"; then :
48112 glibcxx_cv_func_log10f_use=yes
48113 else
48114 glibcxx_cv_func_log10f_use=no
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117 ac_ext=c
48118 ac_cpp='$CPP $CPPFLAGS'
48119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48128 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48130 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48131 for ac_func in log10f
48132 do :
48133 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48134 if test "x$ac_cv_func_log10f" = x""yes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define HAVE_LOG10F 1
48137 _ACEOF
48140 done
48142 else
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48145 $as_echo_n "checking for _log10f declaration... " >&6; }
48146 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48147 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48148 $as_echo_n "(cached) " >&6
48149 else
48152 ac_ext=cpp
48153 ac_cpp='$CXXCPP $CPPFLAGS'
48154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48160 #include <math.h>
48161 #ifdef HAVE_IEEEFP_H
48162 #include <ieeefp.h>
48163 #endif
48166 main ()
48168 _log10f(0);
48170 return 0;
48172 _ACEOF
48173 if ac_fn_cxx_try_compile "$LINENO"; then :
48174 glibcxx_cv_func__log10f_use=yes
48175 else
48176 glibcxx_cv_func__log10f_use=no
48178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48179 ac_ext=c
48180 ac_cpp='$CPP $CPPFLAGS'
48181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48190 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48192 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48193 for ac_func in _log10f
48194 do :
48195 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48196 if test "x$ac_cv_func__log10f" = x""yes; then :
48197 cat >>confdefs.h <<_ACEOF
48198 #define HAVE__LOG10F 1
48199 _ACEOF
48202 done
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48212 $as_echo_n "checking for modff declaration... " >&6; }
48213 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48214 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48215 $as_echo_n "(cached) " >&6
48216 else
48219 ac_ext=cpp
48220 ac_cpp='$CXXCPP $CPPFLAGS'
48221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48226 /* end confdefs.h. */
48227 #include <math.h>
48229 main ()
48231 modff(0, 0);
48233 return 0;
48235 _ACEOF
48236 if ac_fn_cxx_try_compile "$LINENO"; then :
48237 glibcxx_cv_func_modff_use=yes
48238 else
48239 glibcxx_cv_func_modff_use=no
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48242 ac_ext=c
48243 ac_cpp='$CPP $CPPFLAGS'
48244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48253 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48255 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48256 for ac_func in modff
48257 do :
48258 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48259 if test "x$ac_cv_func_modff" = x""yes; then :
48260 cat >>confdefs.h <<_ACEOF
48261 #define HAVE_MODFF 1
48262 _ACEOF
48265 done
48267 else
48269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48270 $as_echo_n "checking for _modff declaration... " >&6; }
48271 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48272 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48273 $as_echo_n "(cached) " >&6
48274 else
48277 ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h. */
48285 #include <math.h>
48287 main ()
48289 _modff(0, 0);
48291 return 0;
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func__modff_use=yes
48296 else
48297 glibcxx_cv_func__modff_use=no
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48311 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48313 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48314 for ac_func in _modff
48315 do :
48316 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48317 if test "x$ac_cv_func__modff" = x""yes; then :
48318 cat >>confdefs.h <<_ACEOF
48319 #define HAVE__MODFF 1
48320 _ACEOF
48323 done
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48333 $as_echo_n "checking for modf declaration... " >&6; }
48334 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48335 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48350 main ()
48352 modf(0, 0);
48354 return 0;
48356 _ACEOF
48357 if ac_fn_cxx_try_compile "$LINENO"; then :
48358 glibcxx_cv_func_modf_use=yes
48359 else
48360 glibcxx_cv_func_modf_use=no
48362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48363 ac_ext=c
48364 ac_cpp='$CPP $CPPFLAGS'
48365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48374 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48376 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48377 for ac_func in modf
48378 do :
48379 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48380 if test "x$ac_cv_func_modf" = x""yes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define HAVE_MODF 1
48383 _ACEOF
48386 done
48388 else
48390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48391 $as_echo_n "checking for _modf declaration... " >&6; }
48392 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48393 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48394 $as_echo_n "(cached) " >&6
48395 else
48398 ac_ext=cpp
48399 ac_cpp='$CXXCPP $CPPFLAGS'
48400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48405 /* end confdefs.h. */
48406 #include <math.h>
48408 main ()
48410 _modf(0, 0);
48412 return 0;
48414 _ACEOF
48415 if ac_fn_cxx_try_compile "$LINENO"; then :
48416 glibcxx_cv_func__modf_use=yes
48417 else
48418 glibcxx_cv_func__modf_use=no
48420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48421 ac_ext=c
48422 ac_cpp='$CPP $CPPFLAGS'
48423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48432 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48434 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48435 for ac_func in _modf
48436 do :
48437 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48438 if test "x$ac_cv_func__modf" = x""yes; then :
48439 cat >>confdefs.h <<_ACEOF
48440 #define HAVE__MODF 1
48441 _ACEOF
48444 done
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48454 $as_echo_n "checking for powf declaration... " >&6; }
48455 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48456 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48457 $as_echo_n "(cached) " >&6
48458 else
48461 ac_ext=cpp
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48468 /* end confdefs.h. */
48469 #include <math.h>
48471 main ()
48473 powf(0, 0);
48475 return 0;
48477 _ACEOF
48478 if ac_fn_cxx_try_compile "$LINENO"; then :
48479 glibcxx_cv_func_powf_use=yes
48480 else
48481 glibcxx_cv_func_powf_use=no
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48484 ac_ext=c
48485 ac_cpp='$CPP $CPPFLAGS'
48486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48495 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48497 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48498 for ac_func in powf
48499 do :
48500 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48501 if test "x$ac_cv_func_powf" = x""yes; then :
48502 cat >>confdefs.h <<_ACEOF
48503 #define HAVE_POWF 1
48504 _ACEOF
48507 done
48509 else
48511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48512 $as_echo_n "checking for _powf declaration... " >&6; }
48513 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48514 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48515 $as_echo_n "(cached) " >&6
48516 else
48519 ac_ext=cpp
48520 ac_cpp='$CXXCPP $CPPFLAGS'
48521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h. */
48527 #include <math.h>
48529 main ()
48531 _powf(0, 0);
48533 return 0;
48535 _ACEOF
48536 if ac_fn_cxx_try_compile "$LINENO"; then :
48537 glibcxx_cv_func__powf_use=yes
48538 else
48539 glibcxx_cv_func__powf_use=no
48541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48542 ac_ext=c
48543 ac_cpp='$CPP $CPPFLAGS'
48544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48553 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48555 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48556 for ac_func in _powf
48557 do :
48558 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48559 if test "x$ac_cv_func__powf" = x""yes; then :
48560 cat >>confdefs.h <<_ACEOF
48561 #define HAVE__POWF 1
48562 _ACEOF
48565 done
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48575 $as_echo_n "checking for sqrtf declaration... " >&6; }
48576 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48577 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48578 $as_echo_n "(cached) " >&6
48579 else
48582 ac_ext=cpp
48583 ac_cpp='$CXXCPP $CPPFLAGS'
48584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48589 /* end confdefs.h. */
48590 #include <math.h>
48591 #ifdef HAVE_IEEEFP_H
48592 #include <ieeefp.h>
48593 #endif
48596 main ()
48598 sqrtf(0);
48600 return 0;
48602 _ACEOF
48603 if ac_fn_cxx_try_compile "$LINENO"; then :
48604 glibcxx_cv_func_sqrtf_use=yes
48605 else
48606 glibcxx_cv_func_sqrtf_use=no
48608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48609 ac_ext=c
48610 ac_cpp='$CPP $CPPFLAGS'
48611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48620 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48622 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48623 for ac_func in sqrtf
48624 do :
48625 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48626 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48627 cat >>confdefs.h <<_ACEOF
48628 #define HAVE_SQRTF 1
48629 _ACEOF
48632 done
48634 else
48636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48637 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48638 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48639 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48640 $as_echo_n "(cached) " >&6
48641 else
48644 ac_ext=cpp
48645 ac_cpp='$CXXCPP $CPPFLAGS'
48646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48651 /* end confdefs.h. */
48652 #include <math.h>
48653 #ifdef HAVE_IEEEFP_H
48654 #include <ieeefp.h>
48655 #endif
48658 main ()
48660 _sqrtf(0);
48662 return 0;
48664 _ACEOF
48665 if ac_fn_cxx_try_compile "$LINENO"; then :
48666 glibcxx_cv_func__sqrtf_use=yes
48667 else
48668 glibcxx_cv_func__sqrtf_use=no
48670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48671 ac_ext=c
48672 ac_cpp='$CPP $CPPFLAGS'
48673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48682 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48684 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48685 for ac_func in _sqrtf
48686 do :
48687 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48688 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48689 cat >>confdefs.h <<_ACEOF
48690 #define HAVE__SQRTF 1
48691 _ACEOF
48694 done
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48704 $as_echo_n "checking for sincosf declaration... " >&6; }
48705 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48706 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48707 $as_echo_n "(cached) " >&6
48708 else
48711 ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48718 /* end confdefs.h. */
48719 #include <math.h>
48721 main ()
48723 sincosf(0, 0, 0);
48725 return 0;
48727 _ACEOF
48728 if ac_fn_cxx_try_compile "$LINENO"; then :
48729 glibcxx_cv_func_sincosf_use=yes
48730 else
48731 glibcxx_cv_func_sincosf_use=no
48733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48734 ac_ext=c
48735 ac_cpp='$CPP $CPPFLAGS'
48736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48745 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48747 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48748 for ac_func in sincosf
48749 do :
48750 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48751 if test "x$ac_cv_func_sincosf" = x""yes; then :
48752 cat >>confdefs.h <<_ACEOF
48753 #define HAVE_SINCOSF 1
48754 _ACEOF
48757 done
48759 else
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48762 $as_echo_n "checking for _sincosf declaration... " >&6; }
48763 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48764 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48765 $as_echo_n "(cached) " >&6
48766 else
48769 ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h. */
48777 #include <math.h>
48779 main ()
48781 _sincosf(0, 0, 0);
48783 return 0;
48785 _ACEOF
48786 if ac_fn_cxx_try_compile "$LINENO"; then :
48787 glibcxx_cv_func__sincosf_use=yes
48788 else
48789 glibcxx_cv_func__sincosf_use=no
48791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_ext=c
48793 ac_cpp='$CPP $CPPFLAGS'
48794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48803 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48805 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48806 for ac_func in _sincosf
48807 do :
48808 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48809 if test "x$ac_cv_func__sincosf" = x""yes; then :
48810 cat >>confdefs.h <<_ACEOF
48811 #define HAVE__SINCOSF 1
48812 _ACEOF
48815 done
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48825 $as_echo_n "checking for finitef declaration... " >&6; }
48826 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48827 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48828 $as_echo_n "(cached) " >&6
48829 else
48832 ac_ext=cpp
48833 ac_cpp='$CXXCPP $CPPFLAGS'
48834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48839 /* end confdefs.h. */
48840 #include <math.h>
48841 #ifdef HAVE_IEEEFP_H
48842 #include <ieeefp.h>
48843 #endif
48846 main ()
48848 finitef(0);
48850 return 0;
48852 _ACEOF
48853 if ac_fn_cxx_try_compile "$LINENO"; then :
48854 glibcxx_cv_func_finitef_use=yes
48855 else
48856 glibcxx_cv_func_finitef_use=no
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859 ac_ext=c
48860 ac_cpp='$CPP $CPPFLAGS'
48861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48870 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48872 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48873 for ac_func in finitef
48874 do :
48875 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48876 if test "x$ac_cv_func_finitef" = x""yes; then :
48877 cat >>confdefs.h <<_ACEOF
48878 #define HAVE_FINITEF 1
48879 _ACEOF
48882 done
48884 else
48886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48887 $as_echo_n "checking for _finitef declaration... " >&6; }
48888 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48889 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48890 $as_echo_n "(cached) " >&6
48891 else
48894 ac_ext=cpp
48895 ac_cpp='$CXXCPP $CPPFLAGS'
48896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48901 /* end confdefs.h. */
48902 #include <math.h>
48903 #ifdef HAVE_IEEEFP_H
48904 #include <ieeefp.h>
48905 #endif
48908 main ()
48910 _finitef(0);
48912 return 0;
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func__finitef_use=yes
48917 else
48918 glibcxx_cv_func__finitef_use=no
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48932 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48934 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48935 for ac_func in _finitef
48936 do :
48937 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48938 if test "x$ac_cv_func__finitef" = x""yes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE__FINITEF 1
48941 _ACEOF
48944 done
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48954 $as_echo_n "checking for long double trig functions... " >&6; }
48955 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48956 $as_echo_n "(cached) " >&6
48957 else
48960 ac_ext=cpp
48961 ac_cpp='$CXXCPP $CPPFLAGS'
48962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48967 /* end confdefs.h. */
48968 #include <math.h>
48970 main ()
48972 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48974 return 0;
48976 _ACEOF
48977 if ac_fn_cxx_try_compile "$LINENO"; then :
48978 glibcxx_cv_func_long_double_trig_use=yes
48979 else
48980 glibcxx_cv_func_long_double_trig_use=no
48982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48983 ac_ext=c
48984 ac_cpp='$CPP $CPPFLAGS'
48985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48992 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48993 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48994 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48995 do :
48996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48998 eval as_val=\$$as_ac_var
48999 if test "x$as_val" = x""yes; then :
49000 cat >>confdefs.h <<_ACEOF
49001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49002 _ACEOF
49005 done
49007 else
49008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49009 $as_echo_n "checking for _long double trig functions... " >&6; }
49010 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49011 $as_echo_n "(cached) " >&6
49012 else
49015 ac_ext=cpp
49016 ac_cpp='$CXXCPP $CPPFLAGS'
49017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49022 /* end confdefs.h. */
49023 #include <math.h>
49025 main ()
49027 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49029 return 0;
49031 _ACEOF
49032 if ac_fn_cxx_try_compile "$LINENO"; then :
49033 glibcxx_cv_func__long_double_trig_use=yes
49034 else
49035 glibcxx_cv_func__long_double_trig_use=no
49037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49038 ac_ext=c
49039 ac_cpp='$CPP $CPPFLAGS'
49040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49047 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49048 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49049 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49050 do :
49051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49053 eval as_val=\$$as_ac_var
49054 if test "x$as_val" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49057 _ACEOF
49060 done
49069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49070 $as_echo_n "checking for long double round functions... " >&6; }
49071 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49072 $as_echo_n "(cached) " >&6
49073 else
49076 ac_ext=cpp
49077 ac_cpp='$CXXCPP $CPPFLAGS'
49078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49083 /* end confdefs.h. */
49084 #include <math.h>
49086 main ()
49088 ceill (0); floorl (0);
49090 return 0;
49092 _ACEOF
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func_long_double_round_use=yes
49095 else
49096 glibcxx_cv_func_long_double_round_use=no
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49108 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49109 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49110 for ac_func in ceill floorl
49111 do :
49112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49114 eval as_val=\$$as_ac_var
49115 if test "x$as_val" = x""yes; then :
49116 cat >>confdefs.h <<_ACEOF
49117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49118 _ACEOF
49121 done
49123 else
49124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49125 $as_echo_n "checking for _long double round functions... " >&6; }
49126 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49127 $as_echo_n "(cached) " >&6
49128 else
49131 ac_ext=cpp
49132 ac_cpp='$CXXCPP $CPPFLAGS'
49133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49138 /* end confdefs.h. */
49139 #include <math.h>
49141 main ()
49143 _ceill (0); _floorl (0);
49145 return 0;
49147 _ACEOF
49148 if ac_fn_cxx_try_compile "$LINENO"; then :
49149 glibcxx_cv_func__long_double_round_use=yes
49150 else
49151 glibcxx_cv_func__long_double_round_use=no
49153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49154 ac_ext=c
49155 ac_cpp='$CPP $CPPFLAGS'
49156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49163 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49164 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49165 for ac_func in _ceill _floorl
49166 do :
49167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49169 eval as_val=\$$as_ac_var
49170 if test "x$as_val" = x""yes; then :
49171 cat >>confdefs.h <<_ACEOF
49172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49173 _ACEOF
49176 done
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49187 $as_echo_n "checking for isnanl declaration... " >&6; }
49188 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49189 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49190 $as_echo_n "(cached) " >&6
49191 else
49194 ac_ext=cpp
49195 ac_cpp='$CXXCPP $CPPFLAGS'
49196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49201 /* end confdefs.h. */
49202 #include <math.h>
49203 #ifdef HAVE_IEEEFP_H
49204 #include <ieeefp.h>
49205 #endif
49208 main ()
49210 isnanl(0);
49212 return 0;
49214 _ACEOF
49215 if ac_fn_cxx_try_compile "$LINENO"; then :
49216 glibcxx_cv_func_isnanl_use=yes
49217 else
49218 glibcxx_cv_func_isnanl_use=no
49220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221 ac_ext=c
49222 ac_cpp='$CPP $CPPFLAGS'
49223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49232 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49234 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49235 for ac_func in isnanl
49236 do :
49237 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49238 if test "x$ac_cv_func_isnanl" = x""yes; then :
49239 cat >>confdefs.h <<_ACEOF
49240 #define HAVE_ISNANL 1
49241 _ACEOF
49244 done
49246 else
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49249 $as_echo_n "checking for _isnanl declaration... " >&6; }
49250 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49251 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49252 $as_echo_n "(cached) " >&6
49253 else
49256 ac_ext=cpp
49257 ac_cpp='$CXXCPP $CPPFLAGS'
49258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49263 /* end confdefs.h. */
49264 #include <math.h>
49265 #ifdef HAVE_IEEEFP_H
49266 #include <ieeefp.h>
49267 #endif
49270 main ()
49272 _isnanl(0);
49274 return 0;
49276 _ACEOF
49277 if ac_fn_cxx_try_compile "$LINENO"; then :
49278 glibcxx_cv_func__isnanl_use=yes
49279 else
49280 glibcxx_cv_func__isnanl_use=no
49282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49283 ac_ext=c
49284 ac_cpp='$CPP $CPPFLAGS'
49285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49294 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49296 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49297 for ac_func in _isnanl
49298 do :
49299 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49300 if test "x$ac_cv_func__isnanl" = x""yes; then :
49301 cat >>confdefs.h <<_ACEOF
49302 #define HAVE__ISNANL 1
49303 _ACEOF
49306 done
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49316 $as_echo_n "checking for isinfl declaration... " >&6; }
49317 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49318 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49319 $as_echo_n "(cached) " >&6
49320 else
49323 ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h. */
49331 #include <math.h>
49332 #ifdef HAVE_IEEEFP_H
49333 #include <ieeefp.h>
49334 #endif
49337 main ()
49339 isinfl(0);
49341 return 0;
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345 glibcxx_cv_func_isinfl_use=yes
49346 else
49347 glibcxx_cv_func_isinfl_use=no
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350 ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49361 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49363 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49364 for ac_func in isinfl
49365 do :
49366 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49367 if test "x$ac_cv_func_isinfl" = x""yes; then :
49368 cat >>confdefs.h <<_ACEOF
49369 #define HAVE_ISINFL 1
49370 _ACEOF
49373 done
49375 else
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49378 $as_echo_n "checking for _isinfl declaration... " >&6; }
49379 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49380 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49394 #ifdef HAVE_IEEEFP_H
49395 #include <ieeefp.h>
49396 #endif
49399 main ()
49401 _isinfl(0);
49403 return 0;
49405 _ACEOF
49406 if ac_fn_cxx_try_compile "$LINENO"; then :
49407 glibcxx_cv_func__isinfl_use=yes
49408 else
49409 glibcxx_cv_func__isinfl_use=no
49411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49412 ac_ext=c
49413 ac_cpp='$CPP $CPPFLAGS'
49414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49423 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49425 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49426 for ac_func in _isinfl
49427 do :
49428 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49429 if test "x$ac_cv_func__isinfl" = x""yes; then :
49430 cat >>confdefs.h <<_ACEOF
49431 #define HAVE__ISINFL 1
49432 _ACEOF
49435 done
49444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49445 $as_echo_n "checking for atan2l declaration... " >&6; }
49446 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49447 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49448 $as_echo_n "(cached) " >&6
49449 else
49452 ac_ext=cpp
49453 ac_cpp='$CXXCPP $CPPFLAGS'
49454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49459 /* end confdefs.h. */
49460 #include <math.h>
49462 main ()
49464 atan2l(0, 0);
49466 return 0;
49468 _ACEOF
49469 if ac_fn_cxx_try_compile "$LINENO"; then :
49470 glibcxx_cv_func_atan2l_use=yes
49471 else
49472 glibcxx_cv_func_atan2l_use=no
49474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49475 ac_ext=c
49476 ac_cpp='$CPP $CPPFLAGS'
49477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49486 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49488 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49489 for ac_func in atan2l
49490 do :
49491 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49492 if test "x$ac_cv_func_atan2l" = x""yes; then :
49493 cat >>confdefs.h <<_ACEOF
49494 #define HAVE_ATAN2L 1
49495 _ACEOF
49498 done
49500 else
49502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49503 $as_echo_n "checking for _atan2l declaration... " >&6; }
49504 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49505 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49506 $as_echo_n "(cached) " >&6
49507 else
49510 ac_ext=cpp
49511 ac_cpp='$CXXCPP $CPPFLAGS'
49512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49517 /* end confdefs.h. */
49518 #include <math.h>
49520 main ()
49522 _atan2l(0, 0);
49524 return 0;
49526 _ACEOF
49527 if ac_fn_cxx_try_compile "$LINENO"; then :
49528 glibcxx_cv_func__atan2l_use=yes
49529 else
49530 glibcxx_cv_func__atan2l_use=no
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49533 ac_ext=c
49534 ac_cpp='$CPP $CPPFLAGS'
49535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49544 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49546 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49547 for ac_func in _atan2l
49548 do :
49549 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49550 if test "x$ac_cv_func__atan2l" = x""yes; then :
49551 cat >>confdefs.h <<_ACEOF
49552 #define HAVE__ATAN2L 1
49553 _ACEOF
49556 done
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49566 $as_echo_n "checking for expl declaration... " >&6; }
49567 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49568 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49569 $as_echo_n "(cached) " >&6
49570 else
49573 ac_ext=cpp
49574 ac_cpp='$CXXCPP $CPPFLAGS'
49575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49580 /* end confdefs.h. */
49581 #include <math.h>
49582 #ifdef HAVE_IEEEFP_H
49583 #include <ieeefp.h>
49584 #endif
49587 main ()
49589 expl(0);
49591 return 0;
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func_expl_use=yes
49596 else
49597 glibcxx_cv_func_expl_use=no
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49611 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49613 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49614 for ac_func in expl
49615 do :
49616 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49617 if test "x$ac_cv_func_expl" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define HAVE_EXPL 1
49620 _ACEOF
49623 done
49625 else
49627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49628 $as_echo_n "checking for _expl declaration... " >&6; }
49629 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49630 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49631 $as_echo_n "(cached) " >&6
49632 else
49635 ac_ext=cpp
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49642 /* end confdefs.h. */
49643 #include <math.h>
49644 #ifdef HAVE_IEEEFP_H
49645 #include <ieeefp.h>
49646 #endif
49649 main ()
49651 _expl(0);
49653 return 0;
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func__expl_use=yes
49658 else
49659 glibcxx_cv_func__expl_use=no
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49673 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49675 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49676 for ac_func in _expl
49677 do :
49678 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49679 if test "x$ac_cv_func__expl" = x""yes; then :
49680 cat >>confdefs.h <<_ACEOF
49681 #define HAVE__EXPL 1
49682 _ACEOF
49685 done
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49695 $as_echo_n "checking for fabsl declaration... " >&6; }
49696 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49697 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49698 $as_echo_n "(cached) " >&6
49699 else
49702 ac_ext=cpp
49703 ac_cpp='$CXXCPP $CPPFLAGS'
49704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49709 /* end confdefs.h. */
49710 #include <math.h>
49711 #ifdef HAVE_IEEEFP_H
49712 #include <ieeefp.h>
49713 #endif
49716 main ()
49718 fabsl(0);
49720 return 0;
49722 _ACEOF
49723 if ac_fn_cxx_try_compile "$LINENO"; then :
49724 glibcxx_cv_func_fabsl_use=yes
49725 else
49726 glibcxx_cv_func_fabsl_use=no
49728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49729 ac_ext=c
49730 ac_cpp='$CPP $CPPFLAGS'
49731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49740 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49742 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49743 for ac_func in fabsl
49744 do :
49745 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49746 if test "x$ac_cv_func_fabsl" = x""yes; then :
49747 cat >>confdefs.h <<_ACEOF
49748 #define HAVE_FABSL 1
49749 _ACEOF
49752 done
49754 else
49756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49757 $as_echo_n "checking for _fabsl declaration... " >&6; }
49758 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49759 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49760 $as_echo_n "(cached) " >&6
49761 else
49764 ac_ext=cpp
49765 ac_cpp='$CXXCPP $CPPFLAGS'
49766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49771 /* end confdefs.h. */
49772 #include <math.h>
49773 #ifdef HAVE_IEEEFP_H
49774 #include <ieeefp.h>
49775 #endif
49778 main ()
49780 _fabsl(0);
49782 return 0;
49784 _ACEOF
49785 if ac_fn_cxx_try_compile "$LINENO"; then :
49786 glibcxx_cv_func__fabsl_use=yes
49787 else
49788 glibcxx_cv_func__fabsl_use=no
49790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49791 ac_ext=c
49792 ac_cpp='$CPP $CPPFLAGS'
49793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49802 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49804 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49805 for ac_func in _fabsl
49806 do :
49807 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49808 if test "x$ac_cv_func__fabsl" = x""yes; then :
49809 cat >>confdefs.h <<_ACEOF
49810 #define HAVE__FABSL 1
49811 _ACEOF
49814 done
49823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49824 $as_echo_n "checking for fmodl declaration... " >&6; }
49825 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49826 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49827 $as_echo_n "(cached) " >&6
49828 else
49831 ac_ext=cpp
49832 ac_cpp='$CXXCPP $CPPFLAGS'
49833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49838 /* end confdefs.h. */
49839 #include <math.h>
49841 main ()
49843 fmodl(0, 0);
49845 return 0;
49847 _ACEOF
49848 if ac_fn_cxx_try_compile "$LINENO"; then :
49849 glibcxx_cv_func_fmodl_use=yes
49850 else
49851 glibcxx_cv_func_fmodl_use=no
49853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49854 ac_ext=c
49855 ac_cpp='$CPP $CPPFLAGS'
49856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49865 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49867 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49868 for ac_func in fmodl
49869 do :
49870 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49871 if test "x$ac_cv_func_fmodl" = x""yes; then :
49872 cat >>confdefs.h <<_ACEOF
49873 #define HAVE_FMODL 1
49874 _ACEOF
49877 done
49879 else
49881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49882 $as_echo_n "checking for _fmodl declaration... " >&6; }
49883 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49884 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49885 $as_echo_n "(cached) " >&6
49886 else
49889 ac_ext=cpp
49890 ac_cpp='$CXXCPP $CPPFLAGS'
49891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49896 /* end confdefs.h. */
49897 #include <math.h>
49899 main ()
49901 _fmodl(0, 0);
49903 return 0;
49905 _ACEOF
49906 if ac_fn_cxx_try_compile "$LINENO"; then :
49907 glibcxx_cv_func__fmodl_use=yes
49908 else
49909 glibcxx_cv_func__fmodl_use=no
49911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49912 ac_ext=c
49913 ac_cpp='$CPP $CPPFLAGS'
49914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49923 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49925 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49926 for ac_func in _fmodl
49927 do :
49928 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49929 if test "x$ac_cv_func__fmodl" = x""yes; then :
49930 cat >>confdefs.h <<_ACEOF
49931 #define HAVE__FMODL 1
49932 _ACEOF
49935 done
49944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49945 $as_echo_n "checking for frexpl declaration... " >&6; }
49946 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49947 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49948 $as_echo_n "(cached) " >&6
49949 else
49952 ac_ext=cpp
49953 ac_cpp='$CXXCPP $CPPFLAGS'
49954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49959 /* end confdefs.h. */
49960 #include <math.h>
49962 main ()
49964 frexpl(0, 0);
49966 return 0;
49968 _ACEOF
49969 if ac_fn_cxx_try_compile "$LINENO"; then :
49970 glibcxx_cv_func_frexpl_use=yes
49971 else
49972 glibcxx_cv_func_frexpl_use=no
49974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49975 ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49986 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49988 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49989 for ac_func in frexpl
49990 do :
49991 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49992 if test "x$ac_cv_func_frexpl" = x""yes; then :
49993 cat >>confdefs.h <<_ACEOF
49994 #define HAVE_FREXPL 1
49995 _ACEOF
49998 done
50000 else
50002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50003 $as_echo_n "checking for _frexpl declaration... " >&6; }
50004 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50005 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50006 $as_echo_n "(cached) " >&6
50007 else
50010 ac_ext=cpp
50011 ac_cpp='$CXXCPP $CPPFLAGS'
50012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50017 /* end confdefs.h. */
50018 #include <math.h>
50020 main ()
50022 _frexpl(0, 0);
50024 return 0;
50026 _ACEOF
50027 if ac_fn_cxx_try_compile "$LINENO"; then :
50028 glibcxx_cv_func__frexpl_use=yes
50029 else
50030 glibcxx_cv_func__frexpl_use=no
50032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50033 ac_ext=c
50034 ac_cpp='$CPP $CPPFLAGS'
50035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50044 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50046 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50047 for ac_func in _frexpl
50048 do :
50049 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50050 if test "x$ac_cv_func__frexpl" = x""yes; then :
50051 cat >>confdefs.h <<_ACEOF
50052 #define HAVE__FREXPL 1
50053 _ACEOF
50056 done
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50066 $as_echo_n "checking for hypotl declaration... " >&6; }
50067 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50068 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50069 $as_echo_n "(cached) " >&6
50070 else
50073 ac_ext=cpp
50074 ac_cpp='$CXXCPP $CPPFLAGS'
50075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50080 /* end confdefs.h. */
50081 #include <math.h>
50083 main ()
50085 hypotl(0, 0);
50087 return 0;
50089 _ACEOF
50090 if ac_fn_cxx_try_compile "$LINENO"; then :
50091 glibcxx_cv_func_hypotl_use=yes
50092 else
50093 glibcxx_cv_func_hypotl_use=no
50095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50096 ac_ext=c
50097 ac_cpp='$CPP $CPPFLAGS'
50098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50107 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50109 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50110 for ac_func in hypotl
50111 do :
50112 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50113 if test "x$ac_cv_func_hypotl" = x""yes; then :
50114 cat >>confdefs.h <<_ACEOF
50115 #define HAVE_HYPOTL 1
50116 _ACEOF
50119 done
50121 else
50123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50124 $as_echo_n "checking for _hypotl declaration... " >&6; }
50125 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50126 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50127 $as_echo_n "(cached) " >&6
50128 else
50131 ac_ext=cpp
50132 ac_cpp='$CXXCPP $CPPFLAGS'
50133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50138 /* end confdefs.h. */
50139 #include <math.h>
50141 main ()
50143 _hypotl(0, 0);
50145 return 0;
50147 _ACEOF
50148 if ac_fn_cxx_try_compile "$LINENO"; then :
50149 glibcxx_cv_func__hypotl_use=yes
50150 else
50151 glibcxx_cv_func__hypotl_use=no
50153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50154 ac_ext=c
50155 ac_cpp='$CPP $CPPFLAGS'
50156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50165 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50167 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50168 for ac_func in _hypotl
50169 do :
50170 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50171 if test "x$ac_cv_func__hypotl" = x""yes; then :
50172 cat >>confdefs.h <<_ACEOF
50173 #define HAVE__HYPOTL 1
50174 _ACEOF
50177 done
50186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50187 $as_echo_n "checking for ldexpl declaration... " >&6; }
50188 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50189 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50190 $as_echo_n "(cached) " >&6
50191 else
50194 ac_ext=cpp
50195 ac_cpp='$CXXCPP $CPPFLAGS'
50196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50201 /* end confdefs.h. */
50202 #include <math.h>
50204 main ()
50206 ldexpl(0, 0);
50208 return 0;
50210 _ACEOF
50211 if ac_fn_cxx_try_compile "$LINENO"; then :
50212 glibcxx_cv_func_ldexpl_use=yes
50213 else
50214 glibcxx_cv_func_ldexpl_use=no
50216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50217 ac_ext=c
50218 ac_cpp='$CPP $CPPFLAGS'
50219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50228 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50230 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50231 for ac_func in ldexpl
50232 do :
50233 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50234 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50235 cat >>confdefs.h <<_ACEOF
50236 #define HAVE_LDEXPL 1
50237 _ACEOF
50240 done
50242 else
50244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50245 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50246 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50247 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50248 $as_echo_n "(cached) " >&6
50249 else
50252 ac_ext=cpp
50253 ac_cpp='$CXXCPP $CPPFLAGS'
50254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50259 /* end confdefs.h. */
50260 #include <math.h>
50262 main ()
50264 _ldexpl(0, 0);
50266 return 0;
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270 glibcxx_cv_func__ldexpl_use=yes
50271 else
50272 glibcxx_cv_func__ldexpl_use=no
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275 ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50286 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50288 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50289 for ac_func in _ldexpl
50290 do :
50291 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50292 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50293 cat >>confdefs.h <<_ACEOF
50294 #define HAVE__LDEXPL 1
50295 _ACEOF
50298 done
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50308 $as_echo_n "checking for logl declaration... " >&6; }
50309 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50310 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50329 main ()
50331 logl(0);
50333 return 0;
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func_logl_use=yes
50338 else
50339 glibcxx_cv_func_logl_use=no
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50353 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50355 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50356 for ac_func in logl
50357 do :
50358 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50359 if test "x$ac_cv_func_logl" = x""yes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE_LOGL 1
50362 _ACEOF
50365 done
50367 else
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50370 $as_echo_n "checking for _logl declaration... " >&6; }
50371 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50372 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 #ifdef HAVE_IEEEFP_H
50387 #include <ieeefp.h>
50388 #endif
50391 main ()
50393 _logl(0);
50395 return 0;
50397 _ACEOF
50398 if ac_fn_cxx_try_compile "$LINENO"; then :
50399 glibcxx_cv_func__logl_use=yes
50400 else
50401 glibcxx_cv_func__logl_use=no
50403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50404 ac_ext=c
50405 ac_cpp='$CPP $CPPFLAGS'
50406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50415 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50417 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50418 for ac_func in _logl
50419 do :
50420 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50421 if test "x$ac_cv_func__logl" = x""yes; then :
50422 cat >>confdefs.h <<_ACEOF
50423 #define HAVE__LOGL 1
50424 _ACEOF
50427 done
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50437 $as_echo_n "checking for log10l declaration... " >&6; }
50438 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50439 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50440 $as_echo_n "(cached) " >&6
50441 else
50444 ac_ext=cpp
50445 ac_cpp='$CXXCPP $CPPFLAGS'
50446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50451 /* end confdefs.h. */
50452 #include <math.h>
50453 #ifdef HAVE_IEEEFP_H
50454 #include <ieeefp.h>
50455 #endif
50458 main ()
50460 log10l(0);
50462 return 0;
50464 _ACEOF
50465 if ac_fn_cxx_try_compile "$LINENO"; then :
50466 glibcxx_cv_func_log10l_use=yes
50467 else
50468 glibcxx_cv_func_log10l_use=no
50470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50471 ac_ext=c
50472 ac_cpp='$CPP $CPPFLAGS'
50473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50482 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50484 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50485 for ac_func in log10l
50486 do :
50487 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50488 if test "x$ac_cv_func_log10l" = x""yes; then :
50489 cat >>confdefs.h <<_ACEOF
50490 #define HAVE_LOG10L 1
50491 _ACEOF
50494 done
50496 else
50498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50499 $as_echo_n "checking for _log10l declaration... " >&6; }
50500 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50501 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50502 $as_echo_n "(cached) " >&6
50503 else
50506 ac_ext=cpp
50507 ac_cpp='$CXXCPP $CPPFLAGS'
50508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50513 /* end confdefs.h. */
50514 #include <math.h>
50515 #ifdef HAVE_IEEEFP_H
50516 #include <ieeefp.h>
50517 #endif
50520 main ()
50522 _log10l(0);
50524 return 0;
50526 _ACEOF
50527 if ac_fn_cxx_try_compile "$LINENO"; then :
50528 glibcxx_cv_func__log10l_use=yes
50529 else
50530 glibcxx_cv_func__log10l_use=no
50532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50533 ac_ext=c
50534 ac_cpp='$CPP $CPPFLAGS'
50535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50544 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50546 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50547 for ac_func in _log10l
50548 do :
50549 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50550 if test "x$ac_cv_func__log10l" = x""yes; then :
50551 cat >>confdefs.h <<_ACEOF
50552 #define HAVE__LOG10L 1
50553 _ACEOF
50556 done
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50566 $as_echo_n "checking for modfl declaration... " >&6; }
50567 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50568 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50569 $as_echo_n "(cached) " >&6
50570 else
50573 ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h. */
50581 #include <math.h>
50583 main ()
50585 modfl(0, 0);
50587 return 0;
50589 _ACEOF
50590 if ac_fn_cxx_try_compile "$LINENO"; then :
50591 glibcxx_cv_func_modfl_use=yes
50592 else
50593 glibcxx_cv_func_modfl_use=no
50595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50596 ac_ext=c
50597 ac_cpp='$CPP $CPPFLAGS'
50598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50607 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50609 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50610 for ac_func in modfl
50611 do :
50612 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50613 if test "x$ac_cv_func_modfl" = x""yes; then :
50614 cat >>confdefs.h <<_ACEOF
50615 #define HAVE_MODFL 1
50616 _ACEOF
50619 done
50621 else
50623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50624 $as_echo_n "checking for _modfl declaration... " >&6; }
50625 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50626 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50627 $as_echo_n "(cached) " >&6
50628 else
50631 ac_ext=cpp
50632 ac_cpp='$CXXCPP $CPPFLAGS'
50633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50638 /* end confdefs.h. */
50639 #include <math.h>
50641 main ()
50643 _modfl(0, 0);
50645 return 0;
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func__modfl_use=yes
50650 else
50651 glibcxx_cv_func__modfl_use=no
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50665 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50667 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50668 for ac_func in _modfl
50669 do :
50670 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50671 if test "x$ac_cv_func__modfl" = x""yes; then :
50672 cat >>confdefs.h <<_ACEOF
50673 #define HAVE__MODFL 1
50674 _ACEOF
50677 done
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50687 $as_echo_n "checking for powl declaration... " >&6; }
50688 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50689 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50704 main ()
50706 powl(0, 0);
50708 return 0;
50710 _ACEOF
50711 if ac_fn_cxx_try_compile "$LINENO"; then :
50712 glibcxx_cv_func_powl_use=yes
50713 else
50714 glibcxx_cv_func_powl_use=no
50716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50717 ac_ext=c
50718 ac_cpp='$CPP $CPPFLAGS'
50719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50728 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50730 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50731 for ac_func in powl
50732 do :
50733 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50734 if test "x$ac_cv_func_powl" = x""yes; then :
50735 cat >>confdefs.h <<_ACEOF
50736 #define HAVE_POWL 1
50737 _ACEOF
50740 done
50742 else
50744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50745 $as_echo_n "checking for _powl declaration... " >&6; }
50746 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50747 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50748 $as_echo_n "(cached) " >&6
50749 else
50752 ac_ext=cpp
50753 ac_cpp='$CXXCPP $CPPFLAGS'
50754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h. */
50760 #include <math.h>
50762 main ()
50764 _powl(0, 0);
50766 return 0;
50768 _ACEOF
50769 if ac_fn_cxx_try_compile "$LINENO"; then :
50770 glibcxx_cv_func__powl_use=yes
50771 else
50772 glibcxx_cv_func__powl_use=no
50774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50775 ac_ext=c
50776 ac_cpp='$CPP $CPPFLAGS'
50777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50786 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50788 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50789 for ac_func in _powl
50790 do :
50791 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50792 if test "x$ac_cv_func__powl" = x""yes; then :
50793 cat >>confdefs.h <<_ACEOF
50794 #define HAVE__POWL 1
50795 _ACEOF
50798 done
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50808 $as_echo_n "checking for sqrtl declaration... " >&6; }
50809 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50810 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50811 $as_echo_n "(cached) " >&6
50812 else
50815 ac_ext=cpp
50816 ac_cpp='$CXXCPP $CPPFLAGS'
50817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50822 /* end confdefs.h. */
50823 #include <math.h>
50824 #ifdef HAVE_IEEEFP_H
50825 #include <ieeefp.h>
50826 #endif
50829 main ()
50831 sqrtl(0);
50833 return 0;
50835 _ACEOF
50836 if ac_fn_cxx_try_compile "$LINENO"; then :
50837 glibcxx_cv_func_sqrtl_use=yes
50838 else
50839 glibcxx_cv_func_sqrtl_use=no
50841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50842 ac_ext=c
50843 ac_cpp='$CPP $CPPFLAGS'
50844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50853 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50855 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50856 for ac_func in sqrtl
50857 do :
50858 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50859 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50860 cat >>confdefs.h <<_ACEOF
50861 #define HAVE_SQRTL 1
50862 _ACEOF
50865 done
50867 else
50869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50870 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50871 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50872 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50873 $as_echo_n "(cached) " >&6
50874 else
50877 ac_ext=cpp
50878 ac_cpp='$CXXCPP $CPPFLAGS'
50879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50884 /* end confdefs.h. */
50885 #include <math.h>
50886 #ifdef HAVE_IEEEFP_H
50887 #include <ieeefp.h>
50888 #endif
50891 main ()
50893 _sqrtl(0);
50895 return 0;
50897 _ACEOF
50898 if ac_fn_cxx_try_compile "$LINENO"; then :
50899 glibcxx_cv_func__sqrtl_use=yes
50900 else
50901 glibcxx_cv_func__sqrtl_use=no
50903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50904 ac_ext=c
50905 ac_cpp='$CPP $CPPFLAGS'
50906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50915 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50917 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50918 for ac_func in _sqrtl
50919 do :
50920 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50921 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50922 cat >>confdefs.h <<_ACEOF
50923 #define HAVE__SQRTL 1
50924 _ACEOF
50927 done
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50937 $as_echo_n "checking for sincosl declaration... " >&6; }
50938 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50939 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50940 $as_echo_n "(cached) " >&6
50941 else
50944 ac_ext=cpp
50945 ac_cpp='$CXXCPP $CPPFLAGS'
50946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50951 /* end confdefs.h. */
50952 #include <math.h>
50954 main ()
50956 sincosl(0, 0, 0);
50958 return 0;
50960 _ACEOF
50961 if ac_fn_cxx_try_compile "$LINENO"; then :
50962 glibcxx_cv_func_sincosl_use=yes
50963 else
50964 glibcxx_cv_func_sincosl_use=no
50966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50967 ac_ext=c
50968 ac_cpp='$CPP $CPPFLAGS'
50969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50978 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50980 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50981 for ac_func in sincosl
50982 do :
50983 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50984 if test "x$ac_cv_func_sincosl" = x""yes; then :
50985 cat >>confdefs.h <<_ACEOF
50986 #define HAVE_SINCOSL 1
50987 _ACEOF
50990 done
50992 else
50994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50995 $as_echo_n "checking for _sincosl declaration... " >&6; }
50996 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50997 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50998 $as_echo_n "(cached) " >&6
50999 else
51002 ac_ext=cpp
51003 ac_cpp='$CXXCPP $CPPFLAGS'
51004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51009 /* end confdefs.h. */
51010 #include <math.h>
51012 main ()
51014 _sincosl(0, 0, 0);
51016 return 0;
51018 _ACEOF
51019 if ac_fn_cxx_try_compile "$LINENO"; then :
51020 glibcxx_cv_func__sincosl_use=yes
51021 else
51022 glibcxx_cv_func__sincosl_use=no
51024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51025 ac_ext=c
51026 ac_cpp='$CPP $CPPFLAGS'
51027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51036 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51038 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51039 for ac_func in _sincosl
51040 do :
51041 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51042 if test "x$ac_cv_func__sincosl" = x""yes; then :
51043 cat >>confdefs.h <<_ACEOF
51044 #define HAVE__SINCOSL 1
51045 _ACEOF
51048 done
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51058 $as_echo_n "checking for finitel declaration... " >&6; }
51059 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51060 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51061 $as_echo_n "(cached) " >&6
51062 else
51065 ac_ext=cpp
51066 ac_cpp='$CXXCPP $CPPFLAGS'
51067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51072 /* end confdefs.h. */
51073 #include <math.h>
51074 #ifdef HAVE_IEEEFP_H
51075 #include <ieeefp.h>
51076 #endif
51079 main ()
51081 finitel(0);
51083 return 0;
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087 glibcxx_cv_func_finitel_use=yes
51088 else
51089 glibcxx_cv_func_finitel_use=no
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092 ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51103 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51105 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51106 for ac_func in finitel
51107 do :
51108 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51109 if test "x$ac_cv_func_finitel" = x""yes; then :
51110 cat >>confdefs.h <<_ACEOF
51111 #define HAVE_FINITEL 1
51112 _ACEOF
51115 done
51117 else
51119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51120 $as_echo_n "checking for _finitel declaration... " >&6; }
51121 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51122 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51123 $as_echo_n "(cached) " >&6
51124 else
51127 ac_ext=cpp
51128 ac_cpp='$CXXCPP $CPPFLAGS'
51129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51134 /* end confdefs.h. */
51135 #include <math.h>
51136 #ifdef HAVE_IEEEFP_H
51137 #include <ieeefp.h>
51138 #endif
51141 main ()
51143 _finitel(0);
51145 return 0;
51147 _ACEOF
51148 if ac_fn_cxx_try_compile "$LINENO"; then :
51149 glibcxx_cv_func__finitel_use=yes
51150 else
51151 glibcxx_cv_func__finitel_use=no
51153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51154 ac_ext=c
51155 ac_cpp='$CPP $CPPFLAGS'
51156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51165 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51167 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51168 for ac_func in _finitel
51169 do :
51170 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51171 if test "x$ac_cv_func__finitel" = x""yes; then :
51172 cat >>confdefs.h <<_ACEOF
51173 #define HAVE__FINITEL 1
51174 _ACEOF
51177 done
51185 LIBS="$ac_save_LIBS"
51186 CXXFLAGS="$ac_save_CXXFLAGS"
51189 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51190 ac_save_CXXFLAGS="$CXXFLAGS"
51191 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51195 $as_echo_n "checking for strtold declaration... " >&6; }
51196 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51197 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51198 $as_echo_n "(cached) " >&6
51199 else
51202 ac_ext=cpp
51203 ac_cpp='$CXXCPP $CPPFLAGS'
51204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51209 /* end confdefs.h. */
51210 #include <stdlib.h>
51212 main ()
51214 strtold(0, 0);
51216 return 0;
51218 _ACEOF
51219 if ac_fn_cxx_try_compile "$LINENO"; then :
51220 glibcxx_cv_func_strtold_use=yes
51221 else
51222 glibcxx_cv_func_strtold_use=no
51224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51225 ac_ext=c
51226 ac_cpp='$CPP $CPPFLAGS'
51227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51236 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51237 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51238 for ac_func in strtold
51239 do :
51240 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51241 if test "x$ac_cv_func_strtold" = x""yes; then :
51242 cat >>confdefs.h <<_ACEOF
51243 #define HAVE_STRTOLD 1
51244 _ACEOF
51247 done
51254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51255 $as_echo_n "checking for strtof declaration... " >&6; }
51256 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51257 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51258 $as_echo_n "(cached) " >&6
51259 else
51262 ac_ext=cpp
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51269 /* end confdefs.h. */
51270 #include <stdlib.h>
51272 main ()
51274 strtof(0, 0);
51276 return 0;
51278 _ACEOF
51279 if ac_fn_cxx_try_compile "$LINENO"; then :
51280 glibcxx_cv_func_strtof_use=yes
51281 else
51282 glibcxx_cv_func_strtof_use=no
51284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_ext=c
51286 ac_cpp='$CPP $CPPFLAGS'
51287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51296 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51297 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51298 for ac_func in strtof
51299 do :
51300 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51301 if test "x$ac_cv_func_strtof" = x""yes; then :
51302 cat >>confdefs.h <<_ACEOF
51303 #define HAVE_STRTOF 1
51304 _ACEOF
51307 done
51314 CXXFLAGS="$ac_save_CXXFLAGS"
51316 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51320 # Check whether --enable-tls was given.
51321 if test "${enable_tls+set}" = set; then :
51322 enableval=$enable_tls;
51323 case "$enableval" in
51324 yes|no) ;;
51325 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51326 esac
51328 else
51329 enable_tls=yes
51333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51334 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51335 if test "${gcc_cv_have_tls+set}" = set; then :
51336 $as_echo_n "(cached) " >&6
51337 else
51339 if test "$cross_compiling" = yes; then :
51340 if test x$gcc_no_link = xyes; then
51341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51344 /* end confdefs.h. */
51345 __thread int a; int b; int main() { return a = b; }
51346 _ACEOF
51347 if ac_fn_c_try_link "$LINENO"; then :
51348 chktls_save_LDFLAGS="$LDFLAGS"
51349 case $host in
51350 *-*-linux*)
51351 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51353 esac
51354 chktls_save_CFLAGS="$CFLAGS"
51355 CFLAGS="-fPIC $CFLAGS"
51356 if test x$gcc_no_link = xyes; then
51357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51360 /* end confdefs.h. */
51361 int f() { return 0; }
51362 _ACEOF
51363 if ac_fn_c_try_link "$LINENO"; then :
51364 if test x$gcc_no_link = xyes; then
51365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51368 /* end confdefs.h. */
51369 __thread int a; int b; int f() { return a = b; }
51370 _ACEOF
51371 if ac_fn_c_try_link "$LINENO"; then :
51372 gcc_cv_have_tls=yes
51373 else
51374 gcc_cv_have_tls=no
51376 rm -f core conftest.err conftest.$ac_objext \
51377 conftest$ac_exeext conftest.$ac_ext
51378 else
51379 gcc_cv_have_tls=yes
51381 rm -f core conftest.err conftest.$ac_objext \
51382 conftest$ac_exeext conftest.$ac_ext
51383 CFLAGS="$chktls_save_CFLAGS"
51384 LDFLAGS="$chktls_save_LDFLAGS"
51385 else
51386 gcc_cv_have_tls=no
51388 rm -f core conftest.err conftest.$ac_objext \
51389 conftest$ac_exeext conftest.$ac_ext
51392 else
51393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51394 /* end confdefs.h. */
51395 __thread int a; int b; int main() { return a = b; }
51396 _ACEOF
51397 if ac_fn_c_try_run "$LINENO"; then :
51398 chktls_save_LDFLAGS="$LDFLAGS"
51399 LDFLAGS="-static $LDFLAGS"
51400 if test x$gcc_no_link = xyes; then
51401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51404 /* end confdefs.h. */
51405 int main() { return 0; }
51406 _ACEOF
51407 if ac_fn_c_try_link "$LINENO"; then :
51408 if test "$cross_compiling" = yes; then :
51409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51411 as_fn_error "cannot run test program while cross compiling
51412 See \`config.log' for more details." "$LINENO" 5; }
51413 else
51414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51415 /* end confdefs.h. */
51416 __thread int a; int b; int main() { return a = b; }
51417 _ACEOF
51418 if ac_fn_c_try_run "$LINENO"; then :
51419 gcc_cv_have_tls=yes
51420 else
51421 gcc_cv_have_tls=no
51423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51424 conftest.$ac_objext conftest.beam conftest.$ac_ext
51427 else
51428 gcc_cv_have_tls=yes
51430 rm -f core conftest.err conftest.$ac_objext \
51431 conftest$ac_exeext conftest.$ac_ext
51432 LDFLAGS="$chktls_save_LDFLAGS"
51433 if test $gcc_cv_have_tls = yes; then
51434 chktls_save_CFLAGS="$CFLAGS"
51435 thread_CFLAGS=failed
51436 for flag in '' '-pthread' '-lpthread'; do
51437 CFLAGS="$flag $chktls_save_CFLAGS"
51438 if test x$gcc_no_link = xyes; then
51439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51442 /* end confdefs.h. */
51443 #include <pthread.h>
51444 void *g(void *d) { return NULL; }
51446 main ()
51448 pthread_t t; pthread_create(&t,NULL,g,NULL);
51450 return 0;
51452 _ACEOF
51453 if ac_fn_c_try_link "$LINENO"; then :
51454 thread_CFLAGS="$flag"
51456 rm -f core conftest.err conftest.$ac_objext \
51457 conftest$ac_exeext conftest.$ac_ext
51458 if test "X$thread_CFLAGS" != Xfailed; then
51459 break
51461 done
51462 CFLAGS="$chktls_save_CFLAGS"
51463 if test "X$thread_CFLAGS" != Xfailed; then
51464 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51465 if test "$cross_compiling" = yes; then :
51466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51468 as_fn_error "cannot run test program while cross compiling
51469 See \`config.log' for more details." "$LINENO" 5; }
51470 else
51471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51472 /* end confdefs.h. */
51473 #include <pthread.h>
51474 __thread int a;
51475 static int *volatile a_in_other_thread;
51476 static void *
51477 thread_func (void *arg)
51479 a_in_other_thread = &a;
51480 return (void *)0;
51483 main ()
51485 pthread_t thread;
51486 void *thread_retval;
51487 int *volatile a_in_main_thread;
51488 a_in_main_thread = &a;
51489 if (pthread_create (&thread, (pthread_attr_t *)0,
51490 thread_func, (void *)0))
51491 return 0;
51492 if (pthread_join (thread, &thread_retval))
51493 return 0;
51494 return (a_in_other_thread == a_in_main_thread);
51496 return 0;
51498 _ACEOF
51499 if ac_fn_c_try_run "$LINENO"; then :
51500 gcc_cv_have_tls=yes
51501 else
51502 gcc_cv_have_tls=no
51504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51505 conftest.$ac_objext conftest.beam conftest.$ac_ext
51508 CFLAGS="$chktls_save_CFLAGS"
51511 else
51512 gcc_cv_have_tls=no
51514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51515 conftest.$ac_objext conftest.beam conftest.$ac_ext
51519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51520 $as_echo "$gcc_cv_have_tls" >&6; }
51521 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51523 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51531 am_save_CPPFLAGS="$CPPFLAGS"
51533 for element in $INCICONV; do
51534 haveit=
51535 for x in $CPPFLAGS; do
51537 acl_save_prefix="$prefix"
51538 prefix="$acl_final_prefix"
51539 acl_save_exec_prefix="$exec_prefix"
51540 exec_prefix="$acl_final_exec_prefix"
51541 eval x=\"$x\"
51542 exec_prefix="$acl_save_exec_prefix"
51543 prefix="$acl_save_prefix"
51545 if test "X$x" = "X$element"; then
51546 haveit=yes
51547 break
51549 done
51550 if test -z "$haveit"; then
51551 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51553 done
51556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51557 $as_echo_n "checking for iconv... " >&6; }
51558 if test "${am_cv_func_iconv+set}" = set; then :
51559 $as_echo_n "(cached) " >&6
51560 else
51562 am_cv_func_iconv="no, consider installing GNU libiconv"
51563 am_cv_lib_iconv=no
51564 if test x$gcc_no_link = xyes; then
51565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51568 /* end confdefs.h. */
51569 #include <stdlib.h>
51570 #include <iconv.h>
51572 main ()
51574 iconv_t cd = iconv_open("","");
51575 iconv(cd,NULL,NULL,NULL,NULL);
51576 iconv_close(cd);
51578 return 0;
51580 _ACEOF
51581 if ac_fn_c_try_link "$LINENO"; then :
51582 am_cv_func_iconv=yes
51584 rm -f core conftest.err conftest.$ac_objext \
51585 conftest$ac_exeext conftest.$ac_ext
51586 if test "$am_cv_func_iconv" != yes; then
51587 am_save_LIBS="$LIBS"
51588 LIBS="$LIBS $LIBICONV"
51589 if test x$gcc_no_link = xyes; then
51590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51593 /* end confdefs.h. */
51594 #include <stdlib.h>
51595 #include <iconv.h>
51597 main ()
51599 iconv_t cd = iconv_open("","");
51600 iconv(cd,NULL,NULL,NULL,NULL);
51601 iconv_close(cd);
51603 return 0;
51605 _ACEOF
51606 if ac_fn_c_try_link "$LINENO"; then :
51607 am_cv_lib_iconv=yes
51608 am_cv_func_iconv=yes
51610 rm -f core conftest.err conftest.$ac_objext \
51611 conftest$ac_exeext conftest.$ac_ext
51612 LIBS="$am_save_LIBS"
51616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51617 $as_echo "$am_cv_func_iconv" >&6; }
51618 if test "$am_cv_func_iconv" = yes; then
51620 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51623 if test "$am_cv_lib_iconv" = yes; then
51624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51625 $as_echo_n "checking how to link with libiconv... " >&6; }
51626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51627 $as_echo "$LIBICONV" >&6; }
51628 else
51629 CPPFLAGS="$am_save_CPPFLAGS"
51630 LIBICONV=
51631 LTLIBICONV=
51636 if test "$am_cv_func_iconv" = yes; then
51637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51638 $as_echo_n "checking for iconv declaration... " >&6; }
51639 if test "${am_cv_proto_iconv+set}" = set; then :
51640 $as_echo_n "(cached) " >&6
51641 else
51643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51644 /* end confdefs.h. */
51646 #include <stdlib.h>
51647 #include <iconv.h>
51648 extern
51649 #ifdef __cplusplus
51651 #endif
51652 #if defined(__STDC__) || defined(__cplusplus)
51653 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51654 #else
51655 size_t iconv();
51656 #endif
51659 main ()
51663 return 0;
51665 _ACEOF
51666 if ac_fn_c_try_compile "$LINENO"; then :
51667 am_cv_proto_iconv_arg1=""
51668 else
51669 am_cv_proto_iconv_arg1="const"
51671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51672 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);"
51675 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51677 }$am_cv_proto_iconv" >&5
51678 $as_echo "${ac_t:-
51679 }$am_cv_proto_iconv" >&6; }
51681 cat >>confdefs.h <<_ACEOF
51682 #define ICONV_CONST $am_cv_proto_iconv_arg1
51683 _ACEOF
51688 *-mingw32*)
51690 # If we're not using GNU ld, then there's no point in even trying these
51691 # tests. Check for that first. We should have already tested for gld
51692 # by now (in libtool), but require it now just to be safe...
51693 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51694 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51698 # The name set by libtool depends on the version of libtool. Shame on us
51699 # for depending on an impl detail, but c'est la vie. Older versions used
51700 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51701 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51702 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51703 # set (hence we're using an older libtool), then set it.
51704 if test x${with_gnu_ld+set} != xset; then
51705 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51706 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51707 with_gnu_ld=no
51708 else
51709 with_gnu_ld=$ac_cv_prog_gnu_ld
51713 # Start by getting the version number. I think the libtool test already
51714 # does some of this, but throws away the result.
51715 glibcxx_ld_is_gold=no
51716 if test x"$with_gnu_ld" = x"yes"; then
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51718 $as_echo_n "checking for ld version... " >&6; }
51720 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51721 glibcxx_ld_is_gold=yes
51723 ldver=`$LD --version 2>/dev/null |
51724 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'`
51726 glibcxx_gnu_ld_version=`echo $ldver | \
51727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51732 # Set --gc-sections.
51733 glibcxx_have_gc_sections=no
51734 if test "$glibcxx_ld_is_gold" = "yes"; then
51735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51736 glibcxx_have_gc_sections=yes
51738 else
51739 glibcxx_gcsections_min_ld=21602
51740 if test x"$with_gnu_ld" = x"yes" &&
51741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51742 glibcxx_have_gc_sections=yes
51745 if test "$glibcxx_have_gc_sections" = "yes"; then
51746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51747 # NB: This flag only works reliably after 2.16.1. Configure tests
51748 # for this are difficult, so hard wire a value that should work.
51750 ac_test_CFLAGS="${CFLAGS+set}"
51751 ac_save_CFLAGS="$CFLAGS"
51752 CFLAGS='-Wl,--gc-sections'
51754 # Check for -Wl,--gc-sections
51755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51757 if test x$gcc_no_link = xyes; then
51758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 int one(void) { return 1; }
51763 int two(void) { return 2; }
51766 main ()
51768 two();
51770 return 0;
51772 _ACEOF
51773 if ac_fn_c_try_link "$LINENO"; then :
51774 ac_gcsections=yes
51775 else
51776 ac_gcsections=no
51778 rm -f core conftest.err conftest.$ac_objext \
51779 conftest$ac_exeext conftest.$ac_ext
51780 if test "$ac_gcsections" = "yes"; then
51781 rm -f conftest.c
51782 touch conftest.c
51783 if $CC -c conftest.c; then
51784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51785 grep "Warning: gc-sections option ignored" > /dev/null; then
51786 ac_gcsections=no
51789 rm -f conftest.c conftest.o conftest
51791 if test "$ac_gcsections" = "yes"; then
51792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51795 $as_echo "$ac_gcsections" >&6; }
51797 if test "$ac_test_CFLAGS" = set; then
51798 CFLAGS="$ac_save_CFLAGS"
51799 else
51800 # this is the suspicious part
51801 CFLAGS=''
51805 # Set -z,relro.
51806 # Note this is only for shared objects.
51807 ac_ld_relro=no
51808 if test x"$with_gnu_ld" = x"yes"; then
51809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51810 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51811 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51812 if test -n "$cxx_z_relo"; then
51813 OPT_LDFLAGS="-Wl,-z,relro"
51814 ac_ld_relro=yes
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51817 $as_echo "$ac_ld_relro" >&6; }
51820 # Set linker optimization flags.
51821 if test x"$with_gnu_ld" = x"yes"; then
51822 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51830 ac_save_CXXFLAGS="$CXXFLAGS"
51831 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51834 $as_echo_n "checking for sin in -lm... " >&6; }
51835 if test "${ac_cv_lib_m_sin+set}" = set; then :
51836 $as_echo_n "(cached) " >&6
51837 else
51838 ac_check_lib_save_LIBS=$LIBS
51839 LIBS="-lm $LIBS"
51840 if test x$gcc_no_link = xyes; then
51841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51846 /* Override any GCC internal prototype to avoid an error.
51847 Use char because int might match the return type of a GCC
51848 builtin and then its argument prototype would still apply. */
51849 #ifdef __cplusplus
51850 extern "C"
51851 #endif
51852 char sin ();
51854 main ()
51856 return sin ();
51858 return 0;
51860 _ACEOF
51861 if ac_fn_c_try_link "$LINENO"; then :
51862 ac_cv_lib_m_sin=yes
51863 else
51864 ac_cv_lib_m_sin=no
51866 rm -f core conftest.err conftest.$ac_objext \
51867 conftest$ac_exeext conftest.$ac_ext
51868 LIBS=$ac_check_lib_save_LIBS
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51871 $as_echo "$ac_cv_lib_m_sin" >&6; }
51872 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51873 libm="-lm"
51876 ac_save_LIBS="$LIBS"
51877 LIBS="$LIBS $libm"
51881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51882 $as_echo_n "checking for isinf declaration... " >&6; }
51883 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51884 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51885 $as_echo_n "(cached) " >&6
51886 else
51889 ac_ext=cpp
51890 ac_cpp='$CXXCPP $CPPFLAGS'
51891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51896 /* end confdefs.h. */
51897 #include <math.h>
51898 #ifdef HAVE_IEEEFP_H
51899 #include <ieeefp.h>
51900 #endif
51903 main ()
51905 isinf(0);
51907 return 0;
51909 _ACEOF
51910 if ac_fn_cxx_try_compile "$LINENO"; then :
51911 glibcxx_cv_func_isinf_use=yes
51912 else
51913 glibcxx_cv_func_isinf_use=no
51915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51916 ac_ext=c
51917 ac_cpp='$CPP $CPPFLAGS'
51918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51927 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51929 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51930 for ac_func in isinf
51931 do :
51932 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51933 if test "x$ac_cv_func_isinf" = x""yes; then :
51934 cat >>confdefs.h <<_ACEOF
51935 #define HAVE_ISINF 1
51936 _ACEOF
51939 done
51941 else
51943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51944 $as_echo_n "checking for _isinf declaration... " >&6; }
51945 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51946 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51947 $as_echo_n "(cached) " >&6
51948 else
51951 ac_ext=cpp
51952 ac_cpp='$CXXCPP $CPPFLAGS'
51953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51958 /* end confdefs.h. */
51959 #include <math.h>
51960 #ifdef HAVE_IEEEFP_H
51961 #include <ieeefp.h>
51962 #endif
51965 main ()
51967 _isinf(0);
51969 return 0;
51971 _ACEOF
51972 if ac_fn_cxx_try_compile "$LINENO"; then :
51973 glibcxx_cv_func__isinf_use=yes
51974 else
51975 glibcxx_cv_func__isinf_use=no
51977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51978 ac_ext=c
51979 ac_cpp='$CPP $CPPFLAGS'
51980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51989 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51991 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51992 for ac_func in _isinf
51993 do :
51994 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51995 if test "x$ac_cv_func__isinf" = x""yes; then :
51996 cat >>confdefs.h <<_ACEOF
51997 #define HAVE__ISINF 1
51998 _ACEOF
52001 done
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52011 $as_echo_n "checking for isnan declaration... " >&6; }
52012 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52013 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52014 $as_echo_n "(cached) " >&6
52015 else
52018 ac_ext=cpp
52019 ac_cpp='$CXXCPP $CPPFLAGS'
52020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52025 /* end confdefs.h. */
52026 #include <math.h>
52027 #ifdef HAVE_IEEEFP_H
52028 #include <ieeefp.h>
52029 #endif
52032 main ()
52034 isnan(0);
52036 return 0;
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func_isnan_use=yes
52041 else
52042 glibcxx_cv_func_isnan_use=no
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52056 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52058 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52059 for ac_func in isnan
52060 do :
52061 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52062 if test "x$ac_cv_func_isnan" = x""yes; then :
52063 cat >>confdefs.h <<_ACEOF
52064 #define HAVE_ISNAN 1
52065 _ACEOF
52068 done
52070 else
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52073 $as_echo_n "checking for _isnan declaration... " >&6; }
52074 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52075 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52076 $as_echo_n "(cached) " >&6
52077 else
52080 ac_ext=cpp
52081 ac_cpp='$CXXCPP $CPPFLAGS'
52082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52087 /* end confdefs.h. */
52088 #include <math.h>
52089 #ifdef HAVE_IEEEFP_H
52090 #include <ieeefp.h>
52091 #endif
52094 main ()
52096 _isnan(0);
52098 return 0;
52100 _ACEOF
52101 if ac_fn_cxx_try_compile "$LINENO"; then :
52102 glibcxx_cv_func__isnan_use=yes
52103 else
52104 glibcxx_cv_func__isnan_use=no
52106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52107 ac_ext=c
52108 ac_cpp='$CPP $CPPFLAGS'
52109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52118 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52120 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52121 for ac_func in _isnan
52122 do :
52123 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52124 if test "x$ac_cv_func__isnan" = x""yes; then :
52125 cat >>confdefs.h <<_ACEOF
52126 #define HAVE__ISNAN 1
52127 _ACEOF
52130 done
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52140 $as_echo_n "checking for finite declaration... " >&6; }
52141 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52142 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52143 $as_echo_n "(cached) " >&6
52144 else
52147 ac_ext=cpp
52148 ac_cpp='$CXXCPP $CPPFLAGS'
52149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52154 /* end confdefs.h. */
52155 #include <math.h>
52156 #ifdef HAVE_IEEEFP_H
52157 #include <ieeefp.h>
52158 #endif
52161 main ()
52163 finite(0);
52165 return 0;
52167 _ACEOF
52168 if ac_fn_cxx_try_compile "$LINENO"; then :
52169 glibcxx_cv_func_finite_use=yes
52170 else
52171 glibcxx_cv_func_finite_use=no
52173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52174 ac_ext=c
52175 ac_cpp='$CPP $CPPFLAGS'
52176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52185 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52187 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52188 for ac_func in finite
52189 do :
52190 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52191 if test "x$ac_cv_func_finite" = x""yes; then :
52192 cat >>confdefs.h <<_ACEOF
52193 #define HAVE_FINITE 1
52194 _ACEOF
52197 done
52199 else
52201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52202 $as_echo_n "checking for _finite declaration... " >&6; }
52203 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52204 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52205 $as_echo_n "(cached) " >&6
52206 else
52209 ac_ext=cpp
52210 ac_cpp='$CXXCPP $CPPFLAGS'
52211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52216 /* end confdefs.h. */
52217 #include <math.h>
52218 #ifdef HAVE_IEEEFP_H
52219 #include <ieeefp.h>
52220 #endif
52223 main ()
52225 _finite(0);
52227 return 0;
52229 _ACEOF
52230 if ac_fn_cxx_try_compile "$LINENO"; then :
52231 glibcxx_cv_func__finite_use=yes
52232 else
52233 glibcxx_cv_func__finite_use=no
52235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52236 ac_ext=c
52237 ac_cpp='$CPP $CPPFLAGS'
52238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52247 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52249 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52250 for ac_func in _finite
52251 do :
52252 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52253 if test "x$ac_cv_func__finite" = x""yes; then :
52254 cat >>confdefs.h <<_ACEOF
52255 #define HAVE__FINITE 1
52256 _ACEOF
52259 done
52268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52269 $as_echo_n "checking for sincos declaration... " >&6; }
52270 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52271 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52272 $as_echo_n "(cached) " >&6
52273 else
52276 ac_ext=cpp
52277 ac_cpp='$CXXCPP $CPPFLAGS'
52278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52283 /* end confdefs.h. */
52284 #include <math.h>
52286 main ()
52288 sincos(0, 0, 0);
52290 return 0;
52292 _ACEOF
52293 if ac_fn_cxx_try_compile "$LINENO"; then :
52294 glibcxx_cv_func_sincos_use=yes
52295 else
52296 glibcxx_cv_func_sincos_use=no
52298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52299 ac_ext=c
52300 ac_cpp='$CPP $CPPFLAGS'
52301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52310 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52312 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52313 for ac_func in sincos
52314 do :
52315 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52316 if test "x$ac_cv_func_sincos" = x""yes; then :
52317 cat >>confdefs.h <<_ACEOF
52318 #define HAVE_SINCOS 1
52319 _ACEOF
52322 done
52324 else
52326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52327 $as_echo_n "checking for _sincos declaration... " >&6; }
52328 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52329 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52330 $as_echo_n "(cached) " >&6
52331 else
52334 ac_ext=cpp
52335 ac_cpp='$CXXCPP $CPPFLAGS'
52336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52341 /* end confdefs.h. */
52342 #include <math.h>
52344 main ()
52346 _sincos(0, 0, 0);
52348 return 0;
52350 _ACEOF
52351 if ac_fn_cxx_try_compile "$LINENO"; then :
52352 glibcxx_cv_func__sincos_use=yes
52353 else
52354 glibcxx_cv_func__sincos_use=no
52356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52357 ac_ext=c
52358 ac_cpp='$CPP $CPPFLAGS'
52359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52368 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52370 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52371 for ac_func in _sincos
52372 do :
52373 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52374 if test "x$ac_cv_func__sincos" = x""yes; then :
52375 cat >>confdefs.h <<_ACEOF
52376 #define HAVE__SINCOS 1
52377 _ACEOF
52380 done
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52390 $as_echo_n "checking for fpclass declaration... " >&6; }
52391 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52392 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52393 $as_echo_n "(cached) " >&6
52394 else
52397 ac_ext=cpp
52398 ac_cpp='$CXXCPP $CPPFLAGS'
52399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52404 /* end confdefs.h. */
52405 #include <math.h>
52406 #ifdef HAVE_IEEEFP_H
52407 #include <ieeefp.h>
52408 #endif
52411 main ()
52413 fpclass(0);
52415 return 0;
52417 _ACEOF
52418 if ac_fn_cxx_try_compile "$LINENO"; then :
52419 glibcxx_cv_func_fpclass_use=yes
52420 else
52421 glibcxx_cv_func_fpclass_use=no
52423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52424 ac_ext=c
52425 ac_cpp='$CPP $CPPFLAGS'
52426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52435 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52437 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52438 for ac_func in fpclass
52439 do :
52440 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52441 if test "x$ac_cv_func_fpclass" = x""yes; then :
52442 cat >>confdefs.h <<_ACEOF
52443 #define HAVE_FPCLASS 1
52444 _ACEOF
52447 done
52449 else
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52452 $as_echo_n "checking for _fpclass declaration... " >&6; }
52453 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52454 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52455 $as_echo_n "(cached) " >&6
52456 else
52459 ac_ext=cpp
52460 ac_cpp='$CXXCPP $CPPFLAGS'
52461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52466 /* end confdefs.h. */
52467 #include <math.h>
52468 #ifdef HAVE_IEEEFP_H
52469 #include <ieeefp.h>
52470 #endif
52473 main ()
52475 _fpclass(0);
52477 return 0;
52479 _ACEOF
52480 if ac_fn_cxx_try_compile "$LINENO"; then :
52481 glibcxx_cv_func__fpclass_use=yes
52482 else
52483 glibcxx_cv_func__fpclass_use=no
52485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52486 ac_ext=c
52487 ac_cpp='$CPP $CPPFLAGS'
52488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52497 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52499 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52500 for ac_func in _fpclass
52501 do :
52502 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52503 if test "x$ac_cv_func__fpclass" = x""yes; then :
52504 cat >>confdefs.h <<_ACEOF
52505 #define HAVE__FPCLASS 1
52506 _ACEOF
52509 done
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52519 $as_echo_n "checking for qfpclass declaration... " >&6; }
52520 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52521 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52522 $as_echo_n "(cached) " >&6
52523 else
52526 ac_ext=cpp
52527 ac_cpp='$CXXCPP $CPPFLAGS'
52528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52533 /* end confdefs.h. */
52534 #include <math.h>
52535 #ifdef HAVE_IEEEFP_H
52536 #include <ieeefp.h>
52537 #endif
52540 main ()
52542 qfpclass(0);
52544 return 0;
52546 _ACEOF
52547 if ac_fn_cxx_try_compile "$LINENO"; then :
52548 glibcxx_cv_func_qfpclass_use=yes
52549 else
52550 glibcxx_cv_func_qfpclass_use=no
52552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52553 ac_ext=c
52554 ac_cpp='$CPP $CPPFLAGS'
52555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52564 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52566 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52567 for ac_func in qfpclass
52568 do :
52569 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52570 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52571 cat >>confdefs.h <<_ACEOF
52572 #define HAVE_QFPCLASS 1
52573 _ACEOF
52576 done
52578 else
52580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52581 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52582 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52583 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52584 $as_echo_n "(cached) " >&6
52585 else
52588 ac_ext=cpp
52589 ac_cpp='$CXXCPP $CPPFLAGS'
52590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52595 /* end confdefs.h. */
52596 #include <math.h>
52597 #ifdef HAVE_IEEEFP_H
52598 #include <ieeefp.h>
52599 #endif
52602 main ()
52604 _qfpclass(0);
52606 return 0;
52608 _ACEOF
52609 if ac_fn_cxx_try_compile "$LINENO"; then :
52610 glibcxx_cv_func__qfpclass_use=yes
52611 else
52612 glibcxx_cv_func__qfpclass_use=no
52614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52615 ac_ext=c
52616 ac_cpp='$CPP $CPPFLAGS'
52617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52626 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52628 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52629 for ac_func in _qfpclass
52630 do :
52631 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52632 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52633 cat >>confdefs.h <<_ACEOF
52634 #define HAVE__QFPCLASS 1
52635 _ACEOF
52638 done
52647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52648 $as_echo_n "checking for hypot declaration... " >&6; }
52649 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52650 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52651 $as_echo_n "(cached) " >&6
52652 else
52655 ac_ext=cpp
52656 ac_cpp='$CXXCPP $CPPFLAGS'
52657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52662 /* end confdefs.h. */
52663 #include <math.h>
52665 main ()
52667 hypot(0, 0);
52669 return 0;
52671 _ACEOF
52672 if ac_fn_cxx_try_compile "$LINENO"; then :
52673 glibcxx_cv_func_hypot_use=yes
52674 else
52675 glibcxx_cv_func_hypot_use=no
52677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52678 ac_ext=c
52679 ac_cpp='$CPP $CPPFLAGS'
52680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52689 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52691 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52692 for ac_func in hypot
52693 do :
52694 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52695 if test "x$ac_cv_func_hypot" = x""yes; then :
52696 cat >>confdefs.h <<_ACEOF
52697 #define HAVE_HYPOT 1
52698 _ACEOF
52701 done
52703 else
52705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52706 $as_echo_n "checking for _hypot declaration... " >&6; }
52707 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52708 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52709 $as_echo_n "(cached) " >&6
52710 else
52713 ac_ext=cpp
52714 ac_cpp='$CXXCPP $CPPFLAGS'
52715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52720 /* end confdefs.h. */
52721 #include <math.h>
52723 main ()
52725 _hypot(0, 0);
52727 return 0;
52729 _ACEOF
52730 if ac_fn_cxx_try_compile "$LINENO"; then :
52731 glibcxx_cv_func__hypot_use=yes
52732 else
52733 glibcxx_cv_func__hypot_use=no
52735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52736 ac_ext=c
52737 ac_cpp='$CPP $CPPFLAGS'
52738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52747 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52749 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52750 for ac_func in _hypot
52751 do :
52752 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52753 if test "x$ac_cv_func__hypot" = x""yes; then :
52754 cat >>confdefs.h <<_ACEOF
52755 #define HAVE__HYPOT 1
52756 _ACEOF
52759 done
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52769 $as_echo_n "checking for float trig functions... " >&6; }
52770 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52771 $as_echo_n "(cached) " >&6
52772 else
52775 ac_ext=cpp
52776 ac_cpp='$CXXCPP $CPPFLAGS'
52777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52782 /* end confdefs.h. */
52783 #include <math.h>
52785 main ()
52787 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52789 return 0;
52791 _ACEOF
52792 if ac_fn_cxx_try_compile "$LINENO"; then :
52793 glibcxx_cv_func_float_trig_use=yes
52794 else
52795 glibcxx_cv_func_float_trig_use=no
52797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52798 ac_ext=c
52799 ac_cpp='$CPP $CPPFLAGS'
52800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52807 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52808 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52809 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52810 do :
52811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52813 eval as_val=\$$as_ac_var
52814 if test "x$as_val" = x""yes; then :
52815 cat >>confdefs.h <<_ACEOF
52816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52817 _ACEOF
52820 done
52822 else
52823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52824 $as_echo_n "checking for _float trig functions... " >&6; }
52825 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52840 main ()
52842 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52844 return 0;
52846 _ACEOF
52847 if ac_fn_cxx_try_compile "$LINENO"; then :
52848 glibcxx_cv_func__float_trig_use=yes
52849 else
52850 glibcxx_cv_func__float_trig_use=no
52852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52853 ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52862 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52863 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52864 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52865 do :
52866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52868 eval as_val=\$$as_ac_var
52869 if test "x$as_val" = x""yes; then :
52870 cat >>confdefs.h <<_ACEOF
52871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52872 _ACEOF
52875 done
52884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52885 $as_echo_n "checking for float round functions... " >&6; }
52886 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52887 $as_echo_n "(cached) " >&6
52888 else
52891 ac_ext=cpp
52892 ac_cpp='$CXXCPP $CPPFLAGS'
52893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52898 /* end confdefs.h. */
52899 #include <math.h>
52901 main ()
52903 ceilf (0); floorf (0);
52905 return 0;
52907 _ACEOF
52908 if ac_fn_cxx_try_compile "$LINENO"; then :
52909 glibcxx_cv_func_float_round_use=yes
52910 else
52911 glibcxx_cv_func_float_round_use=no
52913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52914 ac_ext=c
52915 ac_cpp='$CPP $CPPFLAGS'
52916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52923 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52924 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52925 for ac_func in ceilf floorf
52926 do :
52927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52929 eval as_val=\$$as_ac_var
52930 if test "x$as_val" = x""yes; then :
52931 cat >>confdefs.h <<_ACEOF
52932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52933 _ACEOF
52936 done
52938 else
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52940 $as_echo_n "checking for _float round functions... " >&6; }
52941 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52942 $as_echo_n "(cached) " >&6
52943 else
52946 ac_ext=cpp
52947 ac_cpp='$CXXCPP $CPPFLAGS'
52948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52953 /* end confdefs.h. */
52954 #include <math.h>
52956 main ()
52958 _ceilf (0); _floorf (0);
52960 return 0;
52962 _ACEOF
52963 if ac_fn_cxx_try_compile "$LINENO"; then :
52964 glibcxx_cv_func__float_round_use=yes
52965 else
52966 glibcxx_cv_func__float_round_use=no
52968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52969 ac_ext=c
52970 ac_cpp='$CPP $CPPFLAGS'
52971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52978 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52979 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52980 for ac_func in _ceilf _floorf
52981 do :
52982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52984 eval as_val=\$$as_ac_var
52985 if test "x$as_val" = x""yes; then :
52986 cat >>confdefs.h <<_ACEOF
52987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52988 _ACEOF
52991 done
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53002 $as_echo_n "checking for expf declaration... " >&6; }
53003 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53004 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53005 $as_echo_n "(cached) " >&6
53006 else
53009 ac_ext=cpp
53010 ac_cpp='$CXXCPP $CPPFLAGS'
53011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53016 /* end confdefs.h. */
53017 #include <math.h>
53018 #ifdef HAVE_IEEEFP_H
53019 #include <ieeefp.h>
53020 #endif
53023 main ()
53025 expf(0);
53027 return 0;
53029 _ACEOF
53030 if ac_fn_cxx_try_compile "$LINENO"; then :
53031 glibcxx_cv_func_expf_use=yes
53032 else
53033 glibcxx_cv_func_expf_use=no
53035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53036 ac_ext=c
53037 ac_cpp='$CPP $CPPFLAGS'
53038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53047 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53049 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53050 for ac_func in expf
53051 do :
53052 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53053 if test "x$ac_cv_func_expf" = x""yes; then :
53054 cat >>confdefs.h <<_ACEOF
53055 #define HAVE_EXPF 1
53056 _ACEOF
53059 done
53061 else
53063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53064 $as_echo_n "checking for _expf declaration... " >&6; }
53065 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53066 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53067 $as_echo_n "(cached) " >&6
53068 else
53071 ac_ext=cpp
53072 ac_cpp='$CXXCPP $CPPFLAGS'
53073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53078 /* end confdefs.h. */
53079 #include <math.h>
53080 #ifdef HAVE_IEEEFP_H
53081 #include <ieeefp.h>
53082 #endif
53085 main ()
53087 _expf(0);
53089 return 0;
53091 _ACEOF
53092 if ac_fn_cxx_try_compile "$LINENO"; then :
53093 glibcxx_cv_func__expf_use=yes
53094 else
53095 glibcxx_cv_func__expf_use=no
53097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53098 ac_ext=c
53099 ac_cpp='$CPP $CPPFLAGS'
53100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53109 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53111 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53112 for ac_func in _expf
53113 do :
53114 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53115 if test "x$ac_cv_func__expf" = x""yes; then :
53116 cat >>confdefs.h <<_ACEOF
53117 #define HAVE__EXPF 1
53118 _ACEOF
53121 done
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53131 $as_echo_n "checking for isnanf declaration... " >&6; }
53132 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53133 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53134 $as_echo_n "(cached) " >&6
53135 else
53138 ac_ext=cpp
53139 ac_cpp='$CXXCPP $CPPFLAGS'
53140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53145 /* end confdefs.h. */
53146 #include <math.h>
53147 #ifdef HAVE_IEEEFP_H
53148 #include <ieeefp.h>
53149 #endif
53152 main ()
53154 isnanf(0);
53156 return 0;
53158 _ACEOF
53159 if ac_fn_cxx_try_compile "$LINENO"; then :
53160 glibcxx_cv_func_isnanf_use=yes
53161 else
53162 glibcxx_cv_func_isnanf_use=no
53164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53165 ac_ext=c
53166 ac_cpp='$CPP $CPPFLAGS'
53167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53176 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53178 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53179 for ac_func in isnanf
53180 do :
53181 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53182 if test "x$ac_cv_func_isnanf" = x""yes; then :
53183 cat >>confdefs.h <<_ACEOF
53184 #define HAVE_ISNANF 1
53185 _ACEOF
53188 done
53190 else
53192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53193 $as_echo_n "checking for _isnanf declaration... " >&6; }
53194 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53195 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53196 $as_echo_n "(cached) " >&6
53197 else
53200 ac_ext=cpp
53201 ac_cpp='$CXXCPP $CPPFLAGS'
53202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53207 /* end confdefs.h. */
53208 #include <math.h>
53209 #ifdef HAVE_IEEEFP_H
53210 #include <ieeefp.h>
53211 #endif
53214 main ()
53216 _isnanf(0);
53218 return 0;
53220 _ACEOF
53221 if ac_fn_cxx_try_compile "$LINENO"; then :
53222 glibcxx_cv_func__isnanf_use=yes
53223 else
53224 glibcxx_cv_func__isnanf_use=no
53226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53227 ac_ext=c
53228 ac_cpp='$CPP $CPPFLAGS'
53229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53238 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53240 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53241 for ac_func in _isnanf
53242 do :
53243 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53244 if test "x$ac_cv_func__isnanf" = x""yes; then :
53245 cat >>confdefs.h <<_ACEOF
53246 #define HAVE__ISNANF 1
53247 _ACEOF
53250 done
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53260 $as_echo_n "checking for isinff declaration... " >&6; }
53261 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53262 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53263 $as_echo_n "(cached) " >&6
53264 else
53267 ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h. */
53275 #include <math.h>
53276 #ifdef HAVE_IEEEFP_H
53277 #include <ieeefp.h>
53278 #endif
53281 main ()
53283 isinff(0);
53285 return 0;
53287 _ACEOF
53288 if ac_fn_cxx_try_compile "$LINENO"; then :
53289 glibcxx_cv_func_isinff_use=yes
53290 else
53291 glibcxx_cv_func_isinff_use=no
53293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53294 ac_ext=c
53295 ac_cpp='$CPP $CPPFLAGS'
53296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53305 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53307 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53308 for ac_func in isinff
53309 do :
53310 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53311 if test "x$ac_cv_func_isinff" = x""yes; then :
53312 cat >>confdefs.h <<_ACEOF
53313 #define HAVE_ISINFF 1
53314 _ACEOF
53317 done
53319 else
53321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53322 $as_echo_n "checking for _isinff declaration... " >&6; }
53323 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53324 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53325 $as_echo_n "(cached) " >&6
53326 else
53329 ac_ext=cpp
53330 ac_cpp='$CXXCPP $CPPFLAGS'
53331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53336 /* end confdefs.h. */
53337 #include <math.h>
53338 #ifdef HAVE_IEEEFP_H
53339 #include <ieeefp.h>
53340 #endif
53343 main ()
53345 _isinff(0);
53347 return 0;
53349 _ACEOF
53350 if ac_fn_cxx_try_compile "$LINENO"; then :
53351 glibcxx_cv_func__isinff_use=yes
53352 else
53353 glibcxx_cv_func__isinff_use=no
53355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53356 ac_ext=c
53357 ac_cpp='$CPP $CPPFLAGS'
53358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53367 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53369 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53370 for ac_func in _isinff
53371 do :
53372 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53373 if test "x$ac_cv_func__isinff" = x""yes; then :
53374 cat >>confdefs.h <<_ACEOF
53375 #define HAVE__ISINFF 1
53376 _ACEOF
53379 done
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53389 $as_echo_n "checking for atan2f declaration... " >&6; }
53390 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53391 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53392 $as_echo_n "(cached) " >&6
53393 else
53396 ac_ext=cpp
53397 ac_cpp='$CXXCPP $CPPFLAGS'
53398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53403 /* end confdefs.h. */
53404 #include <math.h>
53406 main ()
53408 atan2f(0, 0);
53410 return 0;
53412 _ACEOF
53413 if ac_fn_cxx_try_compile "$LINENO"; then :
53414 glibcxx_cv_func_atan2f_use=yes
53415 else
53416 glibcxx_cv_func_atan2f_use=no
53418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53419 ac_ext=c
53420 ac_cpp='$CPP $CPPFLAGS'
53421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53430 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53432 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53433 for ac_func in atan2f
53434 do :
53435 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53436 if test "x$ac_cv_func_atan2f" = x""yes; then :
53437 cat >>confdefs.h <<_ACEOF
53438 #define HAVE_ATAN2F 1
53439 _ACEOF
53442 done
53444 else
53446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53447 $as_echo_n "checking for _atan2f declaration... " >&6; }
53448 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53449 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53450 $as_echo_n "(cached) " >&6
53451 else
53454 ac_ext=cpp
53455 ac_cpp='$CXXCPP $CPPFLAGS'
53456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53461 /* end confdefs.h. */
53462 #include <math.h>
53464 main ()
53466 _atan2f(0, 0);
53468 return 0;
53470 _ACEOF
53471 if ac_fn_cxx_try_compile "$LINENO"; then :
53472 glibcxx_cv_func__atan2f_use=yes
53473 else
53474 glibcxx_cv_func__atan2f_use=no
53476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53477 ac_ext=c
53478 ac_cpp='$CPP $CPPFLAGS'
53479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53488 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53490 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53491 for ac_func in _atan2f
53492 do :
53493 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53494 if test "x$ac_cv_func__atan2f" = x""yes; then :
53495 cat >>confdefs.h <<_ACEOF
53496 #define HAVE__ATAN2F 1
53497 _ACEOF
53500 done
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53510 $as_echo_n "checking for fabsf declaration... " >&6; }
53511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53513 $as_echo_n "(cached) " >&6
53514 else
53517 ac_ext=cpp
53518 ac_cpp='$CXXCPP $CPPFLAGS'
53519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53524 /* end confdefs.h. */
53525 #include <math.h>
53526 #ifdef HAVE_IEEEFP_H
53527 #include <ieeefp.h>
53528 #endif
53531 main ()
53533 fabsf(0);
53535 return 0;
53537 _ACEOF
53538 if ac_fn_cxx_try_compile "$LINENO"; then :
53539 glibcxx_cv_func_fabsf_use=yes
53540 else
53541 glibcxx_cv_func_fabsf_use=no
53543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53544 ac_ext=c
53545 ac_cpp='$CPP $CPPFLAGS'
53546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53555 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53557 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53558 for ac_func in fabsf
53559 do :
53560 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53561 if test "x$ac_cv_func_fabsf" = x""yes; then :
53562 cat >>confdefs.h <<_ACEOF
53563 #define HAVE_FABSF 1
53564 _ACEOF
53567 done
53569 else
53571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53572 $as_echo_n "checking for _fabsf declaration... " >&6; }
53573 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53574 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53575 $as_echo_n "(cached) " >&6
53576 else
53579 ac_ext=cpp
53580 ac_cpp='$CXXCPP $CPPFLAGS'
53581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53586 /* end confdefs.h. */
53587 #include <math.h>
53588 #ifdef HAVE_IEEEFP_H
53589 #include <ieeefp.h>
53590 #endif
53593 main ()
53595 _fabsf(0);
53597 return 0;
53599 _ACEOF
53600 if ac_fn_cxx_try_compile "$LINENO"; then :
53601 glibcxx_cv_func__fabsf_use=yes
53602 else
53603 glibcxx_cv_func__fabsf_use=no
53605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53606 ac_ext=c
53607 ac_cpp='$CPP $CPPFLAGS'
53608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53617 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53619 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53620 for ac_func in _fabsf
53621 do :
53622 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53623 if test "x$ac_cv_func__fabsf" = x""yes; then :
53624 cat >>confdefs.h <<_ACEOF
53625 #define HAVE__FABSF 1
53626 _ACEOF
53629 done
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53639 $as_echo_n "checking for fmodf declaration... " >&6; }
53640 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53641 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53642 $as_echo_n "(cached) " >&6
53643 else
53646 ac_ext=cpp
53647 ac_cpp='$CXXCPP $CPPFLAGS'
53648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53653 /* end confdefs.h. */
53654 #include <math.h>
53656 main ()
53658 fmodf(0, 0);
53660 return 0;
53662 _ACEOF
53663 if ac_fn_cxx_try_compile "$LINENO"; then :
53664 glibcxx_cv_func_fmodf_use=yes
53665 else
53666 glibcxx_cv_func_fmodf_use=no
53668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53669 ac_ext=c
53670 ac_cpp='$CPP $CPPFLAGS'
53671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53680 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53682 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53683 for ac_func in fmodf
53684 do :
53685 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53686 if test "x$ac_cv_func_fmodf" = x""yes; then :
53687 cat >>confdefs.h <<_ACEOF
53688 #define HAVE_FMODF 1
53689 _ACEOF
53692 done
53694 else
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53697 $as_echo_n "checking for _fmodf declaration... " >&6; }
53698 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53699 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53700 $as_echo_n "(cached) " >&6
53701 else
53704 ac_ext=cpp
53705 ac_cpp='$CXXCPP $CPPFLAGS'
53706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53711 /* end confdefs.h. */
53712 #include <math.h>
53714 main ()
53716 _fmodf(0, 0);
53718 return 0;
53720 _ACEOF
53721 if ac_fn_cxx_try_compile "$LINENO"; then :
53722 glibcxx_cv_func__fmodf_use=yes
53723 else
53724 glibcxx_cv_func__fmodf_use=no
53726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53727 ac_ext=c
53728 ac_cpp='$CPP $CPPFLAGS'
53729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53738 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53740 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53741 for ac_func in _fmodf
53742 do :
53743 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53744 if test "x$ac_cv_func__fmodf" = x""yes; then :
53745 cat >>confdefs.h <<_ACEOF
53746 #define HAVE__FMODF 1
53747 _ACEOF
53750 done
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53760 $as_echo_n "checking for frexpf declaration... " >&6; }
53761 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53762 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53763 $as_echo_n "(cached) " >&6
53764 else
53767 ac_ext=cpp
53768 ac_cpp='$CXXCPP $CPPFLAGS'
53769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53774 /* end confdefs.h. */
53775 #include <math.h>
53777 main ()
53779 frexpf(0, 0);
53781 return 0;
53783 _ACEOF
53784 if ac_fn_cxx_try_compile "$LINENO"; then :
53785 glibcxx_cv_func_frexpf_use=yes
53786 else
53787 glibcxx_cv_func_frexpf_use=no
53789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53790 ac_ext=c
53791 ac_cpp='$CPP $CPPFLAGS'
53792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53801 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53803 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53804 for ac_func in frexpf
53805 do :
53806 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53807 if test "x$ac_cv_func_frexpf" = x""yes; then :
53808 cat >>confdefs.h <<_ACEOF
53809 #define HAVE_FREXPF 1
53810 _ACEOF
53813 done
53815 else
53817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53818 $as_echo_n "checking for _frexpf declaration... " >&6; }
53819 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53820 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53821 $as_echo_n "(cached) " >&6
53822 else
53825 ac_ext=cpp
53826 ac_cpp='$CXXCPP $CPPFLAGS'
53827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53832 /* end confdefs.h. */
53833 #include <math.h>
53835 main ()
53837 _frexpf(0, 0);
53839 return 0;
53841 _ACEOF
53842 if ac_fn_cxx_try_compile "$LINENO"; then :
53843 glibcxx_cv_func__frexpf_use=yes
53844 else
53845 glibcxx_cv_func__frexpf_use=no
53847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53848 ac_ext=c
53849 ac_cpp='$CPP $CPPFLAGS'
53850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53859 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53861 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53862 for ac_func in _frexpf
53863 do :
53864 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53865 if test "x$ac_cv_func__frexpf" = x""yes; then :
53866 cat >>confdefs.h <<_ACEOF
53867 #define HAVE__FREXPF 1
53868 _ACEOF
53871 done
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53881 $as_echo_n "checking for hypotf declaration... " >&6; }
53882 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53883 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53884 $as_echo_n "(cached) " >&6
53885 else
53888 ac_ext=cpp
53889 ac_cpp='$CXXCPP $CPPFLAGS'
53890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53895 /* end confdefs.h. */
53896 #include <math.h>
53898 main ()
53900 hypotf(0, 0);
53902 return 0;
53904 _ACEOF
53905 if ac_fn_cxx_try_compile "$LINENO"; then :
53906 glibcxx_cv_func_hypotf_use=yes
53907 else
53908 glibcxx_cv_func_hypotf_use=no
53910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53911 ac_ext=c
53912 ac_cpp='$CPP $CPPFLAGS'
53913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53922 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53924 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53925 for ac_func in hypotf
53926 do :
53927 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53928 if test "x$ac_cv_func_hypotf" = x""yes; then :
53929 cat >>confdefs.h <<_ACEOF
53930 #define HAVE_HYPOTF 1
53931 _ACEOF
53934 done
53936 else
53938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53939 $as_echo_n "checking for _hypotf declaration... " >&6; }
53940 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53941 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53942 $as_echo_n "(cached) " >&6
53943 else
53946 ac_ext=cpp
53947 ac_cpp='$CXXCPP $CPPFLAGS'
53948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53953 /* end confdefs.h. */
53954 #include <math.h>
53956 main ()
53958 _hypotf(0, 0);
53960 return 0;
53962 _ACEOF
53963 if ac_fn_cxx_try_compile "$LINENO"; then :
53964 glibcxx_cv_func__hypotf_use=yes
53965 else
53966 glibcxx_cv_func__hypotf_use=no
53968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53969 ac_ext=c
53970 ac_cpp='$CPP $CPPFLAGS'
53971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53980 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53982 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53983 for ac_func in _hypotf
53984 do :
53985 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53986 if test "x$ac_cv_func__hypotf" = x""yes; then :
53987 cat >>confdefs.h <<_ACEOF
53988 #define HAVE__HYPOTF 1
53989 _ACEOF
53992 done
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54002 $as_echo_n "checking for ldexpf declaration... " >&6; }
54003 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54004 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54005 $as_echo_n "(cached) " >&6
54006 else
54009 ac_ext=cpp
54010 ac_cpp='$CXXCPP $CPPFLAGS'
54011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54016 /* end confdefs.h. */
54017 #include <math.h>
54019 main ()
54021 ldexpf(0, 0);
54023 return 0;
54025 _ACEOF
54026 if ac_fn_cxx_try_compile "$LINENO"; then :
54027 glibcxx_cv_func_ldexpf_use=yes
54028 else
54029 glibcxx_cv_func_ldexpf_use=no
54031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54032 ac_ext=c
54033 ac_cpp='$CPP $CPPFLAGS'
54034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54043 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54045 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54046 for ac_func in ldexpf
54047 do :
54048 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54049 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54050 cat >>confdefs.h <<_ACEOF
54051 #define HAVE_LDEXPF 1
54052 _ACEOF
54055 done
54057 else
54059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54060 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54061 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54062 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54063 $as_echo_n "(cached) " >&6
54064 else
54067 ac_ext=cpp
54068 ac_cpp='$CXXCPP $CPPFLAGS'
54069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54074 /* end confdefs.h. */
54075 #include <math.h>
54077 main ()
54079 _ldexpf(0, 0);
54081 return 0;
54083 _ACEOF
54084 if ac_fn_cxx_try_compile "$LINENO"; then :
54085 glibcxx_cv_func__ldexpf_use=yes
54086 else
54087 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
54101 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54103 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54104 for ac_func in _ldexpf
54105 do :
54106 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54107 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54108 cat >>confdefs.h <<_ACEOF
54109 #define HAVE__LDEXPF 1
54110 _ACEOF
54113 done
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54123 $as_echo_n "checking for logf declaration... " >&6; }
54124 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54125 if test "${glibcxx_cv_func_logf_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>
54139 #ifdef HAVE_IEEEFP_H
54140 #include <ieeefp.h>
54141 #endif
54144 main ()
54146 logf(0);
54148 return 0;
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152 glibcxx_cv_func_logf_use=yes
54153 else
54154 glibcxx_cv_func_logf_use=no
54156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54157 ac_ext=c
54158 ac_cpp='$CPP $CPPFLAGS'
54159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54168 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54170 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54171 for ac_func in logf
54172 do :
54173 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54174 if test "x$ac_cv_func_logf" = x""yes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE_LOGF 1
54177 _ACEOF
54180 done
54182 else
54184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54185 $as_echo_n "checking for _logf declaration... " >&6; }
54186 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54187 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54188 $as_echo_n "(cached) " >&6
54189 else
54192 ac_ext=cpp
54193 ac_cpp='$CXXCPP $CPPFLAGS'
54194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54199 /* end confdefs.h. */
54200 #include <math.h>
54201 #ifdef HAVE_IEEEFP_H
54202 #include <ieeefp.h>
54203 #endif
54206 main ()
54208 _logf(0);
54210 return 0;
54212 _ACEOF
54213 if ac_fn_cxx_try_compile "$LINENO"; then :
54214 glibcxx_cv_func__logf_use=yes
54215 else
54216 glibcxx_cv_func__logf_use=no
54218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54219 ac_ext=c
54220 ac_cpp='$CPP $CPPFLAGS'
54221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54230 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54232 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54233 for ac_func in _logf
54234 do :
54235 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54236 if test "x$ac_cv_func__logf" = x""yes; then :
54237 cat >>confdefs.h <<_ACEOF
54238 #define HAVE__LOGF 1
54239 _ACEOF
54242 done
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54252 $as_echo_n "checking for log10f declaration... " >&6; }
54253 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54254 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54255 $as_echo_n "(cached) " >&6
54256 else
54259 ac_ext=cpp
54260 ac_cpp='$CXXCPP $CPPFLAGS'
54261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54266 /* end confdefs.h. */
54267 #include <math.h>
54268 #ifdef HAVE_IEEEFP_H
54269 #include <ieeefp.h>
54270 #endif
54273 main ()
54275 log10f(0);
54277 return 0;
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281 glibcxx_cv_func_log10f_use=yes
54282 else
54283 glibcxx_cv_func_log10f_use=no
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54297 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54299 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54300 for ac_func in log10f
54301 do :
54302 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54303 if test "x$ac_cv_func_log10f" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define HAVE_LOG10F 1
54306 _ACEOF
54309 done
54311 else
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54314 $as_echo_n "checking for _log10f declaration... " >&6; }
54315 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54316 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54317 $as_echo_n "(cached) " >&6
54318 else
54321 ac_ext=cpp
54322 ac_cpp='$CXXCPP $CPPFLAGS'
54323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54328 /* end confdefs.h. */
54329 #include <math.h>
54330 #ifdef HAVE_IEEEFP_H
54331 #include <ieeefp.h>
54332 #endif
54335 main ()
54337 _log10f(0);
54339 return 0;
54341 _ACEOF
54342 if ac_fn_cxx_try_compile "$LINENO"; then :
54343 glibcxx_cv_func__log10f_use=yes
54344 else
54345 glibcxx_cv_func__log10f_use=no
54347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54348 ac_ext=c
54349 ac_cpp='$CPP $CPPFLAGS'
54350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54359 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54361 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54362 for ac_func in _log10f
54363 do :
54364 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54365 if test "x$ac_cv_func__log10f" = x""yes; then :
54366 cat >>confdefs.h <<_ACEOF
54367 #define HAVE__LOG10F 1
54368 _ACEOF
54371 done
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54381 $as_echo_n "checking for modff declaration... " >&6; }
54382 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54383 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54384 $as_echo_n "(cached) " >&6
54385 else
54388 ac_ext=cpp
54389 ac_cpp='$CXXCPP $CPPFLAGS'
54390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54395 /* end confdefs.h. */
54396 #include <math.h>
54398 main ()
54400 modff(0, 0);
54402 return 0;
54404 _ACEOF
54405 if ac_fn_cxx_try_compile "$LINENO"; then :
54406 glibcxx_cv_func_modff_use=yes
54407 else
54408 glibcxx_cv_func_modff_use=no
54410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54411 ac_ext=c
54412 ac_cpp='$CPP $CPPFLAGS'
54413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54422 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54424 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54425 for ac_func in modff
54426 do :
54427 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54428 if test "x$ac_cv_func_modff" = x""yes; then :
54429 cat >>confdefs.h <<_ACEOF
54430 #define HAVE_MODFF 1
54431 _ACEOF
54434 done
54436 else
54438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54439 $as_echo_n "checking for _modff declaration... " >&6; }
54440 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54441 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54442 $as_echo_n "(cached) " >&6
54443 else
54446 ac_ext=cpp
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54453 /* end confdefs.h. */
54454 #include <math.h>
54456 main ()
54458 _modff(0, 0);
54460 return 0;
54462 _ACEOF
54463 if ac_fn_cxx_try_compile "$LINENO"; then :
54464 glibcxx_cv_func__modff_use=yes
54465 else
54466 glibcxx_cv_func__modff_use=no
54468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54469 ac_ext=c
54470 ac_cpp='$CPP $CPPFLAGS'
54471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54480 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54482 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54483 for ac_func in _modff
54484 do :
54485 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54486 if test "x$ac_cv_func__modff" = x""yes; then :
54487 cat >>confdefs.h <<_ACEOF
54488 #define HAVE__MODFF 1
54489 _ACEOF
54492 done
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54502 $as_echo_n "checking for modf declaration... " >&6; }
54503 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54504 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54505 $as_echo_n "(cached) " >&6
54506 else
54509 ac_ext=cpp
54510 ac_cpp='$CXXCPP $CPPFLAGS'
54511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54516 /* end confdefs.h. */
54517 #include <math.h>
54519 main ()
54521 modf(0, 0);
54523 return 0;
54525 _ACEOF
54526 if ac_fn_cxx_try_compile "$LINENO"; then :
54527 glibcxx_cv_func_modf_use=yes
54528 else
54529 glibcxx_cv_func_modf_use=no
54531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54532 ac_ext=c
54533 ac_cpp='$CPP $CPPFLAGS'
54534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54543 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54545 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54546 for ac_func in modf
54547 do :
54548 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54549 if test "x$ac_cv_func_modf" = x""yes; then :
54550 cat >>confdefs.h <<_ACEOF
54551 #define HAVE_MODF 1
54552 _ACEOF
54555 done
54557 else
54559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54560 $as_echo_n "checking for _modf declaration... " >&6; }
54561 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54562 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54563 $as_echo_n "(cached) " >&6
54564 else
54567 ac_ext=cpp
54568 ac_cpp='$CXXCPP $CPPFLAGS'
54569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54574 /* end confdefs.h. */
54575 #include <math.h>
54577 main ()
54579 _modf(0, 0);
54581 return 0;
54583 _ACEOF
54584 if ac_fn_cxx_try_compile "$LINENO"; then :
54585 glibcxx_cv_func__modf_use=yes
54586 else
54587 glibcxx_cv_func__modf_use=no
54589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54590 ac_ext=c
54591 ac_cpp='$CPP $CPPFLAGS'
54592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54601 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54603 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54604 for ac_func in _modf
54605 do :
54606 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54607 if test "x$ac_cv_func__modf" = x""yes; then :
54608 cat >>confdefs.h <<_ACEOF
54609 #define HAVE__MODF 1
54610 _ACEOF
54613 done
54622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54623 $as_echo_n "checking for powf declaration... " >&6; }
54624 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54625 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54626 $as_echo_n "(cached) " >&6
54627 else
54630 ac_ext=cpp
54631 ac_cpp='$CXXCPP $CPPFLAGS'
54632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54637 /* end confdefs.h. */
54638 #include <math.h>
54640 main ()
54642 powf(0, 0);
54644 return 0;
54646 _ACEOF
54647 if ac_fn_cxx_try_compile "$LINENO"; then :
54648 glibcxx_cv_func_powf_use=yes
54649 else
54650 glibcxx_cv_func_powf_use=no
54652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54653 ac_ext=c
54654 ac_cpp='$CPP $CPPFLAGS'
54655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54664 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54666 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54667 for ac_func in powf
54668 do :
54669 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54670 if test "x$ac_cv_func_powf" = x""yes; then :
54671 cat >>confdefs.h <<_ACEOF
54672 #define HAVE_POWF 1
54673 _ACEOF
54676 done
54678 else
54680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54681 $as_echo_n "checking for _powf declaration... " >&6; }
54682 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54683 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54684 $as_echo_n "(cached) " >&6
54685 else
54688 ac_ext=cpp
54689 ac_cpp='$CXXCPP $CPPFLAGS'
54690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54695 /* end confdefs.h. */
54696 #include <math.h>
54698 main ()
54700 _powf(0, 0);
54702 return 0;
54704 _ACEOF
54705 if ac_fn_cxx_try_compile "$LINENO"; then :
54706 glibcxx_cv_func__powf_use=yes
54707 else
54708 glibcxx_cv_func__powf_use=no
54710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54711 ac_ext=c
54712 ac_cpp='$CPP $CPPFLAGS'
54713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54722 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54724 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54725 for ac_func in _powf
54726 do :
54727 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54728 if test "x$ac_cv_func__powf" = x""yes; then :
54729 cat >>confdefs.h <<_ACEOF
54730 #define HAVE__POWF 1
54731 _ACEOF
54734 done
54743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54744 $as_echo_n "checking for sqrtf declaration... " >&6; }
54745 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54746 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54747 $as_echo_n "(cached) " >&6
54748 else
54751 ac_ext=cpp
54752 ac_cpp='$CXXCPP $CPPFLAGS'
54753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54758 /* end confdefs.h. */
54759 #include <math.h>
54760 #ifdef HAVE_IEEEFP_H
54761 #include <ieeefp.h>
54762 #endif
54765 main ()
54767 sqrtf(0);
54769 return 0;
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773 glibcxx_cv_func_sqrtf_use=yes
54774 else
54775 glibcxx_cv_func_sqrtf_use=no
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778 ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54789 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54791 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54792 for ac_func in sqrtf
54793 do :
54794 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54795 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54796 cat >>confdefs.h <<_ACEOF
54797 #define HAVE_SQRTF 1
54798 _ACEOF
54801 done
54803 else
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54806 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54807 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54808 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54809 $as_echo_n "(cached) " >&6
54810 else
54813 ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h. */
54821 #include <math.h>
54822 #ifdef HAVE_IEEEFP_H
54823 #include <ieeefp.h>
54824 #endif
54827 main ()
54829 _sqrtf(0);
54831 return 0;
54833 _ACEOF
54834 if ac_fn_cxx_try_compile "$LINENO"; then :
54835 glibcxx_cv_func__sqrtf_use=yes
54836 else
54837 glibcxx_cv_func__sqrtf_use=no
54839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54840 ac_ext=c
54841 ac_cpp='$CPP $CPPFLAGS'
54842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54851 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54853 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54854 for ac_func in _sqrtf
54855 do :
54856 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54857 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54858 cat >>confdefs.h <<_ACEOF
54859 #define HAVE__SQRTF 1
54860 _ACEOF
54863 done
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54873 $as_echo_n "checking for sincosf declaration... " >&6; }
54874 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54875 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54876 $as_echo_n "(cached) " >&6
54877 else
54880 ac_ext=cpp
54881 ac_cpp='$CXXCPP $CPPFLAGS'
54882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54887 /* end confdefs.h. */
54888 #include <math.h>
54890 main ()
54892 sincosf(0, 0, 0);
54894 return 0;
54896 _ACEOF
54897 if ac_fn_cxx_try_compile "$LINENO"; then :
54898 glibcxx_cv_func_sincosf_use=yes
54899 else
54900 glibcxx_cv_func_sincosf_use=no
54902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54903 ac_ext=c
54904 ac_cpp='$CPP $CPPFLAGS'
54905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54914 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54916 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54917 for ac_func in sincosf
54918 do :
54919 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54920 if test "x$ac_cv_func_sincosf" = x""yes; then :
54921 cat >>confdefs.h <<_ACEOF
54922 #define HAVE_SINCOSF 1
54923 _ACEOF
54926 done
54928 else
54930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54931 $as_echo_n "checking for _sincosf declaration... " >&6; }
54932 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54933 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54934 $as_echo_n "(cached) " >&6
54935 else
54938 ac_ext=cpp
54939 ac_cpp='$CXXCPP $CPPFLAGS'
54940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54945 /* end confdefs.h. */
54946 #include <math.h>
54948 main ()
54950 _sincosf(0, 0, 0);
54952 return 0;
54954 _ACEOF
54955 if ac_fn_cxx_try_compile "$LINENO"; then :
54956 glibcxx_cv_func__sincosf_use=yes
54957 else
54958 glibcxx_cv_func__sincosf_use=no
54960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54961 ac_ext=c
54962 ac_cpp='$CPP $CPPFLAGS'
54963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54972 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54974 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54975 for ac_func in _sincosf
54976 do :
54977 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54978 if test "x$ac_cv_func__sincosf" = x""yes; then :
54979 cat >>confdefs.h <<_ACEOF
54980 #define HAVE__SINCOSF 1
54981 _ACEOF
54984 done
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54994 $as_echo_n "checking for finitef declaration... " >&6; }
54995 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54996 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54997 $as_echo_n "(cached) " >&6
54998 else
55001 ac_ext=cpp
55002 ac_cpp='$CXXCPP $CPPFLAGS'
55003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55008 /* end confdefs.h. */
55009 #include <math.h>
55010 #ifdef HAVE_IEEEFP_H
55011 #include <ieeefp.h>
55012 #endif
55015 main ()
55017 finitef(0);
55019 return 0;
55021 _ACEOF
55022 if ac_fn_cxx_try_compile "$LINENO"; then :
55023 glibcxx_cv_func_finitef_use=yes
55024 else
55025 glibcxx_cv_func_finitef_use=no
55027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55028 ac_ext=c
55029 ac_cpp='$CPP $CPPFLAGS'
55030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55039 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55041 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55042 for ac_func in finitef
55043 do :
55044 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55045 if test "x$ac_cv_func_finitef" = x""yes; then :
55046 cat >>confdefs.h <<_ACEOF
55047 #define HAVE_FINITEF 1
55048 _ACEOF
55051 done
55053 else
55055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55056 $as_echo_n "checking for _finitef declaration... " >&6; }
55057 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55058 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55059 $as_echo_n "(cached) " >&6
55060 else
55063 ac_ext=cpp
55064 ac_cpp='$CXXCPP $CPPFLAGS'
55065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55070 /* end confdefs.h. */
55071 #include <math.h>
55072 #ifdef HAVE_IEEEFP_H
55073 #include <ieeefp.h>
55074 #endif
55077 main ()
55079 _finitef(0);
55081 return 0;
55083 _ACEOF
55084 if ac_fn_cxx_try_compile "$LINENO"; then :
55085 glibcxx_cv_func__finitef_use=yes
55086 else
55087 glibcxx_cv_func__finitef_use=no
55089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55090 ac_ext=c
55091 ac_cpp='$CPP $CPPFLAGS'
55092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55101 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55103 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55104 for ac_func in _finitef
55105 do :
55106 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55107 if test "x$ac_cv_func__finitef" = x""yes; then :
55108 cat >>confdefs.h <<_ACEOF
55109 #define HAVE__FINITEF 1
55110 _ACEOF
55113 done
55122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55123 $as_echo_n "checking for long double trig functions... " >&6; }
55124 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55125 $as_echo_n "(cached) " >&6
55126 else
55129 ac_ext=cpp
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55136 /* end confdefs.h. */
55137 #include <math.h>
55139 main ()
55141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55143 return 0;
55145 _ACEOF
55146 if ac_fn_cxx_try_compile "$LINENO"; then :
55147 glibcxx_cv_func_long_double_trig_use=yes
55148 else
55149 glibcxx_cv_func_long_double_trig_use=no
55151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55152 ac_ext=c
55153 ac_cpp='$CPP $CPPFLAGS'
55154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55161 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55162 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55163 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55164 do :
55165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55167 eval as_val=\$$as_ac_var
55168 if test "x$as_val" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55171 _ACEOF
55174 done
55176 else
55177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55178 $as_echo_n "checking for _long double trig functions... " >&6; }
55179 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55180 $as_echo_n "(cached) " >&6
55181 else
55184 ac_ext=cpp
55185 ac_cpp='$CXXCPP $CPPFLAGS'
55186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55191 /* end confdefs.h. */
55192 #include <math.h>
55194 main ()
55196 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55198 return 0;
55200 _ACEOF
55201 if ac_fn_cxx_try_compile "$LINENO"; then :
55202 glibcxx_cv_func__long_double_trig_use=yes
55203 else
55204 glibcxx_cv_func__long_double_trig_use=no
55206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55207 ac_ext=c
55208 ac_cpp='$CPP $CPPFLAGS'
55209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55216 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55217 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55218 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55219 do :
55220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55222 eval as_val=\$$as_ac_var
55223 if test "x$as_val" = x""yes; then :
55224 cat >>confdefs.h <<_ACEOF
55225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55226 _ACEOF
55229 done
55238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55239 $as_echo_n "checking for long double round functions... " >&6; }
55240 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55241 $as_echo_n "(cached) " >&6
55242 else
55245 ac_ext=cpp
55246 ac_cpp='$CXXCPP $CPPFLAGS'
55247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55252 /* end confdefs.h. */
55253 #include <math.h>
55255 main ()
55257 ceill (0); floorl (0);
55259 return 0;
55261 _ACEOF
55262 if ac_fn_cxx_try_compile "$LINENO"; then :
55263 glibcxx_cv_func_long_double_round_use=yes
55264 else
55265 glibcxx_cv_func_long_double_round_use=no
55267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55268 ac_ext=c
55269 ac_cpp='$CPP $CPPFLAGS'
55270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55277 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55278 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55279 for ac_func in ceill floorl
55280 do :
55281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55283 eval as_val=\$$as_ac_var
55284 if test "x$as_val" = x""yes; then :
55285 cat >>confdefs.h <<_ACEOF
55286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55287 _ACEOF
55290 done
55292 else
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55294 $as_echo_n "checking for _long double round functions... " >&6; }
55295 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55296 $as_echo_n "(cached) " >&6
55297 else
55300 ac_ext=cpp
55301 ac_cpp='$CXXCPP $CPPFLAGS'
55302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55307 /* end confdefs.h. */
55308 #include <math.h>
55310 main ()
55312 _ceill (0); _floorl (0);
55314 return 0;
55316 _ACEOF
55317 if ac_fn_cxx_try_compile "$LINENO"; then :
55318 glibcxx_cv_func__long_double_round_use=yes
55319 else
55320 glibcxx_cv_func__long_double_round_use=no
55322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55323 ac_ext=c
55324 ac_cpp='$CPP $CPPFLAGS'
55325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55333 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55334 for ac_func in _ceill _floorl
55335 do :
55336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55338 eval as_val=\$$as_ac_var
55339 if test "x$as_val" = x""yes; then :
55340 cat >>confdefs.h <<_ACEOF
55341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55342 _ACEOF
55345 done
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55356 $as_echo_n "checking for isnanl declaration... " >&6; }
55357 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55358 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55359 $as_echo_n "(cached) " >&6
55360 else
55363 ac_ext=cpp
55364 ac_cpp='$CXXCPP $CPPFLAGS'
55365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55370 /* end confdefs.h. */
55371 #include <math.h>
55372 #ifdef HAVE_IEEEFP_H
55373 #include <ieeefp.h>
55374 #endif
55377 main ()
55379 isnanl(0);
55381 return 0;
55383 _ACEOF
55384 if ac_fn_cxx_try_compile "$LINENO"; then :
55385 glibcxx_cv_func_isnanl_use=yes
55386 else
55387 glibcxx_cv_func_isnanl_use=no
55389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55390 ac_ext=c
55391 ac_cpp='$CPP $CPPFLAGS'
55392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55401 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55403 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55404 for ac_func in isnanl
55405 do :
55406 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55407 if test "x$ac_cv_func_isnanl" = x""yes; then :
55408 cat >>confdefs.h <<_ACEOF
55409 #define HAVE_ISNANL 1
55410 _ACEOF
55413 done
55415 else
55417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55418 $as_echo_n "checking for _isnanl declaration... " >&6; }
55419 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55420 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55421 $as_echo_n "(cached) " >&6
55422 else
55425 ac_ext=cpp
55426 ac_cpp='$CXXCPP $CPPFLAGS'
55427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55432 /* end confdefs.h. */
55433 #include <math.h>
55434 #ifdef HAVE_IEEEFP_H
55435 #include <ieeefp.h>
55436 #endif
55439 main ()
55441 _isnanl(0);
55443 return 0;
55445 _ACEOF
55446 if ac_fn_cxx_try_compile "$LINENO"; then :
55447 glibcxx_cv_func__isnanl_use=yes
55448 else
55449 glibcxx_cv_func__isnanl_use=no
55451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55452 ac_ext=c
55453 ac_cpp='$CPP $CPPFLAGS'
55454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55463 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55465 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55466 for ac_func in _isnanl
55467 do :
55468 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55469 if test "x$ac_cv_func__isnanl" = x""yes; then :
55470 cat >>confdefs.h <<_ACEOF
55471 #define HAVE__ISNANL 1
55472 _ACEOF
55475 done
55484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55485 $as_echo_n "checking for isinfl declaration... " >&6; }
55486 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55487 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55488 $as_echo_n "(cached) " >&6
55489 else
55492 ac_ext=cpp
55493 ac_cpp='$CXXCPP $CPPFLAGS'
55494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55499 /* end confdefs.h. */
55500 #include <math.h>
55501 #ifdef HAVE_IEEEFP_H
55502 #include <ieeefp.h>
55503 #endif
55506 main ()
55508 isinfl(0);
55510 return 0;
55512 _ACEOF
55513 if ac_fn_cxx_try_compile "$LINENO"; then :
55514 glibcxx_cv_func_isinfl_use=yes
55515 else
55516 glibcxx_cv_func_isinfl_use=no
55518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55519 ac_ext=c
55520 ac_cpp='$CPP $CPPFLAGS'
55521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55530 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55532 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55533 for ac_func in isinfl
55534 do :
55535 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55536 if test "x$ac_cv_func_isinfl" = x""yes; then :
55537 cat >>confdefs.h <<_ACEOF
55538 #define HAVE_ISINFL 1
55539 _ACEOF
55542 done
55544 else
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55547 $as_echo_n "checking for _isinfl declaration... " >&6; }
55548 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55549 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55550 $as_echo_n "(cached) " >&6
55551 else
55554 ac_ext=cpp
55555 ac_cpp='$CXXCPP $CPPFLAGS'
55556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55561 /* end confdefs.h. */
55562 #include <math.h>
55563 #ifdef HAVE_IEEEFP_H
55564 #include <ieeefp.h>
55565 #endif
55568 main ()
55570 _isinfl(0);
55572 return 0;
55574 _ACEOF
55575 if ac_fn_cxx_try_compile "$LINENO"; then :
55576 glibcxx_cv_func__isinfl_use=yes
55577 else
55578 glibcxx_cv_func__isinfl_use=no
55580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55592 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55594 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55595 for ac_func in _isinfl
55596 do :
55597 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55598 if test "x$ac_cv_func__isinfl" = x""yes; then :
55599 cat >>confdefs.h <<_ACEOF
55600 #define HAVE__ISINFL 1
55601 _ACEOF
55604 done
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55614 $as_echo_n "checking for atan2l declaration... " >&6; }
55615 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55616 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55617 $as_echo_n "(cached) " >&6
55618 else
55621 ac_ext=cpp
55622 ac_cpp='$CXXCPP $CPPFLAGS'
55623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55628 /* end confdefs.h. */
55629 #include <math.h>
55631 main ()
55633 atan2l(0, 0);
55635 return 0;
55637 _ACEOF
55638 if ac_fn_cxx_try_compile "$LINENO"; then :
55639 glibcxx_cv_func_atan2l_use=yes
55640 else
55641 glibcxx_cv_func_atan2l_use=no
55643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55644 ac_ext=c
55645 ac_cpp='$CPP $CPPFLAGS'
55646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55655 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55657 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55658 for ac_func in atan2l
55659 do :
55660 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55661 if test "x$ac_cv_func_atan2l" = x""yes; then :
55662 cat >>confdefs.h <<_ACEOF
55663 #define HAVE_ATAN2L 1
55664 _ACEOF
55667 done
55669 else
55671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55672 $as_echo_n "checking for _atan2l declaration... " >&6; }
55673 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55674 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55675 $as_echo_n "(cached) " >&6
55676 else
55679 ac_ext=cpp
55680 ac_cpp='$CXXCPP $CPPFLAGS'
55681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55686 /* end confdefs.h. */
55687 #include <math.h>
55689 main ()
55691 _atan2l(0, 0);
55693 return 0;
55695 _ACEOF
55696 if ac_fn_cxx_try_compile "$LINENO"; then :
55697 glibcxx_cv_func__atan2l_use=yes
55698 else
55699 glibcxx_cv_func__atan2l_use=no
55701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55702 ac_ext=c
55703 ac_cpp='$CPP $CPPFLAGS'
55704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55713 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55715 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55716 for ac_func in _atan2l
55717 do :
55718 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55719 if test "x$ac_cv_func__atan2l" = x""yes; then :
55720 cat >>confdefs.h <<_ACEOF
55721 #define HAVE__ATAN2L 1
55722 _ACEOF
55725 done
55734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55735 $as_echo_n "checking for expl declaration... " >&6; }
55736 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55737 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55738 $as_echo_n "(cached) " >&6
55739 else
55742 ac_ext=cpp
55743 ac_cpp='$CXXCPP $CPPFLAGS'
55744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55749 /* end confdefs.h. */
55750 #include <math.h>
55751 #ifdef HAVE_IEEEFP_H
55752 #include <ieeefp.h>
55753 #endif
55756 main ()
55758 expl(0);
55760 return 0;
55762 _ACEOF
55763 if ac_fn_cxx_try_compile "$LINENO"; then :
55764 glibcxx_cv_func_expl_use=yes
55765 else
55766 glibcxx_cv_func_expl_use=no
55768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55769 ac_ext=c
55770 ac_cpp='$CPP $CPPFLAGS'
55771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55780 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55782 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55783 for ac_func in expl
55784 do :
55785 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55786 if test "x$ac_cv_func_expl" = x""yes; then :
55787 cat >>confdefs.h <<_ACEOF
55788 #define HAVE_EXPL 1
55789 _ACEOF
55792 done
55794 else
55796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55797 $as_echo_n "checking for _expl declaration... " >&6; }
55798 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55799 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55800 $as_echo_n "(cached) " >&6
55801 else
55804 ac_ext=cpp
55805 ac_cpp='$CXXCPP $CPPFLAGS'
55806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55811 /* end confdefs.h. */
55812 #include <math.h>
55813 #ifdef HAVE_IEEEFP_H
55814 #include <ieeefp.h>
55815 #endif
55818 main ()
55820 _expl(0);
55822 return 0;
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func__expl_use=yes
55827 else
55828 glibcxx_cv_func__expl_use=no
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55842 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55844 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55845 for ac_func in _expl
55846 do :
55847 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55848 if test "x$ac_cv_func__expl" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE__EXPL 1
55851 _ACEOF
55854 done
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55864 $as_echo_n "checking for fabsl declaration... " >&6; }
55865 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55866 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55867 $as_echo_n "(cached) " >&6
55868 else
55871 ac_ext=cpp
55872 ac_cpp='$CXXCPP $CPPFLAGS'
55873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55878 /* end confdefs.h. */
55879 #include <math.h>
55880 #ifdef HAVE_IEEEFP_H
55881 #include <ieeefp.h>
55882 #endif
55885 main ()
55887 fabsl(0);
55889 return 0;
55891 _ACEOF
55892 if ac_fn_cxx_try_compile "$LINENO"; then :
55893 glibcxx_cv_func_fabsl_use=yes
55894 else
55895 glibcxx_cv_func_fabsl_use=no
55897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55898 ac_ext=c
55899 ac_cpp='$CPP $CPPFLAGS'
55900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55909 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55911 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55912 for ac_func in fabsl
55913 do :
55914 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55915 if test "x$ac_cv_func_fabsl" = x""yes; then :
55916 cat >>confdefs.h <<_ACEOF
55917 #define HAVE_FABSL 1
55918 _ACEOF
55921 done
55923 else
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55926 $as_echo_n "checking for _fabsl declaration... " >&6; }
55927 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55928 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55930 else
55933 ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55941 #include <math.h>
55942 #ifdef HAVE_IEEEFP_H
55943 #include <ieeefp.h>
55944 #endif
55947 main ()
55949 _fabsl(0);
55951 return 0;
55953 _ACEOF
55954 if ac_fn_cxx_try_compile "$LINENO"; then :
55955 glibcxx_cv_func__fabsl_use=yes
55956 else
55957 glibcxx_cv_func__fabsl_use=no
55959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55960 ac_ext=c
55961 ac_cpp='$CPP $CPPFLAGS'
55962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55971 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55973 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55974 for ac_func in _fabsl
55975 do :
55976 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55977 if test "x$ac_cv_func__fabsl" = x""yes; then :
55978 cat >>confdefs.h <<_ACEOF
55979 #define HAVE__FABSL 1
55980 _ACEOF
55983 done
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55993 $as_echo_n "checking for fmodl declaration... " >&6; }
55994 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55995 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55996 $as_echo_n "(cached) " >&6
55997 else
56000 ac_ext=cpp
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56007 /* end confdefs.h. */
56008 #include <math.h>
56010 main ()
56012 fmodl(0, 0);
56014 return 0;
56016 _ACEOF
56017 if ac_fn_cxx_try_compile "$LINENO"; then :
56018 glibcxx_cv_func_fmodl_use=yes
56019 else
56020 glibcxx_cv_func_fmodl_use=no
56022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56023 ac_ext=c
56024 ac_cpp='$CPP $CPPFLAGS'
56025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56034 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56036 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56037 for ac_func in fmodl
56038 do :
56039 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56040 if test "x$ac_cv_func_fmodl" = x""yes; then :
56041 cat >>confdefs.h <<_ACEOF
56042 #define HAVE_FMODL 1
56043 _ACEOF
56046 done
56048 else
56050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56051 $as_echo_n "checking for _fmodl declaration... " >&6; }
56052 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56053 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56054 $as_echo_n "(cached) " >&6
56055 else
56058 ac_ext=cpp
56059 ac_cpp='$CXXCPP $CPPFLAGS'
56060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56065 /* end confdefs.h. */
56066 #include <math.h>
56068 main ()
56070 _fmodl(0, 0);
56072 return 0;
56074 _ACEOF
56075 if ac_fn_cxx_try_compile "$LINENO"; then :
56076 glibcxx_cv_func__fmodl_use=yes
56077 else
56078 glibcxx_cv_func__fmodl_use=no
56080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56081 ac_ext=c
56082 ac_cpp='$CPP $CPPFLAGS'
56083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56092 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56094 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56095 for ac_func in _fmodl
56096 do :
56097 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56098 if test "x$ac_cv_func__fmodl" = x""yes; then :
56099 cat >>confdefs.h <<_ACEOF
56100 #define HAVE__FMODL 1
56101 _ACEOF
56104 done
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56114 $as_echo_n "checking for frexpl declaration... " >&6; }
56115 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56116 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56117 $as_echo_n "(cached) " >&6
56118 else
56121 ac_ext=cpp
56122 ac_cpp='$CXXCPP $CPPFLAGS'
56123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56128 /* end confdefs.h. */
56129 #include <math.h>
56131 main ()
56133 frexpl(0, 0);
56135 return 0;
56137 _ACEOF
56138 if ac_fn_cxx_try_compile "$LINENO"; then :
56139 glibcxx_cv_func_frexpl_use=yes
56140 else
56141 glibcxx_cv_func_frexpl_use=no
56143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56144 ac_ext=c
56145 ac_cpp='$CPP $CPPFLAGS'
56146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56155 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56157 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56158 for ac_func in frexpl
56159 do :
56160 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56161 if test "x$ac_cv_func_frexpl" = x""yes; then :
56162 cat >>confdefs.h <<_ACEOF
56163 #define HAVE_FREXPL 1
56164 _ACEOF
56167 done
56169 else
56171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56172 $as_echo_n "checking for _frexpl declaration... " >&6; }
56173 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56174 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56175 $as_echo_n "(cached) " >&6
56176 else
56179 ac_ext=cpp
56180 ac_cpp='$CXXCPP $CPPFLAGS'
56181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56186 /* end confdefs.h. */
56187 #include <math.h>
56189 main ()
56191 _frexpl(0, 0);
56193 return 0;
56195 _ACEOF
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197 glibcxx_cv_func__frexpl_use=yes
56198 else
56199 glibcxx_cv_func__frexpl_use=no
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56202 ac_ext=c
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56213 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56215 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56216 for ac_func in _frexpl
56217 do :
56218 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56219 if test "x$ac_cv_func__frexpl" = x""yes; then :
56220 cat >>confdefs.h <<_ACEOF
56221 #define HAVE__FREXPL 1
56222 _ACEOF
56225 done
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56235 $as_echo_n "checking for hypotl declaration... " >&6; }
56236 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56237 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56238 $as_echo_n "(cached) " >&6
56239 else
56242 ac_ext=cpp
56243 ac_cpp='$CXXCPP $CPPFLAGS'
56244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56249 /* end confdefs.h. */
56250 #include <math.h>
56252 main ()
56254 hypotl(0, 0);
56256 return 0;
56258 _ACEOF
56259 if ac_fn_cxx_try_compile "$LINENO"; then :
56260 glibcxx_cv_func_hypotl_use=yes
56261 else
56262 glibcxx_cv_func_hypotl_use=no
56264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56265 ac_ext=c
56266 ac_cpp='$CPP $CPPFLAGS'
56267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56276 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56278 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56279 for ac_func in hypotl
56280 do :
56281 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56282 if test "x$ac_cv_func_hypotl" = x""yes; then :
56283 cat >>confdefs.h <<_ACEOF
56284 #define HAVE_HYPOTL 1
56285 _ACEOF
56288 done
56290 else
56292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56293 $as_echo_n "checking for _hypotl declaration... " >&6; }
56294 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56295 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56296 $as_echo_n "(cached) " >&6
56297 else
56300 ac_ext=cpp
56301 ac_cpp='$CXXCPP $CPPFLAGS'
56302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56307 /* end confdefs.h. */
56308 #include <math.h>
56310 main ()
56312 _hypotl(0, 0);
56314 return 0;
56316 _ACEOF
56317 if ac_fn_cxx_try_compile "$LINENO"; then :
56318 glibcxx_cv_func__hypotl_use=yes
56319 else
56320 glibcxx_cv_func__hypotl_use=no
56322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56323 ac_ext=c
56324 ac_cpp='$CPP $CPPFLAGS'
56325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56334 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56336 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56337 for ac_func in _hypotl
56338 do :
56339 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56340 if test "x$ac_cv_func__hypotl" = x""yes; then :
56341 cat >>confdefs.h <<_ACEOF
56342 #define HAVE__HYPOTL 1
56343 _ACEOF
56346 done
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56356 $as_echo_n "checking for ldexpl declaration... " >&6; }
56357 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56358 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56359 $as_echo_n "(cached) " >&6
56360 else
56363 ac_ext=cpp
56364 ac_cpp='$CXXCPP $CPPFLAGS'
56365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56370 /* end confdefs.h. */
56371 #include <math.h>
56373 main ()
56375 ldexpl(0, 0);
56377 return 0;
56379 _ACEOF
56380 if ac_fn_cxx_try_compile "$LINENO"; then :
56381 glibcxx_cv_func_ldexpl_use=yes
56382 else
56383 glibcxx_cv_func_ldexpl_use=no
56385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_ext=c
56387 ac_cpp='$CPP $CPPFLAGS'
56388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56397 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56399 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56400 for ac_func in ldexpl
56401 do :
56402 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56403 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56404 cat >>confdefs.h <<_ACEOF
56405 #define HAVE_LDEXPL 1
56406 _ACEOF
56409 done
56411 else
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56414 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56415 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56416 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56431 main ()
56433 _ldexpl(0, 0);
56435 return 0;
56437 _ACEOF
56438 if ac_fn_cxx_try_compile "$LINENO"; then :
56439 glibcxx_cv_func__ldexpl_use=yes
56440 else
56441 glibcxx_cv_func__ldexpl_use=no
56443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56444 ac_ext=c
56445 ac_cpp='$CPP $CPPFLAGS'
56446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56455 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56457 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56458 for ac_func in _ldexpl
56459 do :
56460 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56461 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56462 cat >>confdefs.h <<_ACEOF
56463 #define HAVE__LDEXPL 1
56464 _ACEOF
56467 done
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56477 $as_echo_n "checking for logl declaration... " >&6; }
56478 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56479 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56480 $as_echo_n "(cached) " >&6
56481 else
56484 ac_ext=cpp
56485 ac_cpp='$CXXCPP $CPPFLAGS'
56486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56491 /* end confdefs.h. */
56492 #include <math.h>
56493 #ifdef HAVE_IEEEFP_H
56494 #include <ieeefp.h>
56495 #endif
56498 main ()
56500 logl(0);
56502 return 0;
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func_logl_use=yes
56507 else
56508 glibcxx_cv_func_logl_use=no
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56522 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56524 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56525 for ac_func in logl
56526 do :
56527 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56528 if test "x$ac_cv_func_logl" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE_LOGL 1
56531 _ACEOF
56534 done
56536 else
56538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56539 $as_echo_n "checking for _logl declaration... " >&6; }
56540 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56541 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56542 $as_echo_n "(cached) " >&6
56543 else
56546 ac_ext=cpp
56547 ac_cpp='$CXXCPP $CPPFLAGS'
56548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56553 /* end confdefs.h. */
56554 #include <math.h>
56555 #ifdef HAVE_IEEEFP_H
56556 #include <ieeefp.h>
56557 #endif
56560 main ()
56562 _logl(0);
56564 return 0;
56566 _ACEOF
56567 if ac_fn_cxx_try_compile "$LINENO"; then :
56568 glibcxx_cv_func__logl_use=yes
56569 else
56570 glibcxx_cv_func__logl_use=no
56572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56573 ac_ext=c
56574 ac_cpp='$CPP $CPPFLAGS'
56575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56584 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56586 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56587 for ac_func in _logl
56588 do :
56589 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56590 if test "x$ac_cv_func__logl" = x""yes; then :
56591 cat >>confdefs.h <<_ACEOF
56592 #define HAVE__LOGL 1
56593 _ACEOF
56596 done
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56606 $as_echo_n "checking for log10l declaration... " >&6; }
56607 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56608 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56609 $as_echo_n "(cached) " >&6
56610 else
56613 ac_ext=cpp
56614 ac_cpp='$CXXCPP $CPPFLAGS'
56615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56620 /* end confdefs.h. */
56621 #include <math.h>
56622 #ifdef HAVE_IEEEFP_H
56623 #include <ieeefp.h>
56624 #endif
56627 main ()
56629 log10l(0);
56631 return 0;
56633 _ACEOF
56634 if ac_fn_cxx_try_compile "$LINENO"; then :
56635 glibcxx_cv_func_log10l_use=yes
56636 else
56637 glibcxx_cv_func_log10l_use=no
56639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56651 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56654 for ac_func in log10l
56655 do :
56656 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56657 if test "x$ac_cv_func_log10l" = x""yes; then :
56658 cat >>confdefs.h <<_ACEOF
56659 #define HAVE_LOG10L 1
56660 _ACEOF
56663 done
56665 else
56667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56668 $as_echo_n "checking for _log10l declaration... " >&6; }
56669 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56670 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56671 $as_echo_n "(cached) " >&6
56672 else
56675 ac_ext=cpp
56676 ac_cpp='$CXXCPP $CPPFLAGS'
56677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56682 /* end confdefs.h. */
56683 #include <math.h>
56684 #ifdef HAVE_IEEEFP_H
56685 #include <ieeefp.h>
56686 #endif
56689 main ()
56691 _log10l(0);
56693 return 0;
56695 _ACEOF
56696 if ac_fn_cxx_try_compile "$LINENO"; then :
56697 glibcxx_cv_func__log10l_use=yes
56698 else
56699 glibcxx_cv_func__log10l_use=no
56701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56702 ac_ext=c
56703 ac_cpp='$CPP $CPPFLAGS'
56704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56713 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56715 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56716 for ac_func in _log10l
56717 do :
56718 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56719 if test "x$ac_cv_func__log10l" = x""yes; then :
56720 cat >>confdefs.h <<_ACEOF
56721 #define HAVE__LOG10L 1
56722 _ACEOF
56725 done
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56735 $as_echo_n "checking for modfl declaration... " >&6; }
56736 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56737 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56738 $as_echo_n "(cached) " >&6
56739 else
56742 ac_ext=cpp
56743 ac_cpp='$CXXCPP $CPPFLAGS'
56744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56749 /* end confdefs.h. */
56750 #include <math.h>
56752 main ()
56754 modfl(0, 0);
56756 return 0;
56758 _ACEOF
56759 if ac_fn_cxx_try_compile "$LINENO"; then :
56760 glibcxx_cv_func_modfl_use=yes
56761 else
56762 glibcxx_cv_func_modfl_use=no
56764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56765 ac_ext=c
56766 ac_cpp='$CPP $CPPFLAGS'
56767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56776 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56778 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56779 for ac_func in modfl
56780 do :
56781 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56782 if test "x$ac_cv_func_modfl" = x""yes; then :
56783 cat >>confdefs.h <<_ACEOF
56784 #define HAVE_MODFL 1
56785 _ACEOF
56788 done
56790 else
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56793 $as_echo_n "checking for _modfl declaration... " >&6; }
56794 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56795 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56796 $as_echo_n "(cached) " >&6
56797 else
56800 ac_ext=cpp
56801 ac_cpp='$CXXCPP $CPPFLAGS'
56802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56807 /* end confdefs.h. */
56808 #include <math.h>
56810 main ()
56812 _modfl(0, 0);
56814 return 0;
56816 _ACEOF
56817 if ac_fn_cxx_try_compile "$LINENO"; then :
56818 glibcxx_cv_func__modfl_use=yes
56819 else
56820 glibcxx_cv_func__modfl_use=no
56822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56823 ac_ext=c
56824 ac_cpp='$CPP $CPPFLAGS'
56825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56834 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56836 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56837 for ac_func in _modfl
56838 do :
56839 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56840 if test "x$ac_cv_func__modfl" = x""yes; then :
56841 cat >>confdefs.h <<_ACEOF
56842 #define HAVE__MODFL 1
56843 _ACEOF
56846 done
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56856 $as_echo_n "checking for powl declaration... " >&6; }
56857 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56858 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56859 $as_echo_n "(cached) " >&6
56860 else
56863 ac_ext=cpp
56864 ac_cpp='$CXXCPP $CPPFLAGS'
56865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56870 /* end confdefs.h. */
56871 #include <math.h>
56873 main ()
56875 powl(0, 0);
56877 return 0;
56879 _ACEOF
56880 if ac_fn_cxx_try_compile "$LINENO"; then :
56881 glibcxx_cv_func_powl_use=yes
56882 else
56883 glibcxx_cv_func_powl_use=no
56885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56886 ac_ext=c
56887 ac_cpp='$CPP $CPPFLAGS'
56888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56897 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56899 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56900 for ac_func in powl
56901 do :
56902 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56903 if test "x$ac_cv_func_powl" = x""yes; then :
56904 cat >>confdefs.h <<_ACEOF
56905 #define HAVE_POWL 1
56906 _ACEOF
56909 done
56911 else
56913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56914 $as_echo_n "checking for _powl declaration... " >&6; }
56915 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56916 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56917 $as_echo_n "(cached) " >&6
56918 else
56921 ac_ext=cpp
56922 ac_cpp='$CXXCPP $CPPFLAGS'
56923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56928 /* end confdefs.h. */
56929 #include <math.h>
56931 main ()
56933 _powl(0, 0);
56935 return 0;
56937 _ACEOF
56938 if ac_fn_cxx_try_compile "$LINENO"; then :
56939 glibcxx_cv_func__powl_use=yes
56940 else
56941 glibcxx_cv_func__powl_use=no
56943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56944 ac_ext=c
56945 ac_cpp='$CPP $CPPFLAGS'
56946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56955 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56957 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56958 for ac_func in _powl
56959 do :
56960 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56961 if test "x$ac_cv_func__powl" = x""yes; then :
56962 cat >>confdefs.h <<_ACEOF
56963 #define HAVE__POWL 1
56964 _ACEOF
56967 done
56976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56977 $as_echo_n "checking for sqrtl declaration... " >&6; }
56978 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56979 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56980 $as_echo_n "(cached) " >&6
56981 else
56984 ac_ext=cpp
56985 ac_cpp='$CXXCPP $CPPFLAGS'
56986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56991 /* end confdefs.h. */
56992 #include <math.h>
56993 #ifdef HAVE_IEEEFP_H
56994 #include <ieeefp.h>
56995 #endif
56998 main ()
57000 sqrtl(0);
57002 return 0;
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006 glibcxx_cv_func_sqrtl_use=yes
57007 else
57008 glibcxx_cv_func_sqrtl_use=no
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011 ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57022 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57024 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57025 for ac_func in sqrtl
57026 do :
57027 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57028 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57029 cat >>confdefs.h <<_ACEOF
57030 #define HAVE_SQRTL 1
57031 _ACEOF
57034 done
57036 else
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57039 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57040 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57041 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57042 $as_echo_n "(cached) " >&6
57043 else
57046 ac_ext=cpp
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57053 /* end confdefs.h. */
57054 #include <math.h>
57055 #ifdef HAVE_IEEEFP_H
57056 #include <ieeefp.h>
57057 #endif
57060 main ()
57062 _sqrtl(0);
57064 return 0;
57066 _ACEOF
57067 if ac_fn_cxx_try_compile "$LINENO"; then :
57068 glibcxx_cv_func__sqrtl_use=yes
57069 else
57070 glibcxx_cv_func__sqrtl_use=no
57072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57073 ac_ext=c
57074 ac_cpp='$CPP $CPPFLAGS'
57075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57084 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57086 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57087 for ac_func in _sqrtl
57088 do :
57089 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57090 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57091 cat >>confdefs.h <<_ACEOF
57092 #define HAVE__SQRTL 1
57093 _ACEOF
57096 done
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57106 $as_echo_n "checking for sincosl declaration... " >&6; }
57107 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57108 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57109 $as_echo_n "(cached) " >&6
57110 else
57113 ac_ext=cpp
57114 ac_cpp='$CXXCPP $CPPFLAGS'
57115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57120 /* end confdefs.h. */
57121 #include <math.h>
57123 main ()
57125 sincosl(0, 0, 0);
57127 return 0;
57129 _ACEOF
57130 if ac_fn_cxx_try_compile "$LINENO"; then :
57131 glibcxx_cv_func_sincosl_use=yes
57132 else
57133 glibcxx_cv_func_sincosl_use=no
57135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57136 ac_ext=c
57137 ac_cpp='$CPP $CPPFLAGS'
57138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57147 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57149 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57150 for ac_func in sincosl
57151 do :
57152 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57153 if test "x$ac_cv_func_sincosl" = x""yes; then :
57154 cat >>confdefs.h <<_ACEOF
57155 #define HAVE_SINCOSL 1
57156 _ACEOF
57159 done
57161 else
57163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57164 $as_echo_n "checking for _sincosl declaration... " >&6; }
57165 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57166 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57167 $as_echo_n "(cached) " >&6
57168 else
57171 ac_ext=cpp
57172 ac_cpp='$CXXCPP $CPPFLAGS'
57173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57178 /* end confdefs.h. */
57179 #include <math.h>
57181 main ()
57183 _sincosl(0, 0, 0);
57185 return 0;
57187 _ACEOF
57188 if ac_fn_cxx_try_compile "$LINENO"; then :
57189 glibcxx_cv_func__sincosl_use=yes
57190 else
57191 glibcxx_cv_func__sincosl_use=no
57193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57194 ac_ext=c
57195 ac_cpp='$CPP $CPPFLAGS'
57196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57205 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57207 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57208 for ac_func in _sincosl
57209 do :
57210 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57211 if test "x$ac_cv_func__sincosl" = x""yes; then :
57212 cat >>confdefs.h <<_ACEOF
57213 #define HAVE__SINCOSL 1
57214 _ACEOF
57217 done
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57227 $as_echo_n "checking for finitel declaration... " >&6; }
57228 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57229 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57230 $as_echo_n "(cached) " >&6
57231 else
57234 ac_ext=cpp
57235 ac_cpp='$CXXCPP $CPPFLAGS'
57236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57241 /* end confdefs.h. */
57242 #include <math.h>
57243 #ifdef HAVE_IEEEFP_H
57244 #include <ieeefp.h>
57245 #endif
57248 main ()
57250 finitel(0);
57252 return 0;
57254 _ACEOF
57255 if ac_fn_cxx_try_compile "$LINENO"; then :
57256 glibcxx_cv_func_finitel_use=yes
57257 else
57258 glibcxx_cv_func_finitel_use=no
57260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57261 ac_ext=c
57262 ac_cpp='$CPP $CPPFLAGS'
57263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57272 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57274 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57275 for ac_func in finitel
57276 do :
57277 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57278 if test "x$ac_cv_func_finitel" = x""yes; then :
57279 cat >>confdefs.h <<_ACEOF
57280 #define HAVE_FINITEL 1
57281 _ACEOF
57284 done
57286 else
57288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57289 $as_echo_n "checking for _finitel declaration... " >&6; }
57290 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57291 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57292 $as_echo_n "(cached) " >&6
57293 else
57296 ac_ext=cpp
57297 ac_cpp='$CXXCPP $CPPFLAGS'
57298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57303 /* end confdefs.h. */
57304 #include <math.h>
57305 #ifdef HAVE_IEEEFP_H
57306 #include <ieeefp.h>
57307 #endif
57310 main ()
57312 _finitel(0);
57314 return 0;
57316 _ACEOF
57317 if ac_fn_cxx_try_compile "$LINENO"; then :
57318 glibcxx_cv_func__finitel_use=yes
57319 else
57320 glibcxx_cv_func__finitel_use=no
57322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57323 ac_ext=c
57324 ac_cpp='$CPP $CPPFLAGS'
57325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57334 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57336 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57337 for ac_func in _finitel
57338 do :
57339 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57340 if test "x$ac_cv_func__finitel" = x""yes; then :
57341 cat >>confdefs.h <<_ACEOF
57342 #define HAVE__FINITEL 1
57343 _ACEOF
57346 done
57354 LIBS="$ac_save_LIBS"
57355 CXXFLAGS="$ac_save_CXXFLAGS"
57358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57359 ac_save_CXXFLAGS="$CXXFLAGS"
57360 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57364 $as_echo_n "checking for strtold declaration... " >&6; }
57365 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57366 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57367 $as_echo_n "(cached) " >&6
57368 else
57371 ac_ext=cpp
57372 ac_cpp='$CXXCPP $CPPFLAGS'
57373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57378 /* end confdefs.h. */
57379 #include <stdlib.h>
57381 main ()
57383 strtold(0, 0);
57385 return 0;
57387 _ACEOF
57388 if ac_fn_cxx_try_compile "$LINENO"; then :
57389 glibcxx_cv_func_strtold_use=yes
57390 else
57391 glibcxx_cv_func_strtold_use=no
57393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57394 ac_ext=c
57395 ac_cpp='$CPP $CPPFLAGS'
57396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57405 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57406 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57407 for ac_func in strtold
57408 do :
57409 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57410 if test "x$ac_cv_func_strtold" = x""yes; then :
57411 cat >>confdefs.h <<_ACEOF
57412 #define HAVE_STRTOLD 1
57413 _ACEOF
57416 done
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57424 $as_echo_n "checking for strtof declaration... " >&6; }
57425 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57426 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57427 $as_echo_n "(cached) " >&6
57428 else
57431 ac_ext=cpp
57432 ac_cpp='$CXXCPP $CPPFLAGS'
57433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57438 /* end confdefs.h. */
57439 #include <stdlib.h>
57441 main ()
57443 strtof(0, 0);
57445 return 0;
57447 _ACEOF
57448 if ac_fn_cxx_try_compile "$LINENO"; then :
57449 glibcxx_cv_func_strtof_use=yes
57450 else
57451 glibcxx_cv_func_strtof_use=no
57453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57454 ac_ext=c
57455 ac_cpp='$CPP $CPPFLAGS'
57456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57465 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57466 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57467 for ac_func in strtof
57468 do :
57469 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57470 if test "x$ac_cv_func_strtof" = x""yes; then :
57471 cat >>confdefs.h <<_ACEOF
57472 #define HAVE_STRTOF 1
57473 _ACEOF
57476 done
57483 CXXFLAGS="$ac_save_CXXFLAGS"
57486 *-netbsd*)
57487 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57490 # If we're not using GNU ld, then there's no point in even trying these
57491 # tests. Check for that first. We should have already tested for gld
57492 # by now (in libtool), but require it now just to be safe...
57493 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57494 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57498 # The name set by libtool depends on the version of libtool. Shame on us
57499 # for depending on an impl detail, but c'est la vie. Older versions used
57500 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57501 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57502 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57503 # set (hence we're using an older libtool), then set it.
57504 if test x${with_gnu_ld+set} != xset; then
57505 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57506 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57507 with_gnu_ld=no
57508 else
57509 with_gnu_ld=$ac_cv_prog_gnu_ld
57513 # Start by getting the version number. I think the libtool test already
57514 # does some of this, but throws away the result.
57515 glibcxx_ld_is_gold=no
57516 if test x"$with_gnu_ld" = x"yes"; then
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57518 $as_echo_n "checking for ld version... " >&6; }
57520 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57521 glibcxx_ld_is_gold=yes
57523 ldver=`$LD --version 2>/dev/null |
57524 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'`
57526 glibcxx_gnu_ld_version=`echo $ldver | \
57527 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57529 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57532 # Set --gc-sections.
57533 glibcxx_have_gc_sections=no
57534 if test "$glibcxx_ld_is_gold" = "yes"; then
57535 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57536 glibcxx_have_gc_sections=yes
57538 else
57539 glibcxx_gcsections_min_ld=21602
57540 if test x"$with_gnu_ld" = x"yes" &&
57541 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57542 glibcxx_have_gc_sections=yes
57545 if test "$glibcxx_have_gc_sections" = "yes"; then
57546 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57547 # NB: This flag only works reliably after 2.16.1. Configure tests
57548 # for this are difficult, so hard wire a value that should work.
57550 ac_test_CFLAGS="${CFLAGS+set}"
57551 ac_save_CFLAGS="$CFLAGS"
57552 CFLAGS='-Wl,--gc-sections'
57554 # Check for -Wl,--gc-sections
57555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57556 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57557 if test x$gcc_no_link = xyes; then
57558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h. */
57562 int one(void) { return 1; }
57563 int two(void) { return 2; }
57566 main ()
57568 two();
57570 return 0;
57572 _ACEOF
57573 if ac_fn_c_try_link "$LINENO"; then :
57574 ac_gcsections=yes
57575 else
57576 ac_gcsections=no
57578 rm -f core conftest.err conftest.$ac_objext \
57579 conftest$ac_exeext conftest.$ac_ext
57580 if test "$ac_gcsections" = "yes"; then
57581 rm -f conftest.c
57582 touch conftest.c
57583 if $CC -c conftest.c; then
57584 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57585 grep "Warning: gc-sections option ignored" > /dev/null; then
57586 ac_gcsections=no
57589 rm -f conftest.c conftest.o conftest
57591 if test "$ac_gcsections" = "yes"; then
57592 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57595 $as_echo "$ac_gcsections" >&6; }
57597 if test "$ac_test_CFLAGS" = set; then
57598 CFLAGS="$ac_save_CFLAGS"
57599 else
57600 # this is the suspicious part
57601 CFLAGS=''
57605 # Set -z,relro.
57606 # Note this is only for shared objects.
57607 ac_ld_relro=no
57608 if test x"$with_gnu_ld" = x"yes"; then
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57610 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57611 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57612 if test -n "$cxx_z_relo"; then
57613 OPT_LDFLAGS="-Wl,-z,relro"
57614 ac_ld_relro=yes
57616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57617 $as_echo "$ac_ld_relro" >&6; }
57620 # Set linker optimization flags.
57621 if test x"$with_gnu_ld" = x"yes"; then
57622 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57628 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57630 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57632 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57634 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57636 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57638 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57640 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57642 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57644 if test x"long_double_math_on_this_cpu" = x"yes"; then
57645 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57647 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57649 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57653 *-qnx6.1* | *-qnx6.2*)
57654 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57657 # If we're not using GNU ld, then there's no point in even trying these
57658 # tests. Check for that first. We should have already tested for gld
57659 # by now (in libtool), but require it now just to be safe...
57660 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57661 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57665 # The name set by libtool depends on the version of libtool. Shame on us
57666 # for depending on an impl detail, but c'est la vie. Older versions used
57667 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57668 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57669 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57670 # set (hence we're using an older libtool), then set it.
57671 if test x${with_gnu_ld+set} != xset; then
57672 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57673 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57674 with_gnu_ld=no
57675 else
57676 with_gnu_ld=$ac_cv_prog_gnu_ld
57680 # Start by getting the version number. I think the libtool test already
57681 # does some of this, but throws away the result.
57682 glibcxx_ld_is_gold=no
57683 if test x"$with_gnu_ld" = x"yes"; then
57684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57685 $as_echo_n "checking for ld version... " >&6; }
57687 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57688 glibcxx_ld_is_gold=yes
57690 ldver=`$LD --version 2>/dev/null |
57691 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'`
57693 glibcxx_gnu_ld_version=`echo $ldver | \
57694 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57696 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57699 # Set --gc-sections.
57700 glibcxx_have_gc_sections=no
57701 if test "$glibcxx_ld_is_gold" = "yes"; then
57702 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57703 glibcxx_have_gc_sections=yes
57705 else
57706 glibcxx_gcsections_min_ld=21602
57707 if test x"$with_gnu_ld" = x"yes" &&
57708 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57709 glibcxx_have_gc_sections=yes
57712 if test "$glibcxx_have_gc_sections" = "yes"; then
57713 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57714 # NB: This flag only works reliably after 2.16.1. Configure tests
57715 # for this are difficult, so hard wire a value that should work.
57717 ac_test_CFLAGS="${CFLAGS+set}"
57718 ac_save_CFLAGS="$CFLAGS"
57719 CFLAGS='-Wl,--gc-sections'
57721 # Check for -Wl,--gc-sections
57722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57723 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57724 if test x$gcc_no_link = xyes; then
57725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57728 /* end confdefs.h. */
57729 int one(void) { return 1; }
57730 int two(void) { return 2; }
57733 main ()
57735 two();
57737 return 0;
57739 _ACEOF
57740 if ac_fn_c_try_link "$LINENO"; then :
57741 ac_gcsections=yes
57742 else
57743 ac_gcsections=no
57745 rm -f core conftest.err conftest.$ac_objext \
57746 conftest$ac_exeext conftest.$ac_ext
57747 if test "$ac_gcsections" = "yes"; then
57748 rm -f conftest.c
57749 touch conftest.c
57750 if $CC -c conftest.c; then
57751 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57752 grep "Warning: gc-sections option ignored" > /dev/null; then
57753 ac_gcsections=no
57756 rm -f conftest.c conftest.o conftest
57758 if test "$ac_gcsections" = "yes"; then
57759 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57762 $as_echo "$ac_gcsections" >&6; }
57764 if test "$ac_test_CFLAGS" = set; then
57765 CFLAGS="$ac_save_CFLAGS"
57766 else
57767 # this is the suspicious part
57768 CFLAGS=''
57772 # Set -z,relro.
57773 # Note this is only for shared objects.
57774 ac_ld_relro=no
57775 if test x"$with_gnu_ld" = x"yes"; then
57776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57777 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57778 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57779 if test -n "$cxx_z_relo"; then
57780 OPT_LDFLAGS="-Wl,-z,relro"
57781 ac_ld_relro=yes
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57784 $as_echo "$ac_ld_relro" >&6; }
57787 # Set linker optimization flags.
57788 if test x"$with_gnu_ld" = x"yes"; then
57789 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57795 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57797 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57799 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57801 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57803 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57805 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57807 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57809 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57811 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57813 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57815 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57817 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57820 *-rtems*)
57822 # All these tests are for C++; save the language and the compiler flags.
57823 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57824 # found in GLIBCXX_CONFIGURE.
57826 ac_ext=cpp
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57833 ac_save_CXXFLAGS="$CXXFLAGS"
57835 # Check for maintainer-mode bits.
57836 if test x"$USE_MAINTAINER_MODE" = xno; then
57837 WERROR=''
57838 else
57839 WERROR='-Werror'
57842 # Check for -ffunction-sections -fdata-sections
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57844 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57845 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57847 /* end confdefs.h. */
57848 int foo; void bar() { };
57850 main ()
57854 return 0;
57856 _ACEOF
57857 if ac_fn_cxx_try_compile "$LINENO"; then :
57858 ac_fdsections=yes
57859 else
57860 ac_fdsections=no
57862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57863 if test "$ac_test_CXXFLAGS" = set; then
57864 CXXFLAGS="$ac_save_CXXFLAGS"
57865 else
57866 # this is the suspicious part
57867 CXXFLAGS=''
57869 if test x"$ac_fdsections" = x"yes"; then
57870 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57873 $as_echo "$ac_fdsections" >&6; }
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57885 # If we're not using GNU ld, then there's no point in even trying these
57886 # tests. Check for that first. We should have already tested for gld
57887 # by now (in libtool), but require it now just to be safe...
57888 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57889 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57893 # The name set by libtool depends on the version of libtool. Shame on us
57894 # for depending on an impl detail, but c'est la vie. Older versions used
57895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57898 # set (hence we're using an older libtool), then set it.
57899 if test x${with_gnu_ld+set} != xset; then
57900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57902 with_gnu_ld=no
57903 else
57904 with_gnu_ld=$ac_cv_prog_gnu_ld
57908 # Start by getting the version number. I think the libtool test already
57909 # does some of this, but throws away the result.
57910 glibcxx_ld_is_gold=no
57911 if test x"$with_gnu_ld" = x"yes"; then
57912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57913 $as_echo_n "checking for ld version... " >&6; }
57915 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57916 glibcxx_ld_is_gold=yes
57918 ldver=`$LD --version 2>/dev/null |
57919 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'`
57921 glibcxx_gnu_ld_version=`echo $ldver | \
57922 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57924 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57927 # Set --gc-sections.
57928 glibcxx_have_gc_sections=no
57929 if test "$glibcxx_ld_is_gold" = "yes"; then
57930 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57931 glibcxx_have_gc_sections=yes
57933 else
57934 glibcxx_gcsections_min_ld=21602
57935 if test x"$with_gnu_ld" = x"yes" &&
57936 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57937 glibcxx_have_gc_sections=yes
57940 if test "$glibcxx_have_gc_sections" = "yes"; then
57941 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57942 # NB: This flag only works reliably after 2.16.1. Configure tests
57943 # for this are difficult, so hard wire a value that should work.
57945 ac_test_CFLAGS="${CFLAGS+set}"
57946 ac_save_CFLAGS="$CFLAGS"
57947 CFLAGS='-Wl,--gc-sections'
57949 # Check for -Wl,--gc-sections
57950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57951 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57952 if test x$gcc_no_link = xyes; then
57953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57956 /* end confdefs.h. */
57957 int one(void) { return 1; }
57958 int two(void) { return 2; }
57961 main ()
57963 two();
57965 return 0;
57967 _ACEOF
57968 if ac_fn_c_try_link "$LINENO"; then :
57969 ac_gcsections=yes
57970 else
57971 ac_gcsections=no
57973 rm -f core conftest.err conftest.$ac_objext \
57974 conftest$ac_exeext conftest.$ac_ext
57975 if test "$ac_gcsections" = "yes"; then
57976 rm -f conftest.c
57977 touch conftest.c
57978 if $CC -c conftest.c; then
57979 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57980 grep "Warning: gc-sections option ignored" > /dev/null; then
57981 ac_gcsections=no
57984 rm -f conftest.c conftest.o conftest
57986 if test "$ac_gcsections" = "yes"; then
57987 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57990 $as_echo "$ac_gcsections" >&6; }
57992 if test "$ac_test_CFLAGS" = set; then
57993 CFLAGS="$ac_save_CFLAGS"
57994 else
57995 # this is the suspicious part
57996 CFLAGS=''
58000 # Set -z,relro.
58001 # Note this is only for shared objects.
58002 ac_ld_relro=no
58003 if test x"$with_gnu_ld" = x"yes"; then
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58005 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58006 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58007 if test -n "$cxx_z_relo"; then
58008 OPT_LDFLAGS="-Wl,-z,relro"
58009 ac_ld_relro=yes
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58012 $as_echo "$ac_ld_relro" >&6; }
58015 # Set linker optimization flags.
58016 if test x"$with_gnu_ld" = x"yes"; then
58017 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58024 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58025 ac_save_CXXFLAGS="$CXXFLAGS"
58026 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58029 $as_echo_n "checking for sin in -lm... " >&6; }
58030 if test "${ac_cv_lib_m_sin+set}" = set; then :
58031 $as_echo_n "(cached) " >&6
58032 else
58033 ac_check_lib_save_LIBS=$LIBS
58034 LIBS="-lm $LIBS"
58035 if test x$gcc_no_link = xyes; then
58036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h. */
58041 /* Override any GCC internal prototype to avoid an error.
58042 Use char because int might match the return type of a GCC
58043 builtin and then its argument prototype would still apply. */
58044 #ifdef __cplusplus
58045 extern "C"
58046 #endif
58047 char sin ();
58049 main ()
58051 return sin ();
58053 return 0;
58055 _ACEOF
58056 if ac_fn_c_try_link "$LINENO"; then :
58057 ac_cv_lib_m_sin=yes
58058 else
58059 ac_cv_lib_m_sin=no
58061 rm -f core conftest.err conftest.$ac_objext \
58062 conftest$ac_exeext conftest.$ac_ext
58063 LIBS=$ac_check_lib_save_LIBS
58065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58066 $as_echo "$ac_cv_lib_m_sin" >&6; }
58067 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58068 libm="-lm"
58071 ac_save_LIBS="$LIBS"
58072 LIBS="$LIBS $libm"
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58077 $as_echo_n "checking for isinf declaration... " >&6; }
58078 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58079 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58080 $as_echo_n "(cached) " >&6
58081 else
58084 ac_ext=cpp
58085 ac_cpp='$CXXCPP $CPPFLAGS'
58086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58091 /* end confdefs.h. */
58092 #include <math.h>
58093 #ifdef HAVE_IEEEFP_H
58094 #include <ieeefp.h>
58095 #endif
58098 main ()
58100 isinf(0);
58102 return 0;
58104 _ACEOF
58105 if ac_fn_cxx_try_compile "$LINENO"; then :
58106 glibcxx_cv_func_isinf_use=yes
58107 else
58108 glibcxx_cv_func_isinf_use=no
58110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58111 ac_ext=c
58112 ac_cpp='$CPP $CPPFLAGS'
58113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58122 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58124 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58125 for ac_func in isinf
58126 do :
58127 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58128 if test "x$ac_cv_func_isinf" = x""yes; then :
58129 cat >>confdefs.h <<_ACEOF
58130 #define HAVE_ISINF 1
58131 _ACEOF
58134 done
58136 else
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58139 $as_echo_n "checking for _isinf declaration... " >&6; }
58140 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58141 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58142 $as_echo_n "(cached) " >&6
58143 else
58146 ac_ext=cpp
58147 ac_cpp='$CXXCPP $CPPFLAGS'
58148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58153 /* end confdefs.h. */
58154 #include <math.h>
58155 #ifdef HAVE_IEEEFP_H
58156 #include <ieeefp.h>
58157 #endif
58160 main ()
58162 _isinf(0);
58164 return 0;
58166 _ACEOF
58167 if ac_fn_cxx_try_compile "$LINENO"; then :
58168 glibcxx_cv_func__isinf_use=yes
58169 else
58170 glibcxx_cv_func__isinf_use=no
58172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58173 ac_ext=c
58174 ac_cpp='$CPP $CPPFLAGS'
58175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58184 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58186 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58187 for ac_func in _isinf
58188 do :
58189 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58190 if test "x$ac_cv_func__isinf" = x""yes; then :
58191 cat >>confdefs.h <<_ACEOF
58192 #define HAVE__ISINF 1
58193 _ACEOF
58196 done
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58206 $as_echo_n "checking for isnan declaration... " >&6; }
58207 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58208 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58209 $as_echo_n "(cached) " >&6
58210 else
58213 ac_ext=cpp
58214 ac_cpp='$CXXCPP $CPPFLAGS'
58215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58220 /* end confdefs.h. */
58221 #include <math.h>
58222 #ifdef HAVE_IEEEFP_H
58223 #include <ieeefp.h>
58224 #endif
58227 main ()
58229 isnan(0);
58231 return 0;
58233 _ACEOF
58234 if ac_fn_cxx_try_compile "$LINENO"; then :
58235 glibcxx_cv_func_isnan_use=yes
58236 else
58237 glibcxx_cv_func_isnan_use=no
58239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58240 ac_ext=c
58241 ac_cpp='$CPP $CPPFLAGS'
58242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58251 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58253 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58254 for ac_func in isnan
58255 do :
58256 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58257 if test "x$ac_cv_func_isnan" = x""yes; then :
58258 cat >>confdefs.h <<_ACEOF
58259 #define HAVE_ISNAN 1
58260 _ACEOF
58263 done
58265 else
58267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58268 $as_echo_n "checking for _isnan declaration... " >&6; }
58269 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58270 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58271 $as_echo_n "(cached) " >&6
58272 else
58275 ac_ext=cpp
58276 ac_cpp='$CXXCPP $CPPFLAGS'
58277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58282 /* end confdefs.h. */
58283 #include <math.h>
58284 #ifdef HAVE_IEEEFP_H
58285 #include <ieeefp.h>
58286 #endif
58289 main ()
58291 _isnan(0);
58293 return 0;
58295 _ACEOF
58296 if ac_fn_cxx_try_compile "$LINENO"; then :
58297 glibcxx_cv_func__isnan_use=yes
58298 else
58299 glibcxx_cv_func__isnan_use=no
58301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58302 ac_ext=c
58303 ac_cpp='$CPP $CPPFLAGS'
58304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58313 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58315 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58316 for ac_func in _isnan
58317 do :
58318 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58319 if test "x$ac_cv_func__isnan" = x""yes; then :
58320 cat >>confdefs.h <<_ACEOF
58321 #define HAVE__ISNAN 1
58322 _ACEOF
58325 done
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58335 $as_echo_n "checking for finite declaration... " >&6; }
58336 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58337 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <math.h>
58351 #ifdef HAVE_IEEEFP_H
58352 #include <ieeefp.h>
58353 #endif
58356 main ()
58358 finite(0);
58360 return 0;
58362 _ACEOF
58363 if ac_fn_cxx_try_compile "$LINENO"; then :
58364 glibcxx_cv_func_finite_use=yes
58365 else
58366 glibcxx_cv_func_finite_use=no
58368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58369 ac_ext=c
58370 ac_cpp='$CPP $CPPFLAGS'
58371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58380 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58382 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58383 for ac_func in finite
58384 do :
58385 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58386 if test "x$ac_cv_func_finite" = x""yes; then :
58387 cat >>confdefs.h <<_ACEOF
58388 #define HAVE_FINITE 1
58389 _ACEOF
58392 done
58394 else
58396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58397 $as_echo_n "checking for _finite declaration... " >&6; }
58398 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58399 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58400 $as_echo_n "(cached) " >&6
58401 else
58404 ac_ext=cpp
58405 ac_cpp='$CXXCPP $CPPFLAGS'
58406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 #include <math.h>
58413 #ifdef HAVE_IEEEFP_H
58414 #include <ieeefp.h>
58415 #endif
58418 main ()
58420 _finite(0);
58422 return 0;
58424 _ACEOF
58425 if ac_fn_cxx_try_compile "$LINENO"; then :
58426 glibcxx_cv_func__finite_use=yes
58427 else
58428 glibcxx_cv_func__finite_use=no
58430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58431 ac_ext=c
58432 ac_cpp='$CPP $CPPFLAGS'
58433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58442 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58444 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58445 for ac_func in _finite
58446 do :
58447 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58448 if test "x$ac_cv_func__finite" = x""yes; then :
58449 cat >>confdefs.h <<_ACEOF
58450 #define HAVE__FINITE 1
58451 _ACEOF
58454 done
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58464 $as_echo_n "checking for sincos declaration... " >&6; }
58465 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58466 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58467 $as_echo_n "(cached) " >&6
58468 else
58471 ac_ext=cpp
58472 ac_cpp='$CXXCPP $CPPFLAGS'
58473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h. */
58479 #include <math.h>
58481 main ()
58483 sincos(0, 0, 0);
58485 return 0;
58487 _ACEOF
58488 if ac_fn_cxx_try_compile "$LINENO"; then :
58489 glibcxx_cv_func_sincos_use=yes
58490 else
58491 glibcxx_cv_func_sincos_use=no
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 ac_ext=c
58495 ac_cpp='$CPP $CPPFLAGS'
58496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58505 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58507 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58508 for ac_func in sincos
58509 do :
58510 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58511 if test "x$ac_cv_func_sincos" = x""yes; then :
58512 cat >>confdefs.h <<_ACEOF
58513 #define HAVE_SINCOS 1
58514 _ACEOF
58517 done
58519 else
58521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58522 $as_echo_n "checking for _sincos declaration... " >&6; }
58523 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58524 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58525 $as_echo_n "(cached) " >&6
58526 else
58529 ac_ext=cpp
58530 ac_cpp='$CXXCPP $CPPFLAGS'
58531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58536 /* end confdefs.h. */
58537 #include <math.h>
58539 main ()
58541 _sincos(0, 0, 0);
58543 return 0;
58545 _ACEOF
58546 if ac_fn_cxx_try_compile "$LINENO"; then :
58547 glibcxx_cv_func__sincos_use=yes
58548 else
58549 glibcxx_cv_func__sincos_use=no
58551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58552 ac_ext=c
58553 ac_cpp='$CPP $CPPFLAGS'
58554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58563 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58565 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58566 for ac_func in _sincos
58567 do :
58568 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58569 if test "x$ac_cv_func__sincos" = x""yes; then :
58570 cat >>confdefs.h <<_ACEOF
58571 #define HAVE__SINCOS 1
58572 _ACEOF
58575 done
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58585 $as_echo_n "checking for fpclass declaration... " >&6; }
58586 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58587 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58588 $as_echo_n "(cached) " >&6
58589 else
58592 ac_ext=cpp
58593 ac_cpp='$CXXCPP $CPPFLAGS'
58594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58599 /* end confdefs.h. */
58600 #include <math.h>
58601 #ifdef HAVE_IEEEFP_H
58602 #include <ieeefp.h>
58603 #endif
58606 main ()
58608 fpclass(0);
58610 return 0;
58612 _ACEOF
58613 if ac_fn_cxx_try_compile "$LINENO"; then :
58614 glibcxx_cv_func_fpclass_use=yes
58615 else
58616 glibcxx_cv_func_fpclass_use=no
58618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58619 ac_ext=c
58620 ac_cpp='$CPP $CPPFLAGS'
58621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58630 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58632 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58633 for ac_func in fpclass
58634 do :
58635 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58636 if test "x$ac_cv_func_fpclass" = x""yes; then :
58637 cat >>confdefs.h <<_ACEOF
58638 #define HAVE_FPCLASS 1
58639 _ACEOF
58642 done
58644 else
58646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58647 $as_echo_n "checking for _fpclass declaration... " >&6; }
58648 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58649 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58650 $as_echo_n "(cached) " >&6
58651 else
58654 ac_ext=cpp
58655 ac_cpp='$CXXCPP $CPPFLAGS'
58656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58661 /* end confdefs.h. */
58662 #include <math.h>
58663 #ifdef HAVE_IEEEFP_H
58664 #include <ieeefp.h>
58665 #endif
58668 main ()
58670 _fpclass(0);
58672 return 0;
58674 _ACEOF
58675 if ac_fn_cxx_try_compile "$LINENO"; then :
58676 glibcxx_cv_func__fpclass_use=yes
58677 else
58678 glibcxx_cv_func__fpclass_use=no
58680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58681 ac_ext=c
58682 ac_cpp='$CPP $CPPFLAGS'
58683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58692 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58694 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58695 for ac_func in _fpclass
58696 do :
58697 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58698 if test "x$ac_cv_func__fpclass" = x""yes; then :
58699 cat >>confdefs.h <<_ACEOF
58700 #define HAVE__FPCLASS 1
58701 _ACEOF
58704 done
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58714 $as_echo_n "checking for qfpclass declaration... " >&6; }
58715 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58716 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58717 $as_echo_n "(cached) " >&6
58718 else
58721 ac_ext=cpp
58722 ac_cpp='$CXXCPP $CPPFLAGS'
58723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58728 /* end confdefs.h. */
58729 #include <math.h>
58730 #ifdef HAVE_IEEEFP_H
58731 #include <ieeefp.h>
58732 #endif
58735 main ()
58737 qfpclass(0);
58739 return 0;
58741 _ACEOF
58742 if ac_fn_cxx_try_compile "$LINENO"; then :
58743 glibcxx_cv_func_qfpclass_use=yes
58744 else
58745 glibcxx_cv_func_qfpclass_use=no
58747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58748 ac_ext=c
58749 ac_cpp='$CPP $CPPFLAGS'
58750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58759 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58761 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58762 for ac_func in qfpclass
58763 do :
58764 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58765 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58766 cat >>confdefs.h <<_ACEOF
58767 #define HAVE_QFPCLASS 1
58768 _ACEOF
58771 done
58773 else
58775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58776 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58777 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58778 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58779 $as_echo_n "(cached) " >&6
58780 else
58783 ac_ext=cpp
58784 ac_cpp='$CXXCPP $CPPFLAGS'
58785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58790 /* end confdefs.h. */
58791 #include <math.h>
58792 #ifdef HAVE_IEEEFP_H
58793 #include <ieeefp.h>
58794 #endif
58797 main ()
58799 _qfpclass(0);
58801 return 0;
58803 _ACEOF
58804 if ac_fn_cxx_try_compile "$LINENO"; then :
58805 glibcxx_cv_func__qfpclass_use=yes
58806 else
58807 glibcxx_cv_func__qfpclass_use=no
58809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58810 ac_ext=c
58811 ac_cpp='$CPP $CPPFLAGS'
58812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58821 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58823 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58824 for ac_func in _qfpclass
58825 do :
58826 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58827 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58828 cat >>confdefs.h <<_ACEOF
58829 #define HAVE__QFPCLASS 1
58830 _ACEOF
58833 done
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58843 $as_echo_n "checking for hypot declaration... " >&6; }
58844 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58845 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58846 $as_echo_n "(cached) " >&6
58847 else
58850 ac_ext=cpp
58851 ac_cpp='$CXXCPP $CPPFLAGS'
58852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h. */
58858 #include <math.h>
58860 main ()
58862 hypot(0, 0);
58864 return 0;
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868 glibcxx_cv_func_hypot_use=yes
58869 else
58870 glibcxx_cv_func_hypot_use=no
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873 ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58884 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58886 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58887 for ac_func in hypot
58888 do :
58889 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58890 if test "x$ac_cv_func_hypot" = x""yes; then :
58891 cat >>confdefs.h <<_ACEOF
58892 #define HAVE_HYPOT 1
58893 _ACEOF
58896 done
58898 else
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58901 $as_echo_n "checking for _hypot declaration... " >&6; }
58902 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58903 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58904 $as_echo_n "(cached) " >&6
58905 else
58908 ac_ext=cpp
58909 ac_cpp='$CXXCPP $CPPFLAGS'
58910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58915 /* end confdefs.h. */
58916 #include <math.h>
58918 main ()
58920 _hypot(0, 0);
58922 return 0;
58924 _ACEOF
58925 if ac_fn_cxx_try_compile "$LINENO"; then :
58926 glibcxx_cv_func__hypot_use=yes
58927 else
58928 glibcxx_cv_func__hypot_use=no
58930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58931 ac_ext=c
58932 ac_cpp='$CPP $CPPFLAGS'
58933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58942 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58944 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58945 for ac_func in _hypot
58946 do :
58947 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58948 if test "x$ac_cv_func__hypot" = x""yes; then :
58949 cat >>confdefs.h <<_ACEOF
58950 #define HAVE__HYPOT 1
58951 _ACEOF
58954 done
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58964 $as_echo_n "checking for float trig functions... " >&6; }
58965 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58966 $as_echo_n "(cached) " >&6
58967 else
58970 ac_ext=cpp
58971 ac_cpp='$CXXCPP $CPPFLAGS'
58972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58977 /* end confdefs.h. */
58978 #include <math.h>
58980 main ()
58982 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58984 return 0;
58986 _ACEOF
58987 if ac_fn_cxx_try_compile "$LINENO"; then :
58988 glibcxx_cv_func_float_trig_use=yes
58989 else
58990 glibcxx_cv_func_float_trig_use=no
58992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58993 ac_ext=c
58994 ac_cpp='$CPP $CPPFLAGS'
58995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59002 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59003 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59004 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59005 do :
59006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59008 eval as_val=\$$as_ac_var
59009 if test "x$as_val" = x""yes; then :
59010 cat >>confdefs.h <<_ACEOF
59011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59012 _ACEOF
59015 done
59017 else
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59019 $as_echo_n "checking for _float trig functions... " >&6; }
59020 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59021 $as_echo_n "(cached) " >&6
59022 else
59025 ac_ext=cpp
59026 ac_cpp='$CXXCPP $CPPFLAGS'
59027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59032 /* end confdefs.h. */
59033 #include <math.h>
59035 main ()
59037 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59039 return 0;
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func__float_trig_use=yes
59044 else
59045 glibcxx_cv_func__float_trig_use=no
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59057 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59058 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59059 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59060 do :
59061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59063 eval as_val=\$$as_ac_var
59064 if test "x$as_val" = x""yes; then :
59065 cat >>confdefs.h <<_ACEOF
59066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59067 _ACEOF
59070 done
59079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59080 $as_echo_n "checking for float round functions... " >&6; }
59081 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59082 $as_echo_n "(cached) " >&6
59083 else
59086 ac_ext=cpp
59087 ac_cpp='$CXXCPP $CPPFLAGS'
59088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59093 /* end confdefs.h. */
59094 #include <math.h>
59096 main ()
59098 ceilf (0); floorf (0);
59100 return 0;
59102 _ACEOF
59103 if ac_fn_cxx_try_compile "$LINENO"; then :
59104 glibcxx_cv_func_float_round_use=yes
59105 else
59106 glibcxx_cv_func_float_round_use=no
59108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59109 ac_ext=c
59110 ac_cpp='$CPP $CPPFLAGS'
59111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59118 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59119 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59120 for ac_func in ceilf floorf
59121 do :
59122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59124 eval as_val=\$$as_ac_var
59125 if test "x$as_val" = x""yes; then :
59126 cat >>confdefs.h <<_ACEOF
59127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59128 _ACEOF
59131 done
59133 else
59134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59135 $as_echo_n "checking for _float round functions... " >&6; }
59136 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59137 $as_echo_n "(cached) " >&6
59138 else
59141 ac_ext=cpp
59142 ac_cpp='$CXXCPP $CPPFLAGS'
59143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59148 /* end confdefs.h. */
59149 #include <math.h>
59151 main ()
59153 _ceilf (0); _floorf (0);
59155 return 0;
59157 _ACEOF
59158 if ac_fn_cxx_try_compile "$LINENO"; then :
59159 glibcxx_cv_func__float_round_use=yes
59160 else
59161 glibcxx_cv_func__float_round_use=no
59163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59164 ac_ext=c
59165 ac_cpp='$CPP $CPPFLAGS'
59166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59173 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59174 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59175 for ac_func in _ceilf _floorf
59176 do :
59177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59179 eval as_val=\$$as_ac_var
59180 if test "x$as_val" = x""yes; then :
59181 cat >>confdefs.h <<_ACEOF
59182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59183 _ACEOF
59186 done
59196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59197 $as_echo_n "checking for expf declaration... " >&6; }
59198 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59199 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59200 $as_echo_n "(cached) " >&6
59201 else
59204 ac_ext=cpp
59205 ac_cpp='$CXXCPP $CPPFLAGS'
59206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59211 /* end confdefs.h. */
59212 #include <math.h>
59213 #ifdef HAVE_IEEEFP_H
59214 #include <ieeefp.h>
59215 #endif
59218 main ()
59220 expf(0);
59222 return 0;
59224 _ACEOF
59225 if ac_fn_cxx_try_compile "$LINENO"; then :
59226 glibcxx_cv_func_expf_use=yes
59227 else
59228 glibcxx_cv_func_expf_use=no
59230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59231 ac_ext=c
59232 ac_cpp='$CPP $CPPFLAGS'
59233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59242 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59244 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59245 for ac_func in expf
59246 do :
59247 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59248 if test "x$ac_cv_func_expf" = x""yes; then :
59249 cat >>confdefs.h <<_ACEOF
59250 #define HAVE_EXPF 1
59251 _ACEOF
59254 done
59256 else
59258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59259 $as_echo_n "checking for _expf declaration... " >&6; }
59260 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59261 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59262 $as_echo_n "(cached) " >&6
59263 else
59266 ac_ext=cpp
59267 ac_cpp='$CXXCPP $CPPFLAGS'
59268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59273 /* end confdefs.h. */
59274 #include <math.h>
59275 #ifdef HAVE_IEEEFP_H
59276 #include <ieeefp.h>
59277 #endif
59280 main ()
59282 _expf(0);
59284 return 0;
59286 _ACEOF
59287 if ac_fn_cxx_try_compile "$LINENO"; then :
59288 glibcxx_cv_func__expf_use=yes
59289 else
59290 glibcxx_cv_func__expf_use=no
59292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59293 ac_ext=c
59294 ac_cpp='$CPP $CPPFLAGS'
59295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59304 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59306 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59307 for ac_func in _expf
59308 do :
59309 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59310 if test "x$ac_cv_func__expf" = x""yes; then :
59311 cat >>confdefs.h <<_ACEOF
59312 #define HAVE__EXPF 1
59313 _ACEOF
59316 done
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59326 $as_echo_n "checking for isnanf declaration... " >&6; }
59327 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59328 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59342 #ifdef HAVE_IEEEFP_H
59343 #include <ieeefp.h>
59344 #endif
59347 main ()
59349 isnanf(0);
59351 return 0;
59353 _ACEOF
59354 if ac_fn_cxx_try_compile "$LINENO"; then :
59355 glibcxx_cv_func_isnanf_use=yes
59356 else
59357 glibcxx_cv_func_isnanf_use=no
59359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59360 ac_ext=c
59361 ac_cpp='$CPP $CPPFLAGS'
59362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59371 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59373 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59374 for ac_func in isnanf
59375 do :
59376 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59377 if test "x$ac_cv_func_isnanf" = x""yes; then :
59378 cat >>confdefs.h <<_ACEOF
59379 #define HAVE_ISNANF 1
59380 _ACEOF
59383 done
59385 else
59387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59388 $as_echo_n "checking for _isnanf declaration... " >&6; }
59389 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59390 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59391 $as_echo_n "(cached) " >&6
59392 else
59395 ac_ext=cpp
59396 ac_cpp='$CXXCPP $CPPFLAGS'
59397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59402 /* end confdefs.h. */
59403 #include <math.h>
59404 #ifdef HAVE_IEEEFP_H
59405 #include <ieeefp.h>
59406 #endif
59409 main ()
59411 _isnanf(0);
59413 return 0;
59415 _ACEOF
59416 if ac_fn_cxx_try_compile "$LINENO"; then :
59417 glibcxx_cv_func__isnanf_use=yes
59418 else
59419 glibcxx_cv_func__isnanf_use=no
59421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59422 ac_ext=c
59423 ac_cpp='$CPP $CPPFLAGS'
59424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59433 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59435 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59436 for ac_func in _isnanf
59437 do :
59438 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59439 if test "x$ac_cv_func__isnanf" = x""yes; then :
59440 cat >>confdefs.h <<_ACEOF
59441 #define HAVE__ISNANF 1
59442 _ACEOF
59445 done
59454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59455 $as_echo_n "checking for isinff declaration... " >&6; }
59456 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59457 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59458 $as_echo_n "(cached) " >&6
59459 else
59462 ac_ext=cpp
59463 ac_cpp='$CXXCPP $CPPFLAGS'
59464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59469 /* end confdefs.h. */
59470 #include <math.h>
59471 #ifdef HAVE_IEEEFP_H
59472 #include <ieeefp.h>
59473 #endif
59476 main ()
59478 isinff(0);
59480 return 0;
59482 _ACEOF
59483 if ac_fn_cxx_try_compile "$LINENO"; then :
59484 glibcxx_cv_func_isinff_use=yes
59485 else
59486 glibcxx_cv_func_isinff_use=no
59488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59489 ac_ext=c
59490 ac_cpp='$CPP $CPPFLAGS'
59491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59500 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59502 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59503 for ac_func in isinff
59504 do :
59505 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59506 if test "x$ac_cv_func_isinff" = x""yes; then :
59507 cat >>confdefs.h <<_ACEOF
59508 #define HAVE_ISINFF 1
59509 _ACEOF
59512 done
59514 else
59516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59517 $as_echo_n "checking for _isinff declaration... " >&6; }
59518 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59519 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59520 $as_echo_n "(cached) " >&6
59521 else
59524 ac_ext=cpp
59525 ac_cpp='$CXXCPP $CPPFLAGS'
59526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59531 /* end confdefs.h. */
59532 #include <math.h>
59533 #ifdef HAVE_IEEEFP_H
59534 #include <ieeefp.h>
59535 #endif
59538 main ()
59540 _isinff(0);
59542 return 0;
59544 _ACEOF
59545 if ac_fn_cxx_try_compile "$LINENO"; then :
59546 glibcxx_cv_func__isinff_use=yes
59547 else
59548 glibcxx_cv_func__isinff_use=no
59550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59551 ac_ext=c
59552 ac_cpp='$CPP $CPPFLAGS'
59553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59562 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59564 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59565 for ac_func in _isinff
59566 do :
59567 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59568 if test "x$ac_cv_func__isinff" = x""yes; then :
59569 cat >>confdefs.h <<_ACEOF
59570 #define HAVE__ISINFF 1
59571 _ACEOF
59574 done
59583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59584 $as_echo_n "checking for atan2f declaration... " >&6; }
59585 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59586 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59587 $as_echo_n "(cached) " >&6
59588 else
59591 ac_ext=cpp
59592 ac_cpp='$CXXCPP $CPPFLAGS'
59593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h. */
59599 #include <math.h>
59601 main ()
59603 atan2f(0, 0);
59605 return 0;
59607 _ACEOF
59608 if ac_fn_cxx_try_compile "$LINENO"; then :
59609 glibcxx_cv_func_atan2f_use=yes
59610 else
59611 glibcxx_cv_func_atan2f_use=no
59613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59614 ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59625 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59627 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59628 for ac_func in atan2f
59629 do :
59630 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59631 if test "x$ac_cv_func_atan2f" = x""yes; then :
59632 cat >>confdefs.h <<_ACEOF
59633 #define HAVE_ATAN2F 1
59634 _ACEOF
59637 done
59639 else
59641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59642 $as_echo_n "checking for _atan2f declaration... " >&6; }
59643 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59644 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59645 $as_echo_n "(cached) " >&6
59646 else
59649 ac_ext=cpp
59650 ac_cpp='$CXXCPP $CPPFLAGS'
59651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59656 /* end confdefs.h. */
59657 #include <math.h>
59659 main ()
59661 _atan2f(0, 0);
59663 return 0;
59665 _ACEOF
59666 if ac_fn_cxx_try_compile "$LINENO"; then :
59667 glibcxx_cv_func__atan2f_use=yes
59668 else
59669 glibcxx_cv_func__atan2f_use=no
59671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59672 ac_ext=c
59673 ac_cpp='$CPP $CPPFLAGS'
59674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59683 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59685 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59686 for ac_func in _atan2f
59687 do :
59688 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59689 if test "x$ac_cv_func__atan2f" = x""yes; then :
59690 cat >>confdefs.h <<_ACEOF
59691 #define HAVE__ATAN2F 1
59692 _ACEOF
59695 done
59704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59705 $as_echo_n "checking for fabsf declaration... " >&6; }
59706 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59707 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59708 $as_echo_n "(cached) " >&6
59709 else
59712 ac_ext=cpp
59713 ac_cpp='$CXXCPP $CPPFLAGS'
59714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59719 /* end confdefs.h. */
59720 #include <math.h>
59721 #ifdef HAVE_IEEEFP_H
59722 #include <ieeefp.h>
59723 #endif
59726 main ()
59728 fabsf(0);
59730 return 0;
59732 _ACEOF
59733 if ac_fn_cxx_try_compile "$LINENO"; then :
59734 glibcxx_cv_func_fabsf_use=yes
59735 else
59736 glibcxx_cv_func_fabsf_use=no
59738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59739 ac_ext=c
59740 ac_cpp='$CPP $CPPFLAGS'
59741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59750 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59752 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59753 for ac_func in fabsf
59754 do :
59755 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59756 if test "x$ac_cv_func_fabsf" = x""yes; then :
59757 cat >>confdefs.h <<_ACEOF
59758 #define HAVE_FABSF 1
59759 _ACEOF
59762 done
59764 else
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59767 $as_echo_n "checking for _fabsf declaration... " >&6; }
59768 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59769 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59770 $as_echo_n "(cached) " >&6
59771 else
59774 ac_ext=cpp
59775 ac_cpp='$CXXCPP $CPPFLAGS'
59776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59781 /* end confdefs.h. */
59782 #include <math.h>
59783 #ifdef HAVE_IEEEFP_H
59784 #include <ieeefp.h>
59785 #endif
59788 main ()
59790 _fabsf(0);
59792 return 0;
59794 _ACEOF
59795 if ac_fn_cxx_try_compile "$LINENO"; then :
59796 glibcxx_cv_func__fabsf_use=yes
59797 else
59798 glibcxx_cv_func__fabsf_use=no
59800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59801 ac_ext=c
59802 ac_cpp='$CPP $CPPFLAGS'
59803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59812 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59814 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59815 for ac_func in _fabsf
59816 do :
59817 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59818 if test "x$ac_cv_func__fabsf" = x""yes; then :
59819 cat >>confdefs.h <<_ACEOF
59820 #define HAVE__FABSF 1
59821 _ACEOF
59824 done
59833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59834 $as_echo_n "checking for fmodf declaration... " >&6; }
59835 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59836 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59837 $as_echo_n "(cached) " >&6
59838 else
59841 ac_ext=cpp
59842 ac_cpp='$CXXCPP $CPPFLAGS'
59843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59848 /* end confdefs.h. */
59849 #include <math.h>
59851 main ()
59853 fmodf(0, 0);
59855 return 0;
59857 _ACEOF
59858 if ac_fn_cxx_try_compile "$LINENO"; then :
59859 glibcxx_cv_func_fmodf_use=yes
59860 else
59861 glibcxx_cv_func_fmodf_use=no
59863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59864 ac_ext=c
59865 ac_cpp='$CPP $CPPFLAGS'
59866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59875 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59877 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59878 for ac_func in fmodf
59879 do :
59880 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59881 if test "x$ac_cv_func_fmodf" = x""yes; then :
59882 cat >>confdefs.h <<_ACEOF
59883 #define HAVE_FMODF 1
59884 _ACEOF
59887 done
59889 else
59891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59892 $as_echo_n "checking for _fmodf declaration... " >&6; }
59893 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59894 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59895 $as_echo_n "(cached) " >&6
59896 else
59899 ac_ext=cpp
59900 ac_cpp='$CXXCPP $CPPFLAGS'
59901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59906 /* end confdefs.h. */
59907 #include <math.h>
59909 main ()
59911 _fmodf(0, 0);
59913 return 0;
59915 _ACEOF
59916 if ac_fn_cxx_try_compile "$LINENO"; then :
59917 glibcxx_cv_func__fmodf_use=yes
59918 else
59919 glibcxx_cv_func__fmodf_use=no
59921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59922 ac_ext=c
59923 ac_cpp='$CPP $CPPFLAGS'
59924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59933 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59935 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59936 for ac_func in _fmodf
59937 do :
59938 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59939 if test "x$ac_cv_func__fmodf" = x""yes; then :
59940 cat >>confdefs.h <<_ACEOF
59941 #define HAVE__FMODF 1
59942 _ACEOF
59945 done
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59955 $as_echo_n "checking for frexpf declaration... " >&6; }
59956 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59957 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59958 $as_echo_n "(cached) " >&6
59959 else
59962 ac_ext=cpp
59963 ac_cpp='$CXXCPP $CPPFLAGS'
59964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59969 /* end confdefs.h. */
59970 #include <math.h>
59972 main ()
59974 frexpf(0, 0);
59976 return 0;
59978 _ACEOF
59979 if ac_fn_cxx_try_compile "$LINENO"; then :
59980 glibcxx_cv_func_frexpf_use=yes
59981 else
59982 glibcxx_cv_func_frexpf_use=no
59984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59985 ac_ext=c
59986 ac_cpp='$CPP $CPPFLAGS'
59987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59996 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59998 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59999 for ac_func in frexpf
60000 do :
60001 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60002 if test "x$ac_cv_func_frexpf" = x""yes; then :
60003 cat >>confdefs.h <<_ACEOF
60004 #define HAVE_FREXPF 1
60005 _ACEOF
60008 done
60010 else
60012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60013 $as_echo_n "checking for _frexpf declaration... " >&6; }
60014 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60015 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60016 $as_echo_n "(cached) " >&6
60017 else
60020 ac_ext=cpp
60021 ac_cpp='$CXXCPP $CPPFLAGS'
60022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60027 /* end confdefs.h. */
60028 #include <math.h>
60030 main ()
60032 _frexpf(0, 0);
60034 return 0;
60036 _ACEOF
60037 if ac_fn_cxx_try_compile "$LINENO"; then :
60038 glibcxx_cv_func__frexpf_use=yes
60039 else
60040 glibcxx_cv_func__frexpf_use=no
60042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60043 ac_ext=c
60044 ac_cpp='$CPP $CPPFLAGS'
60045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60054 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60056 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60057 for ac_func in _frexpf
60058 do :
60059 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60060 if test "x$ac_cv_func__frexpf" = x""yes; then :
60061 cat >>confdefs.h <<_ACEOF
60062 #define HAVE__FREXPF 1
60063 _ACEOF
60066 done
60075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60076 $as_echo_n "checking for hypotf declaration... " >&6; }
60077 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60078 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60079 $as_echo_n "(cached) " >&6
60080 else
60083 ac_ext=cpp
60084 ac_cpp='$CXXCPP $CPPFLAGS'
60085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60090 /* end confdefs.h. */
60091 #include <math.h>
60093 main ()
60095 hypotf(0, 0);
60097 return 0;
60099 _ACEOF
60100 if ac_fn_cxx_try_compile "$LINENO"; then :
60101 glibcxx_cv_func_hypotf_use=yes
60102 else
60103 glibcxx_cv_func_hypotf_use=no
60105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60106 ac_ext=c
60107 ac_cpp='$CPP $CPPFLAGS'
60108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60117 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60119 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60120 for ac_func in hypotf
60121 do :
60122 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60123 if test "x$ac_cv_func_hypotf" = x""yes; then :
60124 cat >>confdefs.h <<_ACEOF
60125 #define HAVE_HYPOTF 1
60126 _ACEOF
60129 done
60131 else
60133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60134 $as_echo_n "checking for _hypotf declaration... " >&6; }
60135 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60136 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60137 $as_echo_n "(cached) " >&6
60138 else
60141 ac_ext=cpp
60142 ac_cpp='$CXXCPP $CPPFLAGS'
60143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60148 /* end confdefs.h. */
60149 #include <math.h>
60151 main ()
60153 _hypotf(0, 0);
60155 return 0;
60157 _ACEOF
60158 if ac_fn_cxx_try_compile "$LINENO"; then :
60159 glibcxx_cv_func__hypotf_use=yes
60160 else
60161 glibcxx_cv_func__hypotf_use=no
60163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60164 ac_ext=c
60165 ac_cpp='$CPP $CPPFLAGS'
60166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60175 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60177 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60178 for ac_func in _hypotf
60179 do :
60180 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60181 if test "x$ac_cv_func__hypotf" = x""yes; then :
60182 cat >>confdefs.h <<_ACEOF
60183 #define HAVE__HYPOTF 1
60184 _ACEOF
60187 done
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60197 $as_echo_n "checking for ldexpf declaration... " >&6; }
60198 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60199 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60200 $as_echo_n "(cached) " >&6
60201 else
60204 ac_ext=cpp
60205 ac_cpp='$CXXCPP $CPPFLAGS'
60206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60211 /* end confdefs.h. */
60212 #include <math.h>
60214 main ()
60216 ldexpf(0, 0);
60218 return 0;
60220 _ACEOF
60221 if ac_fn_cxx_try_compile "$LINENO"; then :
60222 glibcxx_cv_func_ldexpf_use=yes
60223 else
60224 glibcxx_cv_func_ldexpf_use=no
60226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60227 ac_ext=c
60228 ac_cpp='$CPP $CPPFLAGS'
60229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60238 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60240 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60241 for ac_func in ldexpf
60242 do :
60243 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60244 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60245 cat >>confdefs.h <<_ACEOF
60246 #define HAVE_LDEXPF 1
60247 _ACEOF
60250 done
60252 else
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60255 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60256 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60257 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60258 $as_echo_n "(cached) " >&6
60259 else
60262 ac_ext=cpp
60263 ac_cpp='$CXXCPP $CPPFLAGS'
60264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60269 /* end confdefs.h. */
60270 #include <math.h>
60272 main ()
60274 _ldexpf(0, 0);
60276 return 0;
60278 _ACEOF
60279 if ac_fn_cxx_try_compile "$LINENO"; then :
60280 glibcxx_cv_func__ldexpf_use=yes
60281 else
60282 glibcxx_cv_func__ldexpf_use=no
60284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60285 ac_ext=c
60286 ac_cpp='$CPP $CPPFLAGS'
60287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60296 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60298 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60299 for ac_func in _ldexpf
60300 do :
60301 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60302 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60303 cat >>confdefs.h <<_ACEOF
60304 #define HAVE__LDEXPF 1
60305 _ACEOF
60308 done
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60318 $as_echo_n "checking for logf declaration... " >&6; }
60319 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60320 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60321 $as_echo_n "(cached) " >&6
60322 else
60325 ac_ext=cpp
60326 ac_cpp='$CXXCPP $CPPFLAGS'
60327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60332 /* end confdefs.h. */
60333 #include <math.h>
60334 #ifdef HAVE_IEEEFP_H
60335 #include <ieeefp.h>
60336 #endif
60339 main ()
60341 logf(0);
60343 return 0;
60345 _ACEOF
60346 if ac_fn_cxx_try_compile "$LINENO"; then :
60347 glibcxx_cv_func_logf_use=yes
60348 else
60349 glibcxx_cv_func_logf_use=no
60351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60352 ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60363 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60365 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60366 for ac_func in logf
60367 do :
60368 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60369 if test "x$ac_cv_func_logf" = x""yes; then :
60370 cat >>confdefs.h <<_ACEOF
60371 #define HAVE_LOGF 1
60372 _ACEOF
60375 done
60377 else
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60380 $as_echo_n "checking for _logf declaration... " >&6; }
60381 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60382 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60383 $as_echo_n "(cached) " >&6
60384 else
60387 ac_ext=cpp
60388 ac_cpp='$CXXCPP $CPPFLAGS'
60389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60394 /* end confdefs.h. */
60395 #include <math.h>
60396 #ifdef HAVE_IEEEFP_H
60397 #include <ieeefp.h>
60398 #endif
60401 main ()
60403 _logf(0);
60405 return 0;
60407 _ACEOF
60408 if ac_fn_cxx_try_compile "$LINENO"; then :
60409 glibcxx_cv_func__logf_use=yes
60410 else
60411 glibcxx_cv_func__logf_use=no
60413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60414 ac_ext=c
60415 ac_cpp='$CPP $CPPFLAGS'
60416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60425 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60427 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60428 for ac_func in _logf
60429 do :
60430 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60431 if test "x$ac_cv_func__logf" = x""yes; then :
60432 cat >>confdefs.h <<_ACEOF
60433 #define HAVE__LOGF 1
60434 _ACEOF
60437 done
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60447 $as_echo_n "checking for log10f declaration... " >&6; }
60448 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60449 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60450 $as_echo_n "(cached) " >&6
60451 else
60454 ac_ext=cpp
60455 ac_cpp='$CXXCPP $CPPFLAGS'
60456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60461 /* end confdefs.h. */
60462 #include <math.h>
60463 #ifdef HAVE_IEEEFP_H
60464 #include <ieeefp.h>
60465 #endif
60468 main ()
60470 log10f(0);
60472 return 0;
60474 _ACEOF
60475 if ac_fn_cxx_try_compile "$LINENO"; then :
60476 glibcxx_cv_func_log10f_use=yes
60477 else
60478 glibcxx_cv_func_log10f_use=no
60480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60481 ac_ext=c
60482 ac_cpp='$CPP $CPPFLAGS'
60483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60492 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60494 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60495 for ac_func in log10f
60496 do :
60497 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60498 if test "x$ac_cv_func_log10f" = x""yes; then :
60499 cat >>confdefs.h <<_ACEOF
60500 #define HAVE_LOG10F 1
60501 _ACEOF
60504 done
60506 else
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60509 $as_echo_n "checking for _log10f declaration... " >&6; }
60510 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60511 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60512 $as_echo_n "(cached) " >&6
60513 else
60516 ac_ext=cpp
60517 ac_cpp='$CXXCPP $CPPFLAGS'
60518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60523 /* end confdefs.h. */
60524 #include <math.h>
60525 #ifdef HAVE_IEEEFP_H
60526 #include <ieeefp.h>
60527 #endif
60530 main ()
60532 _log10f(0);
60534 return 0;
60536 _ACEOF
60537 if ac_fn_cxx_try_compile "$LINENO"; then :
60538 glibcxx_cv_func__log10f_use=yes
60539 else
60540 glibcxx_cv_func__log10f_use=no
60542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60543 ac_ext=c
60544 ac_cpp='$CPP $CPPFLAGS'
60545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60554 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60556 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60557 for ac_func in _log10f
60558 do :
60559 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60560 if test "x$ac_cv_func__log10f" = x""yes; then :
60561 cat >>confdefs.h <<_ACEOF
60562 #define HAVE__LOG10F 1
60563 _ACEOF
60566 done
60575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60576 $as_echo_n "checking for modff declaration... " >&6; }
60577 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60578 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60579 $as_echo_n "(cached) " >&6
60580 else
60583 ac_ext=cpp
60584 ac_cpp='$CXXCPP $CPPFLAGS'
60585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60590 /* end confdefs.h. */
60591 #include <math.h>
60593 main ()
60595 modff(0, 0);
60597 return 0;
60599 _ACEOF
60600 if ac_fn_cxx_try_compile "$LINENO"; then :
60601 glibcxx_cv_func_modff_use=yes
60602 else
60603 glibcxx_cv_func_modff_use=no
60605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60606 ac_ext=c
60607 ac_cpp='$CPP $CPPFLAGS'
60608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60617 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60619 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60620 for ac_func in modff
60621 do :
60622 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60623 if test "x$ac_cv_func_modff" = x""yes; then :
60624 cat >>confdefs.h <<_ACEOF
60625 #define HAVE_MODFF 1
60626 _ACEOF
60629 done
60631 else
60633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60634 $as_echo_n "checking for _modff declaration... " >&6; }
60635 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60636 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60637 $as_echo_n "(cached) " >&6
60638 else
60641 ac_ext=cpp
60642 ac_cpp='$CXXCPP $CPPFLAGS'
60643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60648 /* end confdefs.h. */
60649 #include <math.h>
60651 main ()
60653 _modff(0, 0);
60655 return 0;
60657 _ACEOF
60658 if ac_fn_cxx_try_compile "$LINENO"; then :
60659 glibcxx_cv_func__modff_use=yes
60660 else
60661 glibcxx_cv_func__modff_use=no
60663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60664 ac_ext=c
60665 ac_cpp='$CPP $CPPFLAGS'
60666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60675 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60677 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60678 for ac_func in _modff
60679 do :
60680 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60681 if test "x$ac_cv_func__modff" = x""yes; then :
60682 cat >>confdefs.h <<_ACEOF
60683 #define HAVE__MODFF 1
60684 _ACEOF
60687 done
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60697 $as_echo_n "checking for modf declaration... " >&6; }
60698 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60699 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60700 $as_echo_n "(cached) " >&6
60701 else
60704 ac_ext=cpp
60705 ac_cpp='$CXXCPP $CPPFLAGS'
60706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60711 /* end confdefs.h. */
60712 #include <math.h>
60714 main ()
60716 modf(0, 0);
60718 return 0;
60720 _ACEOF
60721 if ac_fn_cxx_try_compile "$LINENO"; then :
60722 glibcxx_cv_func_modf_use=yes
60723 else
60724 glibcxx_cv_func_modf_use=no
60726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60727 ac_ext=c
60728 ac_cpp='$CPP $CPPFLAGS'
60729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60738 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60740 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60741 for ac_func in modf
60742 do :
60743 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60744 if test "x$ac_cv_func_modf" = x""yes; then :
60745 cat >>confdefs.h <<_ACEOF
60746 #define HAVE_MODF 1
60747 _ACEOF
60750 done
60752 else
60754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60755 $as_echo_n "checking for _modf declaration... " >&6; }
60756 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60757 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60758 $as_echo_n "(cached) " >&6
60759 else
60762 ac_ext=cpp
60763 ac_cpp='$CXXCPP $CPPFLAGS'
60764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60769 /* end confdefs.h. */
60770 #include <math.h>
60772 main ()
60774 _modf(0, 0);
60776 return 0;
60778 _ACEOF
60779 if ac_fn_cxx_try_compile "$LINENO"; then :
60780 glibcxx_cv_func__modf_use=yes
60781 else
60782 glibcxx_cv_func__modf_use=no
60784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60785 ac_ext=c
60786 ac_cpp='$CPP $CPPFLAGS'
60787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60796 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60798 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60799 for ac_func in _modf
60800 do :
60801 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60802 if test "x$ac_cv_func__modf" = x""yes; then :
60803 cat >>confdefs.h <<_ACEOF
60804 #define HAVE__MODF 1
60805 _ACEOF
60808 done
60817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60818 $as_echo_n "checking for powf declaration... " >&6; }
60819 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60820 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60821 $as_echo_n "(cached) " >&6
60822 else
60825 ac_ext=cpp
60826 ac_cpp='$CXXCPP $CPPFLAGS'
60827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60832 /* end confdefs.h. */
60833 #include <math.h>
60835 main ()
60837 powf(0, 0);
60839 return 0;
60841 _ACEOF
60842 if ac_fn_cxx_try_compile "$LINENO"; then :
60843 glibcxx_cv_func_powf_use=yes
60844 else
60845 glibcxx_cv_func_powf_use=no
60847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60848 ac_ext=c
60849 ac_cpp='$CPP $CPPFLAGS'
60850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60859 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60861 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60862 for ac_func in powf
60863 do :
60864 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60865 if test "x$ac_cv_func_powf" = x""yes; then :
60866 cat >>confdefs.h <<_ACEOF
60867 #define HAVE_POWF 1
60868 _ACEOF
60871 done
60873 else
60875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60876 $as_echo_n "checking for _powf declaration... " >&6; }
60877 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60878 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60879 $as_echo_n "(cached) " >&6
60880 else
60883 ac_ext=cpp
60884 ac_cpp='$CXXCPP $CPPFLAGS'
60885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60890 /* end confdefs.h. */
60891 #include <math.h>
60893 main ()
60895 _powf(0, 0);
60897 return 0;
60899 _ACEOF
60900 if ac_fn_cxx_try_compile "$LINENO"; then :
60901 glibcxx_cv_func__powf_use=yes
60902 else
60903 glibcxx_cv_func__powf_use=no
60905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60906 ac_ext=c
60907 ac_cpp='$CPP $CPPFLAGS'
60908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60917 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60919 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60920 for ac_func in _powf
60921 do :
60922 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60923 if test "x$ac_cv_func__powf" = x""yes; then :
60924 cat >>confdefs.h <<_ACEOF
60925 #define HAVE__POWF 1
60926 _ACEOF
60929 done
60938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60939 $as_echo_n "checking for sqrtf declaration... " >&6; }
60940 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60941 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60942 $as_echo_n "(cached) " >&6
60943 else
60946 ac_ext=cpp
60947 ac_cpp='$CXXCPP $CPPFLAGS'
60948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60953 /* end confdefs.h. */
60954 #include <math.h>
60955 #ifdef HAVE_IEEEFP_H
60956 #include <ieeefp.h>
60957 #endif
60960 main ()
60962 sqrtf(0);
60964 return 0;
60966 _ACEOF
60967 if ac_fn_cxx_try_compile "$LINENO"; then :
60968 glibcxx_cv_func_sqrtf_use=yes
60969 else
60970 glibcxx_cv_func_sqrtf_use=no
60972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60973 ac_ext=c
60974 ac_cpp='$CPP $CPPFLAGS'
60975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60984 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60986 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60987 for ac_func in sqrtf
60988 do :
60989 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60990 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60991 cat >>confdefs.h <<_ACEOF
60992 #define HAVE_SQRTF 1
60993 _ACEOF
60996 done
60998 else
61000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61001 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61002 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61003 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61004 $as_echo_n "(cached) " >&6
61005 else
61008 ac_ext=cpp
61009 ac_cpp='$CXXCPP $CPPFLAGS'
61010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61015 /* end confdefs.h. */
61016 #include <math.h>
61017 #ifdef HAVE_IEEEFP_H
61018 #include <ieeefp.h>
61019 #endif
61022 main ()
61024 _sqrtf(0);
61026 return 0;
61028 _ACEOF
61029 if ac_fn_cxx_try_compile "$LINENO"; then :
61030 glibcxx_cv_func__sqrtf_use=yes
61031 else
61032 glibcxx_cv_func__sqrtf_use=no
61034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61035 ac_ext=c
61036 ac_cpp='$CPP $CPPFLAGS'
61037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61046 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61048 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61049 for ac_func in _sqrtf
61050 do :
61051 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61052 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61053 cat >>confdefs.h <<_ACEOF
61054 #define HAVE__SQRTF 1
61055 _ACEOF
61058 done
61067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61068 $as_echo_n "checking for sincosf declaration... " >&6; }
61069 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61070 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61071 $as_echo_n "(cached) " >&6
61072 else
61075 ac_ext=cpp
61076 ac_cpp='$CXXCPP $CPPFLAGS'
61077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61082 /* end confdefs.h. */
61083 #include <math.h>
61085 main ()
61087 sincosf(0, 0, 0);
61089 return 0;
61091 _ACEOF
61092 if ac_fn_cxx_try_compile "$LINENO"; then :
61093 glibcxx_cv_func_sincosf_use=yes
61094 else
61095 glibcxx_cv_func_sincosf_use=no
61097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61098 ac_ext=c
61099 ac_cpp='$CPP $CPPFLAGS'
61100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61109 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61111 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61112 for ac_func in sincosf
61113 do :
61114 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61115 if test "x$ac_cv_func_sincosf" = x""yes; then :
61116 cat >>confdefs.h <<_ACEOF
61117 #define HAVE_SINCOSF 1
61118 _ACEOF
61121 done
61123 else
61125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61126 $as_echo_n "checking for _sincosf declaration... " >&6; }
61127 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61128 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61129 $as_echo_n "(cached) " >&6
61130 else
61133 ac_ext=cpp
61134 ac_cpp='$CXXCPP $CPPFLAGS'
61135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61140 /* end confdefs.h. */
61141 #include <math.h>
61143 main ()
61145 _sincosf(0, 0, 0);
61147 return 0;
61149 _ACEOF
61150 if ac_fn_cxx_try_compile "$LINENO"; then :
61151 glibcxx_cv_func__sincosf_use=yes
61152 else
61153 glibcxx_cv_func__sincosf_use=no
61155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61156 ac_ext=c
61157 ac_cpp='$CPP $CPPFLAGS'
61158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61167 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61169 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61170 for ac_func in _sincosf
61171 do :
61172 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61173 if test "x$ac_cv_func__sincosf" = x""yes; then :
61174 cat >>confdefs.h <<_ACEOF
61175 #define HAVE__SINCOSF 1
61176 _ACEOF
61179 done
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61189 $as_echo_n "checking for finitef declaration... " >&6; }
61190 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61191 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61192 $as_echo_n "(cached) " >&6
61193 else
61196 ac_ext=cpp
61197 ac_cpp='$CXXCPP $CPPFLAGS'
61198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61203 /* end confdefs.h. */
61204 #include <math.h>
61205 #ifdef HAVE_IEEEFP_H
61206 #include <ieeefp.h>
61207 #endif
61210 main ()
61212 finitef(0);
61214 return 0;
61216 _ACEOF
61217 if ac_fn_cxx_try_compile "$LINENO"; then :
61218 glibcxx_cv_func_finitef_use=yes
61219 else
61220 glibcxx_cv_func_finitef_use=no
61222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61223 ac_ext=c
61224 ac_cpp='$CPP $CPPFLAGS'
61225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61234 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61236 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61237 for ac_func in finitef
61238 do :
61239 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61240 if test "x$ac_cv_func_finitef" = x""yes; then :
61241 cat >>confdefs.h <<_ACEOF
61242 #define HAVE_FINITEF 1
61243 _ACEOF
61246 done
61248 else
61250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61251 $as_echo_n "checking for _finitef declaration... " >&6; }
61252 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61253 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61254 $as_echo_n "(cached) " >&6
61255 else
61258 ac_ext=cpp
61259 ac_cpp='$CXXCPP $CPPFLAGS'
61260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61265 /* end confdefs.h. */
61266 #include <math.h>
61267 #ifdef HAVE_IEEEFP_H
61268 #include <ieeefp.h>
61269 #endif
61272 main ()
61274 _finitef(0);
61276 return 0;
61278 _ACEOF
61279 if ac_fn_cxx_try_compile "$LINENO"; then :
61280 glibcxx_cv_func__finitef_use=yes
61281 else
61282 glibcxx_cv_func__finitef_use=no
61284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61285 ac_ext=c
61286 ac_cpp='$CPP $CPPFLAGS'
61287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61296 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61298 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61299 for ac_func in _finitef
61300 do :
61301 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61302 if test "x$ac_cv_func__finitef" = x""yes; then :
61303 cat >>confdefs.h <<_ACEOF
61304 #define HAVE__FINITEF 1
61305 _ACEOF
61308 done
61317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61318 $as_echo_n "checking for long double trig functions... " >&6; }
61319 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61320 $as_echo_n "(cached) " >&6
61321 else
61324 ac_ext=cpp
61325 ac_cpp='$CXXCPP $CPPFLAGS'
61326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61331 /* end confdefs.h. */
61332 #include <math.h>
61334 main ()
61336 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61338 return 0;
61340 _ACEOF
61341 if ac_fn_cxx_try_compile "$LINENO"; then :
61342 glibcxx_cv_func_long_double_trig_use=yes
61343 else
61344 glibcxx_cv_func_long_double_trig_use=no
61346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61347 ac_ext=c
61348 ac_cpp='$CPP $CPPFLAGS'
61349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61356 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61357 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61358 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61359 do :
61360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61362 eval as_val=\$$as_ac_var
61363 if test "x$as_val" = x""yes; then :
61364 cat >>confdefs.h <<_ACEOF
61365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61366 _ACEOF
61369 done
61371 else
61372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61373 $as_echo_n "checking for _long double trig functions... " >&6; }
61374 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61375 $as_echo_n "(cached) " >&6
61376 else
61379 ac_ext=cpp
61380 ac_cpp='$CXXCPP $CPPFLAGS'
61381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61386 /* end confdefs.h. */
61387 #include <math.h>
61389 main ()
61391 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61393 return 0;
61395 _ACEOF
61396 if ac_fn_cxx_try_compile "$LINENO"; then :
61397 glibcxx_cv_func__long_double_trig_use=yes
61398 else
61399 glibcxx_cv_func__long_double_trig_use=no
61401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61402 ac_ext=c
61403 ac_cpp='$CPP $CPPFLAGS'
61404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61411 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61412 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61413 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61414 do :
61415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61417 eval as_val=\$$as_ac_var
61418 if test "x$as_val" = x""yes; then :
61419 cat >>confdefs.h <<_ACEOF
61420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61421 _ACEOF
61424 done
61433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61434 $as_echo_n "checking for long double round functions... " >&6; }
61435 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61436 $as_echo_n "(cached) " >&6
61437 else
61440 ac_ext=cpp
61441 ac_cpp='$CXXCPP $CPPFLAGS'
61442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61447 /* end confdefs.h. */
61448 #include <math.h>
61450 main ()
61452 ceill (0); floorl (0);
61454 return 0;
61456 _ACEOF
61457 if ac_fn_cxx_try_compile "$LINENO"; then :
61458 glibcxx_cv_func_long_double_round_use=yes
61459 else
61460 glibcxx_cv_func_long_double_round_use=no
61462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61463 ac_ext=c
61464 ac_cpp='$CPP $CPPFLAGS'
61465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61472 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61473 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61474 for ac_func in ceill floorl
61475 do :
61476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61478 eval as_val=\$$as_ac_var
61479 if test "x$as_val" = x""yes; then :
61480 cat >>confdefs.h <<_ACEOF
61481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61482 _ACEOF
61485 done
61487 else
61488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61489 $as_echo_n "checking for _long double round functions... " >&6; }
61490 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61491 $as_echo_n "(cached) " >&6
61492 else
61495 ac_ext=cpp
61496 ac_cpp='$CXXCPP $CPPFLAGS'
61497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61502 /* end confdefs.h. */
61503 #include <math.h>
61505 main ()
61507 _ceill (0); _floorl (0);
61509 return 0;
61511 _ACEOF
61512 if ac_fn_cxx_try_compile "$LINENO"; then :
61513 glibcxx_cv_func__long_double_round_use=yes
61514 else
61515 glibcxx_cv_func__long_double_round_use=no
61517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61518 ac_ext=c
61519 ac_cpp='$CPP $CPPFLAGS'
61520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61527 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61528 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61529 for ac_func in _ceill _floorl
61530 do :
61531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61533 eval as_val=\$$as_ac_var
61534 if test "x$as_val" = x""yes; then :
61535 cat >>confdefs.h <<_ACEOF
61536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61537 _ACEOF
61540 done
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61551 $as_echo_n "checking for isnanl declaration... " >&6; }
61552 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61553 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61572 main ()
61574 isnanl(0);
61576 return 0;
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func_isnanl_use=yes
61581 else
61582 glibcxx_cv_func_isnanl_use=no
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61596 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61598 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61599 for ac_func in isnanl
61600 do :
61601 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61602 if test "x$ac_cv_func_isnanl" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE_ISNANL 1
61605 _ACEOF
61608 done
61610 else
61612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61613 $as_echo_n "checking for _isnanl declaration... " >&6; }
61614 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61615 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 #ifdef HAVE_IEEEFP_H
61630 #include <ieeefp.h>
61631 #endif
61634 main ()
61636 _isnanl(0);
61638 return 0;
61640 _ACEOF
61641 if ac_fn_cxx_try_compile "$LINENO"; then :
61642 glibcxx_cv_func__isnanl_use=yes
61643 else
61644 glibcxx_cv_func__isnanl_use=no
61646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647 ac_ext=c
61648 ac_cpp='$CPP $CPPFLAGS'
61649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61658 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61660 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61661 for ac_func in _isnanl
61662 do :
61663 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61664 if test "x$ac_cv_func__isnanl" = x""yes; then :
61665 cat >>confdefs.h <<_ACEOF
61666 #define HAVE__ISNANL 1
61667 _ACEOF
61670 done
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61680 $as_echo_n "checking for isinfl declaration... " >&6; }
61681 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61682 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61696 #ifdef HAVE_IEEEFP_H
61697 #include <ieeefp.h>
61698 #endif
61701 main ()
61703 isinfl(0);
61705 return 0;
61707 _ACEOF
61708 if ac_fn_cxx_try_compile "$LINENO"; then :
61709 glibcxx_cv_func_isinfl_use=yes
61710 else
61711 glibcxx_cv_func_isinfl_use=no
61713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61714 ac_ext=c
61715 ac_cpp='$CPP $CPPFLAGS'
61716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61725 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61727 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61728 for ac_func in isinfl
61729 do :
61730 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61731 if test "x$ac_cv_func_isinfl" = x""yes; then :
61732 cat >>confdefs.h <<_ACEOF
61733 #define HAVE_ISINFL 1
61734 _ACEOF
61737 done
61739 else
61741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61742 $as_echo_n "checking for _isinfl declaration... " >&6; }
61743 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61744 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61745 $as_echo_n "(cached) " >&6
61746 else
61749 ac_ext=cpp
61750 ac_cpp='$CXXCPP $CPPFLAGS'
61751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61756 /* end confdefs.h. */
61757 #include <math.h>
61758 #ifdef HAVE_IEEEFP_H
61759 #include <ieeefp.h>
61760 #endif
61763 main ()
61765 _isinfl(0);
61767 return 0;
61769 _ACEOF
61770 if ac_fn_cxx_try_compile "$LINENO"; then :
61771 glibcxx_cv_func__isinfl_use=yes
61772 else
61773 glibcxx_cv_func__isinfl_use=no
61775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61776 ac_ext=c
61777 ac_cpp='$CPP $CPPFLAGS'
61778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61787 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61789 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61790 for ac_func in _isinfl
61791 do :
61792 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61793 if test "x$ac_cv_func__isinfl" = x""yes; then :
61794 cat >>confdefs.h <<_ACEOF
61795 #define HAVE__ISINFL 1
61796 _ACEOF
61799 done
61808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61809 $as_echo_n "checking for atan2l declaration... " >&6; }
61810 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61811 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61812 $as_echo_n "(cached) " >&6
61813 else
61816 ac_ext=cpp
61817 ac_cpp='$CXXCPP $CPPFLAGS'
61818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61823 /* end confdefs.h. */
61824 #include <math.h>
61826 main ()
61828 atan2l(0, 0);
61830 return 0;
61832 _ACEOF
61833 if ac_fn_cxx_try_compile "$LINENO"; then :
61834 glibcxx_cv_func_atan2l_use=yes
61835 else
61836 glibcxx_cv_func_atan2l_use=no
61838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61839 ac_ext=c
61840 ac_cpp='$CPP $CPPFLAGS'
61841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61850 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61852 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61853 for ac_func in atan2l
61854 do :
61855 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61856 if test "x$ac_cv_func_atan2l" = x""yes; then :
61857 cat >>confdefs.h <<_ACEOF
61858 #define HAVE_ATAN2L 1
61859 _ACEOF
61862 done
61864 else
61866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61867 $as_echo_n "checking for _atan2l declaration... " >&6; }
61868 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61869 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61870 $as_echo_n "(cached) " >&6
61871 else
61874 ac_ext=cpp
61875 ac_cpp='$CXXCPP $CPPFLAGS'
61876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61881 /* end confdefs.h. */
61882 #include <math.h>
61884 main ()
61886 _atan2l(0, 0);
61888 return 0;
61890 _ACEOF
61891 if ac_fn_cxx_try_compile "$LINENO"; then :
61892 glibcxx_cv_func__atan2l_use=yes
61893 else
61894 glibcxx_cv_func__atan2l_use=no
61896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61897 ac_ext=c
61898 ac_cpp='$CPP $CPPFLAGS'
61899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61908 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61910 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61911 for ac_func in _atan2l
61912 do :
61913 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61914 if test "x$ac_cv_func__atan2l" = x""yes; then :
61915 cat >>confdefs.h <<_ACEOF
61916 #define HAVE__ATAN2L 1
61917 _ACEOF
61920 done
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61930 $as_echo_n "checking for expl declaration... " >&6; }
61931 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61932 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61933 $as_echo_n "(cached) " >&6
61934 else
61937 ac_ext=cpp
61938 ac_cpp='$CXXCPP $CPPFLAGS'
61939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61944 /* end confdefs.h. */
61945 #include <math.h>
61946 #ifdef HAVE_IEEEFP_H
61947 #include <ieeefp.h>
61948 #endif
61951 main ()
61953 expl(0);
61955 return 0;
61957 _ACEOF
61958 if ac_fn_cxx_try_compile "$LINENO"; then :
61959 glibcxx_cv_func_expl_use=yes
61960 else
61961 glibcxx_cv_func_expl_use=no
61963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61964 ac_ext=c
61965 ac_cpp='$CPP $CPPFLAGS'
61966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61975 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61977 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61978 for ac_func in expl
61979 do :
61980 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61981 if test "x$ac_cv_func_expl" = x""yes; then :
61982 cat >>confdefs.h <<_ACEOF
61983 #define HAVE_EXPL 1
61984 _ACEOF
61987 done
61989 else
61991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61992 $as_echo_n "checking for _expl declaration... " >&6; }
61993 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61994 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61995 $as_echo_n "(cached) " >&6
61996 else
61999 ac_ext=cpp
62000 ac_cpp='$CXXCPP $CPPFLAGS'
62001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62006 /* end confdefs.h. */
62007 #include <math.h>
62008 #ifdef HAVE_IEEEFP_H
62009 #include <ieeefp.h>
62010 #endif
62013 main ()
62015 _expl(0);
62017 return 0;
62019 _ACEOF
62020 if ac_fn_cxx_try_compile "$LINENO"; then :
62021 glibcxx_cv_func__expl_use=yes
62022 else
62023 glibcxx_cv_func__expl_use=no
62025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62026 ac_ext=c
62027 ac_cpp='$CPP $CPPFLAGS'
62028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62037 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62039 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62040 for ac_func in _expl
62041 do :
62042 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62043 if test "x$ac_cv_func__expl" = x""yes; then :
62044 cat >>confdefs.h <<_ACEOF
62045 #define HAVE__EXPL 1
62046 _ACEOF
62049 done
62058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62059 $as_echo_n "checking for fabsl declaration... " >&6; }
62060 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62061 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62062 $as_echo_n "(cached) " >&6
62063 else
62066 ac_ext=cpp
62067 ac_cpp='$CXXCPP $CPPFLAGS'
62068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62073 /* end confdefs.h. */
62074 #include <math.h>
62075 #ifdef HAVE_IEEEFP_H
62076 #include <ieeefp.h>
62077 #endif
62080 main ()
62082 fabsl(0);
62084 return 0;
62086 _ACEOF
62087 if ac_fn_cxx_try_compile "$LINENO"; then :
62088 glibcxx_cv_func_fabsl_use=yes
62089 else
62090 glibcxx_cv_func_fabsl_use=no
62092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62093 ac_ext=c
62094 ac_cpp='$CPP $CPPFLAGS'
62095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62104 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62106 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62107 for ac_func in fabsl
62108 do :
62109 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62110 if test "x$ac_cv_func_fabsl" = x""yes; then :
62111 cat >>confdefs.h <<_ACEOF
62112 #define HAVE_FABSL 1
62113 _ACEOF
62116 done
62118 else
62120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62121 $as_echo_n "checking for _fabsl declaration... " >&6; }
62122 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62123 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62124 $as_echo_n "(cached) " >&6
62125 else
62128 ac_ext=cpp
62129 ac_cpp='$CXXCPP $CPPFLAGS'
62130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62135 /* end confdefs.h. */
62136 #include <math.h>
62137 #ifdef HAVE_IEEEFP_H
62138 #include <ieeefp.h>
62139 #endif
62142 main ()
62144 _fabsl(0);
62146 return 0;
62148 _ACEOF
62149 if ac_fn_cxx_try_compile "$LINENO"; then :
62150 glibcxx_cv_func__fabsl_use=yes
62151 else
62152 glibcxx_cv_func__fabsl_use=no
62154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62155 ac_ext=c
62156 ac_cpp='$CPP $CPPFLAGS'
62157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62166 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62168 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62169 for ac_func in _fabsl
62170 do :
62171 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62172 if test "x$ac_cv_func__fabsl" = x""yes; then :
62173 cat >>confdefs.h <<_ACEOF
62174 #define HAVE__FABSL 1
62175 _ACEOF
62178 done
62187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62188 $as_echo_n "checking for fmodl declaration... " >&6; }
62189 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62190 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62191 $as_echo_n "(cached) " >&6
62192 else
62195 ac_ext=cpp
62196 ac_cpp='$CXXCPP $CPPFLAGS'
62197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62202 /* end confdefs.h. */
62203 #include <math.h>
62205 main ()
62207 fmodl(0, 0);
62209 return 0;
62211 _ACEOF
62212 if ac_fn_cxx_try_compile "$LINENO"; then :
62213 glibcxx_cv_func_fmodl_use=yes
62214 else
62215 glibcxx_cv_func_fmodl_use=no
62217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62218 ac_ext=c
62219 ac_cpp='$CPP $CPPFLAGS'
62220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62229 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62231 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62232 for ac_func in fmodl
62233 do :
62234 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62235 if test "x$ac_cv_func_fmodl" = x""yes; then :
62236 cat >>confdefs.h <<_ACEOF
62237 #define HAVE_FMODL 1
62238 _ACEOF
62241 done
62243 else
62245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62246 $as_echo_n "checking for _fmodl declaration... " >&6; }
62247 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62248 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62249 $as_echo_n "(cached) " >&6
62250 else
62253 ac_ext=cpp
62254 ac_cpp='$CXXCPP $CPPFLAGS'
62255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62260 /* end confdefs.h. */
62261 #include <math.h>
62263 main ()
62265 _fmodl(0, 0);
62267 return 0;
62269 _ACEOF
62270 if ac_fn_cxx_try_compile "$LINENO"; then :
62271 glibcxx_cv_func__fmodl_use=yes
62272 else
62273 glibcxx_cv_func__fmodl_use=no
62275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62276 ac_ext=c
62277 ac_cpp='$CPP $CPPFLAGS'
62278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62287 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62289 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62290 for ac_func in _fmodl
62291 do :
62292 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62293 if test "x$ac_cv_func__fmodl" = x""yes; then :
62294 cat >>confdefs.h <<_ACEOF
62295 #define HAVE__FMODL 1
62296 _ACEOF
62299 done
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62309 $as_echo_n "checking for frexpl declaration... " >&6; }
62310 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62311 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62312 $as_echo_n "(cached) " >&6
62313 else
62316 ac_ext=cpp
62317 ac_cpp='$CXXCPP $CPPFLAGS'
62318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62323 /* end confdefs.h. */
62324 #include <math.h>
62326 main ()
62328 frexpl(0, 0);
62330 return 0;
62332 _ACEOF
62333 if ac_fn_cxx_try_compile "$LINENO"; then :
62334 glibcxx_cv_func_frexpl_use=yes
62335 else
62336 glibcxx_cv_func_frexpl_use=no
62338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62339 ac_ext=c
62340 ac_cpp='$CPP $CPPFLAGS'
62341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62350 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62352 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62353 for ac_func in frexpl
62354 do :
62355 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62356 if test "x$ac_cv_func_frexpl" = x""yes; then :
62357 cat >>confdefs.h <<_ACEOF
62358 #define HAVE_FREXPL 1
62359 _ACEOF
62362 done
62364 else
62366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62367 $as_echo_n "checking for _frexpl declaration... " >&6; }
62368 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62369 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62370 $as_echo_n "(cached) " >&6
62371 else
62374 ac_ext=cpp
62375 ac_cpp='$CXXCPP $CPPFLAGS'
62376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62381 /* end confdefs.h. */
62382 #include <math.h>
62384 main ()
62386 _frexpl(0, 0);
62388 return 0;
62390 _ACEOF
62391 if ac_fn_cxx_try_compile "$LINENO"; then :
62392 glibcxx_cv_func__frexpl_use=yes
62393 else
62394 glibcxx_cv_func__frexpl_use=no
62396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62397 ac_ext=c
62398 ac_cpp='$CPP $CPPFLAGS'
62399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62408 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62410 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62411 for ac_func in _frexpl
62412 do :
62413 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62414 if test "x$ac_cv_func__frexpl" = x""yes; then :
62415 cat >>confdefs.h <<_ACEOF
62416 #define HAVE__FREXPL 1
62417 _ACEOF
62420 done
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62430 $as_echo_n "checking for hypotl declaration... " >&6; }
62431 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62432 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62433 $as_echo_n "(cached) " >&6
62434 else
62437 ac_ext=cpp
62438 ac_cpp='$CXXCPP $CPPFLAGS'
62439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62444 /* end confdefs.h. */
62445 #include <math.h>
62447 main ()
62449 hypotl(0, 0);
62451 return 0;
62453 _ACEOF
62454 if ac_fn_cxx_try_compile "$LINENO"; then :
62455 glibcxx_cv_func_hypotl_use=yes
62456 else
62457 glibcxx_cv_func_hypotl_use=no
62459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62460 ac_ext=c
62461 ac_cpp='$CPP $CPPFLAGS'
62462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62471 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62473 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62474 for ac_func in hypotl
62475 do :
62476 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62477 if test "x$ac_cv_func_hypotl" = x""yes; then :
62478 cat >>confdefs.h <<_ACEOF
62479 #define HAVE_HYPOTL 1
62480 _ACEOF
62483 done
62485 else
62487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62488 $as_echo_n "checking for _hypotl declaration... " >&6; }
62489 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62490 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62491 $as_echo_n "(cached) " >&6
62492 else
62495 ac_ext=cpp
62496 ac_cpp='$CXXCPP $CPPFLAGS'
62497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62502 /* end confdefs.h. */
62503 #include <math.h>
62505 main ()
62507 _hypotl(0, 0);
62509 return 0;
62511 _ACEOF
62512 if ac_fn_cxx_try_compile "$LINENO"; then :
62513 glibcxx_cv_func__hypotl_use=yes
62514 else
62515 glibcxx_cv_func__hypotl_use=no
62517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62518 ac_ext=c
62519 ac_cpp='$CPP $CPPFLAGS'
62520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62529 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62531 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62532 for ac_func in _hypotl
62533 do :
62534 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62535 if test "x$ac_cv_func__hypotl" = x""yes; then :
62536 cat >>confdefs.h <<_ACEOF
62537 #define HAVE__HYPOTL 1
62538 _ACEOF
62541 done
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62551 $as_echo_n "checking for ldexpl declaration... " >&6; }
62552 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62553 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62554 $as_echo_n "(cached) " >&6
62555 else
62558 ac_ext=cpp
62559 ac_cpp='$CXXCPP $CPPFLAGS'
62560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62565 /* end confdefs.h. */
62566 #include <math.h>
62568 main ()
62570 ldexpl(0, 0);
62572 return 0;
62574 _ACEOF
62575 if ac_fn_cxx_try_compile "$LINENO"; then :
62576 glibcxx_cv_func_ldexpl_use=yes
62577 else
62578 glibcxx_cv_func_ldexpl_use=no
62580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62581 ac_ext=c
62582 ac_cpp='$CPP $CPPFLAGS'
62583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62592 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62594 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62595 for ac_func in ldexpl
62596 do :
62597 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62598 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62599 cat >>confdefs.h <<_ACEOF
62600 #define HAVE_LDEXPL 1
62601 _ACEOF
62604 done
62606 else
62608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62609 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62610 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62611 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62612 $as_echo_n "(cached) " >&6
62613 else
62616 ac_ext=cpp
62617 ac_cpp='$CXXCPP $CPPFLAGS'
62618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62623 /* end confdefs.h. */
62624 #include <math.h>
62626 main ()
62628 _ldexpl(0, 0);
62630 return 0;
62632 _ACEOF
62633 if ac_fn_cxx_try_compile "$LINENO"; then :
62634 glibcxx_cv_func__ldexpl_use=yes
62635 else
62636 glibcxx_cv_func__ldexpl_use=no
62638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62639 ac_ext=c
62640 ac_cpp='$CPP $CPPFLAGS'
62641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62650 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62652 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62653 for ac_func in _ldexpl
62654 do :
62655 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62656 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62657 cat >>confdefs.h <<_ACEOF
62658 #define HAVE__LDEXPL 1
62659 _ACEOF
62662 done
62671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62672 $as_echo_n "checking for logl declaration... " >&6; }
62673 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62674 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62675 $as_echo_n "(cached) " >&6
62676 else
62679 ac_ext=cpp
62680 ac_cpp='$CXXCPP $CPPFLAGS'
62681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62686 /* end confdefs.h. */
62687 #include <math.h>
62688 #ifdef HAVE_IEEEFP_H
62689 #include <ieeefp.h>
62690 #endif
62693 main ()
62695 logl(0);
62697 return 0;
62699 _ACEOF
62700 if ac_fn_cxx_try_compile "$LINENO"; then :
62701 glibcxx_cv_func_logl_use=yes
62702 else
62703 glibcxx_cv_func_logl_use=no
62705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62706 ac_ext=c
62707 ac_cpp='$CPP $CPPFLAGS'
62708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62717 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62719 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62720 for ac_func in logl
62721 do :
62722 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62723 if test "x$ac_cv_func_logl" = x""yes; then :
62724 cat >>confdefs.h <<_ACEOF
62725 #define HAVE_LOGL 1
62726 _ACEOF
62729 done
62731 else
62733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62734 $as_echo_n "checking for _logl declaration... " >&6; }
62735 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62736 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62737 $as_echo_n "(cached) " >&6
62738 else
62741 ac_ext=cpp
62742 ac_cpp='$CXXCPP $CPPFLAGS'
62743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62748 /* end confdefs.h. */
62749 #include <math.h>
62750 #ifdef HAVE_IEEEFP_H
62751 #include <ieeefp.h>
62752 #endif
62755 main ()
62757 _logl(0);
62759 return 0;
62761 _ACEOF
62762 if ac_fn_cxx_try_compile "$LINENO"; then :
62763 glibcxx_cv_func__logl_use=yes
62764 else
62765 glibcxx_cv_func__logl_use=no
62767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62768 ac_ext=c
62769 ac_cpp='$CPP $CPPFLAGS'
62770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62779 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62781 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62782 for ac_func in _logl
62783 do :
62784 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62785 if test "x$ac_cv_func__logl" = x""yes; then :
62786 cat >>confdefs.h <<_ACEOF
62787 #define HAVE__LOGL 1
62788 _ACEOF
62791 done
62800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62801 $as_echo_n "checking for log10l declaration... " >&6; }
62802 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62803 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62804 $as_echo_n "(cached) " >&6
62805 else
62808 ac_ext=cpp
62809 ac_cpp='$CXXCPP $CPPFLAGS'
62810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62815 /* end confdefs.h. */
62816 #include <math.h>
62817 #ifdef HAVE_IEEEFP_H
62818 #include <ieeefp.h>
62819 #endif
62822 main ()
62824 log10l(0);
62826 return 0;
62828 _ACEOF
62829 if ac_fn_cxx_try_compile "$LINENO"; then :
62830 glibcxx_cv_func_log10l_use=yes
62831 else
62832 glibcxx_cv_func_log10l_use=no
62834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62835 ac_ext=c
62836 ac_cpp='$CPP $CPPFLAGS'
62837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62846 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62848 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62849 for ac_func in log10l
62850 do :
62851 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62852 if test "x$ac_cv_func_log10l" = x""yes; then :
62853 cat >>confdefs.h <<_ACEOF
62854 #define HAVE_LOG10L 1
62855 _ACEOF
62858 done
62860 else
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62863 $as_echo_n "checking for _log10l declaration... " >&6; }
62864 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62865 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62866 $as_echo_n "(cached) " >&6
62867 else
62870 ac_ext=cpp
62871 ac_cpp='$CXXCPP $CPPFLAGS'
62872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62877 /* end confdefs.h. */
62878 #include <math.h>
62879 #ifdef HAVE_IEEEFP_H
62880 #include <ieeefp.h>
62881 #endif
62884 main ()
62886 _log10l(0);
62888 return 0;
62890 _ACEOF
62891 if ac_fn_cxx_try_compile "$LINENO"; then :
62892 glibcxx_cv_func__log10l_use=yes
62893 else
62894 glibcxx_cv_func__log10l_use=no
62896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62897 ac_ext=c
62898 ac_cpp='$CPP $CPPFLAGS'
62899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62908 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62910 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62911 for ac_func in _log10l
62912 do :
62913 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62914 if test "x$ac_cv_func__log10l" = x""yes; then :
62915 cat >>confdefs.h <<_ACEOF
62916 #define HAVE__LOG10L 1
62917 _ACEOF
62920 done
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62930 $as_echo_n "checking for modfl declaration... " >&6; }
62931 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62932 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62933 $as_echo_n "(cached) " >&6
62934 else
62937 ac_ext=cpp
62938 ac_cpp='$CXXCPP $CPPFLAGS'
62939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62944 /* end confdefs.h. */
62945 #include <math.h>
62947 main ()
62949 modfl(0, 0);
62951 return 0;
62953 _ACEOF
62954 if ac_fn_cxx_try_compile "$LINENO"; then :
62955 glibcxx_cv_func_modfl_use=yes
62956 else
62957 glibcxx_cv_func_modfl_use=no
62959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62960 ac_ext=c
62961 ac_cpp='$CPP $CPPFLAGS'
62962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62971 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62973 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62974 for ac_func in modfl
62975 do :
62976 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62977 if test "x$ac_cv_func_modfl" = x""yes; then :
62978 cat >>confdefs.h <<_ACEOF
62979 #define HAVE_MODFL 1
62980 _ACEOF
62983 done
62985 else
62987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62988 $as_echo_n "checking for _modfl declaration... " >&6; }
62989 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62990 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62991 $as_echo_n "(cached) " >&6
62992 else
62995 ac_ext=cpp
62996 ac_cpp='$CXXCPP $CPPFLAGS'
62997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63002 /* end confdefs.h. */
63003 #include <math.h>
63005 main ()
63007 _modfl(0, 0);
63009 return 0;
63011 _ACEOF
63012 if ac_fn_cxx_try_compile "$LINENO"; then :
63013 glibcxx_cv_func__modfl_use=yes
63014 else
63015 glibcxx_cv_func__modfl_use=no
63017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63018 ac_ext=c
63019 ac_cpp='$CPP $CPPFLAGS'
63020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63029 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63031 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63032 for ac_func in _modfl
63033 do :
63034 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63035 if test "x$ac_cv_func__modfl" = x""yes; then :
63036 cat >>confdefs.h <<_ACEOF
63037 #define HAVE__MODFL 1
63038 _ACEOF
63041 done
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63051 $as_echo_n "checking for powl declaration... " >&6; }
63052 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63053 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63054 $as_echo_n "(cached) " >&6
63055 else
63058 ac_ext=cpp
63059 ac_cpp='$CXXCPP $CPPFLAGS'
63060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63065 /* end confdefs.h. */
63066 #include <math.h>
63068 main ()
63070 powl(0, 0);
63072 return 0;
63074 _ACEOF
63075 if ac_fn_cxx_try_compile "$LINENO"; then :
63076 glibcxx_cv_func_powl_use=yes
63077 else
63078 glibcxx_cv_func_powl_use=no
63080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63081 ac_ext=c
63082 ac_cpp='$CPP $CPPFLAGS'
63083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63092 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63094 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63095 for ac_func in powl
63096 do :
63097 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63098 if test "x$ac_cv_func_powl" = x""yes; then :
63099 cat >>confdefs.h <<_ACEOF
63100 #define HAVE_POWL 1
63101 _ACEOF
63104 done
63106 else
63108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63109 $as_echo_n "checking for _powl declaration... " >&6; }
63110 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63111 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63112 $as_echo_n "(cached) " >&6
63113 else
63116 ac_ext=cpp
63117 ac_cpp='$CXXCPP $CPPFLAGS'
63118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63123 /* end confdefs.h. */
63124 #include <math.h>
63126 main ()
63128 _powl(0, 0);
63130 return 0;
63132 _ACEOF
63133 if ac_fn_cxx_try_compile "$LINENO"; then :
63134 glibcxx_cv_func__powl_use=yes
63135 else
63136 glibcxx_cv_func__powl_use=no
63138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63139 ac_ext=c
63140 ac_cpp='$CPP $CPPFLAGS'
63141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63150 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63152 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63153 for ac_func in _powl
63154 do :
63155 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63156 if test "x$ac_cv_func__powl" = x""yes; then :
63157 cat >>confdefs.h <<_ACEOF
63158 #define HAVE__POWL 1
63159 _ACEOF
63162 done
63171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63172 $as_echo_n "checking for sqrtl declaration... " >&6; }
63173 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63174 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63175 $as_echo_n "(cached) " >&6
63176 else
63179 ac_ext=cpp
63180 ac_cpp='$CXXCPP $CPPFLAGS'
63181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63186 /* end confdefs.h. */
63187 #include <math.h>
63188 #ifdef HAVE_IEEEFP_H
63189 #include <ieeefp.h>
63190 #endif
63193 main ()
63195 sqrtl(0);
63197 return 0;
63199 _ACEOF
63200 if ac_fn_cxx_try_compile "$LINENO"; then :
63201 glibcxx_cv_func_sqrtl_use=yes
63202 else
63203 glibcxx_cv_func_sqrtl_use=no
63205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63206 ac_ext=c
63207 ac_cpp='$CPP $CPPFLAGS'
63208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63217 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63219 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63220 for ac_func in sqrtl
63221 do :
63222 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63223 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63224 cat >>confdefs.h <<_ACEOF
63225 #define HAVE_SQRTL 1
63226 _ACEOF
63229 done
63231 else
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63234 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63235 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63236 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63237 $as_echo_n "(cached) " >&6
63238 else
63241 ac_ext=cpp
63242 ac_cpp='$CXXCPP $CPPFLAGS'
63243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63248 /* end confdefs.h. */
63249 #include <math.h>
63250 #ifdef HAVE_IEEEFP_H
63251 #include <ieeefp.h>
63252 #endif
63255 main ()
63257 _sqrtl(0);
63259 return 0;
63261 _ACEOF
63262 if ac_fn_cxx_try_compile "$LINENO"; then :
63263 glibcxx_cv_func__sqrtl_use=yes
63264 else
63265 glibcxx_cv_func__sqrtl_use=no
63267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63268 ac_ext=c
63269 ac_cpp='$CPP $CPPFLAGS'
63270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63279 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63281 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63282 for ac_func in _sqrtl
63283 do :
63284 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63285 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63286 cat >>confdefs.h <<_ACEOF
63287 #define HAVE__SQRTL 1
63288 _ACEOF
63291 done
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63301 $as_echo_n "checking for sincosl declaration... " >&6; }
63302 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63303 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63304 $as_echo_n "(cached) " >&6
63305 else
63308 ac_ext=cpp
63309 ac_cpp='$CXXCPP $CPPFLAGS'
63310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63315 /* end confdefs.h. */
63316 #include <math.h>
63318 main ()
63320 sincosl(0, 0, 0);
63322 return 0;
63324 _ACEOF
63325 if ac_fn_cxx_try_compile "$LINENO"; then :
63326 glibcxx_cv_func_sincosl_use=yes
63327 else
63328 glibcxx_cv_func_sincosl_use=no
63330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63331 ac_ext=c
63332 ac_cpp='$CPP $CPPFLAGS'
63333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63342 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63344 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63345 for ac_func in sincosl
63346 do :
63347 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63348 if test "x$ac_cv_func_sincosl" = x""yes; then :
63349 cat >>confdefs.h <<_ACEOF
63350 #define HAVE_SINCOSL 1
63351 _ACEOF
63354 done
63356 else
63358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63359 $as_echo_n "checking for _sincosl declaration... " >&6; }
63360 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63361 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63362 $as_echo_n "(cached) " >&6
63363 else
63366 ac_ext=cpp
63367 ac_cpp='$CXXCPP $CPPFLAGS'
63368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63373 /* end confdefs.h. */
63374 #include <math.h>
63376 main ()
63378 _sincosl(0, 0, 0);
63380 return 0;
63382 _ACEOF
63383 if ac_fn_cxx_try_compile "$LINENO"; then :
63384 glibcxx_cv_func__sincosl_use=yes
63385 else
63386 glibcxx_cv_func__sincosl_use=no
63388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63389 ac_ext=c
63390 ac_cpp='$CPP $CPPFLAGS'
63391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63400 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63402 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63403 for ac_func in _sincosl
63404 do :
63405 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63406 if test "x$ac_cv_func__sincosl" = x""yes; then :
63407 cat >>confdefs.h <<_ACEOF
63408 #define HAVE__SINCOSL 1
63409 _ACEOF
63412 done
63421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63422 $as_echo_n "checking for finitel declaration... " >&6; }
63423 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63424 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63425 $as_echo_n "(cached) " >&6
63426 else
63429 ac_ext=cpp
63430 ac_cpp='$CXXCPP $CPPFLAGS'
63431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63436 /* end confdefs.h. */
63437 #include <math.h>
63438 #ifdef HAVE_IEEEFP_H
63439 #include <ieeefp.h>
63440 #endif
63443 main ()
63445 finitel(0);
63447 return 0;
63449 _ACEOF
63450 if ac_fn_cxx_try_compile "$LINENO"; then :
63451 glibcxx_cv_func_finitel_use=yes
63452 else
63453 glibcxx_cv_func_finitel_use=no
63455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63456 ac_ext=c
63457 ac_cpp='$CPP $CPPFLAGS'
63458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63467 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63469 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63470 for ac_func in finitel
63471 do :
63472 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63473 if test "x$ac_cv_func_finitel" = x""yes; then :
63474 cat >>confdefs.h <<_ACEOF
63475 #define HAVE_FINITEL 1
63476 _ACEOF
63479 done
63481 else
63483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63484 $as_echo_n "checking for _finitel declaration... " >&6; }
63485 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63486 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63487 $as_echo_n "(cached) " >&6
63488 else
63491 ac_ext=cpp
63492 ac_cpp='$CXXCPP $CPPFLAGS'
63493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63498 /* end confdefs.h. */
63499 #include <math.h>
63500 #ifdef HAVE_IEEEFP_H
63501 #include <ieeefp.h>
63502 #endif
63505 main ()
63507 _finitel(0);
63509 return 0;
63511 _ACEOF
63512 if ac_fn_cxx_try_compile "$LINENO"; then :
63513 glibcxx_cv_func__finitel_use=yes
63514 else
63515 glibcxx_cv_func__finitel_use=no
63517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63518 ac_ext=c
63519 ac_cpp='$CPP $CPPFLAGS'
63520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63529 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63531 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63532 for ac_func in _finitel
63533 do :
63534 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63535 if test "x$ac_cv_func__finitel" = x""yes; then :
63536 cat >>confdefs.h <<_ACEOF
63537 #define HAVE__FINITEL 1
63538 _ACEOF
63541 done
63549 LIBS="$ac_save_LIBS"
63550 CXXFLAGS="$ac_save_CXXFLAGS"
63553 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63554 ac_save_CXXFLAGS="$CXXFLAGS"
63555 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63559 $as_echo_n "checking for strtold declaration... " >&6; }
63560 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63561 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63562 $as_echo_n "(cached) " >&6
63563 else
63566 ac_ext=cpp
63567 ac_cpp='$CXXCPP $CPPFLAGS'
63568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63573 /* end confdefs.h. */
63574 #include <stdlib.h>
63576 main ()
63578 strtold(0, 0);
63580 return 0;
63582 _ACEOF
63583 if ac_fn_cxx_try_compile "$LINENO"; then :
63584 glibcxx_cv_func_strtold_use=yes
63585 else
63586 glibcxx_cv_func_strtold_use=no
63588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63589 ac_ext=c
63590 ac_cpp='$CPP $CPPFLAGS'
63591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63600 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63601 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63602 for ac_func in strtold
63603 do :
63604 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63605 if test "x$ac_cv_func_strtold" = x""yes; then :
63606 cat >>confdefs.h <<_ACEOF
63607 #define HAVE_STRTOLD 1
63608 _ACEOF
63611 done
63618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63619 $as_echo_n "checking for strtof declaration... " >&6; }
63620 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63621 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63622 $as_echo_n "(cached) " >&6
63623 else
63626 ac_ext=cpp
63627 ac_cpp='$CXXCPP $CPPFLAGS'
63628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63633 /* end confdefs.h. */
63634 #include <stdlib.h>
63636 main ()
63638 strtof(0, 0);
63640 return 0;
63642 _ACEOF
63643 if ac_fn_cxx_try_compile "$LINENO"; then :
63644 glibcxx_cv_func_strtof_use=yes
63645 else
63646 glibcxx_cv_func_strtof_use=no
63648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649 ac_ext=c
63650 ac_cpp='$CPP $CPPFLAGS'
63651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63660 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63661 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63662 for ac_func in strtof
63663 do :
63664 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63665 if test "x$ac_cv_func_strtof" = x""yes; then :
63666 cat >>confdefs.h <<_ACEOF
63667 #define HAVE_STRTOF 1
63668 _ACEOF
63671 done
63678 CXXFLAGS="$ac_save_CXXFLAGS"
63681 *-solaris*)
63682 case "$target" in
63683 *-solaris2.9 | *-solaris2.10)
63685 # If we're not using GNU ld, then there's no point in even trying these
63686 # tests. Check for that first. We should have already tested for gld
63687 # by now (in libtool), but require it now just to be safe...
63688 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63689 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63693 # The name set by libtool depends on the version of libtool. Shame on us
63694 # for depending on an impl detail, but c'est la vie. Older versions used
63695 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63696 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63697 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63698 # set (hence we're using an older libtool), then set it.
63699 if test x${with_gnu_ld+set} != xset; then
63700 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63701 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63702 with_gnu_ld=no
63703 else
63704 with_gnu_ld=$ac_cv_prog_gnu_ld
63708 # Start by getting the version number. I think the libtool test already
63709 # does some of this, but throws away the result.
63710 glibcxx_ld_is_gold=no
63711 if test x"$with_gnu_ld" = x"yes"; then
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63713 $as_echo_n "checking for ld version... " >&6; }
63715 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63716 glibcxx_ld_is_gold=yes
63718 ldver=`$LD --version 2>/dev/null |
63719 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'`
63721 glibcxx_gnu_ld_version=`echo $ldver | \
63722 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63724 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63727 # Set --gc-sections.
63728 glibcxx_have_gc_sections=no
63729 if test "$glibcxx_ld_is_gold" = "yes"; then
63730 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63731 glibcxx_have_gc_sections=yes
63733 else
63734 glibcxx_gcsections_min_ld=21602
63735 if test x"$with_gnu_ld" = x"yes" &&
63736 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63737 glibcxx_have_gc_sections=yes
63740 if test "$glibcxx_have_gc_sections" = "yes"; then
63741 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63742 # NB: This flag only works reliably after 2.16.1. Configure tests
63743 # for this are difficult, so hard wire a value that should work.
63745 ac_test_CFLAGS="${CFLAGS+set}"
63746 ac_save_CFLAGS="$CFLAGS"
63747 CFLAGS='-Wl,--gc-sections'
63749 # Check for -Wl,--gc-sections
63750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63751 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63752 if test x$gcc_no_link = xyes; then
63753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63756 /* end confdefs.h. */
63757 int one(void) { return 1; }
63758 int two(void) { return 2; }
63761 main ()
63763 two();
63765 return 0;
63767 _ACEOF
63768 if ac_fn_c_try_link "$LINENO"; then :
63769 ac_gcsections=yes
63770 else
63771 ac_gcsections=no
63773 rm -f core conftest.err conftest.$ac_objext \
63774 conftest$ac_exeext conftest.$ac_ext
63775 if test "$ac_gcsections" = "yes"; then
63776 rm -f conftest.c
63777 touch conftest.c
63778 if $CC -c conftest.c; then
63779 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63780 grep "Warning: gc-sections option ignored" > /dev/null; then
63781 ac_gcsections=no
63784 rm -f conftest.c conftest.o conftest
63786 if test "$ac_gcsections" = "yes"; then
63787 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63790 $as_echo "$ac_gcsections" >&6; }
63792 if test "$ac_test_CFLAGS" = set; then
63793 CFLAGS="$ac_save_CFLAGS"
63794 else
63795 # this is the suspicious part
63796 CFLAGS=''
63800 # Set -z,relro.
63801 # Note this is only for shared objects.
63802 ac_ld_relro=no
63803 if test x"$with_gnu_ld" = x"yes"; then
63804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63805 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63806 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63807 if test -n "$cxx_z_relo"; then
63808 OPT_LDFLAGS="-Wl,-z,relro"
63809 ac_ld_relro=yes
63811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63812 $as_echo "$ac_ld_relro" >&6; }
63815 # Set linker optimization flags.
63816 if test x"$with_gnu_ld" = x"yes"; then
63817 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63823 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63825 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63827 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63829 # All of the dependencies for wide character support are here, so
63830 # turn it on.
63831 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63834 esac
63835 case "$target" in
63836 *-*-solaris2.10)
63837 # These two C99 functions are present only in Solaris >= 10
63838 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63840 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63843 esac
63844 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63846 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63848 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63850 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63853 *-tpf)
63854 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63855 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63857 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63859 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63861 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63863 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63865 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63867 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63869 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63871 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63873 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63875 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63877 if test x"long_double_math_on_this_cpu" = x"yes"; then
63878 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63880 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63882 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63884 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63888 *-*vms*)
63889 # Check for available headers.
63890 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63892 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63893 ac_save_CXXFLAGS="$CXXFLAGS"
63894 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63897 $as_echo_n "checking for sin in -lm... " >&6; }
63898 if test "${ac_cv_lib_m_sin+set}" = set; then :
63899 $as_echo_n "(cached) " >&6
63900 else
63901 ac_check_lib_save_LIBS=$LIBS
63902 LIBS="-lm $LIBS"
63903 if test x$gcc_no_link = xyes; then
63904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63909 /* Override any GCC internal prototype to avoid an error.
63910 Use char because int might match the return type of a GCC
63911 builtin and then its argument prototype would still apply. */
63912 #ifdef __cplusplus
63913 extern "C"
63914 #endif
63915 char sin ();
63917 main ()
63919 return sin ();
63921 return 0;
63923 _ACEOF
63924 if ac_fn_c_try_link "$LINENO"; then :
63925 ac_cv_lib_m_sin=yes
63926 else
63927 ac_cv_lib_m_sin=no
63929 rm -f core conftest.err conftest.$ac_objext \
63930 conftest$ac_exeext conftest.$ac_ext
63931 LIBS=$ac_check_lib_save_LIBS
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63934 $as_echo "$ac_cv_lib_m_sin" >&6; }
63935 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63936 libm="-lm"
63939 ac_save_LIBS="$LIBS"
63940 LIBS="$LIBS $libm"
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63945 $as_echo_n "checking for isinf declaration... " >&6; }
63946 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63947 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63948 $as_echo_n "(cached) " >&6
63949 else
63952 ac_ext=cpp
63953 ac_cpp='$CXXCPP $CPPFLAGS'
63954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63959 /* end confdefs.h. */
63960 #include <math.h>
63961 #ifdef HAVE_IEEEFP_H
63962 #include <ieeefp.h>
63963 #endif
63966 main ()
63968 isinf(0);
63970 return 0;
63972 _ACEOF
63973 if ac_fn_cxx_try_compile "$LINENO"; then :
63974 glibcxx_cv_func_isinf_use=yes
63975 else
63976 glibcxx_cv_func_isinf_use=no
63978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63979 ac_ext=c
63980 ac_cpp='$CPP $CPPFLAGS'
63981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63990 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63992 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63993 for ac_func in isinf
63994 do :
63995 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63996 if test "x$ac_cv_func_isinf" = x""yes; then :
63997 cat >>confdefs.h <<_ACEOF
63998 #define HAVE_ISINF 1
63999 _ACEOF
64002 done
64004 else
64006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64007 $as_echo_n "checking for _isinf declaration... " >&6; }
64008 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64009 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64010 $as_echo_n "(cached) " >&6
64011 else
64014 ac_ext=cpp
64015 ac_cpp='$CXXCPP $CPPFLAGS'
64016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64021 /* end confdefs.h. */
64022 #include <math.h>
64023 #ifdef HAVE_IEEEFP_H
64024 #include <ieeefp.h>
64025 #endif
64028 main ()
64030 _isinf(0);
64032 return 0;
64034 _ACEOF
64035 if ac_fn_cxx_try_compile "$LINENO"; then :
64036 glibcxx_cv_func__isinf_use=yes
64037 else
64038 glibcxx_cv_func__isinf_use=no
64040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64041 ac_ext=c
64042 ac_cpp='$CPP $CPPFLAGS'
64043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64052 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64054 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64055 for ac_func in _isinf
64056 do :
64057 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64058 if test "x$ac_cv_func__isinf" = x""yes; then :
64059 cat >>confdefs.h <<_ACEOF
64060 #define HAVE__ISINF 1
64061 _ACEOF
64064 done
64073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64074 $as_echo_n "checking for isnan declaration... " >&6; }
64075 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64076 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64077 $as_echo_n "(cached) " >&6
64078 else
64081 ac_ext=cpp
64082 ac_cpp='$CXXCPP $CPPFLAGS'
64083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64088 /* end confdefs.h. */
64089 #include <math.h>
64090 #ifdef HAVE_IEEEFP_H
64091 #include <ieeefp.h>
64092 #endif
64095 main ()
64097 isnan(0);
64099 return 0;
64101 _ACEOF
64102 if ac_fn_cxx_try_compile "$LINENO"; then :
64103 glibcxx_cv_func_isnan_use=yes
64104 else
64105 glibcxx_cv_func_isnan_use=no
64107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64108 ac_ext=c
64109 ac_cpp='$CPP $CPPFLAGS'
64110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64119 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64121 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64122 for ac_func in isnan
64123 do :
64124 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64125 if test "x$ac_cv_func_isnan" = x""yes; then :
64126 cat >>confdefs.h <<_ACEOF
64127 #define HAVE_ISNAN 1
64128 _ACEOF
64131 done
64133 else
64135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64136 $as_echo_n "checking for _isnan declaration... " >&6; }
64137 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64138 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64139 $as_echo_n "(cached) " >&6
64140 else
64143 ac_ext=cpp
64144 ac_cpp='$CXXCPP $CPPFLAGS'
64145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64150 /* end confdefs.h. */
64151 #include <math.h>
64152 #ifdef HAVE_IEEEFP_H
64153 #include <ieeefp.h>
64154 #endif
64157 main ()
64159 _isnan(0);
64161 return 0;
64163 _ACEOF
64164 if ac_fn_cxx_try_compile "$LINENO"; then :
64165 glibcxx_cv_func__isnan_use=yes
64166 else
64167 glibcxx_cv_func__isnan_use=no
64169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64170 ac_ext=c
64171 ac_cpp='$CPP $CPPFLAGS'
64172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64181 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64183 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64184 for ac_func in _isnan
64185 do :
64186 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64187 if test "x$ac_cv_func__isnan" = x""yes; then :
64188 cat >>confdefs.h <<_ACEOF
64189 #define HAVE__ISNAN 1
64190 _ACEOF
64193 done
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64203 $as_echo_n "checking for finite declaration... " >&6; }
64204 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64205 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64206 $as_echo_n "(cached) " >&6
64207 else
64210 ac_ext=cpp
64211 ac_cpp='$CXXCPP $CPPFLAGS'
64212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64217 /* end confdefs.h. */
64218 #include <math.h>
64219 #ifdef HAVE_IEEEFP_H
64220 #include <ieeefp.h>
64221 #endif
64224 main ()
64226 finite(0);
64228 return 0;
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func_finite_use=yes
64233 else
64234 glibcxx_cv_func_finite_use=no
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64248 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64250 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64251 for ac_func in finite
64252 do :
64253 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64254 if test "x$ac_cv_func_finite" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE_FINITE 1
64257 _ACEOF
64260 done
64262 else
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64265 $as_echo_n "checking for _finite declaration... " >&6; }
64266 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64267 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64268 $as_echo_n "(cached) " >&6
64269 else
64272 ac_ext=cpp
64273 ac_cpp='$CXXCPP $CPPFLAGS'
64274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64279 /* end confdefs.h. */
64280 #include <math.h>
64281 #ifdef HAVE_IEEEFP_H
64282 #include <ieeefp.h>
64283 #endif
64286 main ()
64288 _finite(0);
64290 return 0;
64292 _ACEOF
64293 if ac_fn_cxx_try_compile "$LINENO"; then :
64294 glibcxx_cv_func__finite_use=yes
64295 else
64296 glibcxx_cv_func__finite_use=no
64298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64299 ac_ext=c
64300 ac_cpp='$CPP $CPPFLAGS'
64301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64310 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64312 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64313 for ac_func in _finite
64314 do :
64315 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64316 if test "x$ac_cv_func__finite" = x""yes; then :
64317 cat >>confdefs.h <<_ACEOF
64318 #define HAVE__FINITE 1
64319 _ACEOF
64322 done
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64332 $as_echo_n "checking for sincos declaration... " >&6; }
64333 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64334 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64335 $as_echo_n "(cached) " >&6
64336 else
64339 ac_ext=cpp
64340 ac_cpp='$CXXCPP $CPPFLAGS'
64341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64346 /* end confdefs.h. */
64347 #include <math.h>
64349 main ()
64351 sincos(0, 0, 0);
64353 return 0;
64355 _ACEOF
64356 if ac_fn_cxx_try_compile "$LINENO"; then :
64357 glibcxx_cv_func_sincos_use=yes
64358 else
64359 glibcxx_cv_func_sincos_use=no
64361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64362 ac_ext=c
64363 ac_cpp='$CPP $CPPFLAGS'
64364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64373 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64375 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64376 for ac_func in sincos
64377 do :
64378 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64379 if test "x$ac_cv_func_sincos" = x""yes; then :
64380 cat >>confdefs.h <<_ACEOF
64381 #define HAVE_SINCOS 1
64382 _ACEOF
64385 done
64387 else
64389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64390 $as_echo_n "checking for _sincos declaration... " >&6; }
64391 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64392 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64393 $as_echo_n "(cached) " >&6
64394 else
64397 ac_ext=cpp
64398 ac_cpp='$CXXCPP $CPPFLAGS'
64399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64404 /* end confdefs.h. */
64405 #include <math.h>
64407 main ()
64409 _sincos(0, 0, 0);
64411 return 0;
64413 _ACEOF
64414 if ac_fn_cxx_try_compile "$LINENO"; then :
64415 glibcxx_cv_func__sincos_use=yes
64416 else
64417 glibcxx_cv_func__sincos_use=no
64419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64420 ac_ext=c
64421 ac_cpp='$CPP $CPPFLAGS'
64422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64431 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64433 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64434 for ac_func in _sincos
64435 do :
64436 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64437 if test "x$ac_cv_func__sincos" = x""yes; then :
64438 cat >>confdefs.h <<_ACEOF
64439 #define HAVE__SINCOS 1
64440 _ACEOF
64443 done
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64453 $as_echo_n "checking for fpclass declaration... " >&6; }
64454 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64455 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64474 main ()
64476 fpclass(0);
64478 return 0;
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func_fpclass_use=yes
64483 else
64484 glibcxx_cv_func_fpclass_use=no
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64498 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64500 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64501 for ac_func in fpclass
64502 do :
64503 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64504 if test "x$ac_cv_func_fpclass" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE_FPCLASS 1
64507 _ACEOF
64510 done
64512 else
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64515 $as_echo_n "checking for _fpclass declaration... " >&6; }
64516 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64517 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64522 ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h. */
64530 #include <math.h>
64531 #ifdef HAVE_IEEEFP_H
64532 #include <ieeefp.h>
64533 #endif
64536 main ()
64538 _fpclass(0);
64540 return 0;
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func__fpclass_use=yes
64545 else
64546 glibcxx_cv_func__fpclass_use=no
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64560 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64562 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64563 for ac_func in _fpclass
64564 do :
64565 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64566 if test "x$ac_cv_func__fpclass" = x""yes; then :
64567 cat >>confdefs.h <<_ACEOF
64568 #define HAVE__FPCLASS 1
64569 _ACEOF
64572 done
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64582 $as_echo_n "checking for qfpclass declaration... " >&6; }
64583 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64584 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64585 $as_echo_n "(cached) " >&6
64586 else
64589 ac_ext=cpp
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64596 /* end confdefs.h. */
64597 #include <math.h>
64598 #ifdef HAVE_IEEEFP_H
64599 #include <ieeefp.h>
64600 #endif
64603 main ()
64605 qfpclass(0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func_qfpclass_use=yes
64612 else
64613 glibcxx_cv_func_qfpclass_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64627 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64629 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64630 for ac_func in qfpclass
64631 do :
64632 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64633 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define HAVE_QFPCLASS 1
64636 _ACEOF
64639 done
64641 else
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64644 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64645 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64646 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <math.h>
64660 #ifdef HAVE_IEEEFP_H
64661 #include <ieeefp.h>
64662 #endif
64665 main ()
64667 _qfpclass(0);
64669 return 0;
64671 _ACEOF
64672 if ac_fn_cxx_try_compile "$LINENO"; then :
64673 glibcxx_cv_func__qfpclass_use=yes
64674 else
64675 glibcxx_cv_func__qfpclass_use=no
64677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64678 ac_ext=c
64679 ac_cpp='$CPP $CPPFLAGS'
64680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64689 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64691 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64692 for ac_func in _qfpclass
64693 do :
64694 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64695 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64696 cat >>confdefs.h <<_ACEOF
64697 #define HAVE__QFPCLASS 1
64698 _ACEOF
64701 done
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64711 $as_echo_n "checking for hypot declaration... " >&6; }
64712 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64713 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64714 $as_echo_n "(cached) " >&6
64715 else
64718 ac_ext=cpp
64719 ac_cpp='$CXXCPP $CPPFLAGS'
64720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64725 /* end confdefs.h. */
64726 #include <math.h>
64728 main ()
64730 hypot(0, 0);
64732 return 0;
64734 _ACEOF
64735 if ac_fn_cxx_try_compile "$LINENO"; then :
64736 glibcxx_cv_func_hypot_use=yes
64737 else
64738 glibcxx_cv_func_hypot_use=no
64740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64741 ac_ext=c
64742 ac_cpp='$CPP $CPPFLAGS'
64743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64752 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64754 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64755 for ac_func in hypot
64756 do :
64757 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64758 if test "x$ac_cv_func_hypot" = x""yes; then :
64759 cat >>confdefs.h <<_ACEOF
64760 #define HAVE_HYPOT 1
64761 _ACEOF
64764 done
64766 else
64768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64769 $as_echo_n "checking for _hypot declaration... " >&6; }
64770 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64771 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64772 $as_echo_n "(cached) " >&6
64773 else
64776 ac_ext=cpp
64777 ac_cpp='$CXXCPP $CPPFLAGS'
64778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64783 /* end confdefs.h. */
64784 #include <math.h>
64786 main ()
64788 _hypot(0, 0);
64790 return 0;
64792 _ACEOF
64793 if ac_fn_cxx_try_compile "$LINENO"; then :
64794 glibcxx_cv_func__hypot_use=yes
64795 else
64796 glibcxx_cv_func__hypot_use=no
64798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64799 ac_ext=c
64800 ac_cpp='$CPP $CPPFLAGS'
64801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64810 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64812 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64813 for ac_func in _hypot
64814 do :
64815 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64816 if test "x$ac_cv_func__hypot" = x""yes; then :
64817 cat >>confdefs.h <<_ACEOF
64818 #define HAVE__HYPOT 1
64819 _ACEOF
64822 done
64831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64832 $as_echo_n "checking for float trig functions... " >&6; }
64833 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64834 $as_echo_n "(cached) " >&6
64835 else
64838 ac_ext=cpp
64839 ac_cpp='$CXXCPP $CPPFLAGS'
64840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64845 /* end confdefs.h. */
64846 #include <math.h>
64848 main ()
64850 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64852 return 0;
64854 _ACEOF
64855 if ac_fn_cxx_try_compile "$LINENO"; then :
64856 glibcxx_cv_func_float_trig_use=yes
64857 else
64858 glibcxx_cv_func_float_trig_use=no
64860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64861 ac_ext=c
64862 ac_cpp='$CPP $CPPFLAGS'
64863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64870 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64871 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64872 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64873 do :
64874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64876 eval as_val=\$$as_ac_var
64877 if test "x$as_val" = x""yes; then :
64878 cat >>confdefs.h <<_ACEOF
64879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64880 _ACEOF
64883 done
64885 else
64886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64887 $as_echo_n "checking for _float trig functions... " >&6; }
64888 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64889 $as_echo_n "(cached) " >&6
64890 else
64893 ac_ext=cpp
64894 ac_cpp='$CXXCPP $CPPFLAGS'
64895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64900 /* end confdefs.h. */
64901 #include <math.h>
64903 main ()
64905 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64907 return 0;
64909 _ACEOF
64910 if ac_fn_cxx_try_compile "$LINENO"; then :
64911 glibcxx_cv_func__float_trig_use=yes
64912 else
64913 glibcxx_cv_func__float_trig_use=no
64915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64916 ac_ext=c
64917 ac_cpp='$CPP $CPPFLAGS'
64918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64925 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64926 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64927 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64928 do :
64929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64931 eval as_val=\$$as_ac_var
64932 if test "x$as_val" = x""yes; then :
64933 cat >>confdefs.h <<_ACEOF
64934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64935 _ACEOF
64938 done
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64948 $as_echo_n "checking for float round functions... " >&6; }
64949 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64950 $as_echo_n "(cached) " >&6
64951 else
64954 ac_ext=cpp
64955 ac_cpp='$CXXCPP $CPPFLAGS'
64956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64961 /* end confdefs.h. */
64962 #include <math.h>
64964 main ()
64966 ceilf (0); floorf (0);
64968 return 0;
64970 _ACEOF
64971 if ac_fn_cxx_try_compile "$LINENO"; then :
64972 glibcxx_cv_func_float_round_use=yes
64973 else
64974 glibcxx_cv_func_float_round_use=no
64976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64977 ac_ext=c
64978 ac_cpp='$CPP $CPPFLAGS'
64979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64986 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64987 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64988 for ac_func in ceilf floorf
64989 do :
64990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64992 eval as_val=\$$as_ac_var
64993 if test "x$as_val" = x""yes; then :
64994 cat >>confdefs.h <<_ACEOF
64995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64996 _ACEOF
64999 done
65001 else
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65003 $as_echo_n "checking for _float round functions... " >&6; }
65004 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65005 $as_echo_n "(cached) " >&6
65006 else
65009 ac_ext=cpp
65010 ac_cpp='$CXXCPP $CPPFLAGS'
65011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65016 /* end confdefs.h. */
65017 #include <math.h>
65019 main ()
65021 _ceilf (0); _floorf (0);
65023 return 0;
65025 _ACEOF
65026 if ac_fn_cxx_try_compile "$LINENO"; then :
65027 glibcxx_cv_func__float_round_use=yes
65028 else
65029 glibcxx_cv_func__float_round_use=no
65031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65032 ac_ext=c
65033 ac_cpp='$CPP $CPPFLAGS'
65034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65041 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65042 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65043 for ac_func in _ceilf _floorf
65044 do :
65045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65047 eval as_val=\$$as_ac_var
65048 if test "x$as_val" = x""yes; then :
65049 cat >>confdefs.h <<_ACEOF
65050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65051 _ACEOF
65054 done
65064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65065 $as_echo_n "checking for expf declaration... " >&6; }
65066 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65067 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65068 $as_echo_n "(cached) " >&6
65069 else
65072 ac_ext=cpp
65073 ac_cpp='$CXXCPP $CPPFLAGS'
65074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65079 /* end confdefs.h. */
65080 #include <math.h>
65081 #ifdef HAVE_IEEEFP_H
65082 #include <ieeefp.h>
65083 #endif
65086 main ()
65088 expf(0);
65090 return 0;
65092 _ACEOF
65093 if ac_fn_cxx_try_compile "$LINENO"; then :
65094 glibcxx_cv_func_expf_use=yes
65095 else
65096 glibcxx_cv_func_expf_use=no
65098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65099 ac_ext=c
65100 ac_cpp='$CPP $CPPFLAGS'
65101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65110 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65112 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65113 for ac_func in expf
65114 do :
65115 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65116 if test "x$ac_cv_func_expf" = x""yes; then :
65117 cat >>confdefs.h <<_ACEOF
65118 #define HAVE_EXPF 1
65119 _ACEOF
65122 done
65124 else
65126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65127 $as_echo_n "checking for _expf declaration... " >&6; }
65128 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65129 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65130 $as_echo_n "(cached) " >&6
65131 else
65134 ac_ext=cpp
65135 ac_cpp='$CXXCPP $CPPFLAGS'
65136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65141 /* end confdefs.h. */
65142 #include <math.h>
65143 #ifdef HAVE_IEEEFP_H
65144 #include <ieeefp.h>
65145 #endif
65148 main ()
65150 _expf(0);
65152 return 0;
65154 _ACEOF
65155 if ac_fn_cxx_try_compile "$LINENO"; then :
65156 glibcxx_cv_func__expf_use=yes
65157 else
65158 glibcxx_cv_func__expf_use=no
65160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65161 ac_ext=c
65162 ac_cpp='$CPP $CPPFLAGS'
65163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65172 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65174 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65175 for ac_func in _expf
65176 do :
65177 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65178 if test "x$ac_cv_func__expf" = x""yes; then :
65179 cat >>confdefs.h <<_ACEOF
65180 #define HAVE__EXPF 1
65181 _ACEOF
65184 done
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65194 $as_echo_n "checking for isnanf declaration... " >&6; }
65195 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65196 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65197 $as_echo_n "(cached) " >&6
65198 else
65201 ac_ext=cpp
65202 ac_cpp='$CXXCPP $CPPFLAGS'
65203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65208 /* end confdefs.h. */
65209 #include <math.h>
65210 #ifdef HAVE_IEEEFP_H
65211 #include <ieeefp.h>
65212 #endif
65215 main ()
65217 isnanf(0);
65219 return 0;
65221 _ACEOF
65222 if ac_fn_cxx_try_compile "$LINENO"; then :
65223 glibcxx_cv_func_isnanf_use=yes
65224 else
65225 glibcxx_cv_func_isnanf_use=no
65227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65228 ac_ext=c
65229 ac_cpp='$CPP $CPPFLAGS'
65230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65239 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65241 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65242 for ac_func in isnanf
65243 do :
65244 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65245 if test "x$ac_cv_func_isnanf" = x""yes; then :
65246 cat >>confdefs.h <<_ACEOF
65247 #define HAVE_ISNANF 1
65248 _ACEOF
65251 done
65253 else
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65256 $as_echo_n "checking for _isnanf declaration... " >&6; }
65257 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65258 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65259 $as_echo_n "(cached) " >&6
65260 else
65263 ac_ext=cpp
65264 ac_cpp='$CXXCPP $CPPFLAGS'
65265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65270 /* end confdefs.h. */
65271 #include <math.h>
65272 #ifdef HAVE_IEEEFP_H
65273 #include <ieeefp.h>
65274 #endif
65277 main ()
65279 _isnanf(0);
65281 return 0;
65283 _ACEOF
65284 if ac_fn_cxx_try_compile "$LINENO"; then :
65285 glibcxx_cv_func__isnanf_use=yes
65286 else
65287 glibcxx_cv_func__isnanf_use=no
65289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65290 ac_ext=c
65291 ac_cpp='$CPP $CPPFLAGS'
65292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65301 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65303 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65304 for ac_func in _isnanf
65305 do :
65306 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65307 if test "x$ac_cv_func__isnanf" = x""yes; then :
65308 cat >>confdefs.h <<_ACEOF
65309 #define HAVE__ISNANF 1
65310 _ACEOF
65313 done
65322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65323 $as_echo_n "checking for isinff declaration... " >&6; }
65324 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65325 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65326 $as_echo_n "(cached) " >&6
65327 else
65330 ac_ext=cpp
65331 ac_cpp='$CXXCPP $CPPFLAGS'
65332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65337 /* end confdefs.h. */
65338 #include <math.h>
65339 #ifdef HAVE_IEEEFP_H
65340 #include <ieeefp.h>
65341 #endif
65344 main ()
65346 isinff(0);
65348 return 0;
65350 _ACEOF
65351 if ac_fn_cxx_try_compile "$LINENO"; then :
65352 glibcxx_cv_func_isinff_use=yes
65353 else
65354 glibcxx_cv_func_isinff_use=no
65356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65357 ac_ext=c
65358 ac_cpp='$CPP $CPPFLAGS'
65359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65368 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65370 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65371 for ac_func in isinff
65372 do :
65373 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65374 if test "x$ac_cv_func_isinff" = x""yes; then :
65375 cat >>confdefs.h <<_ACEOF
65376 #define HAVE_ISINFF 1
65377 _ACEOF
65380 done
65382 else
65384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65385 $as_echo_n "checking for _isinff declaration... " >&6; }
65386 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65387 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65388 $as_echo_n "(cached) " >&6
65389 else
65392 ac_ext=cpp
65393 ac_cpp='$CXXCPP $CPPFLAGS'
65394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65399 /* end confdefs.h. */
65400 #include <math.h>
65401 #ifdef HAVE_IEEEFP_H
65402 #include <ieeefp.h>
65403 #endif
65406 main ()
65408 _isinff(0);
65410 return 0;
65412 _ACEOF
65413 if ac_fn_cxx_try_compile "$LINENO"; then :
65414 glibcxx_cv_func__isinff_use=yes
65415 else
65416 glibcxx_cv_func__isinff_use=no
65418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65419 ac_ext=c
65420 ac_cpp='$CPP $CPPFLAGS'
65421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65430 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65432 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65433 for ac_func in _isinff
65434 do :
65435 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65436 if test "x$ac_cv_func__isinff" = x""yes; then :
65437 cat >>confdefs.h <<_ACEOF
65438 #define HAVE__ISINFF 1
65439 _ACEOF
65442 done
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65452 $as_echo_n "checking for atan2f declaration... " >&6; }
65453 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65454 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65455 $as_echo_n "(cached) " >&6
65456 else
65459 ac_ext=cpp
65460 ac_cpp='$CXXCPP $CPPFLAGS'
65461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65466 /* end confdefs.h. */
65467 #include <math.h>
65469 main ()
65471 atan2f(0, 0);
65473 return 0;
65475 _ACEOF
65476 if ac_fn_cxx_try_compile "$LINENO"; then :
65477 glibcxx_cv_func_atan2f_use=yes
65478 else
65479 glibcxx_cv_func_atan2f_use=no
65481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65482 ac_ext=c
65483 ac_cpp='$CPP $CPPFLAGS'
65484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65493 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65495 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65496 for ac_func in atan2f
65497 do :
65498 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65499 if test "x$ac_cv_func_atan2f" = x""yes; then :
65500 cat >>confdefs.h <<_ACEOF
65501 #define HAVE_ATAN2F 1
65502 _ACEOF
65505 done
65507 else
65509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65510 $as_echo_n "checking for _atan2f declaration... " >&6; }
65511 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65512 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65513 $as_echo_n "(cached) " >&6
65514 else
65517 ac_ext=cpp
65518 ac_cpp='$CXXCPP $CPPFLAGS'
65519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65524 /* end confdefs.h. */
65525 #include <math.h>
65527 main ()
65529 _atan2f(0, 0);
65531 return 0;
65533 _ACEOF
65534 if ac_fn_cxx_try_compile "$LINENO"; then :
65535 glibcxx_cv_func__atan2f_use=yes
65536 else
65537 glibcxx_cv_func__atan2f_use=no
65539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65540 ac_ext=c
65541 ac_cpp='$CPP $CPPFLAGS'
65542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65551 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65553 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65554 for ac_func in _atan2f
65555 do :
65556 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65557 if test "x$ac_cv_func__atan2f" = x""yes; then :
65558 cat >>confdefs.h <<_ACEOF
65559 #define HAVE__ATAN2F 1
65560 _ACEOF
65563 done
65572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65573 $as_echo_n "checking for fabsf declaration... " >&6; }
65574 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65575 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65576 $as_echo_n "(cached) " >&6
65577 else
65580 ac_ext=cpp
65581 ac_cpp='$CXXCPP $CPPFLAGS'
65582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65587 /* end confdefs.h. */
65588 #include <math.h>
65589 #ifdef HAVE_IEEEFP_H
65590 #include <ieeefp.h>
65591 #endif
65594 main ()
65596 fabsf(0);
65598 return 0;
65600 _ACEOF
65601 if ac_fn_cxx_try_compile "$LINENO"; then :
65602 glibcxx_cv_func_fabsf_use=yes
65603 else
65604 glibcxx_cv_func_fabsf_use=no
65606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65607 ac_ext=c
65608 ac_cpp='$CPP $CPPFLAGS'
65609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65618 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65620 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65621 for ac_func in fabsf
65622 do :
65623 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65624 if test "x$ac_cv_func_fabsf" = x""yes; then :
65625 cat >>confdefs.h <<_ACEOF
65626 #define HAVE_FABSF 1
65627 _ACEOF
65630 done
65632 else
65634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65635 $as_echo_n "checking for _fabsf declaration... " >&6; }
65636 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65637 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65638 $as_echo_n "(cached) " >&6
65639 else
65642 ac_ext=cpp
65643 ac_cpp='$CXXCPP $CPPFLAGS'
65644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65649 /* end confdefs.h. */
65650 #include <math.h>
65651 #ifdef HAVE_IEEEFP_H
65652 #include <ieeefp.h>
65653 #endif
65656 main ()
65658 _fabsf(0);
65660 return 0;
65662 _ACEOF
65663 if ac_fn_cxx_try_compile "$LINENO"; then :
65664 glibcxx_cv_func__fabsf_use=yes
65665 else
65666 glibcxx_cv_func__fabsf_use=no
65668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65669 ac_ext=c
65670 ac_cpp='$CPP $CPPFLAGS'
65671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65680 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65682 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65683 for ac_func in _fabsf
65684 do :
65685 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65686 if test "x$ac_cv_func__fabsf" = x""yes; then :
65687 cat >>confdefs.h <<_ACEOF
65688 #define HAVE__FABSF 1
65689 _ACEOF
65692 done
65701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65702 $as_echo_n "checking for fmodf declaration... " >&6; }
65703 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65704 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65705 $as_echo_n "(cached) " >&6
65706 else
65709 ac_ext=cpp
65710 ac_cpp='$CXXCPP $CPPFLAGS'
65711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65716 /* end confdefs.h. */
65717 #include <math.h>
65719 main ()
65721 fmodf(0, 0);
65723 return 0;
65725 _ACEOF
65726 if ac_fn_cxx_try_compile "$LINENO"; then :
65727 glibcxx_cv_func_fmodf_use=yes
65728 else
65729 glibcxx_cv_func_fmodf_use=no
65731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65732 ac_ext=c
65733 ac_cpp='$CPP $CPPFLAGS'
65734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65743 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65745 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65746 for ac_func in fmodf
65747 do :
65748 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65749 if test "x$ac_cv_func_fmodf" = x""yes; then :
65750 cat >>confdefs.h <<_ACEOF
65751 #define HAVE_FMODF 1
65752 _ACEOF
65755 done
65757 else
65759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65760 $as_echo_n "checking for _fmodf declaration... " >&6; }
65761 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65762 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65763 $as_echo_n "(cached) " >&6
65764 else
65767 ac_ext=cpp
65768 ac_cpp='$CXXCPP $CPPFLAGS'
65769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65774 /* end confdefs.h. */
65775 #include <math.h>
65777 main ()
65779 _fmodf(0, 0);
65781 return 0;
65783 _ACEOF
65784 if ac_fn_cxx_try_compile "$LINENO"; then :
65785 glibcxx_cv_func__fmodf_use=yes
65786 else
65787 glibcxx_cv_func__fmodf_use=no
65789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65790 ac_ext=c
65791 ac_cpp='$CPP $CPPFLAGS'
65792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65801 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65803 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65804 for ac_func in _fmodf
65805 do :
65806 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65807 if test "x$ac_cv_func__fmodf" = x""yes; then :
65808 cat >>confdefs.h <<_ACEOF
65809 #define HAVE__FMODF 1
65810 _ACEOF
65813 done
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65823 $as_echo_n "checking for frexpf declaration... " >&6; }
65824 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65825 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65826 $as_echo_n "(cached) " >&6
65827 else
65830 ac_ext=cpp
65831 ac_cpp='$CXXCPP $CPPFLAGS'
65832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65837 /* end confdefs.h. */
65838 #include <math.h>
65840 main ()
65842 frexpf(0, 0);
65844 return 0;
65846 _ACEOF
65847 if ac_fn_cxx_try_compile "$LINENO"; then :
65848 glibcxx_cv_func_frexpf_use=yes
65849 else
65850 glibcxx_cv_func_frexpf_use=no
65852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65853 ac_ext=c
65854 ac_cpp='$CPP $CPPFLAGS'
65855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65864 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65866 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65867 for ac_func in frexpf
65868 do :
65869 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65870 if test "x$ac_cv_func_frexpf" = x""yes; then :
65871 cat >>confdefs.h <<_ACEOF
65872 #define HAVE_FREXPF 1
65873 _ACEOF
65876 done
65878 else
65880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65881 $as_echo_n "checking for _frexpf declaration... " >&6; }
65882 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65883 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65884 $as_echo_n "(cached) " >&6
65885 else
65888 ac_ext=cpp
65889 ac_cpp='$CXXCPP $CPPFLAGS'
65890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65895 /* end confdefs.h. */
65896 #include <math.h>
65898 main ()
65900 _frexpf(0, 0);
65902 return 0;
65904 _ACEOF
65905 if ac_fn_cxx_try_compile "$LINENO"; then :
65906 glibcxx_cv_func__frexpf_use=yes
65907 else
65908 glibcxx_cv_func__frexpf_use=no
65910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65911 ac_ext=c
65912 ac_cpp='$CPP $CPPFLAGS'
65913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65922 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65924 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65925 for ac_func in _frexpf
65926 do :
65927 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65928 if test "x$ac_cv_func__frexpf" = x""yes; then :
65929 cat >>confdefs.h <<_ACEOF
65930 #define HAVE__FREXPF 1
65931 _ACEOF
65934 done
65943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65944 $as_echo_n "checking for hypotf declaration... " >&6; }
65945 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65946 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65947 $as_echo_n "(cached) " >&6
65948 else
65951 ac_ext=cpp
65952 ac_cpp='$CXXCPP $CPPFLAGS'
65953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65958 /* end confdefs.h. */
65959 #include <math.h>
65961 main ()
65963 hypotf(0, 0);
65965 return 0;
65967 _ACEOF
65968 if ac_fn_cxx_try_compile "$LINENO"; then :
65969 glibcxx_cv_func_hypotf_use=yes
65970 else
65971 glibcxx_cv_func_hypotf_use=no
65973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65974 ac_ext=c
65975 ac_cpp='$CPP $CPPFLAGS'
65976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65985 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65987 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65988 for ac_func in hypotf
65989 do :
65990 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65991 if test "x$ac_cv_func_hypotf" = x""yes; then :
65992 cat >>confdefs.h <<_ACEOF
65993 #define HAVE_HYPOTF 1
65994 _ACEOF
65997 done
65999 else
66001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66002 $as_echo_n "checking for _hypotf declaration... " >&6; }
66003 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66004 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66005 $as_echo_n "(cached) " >&6
66006 else
66009 ac_ext=cpp
66010 ac_cpp='$CXXCPP $CPPFLAGS'
66011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66016 /* end confdefs.h. */
66017 #include <math.h>
66019 main ()
66021 _hypotf(0, 0);
66023 return 0;
66025 _ACEOF
66026 if ac_fn_cxx_try_compile "$LINENO"; then :
66027 glibcxx_cv_func__hypotf_use=yes
66028 else
66029 glibcxx_cv_func__hypotf_use=no
66031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66032 ac_ext=c
66033 ac_cpp='$CPP $CPPFLAGS'
66034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66043 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66045 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66046 for ac_func in _hypotf
66047 do :
66048 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66049 if test "x$ac_cv_func__hypotf" = x""yes; then :
66050 cat >>confdefs.h <<_ACEOF
66051 #define HAVE__HYPOTF 1
66052 _ACEOF
66055 done
66064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66065 $as_echo_n "checking for ldexpf declaration... " >&6; }
66066 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66067 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66068 $as_echo_n "(cached) " >&6
66069 else
66072 ac_ext=cpp
66073 ac_cpp='$CXXCPP $CPPFLAGS'
66074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66079 /* end confdefs.h. */
66080 #include <math.h>
66082 main ()
66084 ldexpf(0, 0);
66086 return 0;
66088 _ACEOF
66089 if ac_fn_cxx_try_compile "$LINENO"; then :
66090 glibcxx_cv_func_ldexpf_use=yes
66091 else
66092 glibcxx_cv_func_ldexpf_use=no
66094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66095 ac_ext=c
66096 ac_cpp='$CPP $CPPFLAGS'
66097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66106 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66108 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66109 for ac_func in ldexpf
66110 do :
66111 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66112 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66113 cat >>confdefs.h <<_ACEOF
66114 #define HAVE_LDEXPF 1
66115 _ACEOF
66118 done
66120 else
66122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66123 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66124 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66125 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66126 $as_echo_n "(cached) " >&6
66127 else
66130 ac_ext=cpp
66131 ac_cpp='$CXXCPP $CPPFLAGS'
66132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66137 /* end confdefs.h. */
66138 #include <math.h>
66140 main ()
66142 _ldexpf(0, 0);
66144 return 0;
66146 _ACEOF
66147 if ac_fn_cxx_try_compile "$LINENO"; then :
66148 glibcxx_cv_func__ldexpf_use=yes
66149 else
66150 glibcxx_cv_func__ldexpf_use=no
66152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66153 ac_ext=c
66154 ac_cpp='$CPP $CPPFLAGS'
66155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66164 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66166 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66167 for ac_func in _ldexpf
66168 do :
66169 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66170 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66171 cat >>confdefs.h <<_ACEOF
66172 #define HAVE__LDEXPF 1
66173 _ACEOF
66176 done
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66186 $as_echo_n "checking for logf declaration... " >&6; }
66187 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66188 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66189 $as_echo_n "(cached) " >&6
66190 else
66193 ac_ext=cpp
66194 ac_cpp='$CXXCPP $CPPFLAGS'
66195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66200 /* end confdefs.h. */
66201 #include <math.h>
66202 #ifdef HAVE_IEEEFP_H
66203 #include <ieeefp.h>
66204 #endif
66207 main ()
66209 logf(0);
66211 return 0;
66213 _ACEOF
66214 if ac_fn_cxx_try_compile "$LINENO"; then :
66215 glibcxx_cv_func_logf_use=yes
66216 else
66217 glibcxx_cv_func_logf_use=no
66219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66220 ac_ext=c
66221 ac_cpp='$CPP $CPPFLAGS'
66222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66231 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66233 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66234 for ac_func in logf
66235 do :
66236 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66237 if test "x$ac_cv_func_logf" = x""yes; then :
66238 cat >>confdefs.h <<_ACEOF
66239 #define HAVE_LOGF 1
66240 _ACEOF
66243 done
66245 else
66247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66248 $as_echo_n "checking for _logf declaration... " >&6; }
66249 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66250 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66251 $as_echo_n "(cached) " >&6
66252 else
66255 ac_ext=cpp
66256 ac_cpp='$CXXCPP $CPPFLAGS'
66257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66262 /* end confdefs.h. */
66263 #include <math.h>
66264 #ifdef HAVE_IEEEFP_H
66265 #include <ieeefp.h>
66266 #endif
66269 main ()
66271 _logf(0);
66273 return 0;
66275 _ACEOF
66276 if ac_fn_cxx_try_compile "$LINENO"; then :
66277 glibcxx_cv_func__logf_use=yes
66278 else
66279 glibcxx_cv_func__logf_use=no
66281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66282 ac_ext=c
66283 ac_cpp='$CPP $CPPFLAGS'
66284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66293 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66295 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66296 for ac_func in _logf
66297 do :
66298 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66299 if test "x$ac_cv_func__logf" = x""yes; then :
66300 cat >>confdefs.h <<_ACEOF
66301 #define HAVE__LOGF 1
66302 _ACEOF
66305 done
66314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66315 $as_echo_n "checking for log10f declaration... " >&6; }
66316 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66317 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66318 $as_echo_n "(cached) " >&6
66319 else
66322 ac_ext=cpp
66323 ac_cpp='$CXXCPP $CPPFLAGS'
66324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66329 /* end confdefs.h. */
66330 #include <math.h>
66331 #ifdef HAVE_IEEEFP_H
66332 #include <ieeefp.h>
66333 #endif
66336 main ()
66338 log10f(0);
66340 return 0;
66342 _ACEOF
66343 if ac_fn_cxx_try_compile "$LINENO"; then :
66344 glibcxx_cv_func_log10f_use=yes
66345 else
66346 glibcxx_cv_func_log10f_use=no
66348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66349 ac_ext=c
66350 ac_cpp='$CPP $CPPFLAGS'
66351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66360 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66362 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66363 for ac_func in log10f
66364 do :
66365 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66366 if test "x$ac_cv_func_log10f" = x""yes; then :
66367 cat >>confdefs.h <<_ACEOF
66368 #define HAVE_LOG10F 1
66369 _ACEOF
66372 done
66374 else
66376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66377 $as_echo_n "checking for _log10f declaration... " >&6; }
66378 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66379 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66380 $as_echo_n "(cached) " >&6
66381 else
66384 ac_ext=cpp
66385 ac_cpp='$CXXCPP $CPPFLAGS'
66386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66391 /* end confdefs.h. */
66392 #include <math.h>
66393 #ifdef HAVE_IEEEFP_H
66394 #include <ieeefp.h>
66395 #endif
66398 main ()
66400 _log10f(0);
66402 return 0;
66404 _ACEOF
66405 if ac_fn_cxx_try_compile "$LINENO"; then :
66406 glibcxx_cv_func__log10f_use=yes
66407 else
66408 glibcxx_cv_func__log10f_use=no
66410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66411 ac_ext=c
66412 ac_cpp='$CPP $CPPFLAGS'
66413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66422 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66424 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66425 for ac_func in _log10f
66426 do :
66427 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66428 if test "x$ac_cv_func__log10f" = x""yes; then :
66429 cat >>confdefs.h <<_ACEOF
66430 #define HAVE__LOG10F 1
66431 _ACEOF
66434 done
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66444 $as_echo_n "checking for modff declaration... " >&6; }
66445 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66446 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66447 $as_echo_n "(cached) " >&6
66448 else
66451 ac_ext=cpp
66452 ac_cpp='$CXXCPP $CPPFLAGS'
66453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66458 /* end confdefs.h. */
66459 #include <math.h>
66461 main ()
66463 modff(0, 0);
66465 return 0;
66467 _ACEOF
66468 if ac_fn_cxx_try_compile "$LINENO"; then :
66469 glibcxx_cv_func_modff_use=yes
66470 else
66471 glibcxx_cv_func_modff_use=no
66473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66474 ac_ext=c
66475 ac_cpp='$CPP $CPPFLAGS'
66476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66485 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66487 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66488 for ac_func in modff
66489 do :
66490 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66491 if test "x$ac_cv_func_modff" = x""yes; then :
66492 cat >>confdefs.h <<_ACEOF
66493 #define HAVE_MODFF 1
66494 _ACEOF
66497 done
66499 else
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66502 $as_echo_n "checking for _modff declaration... " >&6; }
66503 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66504 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66505 $as_echo_n "(cached) " >&6
66506 else
66509 ac_ext=cpp
66510 ac_cpp='$CXXCPP $CPPFLAGS'
66511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66516 /* end confdefs.h. */
66517 #include <math.h>
66519 main ()
66521 _modff(0, 0);
66523 return 0;
66525 _ACEOF
66526 if ac_fn_cxx_try_compile "$LINENO"; then :
66527 glibcxx_cv_func__modff_use=yes
66528 else
66529 glibcxx_cv_func__modff_use=no
66531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66532 ac_ext=c
66533 ac_cpp='$CPP $CPPFLAGS'
66534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66543 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66545 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66546 for ac_func in _modff
66547 do :
66548 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66549 if test "x$ac_cv_func__modff" = x""yes; then :
66550 cat >>confdefs.h <<_ACEOF
66551 #define HAVE__MODFF 1
66552 _ACEOF
66555 done
66564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66565 $as_echo_n "checking for modf declaration... " >&6; }
66566 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66567 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66568 $as_echo_n "(cached) " >&6
66569 else
66572 ac_ext=cpp
66573 ac_cpp='$CXXCPP $CPPFLAGS'
66574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66579 /* end confdefs.h. */
66580 #include <math.h>
66582 main ()
66584 modf(0, 0);
66586 return 0;
66588 _ACEOF
66589 if ac_fn_cxx_try_compile "$LINENO"; then :
66590 glibcxx_cv_func_modf_use=yes
66591 else
66592 glibcxx_cv_func_modf_use=no
66594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66595 ac_ext=c
66596 ac_cpp='$CPP $CPPFLAGS'
66597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66606 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66608 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66609 for ac_func in modf
66610 do :
66611 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66612 if test "x$ac_cv_func_modf" = x""yes; then :
66613 cat >>confdefs.h <<_ACEOF
66614 #define HAVE_MODF 1
66615 _ACEOF
66618 done
66620 else
66622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66623 $as_echo_n "checking for _modf declaration... " >&6; }
66624 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66625 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66626 $as_echo_n "(cached) " >&6
66627 else
66630 ac_ext=cpp
66631 ac_cpp='$CXXCPP $CPPFLAGS'
66632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66637 /* end confdefs.h. */
66638 #include <math.h>
66640 main ()
66642 _modf(0, 0);
66644 return 0;
66646 _ACEOF
66647 if ac_fn_cxx_try_compile "$LINENO"; then :
66648 glibcxx_cv_func__modf_use=yes
66649 else
66650 glibcxx_cv_func__modf_use=no
66652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66653 ac_ext=c
66654 ac_cpp='$CPP $CPPFLAGS'
66655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66664 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66666 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66667 for ac_func in _modf
66668 do :
66669 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66670 if test "x$ac_cv_func__modf" = x""yes; then :
66671 cat >>confdefs.h <<_ACEOF
66672 #define HAVE__MODF 1
66673 _ACEOF
66676 done
66685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66686 $as_echo_n "checking for powf declaration... " >&6; }
66687 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66688 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66689 $as_echo_n "(cached) " >&6
66690 else
66693 ac_ext=cpp
66694 ac_cpp='$CXXCPP $CPPFLAGS'
66695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66700 /* end confdefs.h. */
66701 #include <math.h>
66703 main ()
66705 powf(0, 0);
66707 return 0;
66709 _ACEOF
66710 if ac_fn_cxx_try_compile "$LINENO"; then :
66711 glibcxx_cv_func_powf_use=yes
66712 else
66713 glibcxx_cv_func_powf_use=no
66715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66716 ac_ext=c
66717 ac_cpp='$CPP $CPPFLAGS'
66718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66727 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66729 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66730 for ac_func in powf
66731 do :
66732 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66733 if test "x$ac_cv_func_powf" = x""yes; then :
66734 cat >>confdefs.h <<_ACEOF
66735 #define HAVE_POWF 1
66736 _ACEOF
66739 done
66741 else
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66744 $as_echo_n "checking for _powf declaration... " >&6; }
66745 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66746 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66747 $as_echo_n "(cached) " >&6
66748 else
66751 ac_ext=cpp
66752 ac_cpp='$CXXCPP $CPPFLAGS'
66753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66758 /* end confdefs.h. */
66759 #include <math.h>
66761 main ()
66763 _powf(0, 0);
66765 return 0;
66767 _ACEOF
66768 if ac_fn_cxx_try_compile "$LINENO"; then :
66769 glibcxx_cv_func__powf_use=yes
66770 else
66771 glibcxx_cv_func__powf_use=no
66773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66774 ac_ext=c
66775 ac_cpp='$CPP $CPPFLAGS'
66776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66785 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66787 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66788 for ac_func in _powf
66789 do :
66790 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66791 if test "x$ac_cv_func__powf" = x""yes; then :
66792 cat >>confdefs.h <<_ACEOF
66793 #define HAVE__POWF 1
66794 _ACEOF
66797 done
66806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66807 $as_echo_n "checking for sqrtf declaration... " >&6; }
66808 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66809 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66810 $as_echo_n "(cached) " >&6
66811 else
66814 ac_ext=cpp
66815 ac_cpp='$CXXCPP $CPPFLAGS'
66816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66821 /* end confdefs.h. */
66822 #include <math.h>
66823 #ifdef HAVE_IEEEFP_H
66824 #include <ieeefp.h>
66825 #endif
66828 main ()
66830 sqrtf(0);
66832 return 0;
66834 _ACEOF
66835 if ac_fn_cxx_try_compile "$LINENO"; then :
66836 glibcxx_cv_func_sqrtf_use=yes
66837 else
66838 glibcxx_cv_func_sqrtf_use=no
66840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66841 ac_ext=c
66842 ac_cpp='$CPP $CPPFLAGS'
66843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66852 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66854 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66855 for ac_func in sqrtf
66856 do :
66857 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66858 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66859 cat >>confdefs.h <<_ACEOF
66860 #define HAVE_SQRTF 1
66861 _ACEOF
66864 done
66866 else
66868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66869 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66870 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66871 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66872 $as_echo_n "(cached) " >&6
66873 else
66876 ac_ext=cpp
66877 ac_cpp='$CXXCPP $CPPFLAGS'
66878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66883 /* end confdefs.h. */
66884 #include <math.h>
66885 #ifdef HAVE_IEEEFP_H
66886 #include <ieeefp.h>
66887 #endif
66890 main ()
66892 _sqrtf(0);
66894 return 0;
66896 _ACEOF
66897 if ac_fn_cxx_try_compile "$LINENO"; then :
66898 glibcxx_cv_func__sqrtf_use=yes
66899 else
66900 glibcxx_cv_func__sqrtf_use=no
66902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66903 ac_ext=c
66904 ac_cpp='$CPP $CPPFLAGS'
66905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66914 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66916 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66917 for ac_func in _sqrtf
66918 do :
66919 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66920 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66921 cat >>confdefs.h <<_ACEOF
66922 #define HAVE__SQRTF 1
66923 _ACEOF
66926 done
66935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66936 $as_echo_n "checking for sincosf declaration... " >&6; }
66937 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66938 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66939 $as_echo_n "(cached) " >&6
66940 else
66943 ac_ext=cpp
66944 ac_cpp='$CXXCPP $CPPFLAGS'
66945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66950 /* end confdefs.h. */
66951 #include <math.h>
66953 main ()
66955 sincosf(0, 0, 0);
66957 return 0;
66959 _ACEOF
66960 if ac_fn_cxx_try_compile "$LINENO"; then :
66961 glibcxx_cv_func_sincosf_use=yes
66962 else
66963 glibcxx_cv_func_sincosf_use=no
66965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66966 ac_ext=c
66967 ac_cpp='$CPP $CPPFLAGS'
66968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66977 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66979 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66980 for ac_func in sincosf
66981 do :
66982 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66983 if test "x$ac_cv_func_sincosf" = x""yes; then :
66984 cat >>confdefs.h <<_ACEOF
66985 #define HAVE_SINCOSF 1
66986 _ACEOF
66989 done
66991 else
66993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66994 $as_echo_n "checking for _sincosf declaration... " >&6; }
66995 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66996 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66997 $as_echo_n "(cached) " >&6
66998 else
67001 ac_ext=cpp
67002 ac_cpp='$CXXCPP $CPPFLAGS'
67003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67008 /* end confdefs.h. */
67009 #include <math.h>
67011 main ()
67013 _sincosf(0, 0, 0);
67015 return 0;
67017 _ACEOF
67018 if ac_fn_cxx_try_compile "$LINENO"; then :
67019 glibcxx_cv_func__sincosf_use=yes
67020 else
67021 glibcxx_cv_func__sincosf_use=no
67023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67024 ac_ext=c
67025 ac_cpp='$CPP $CPPFLAGS'
67026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67035 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67037 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67038 for ac_func in _sincosf
67039 do :
67040 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67041 if test "x$ac_cv_func__sincosf" = x""yes; then :
67042 cat >>confdefs.h <<_ACEOF
67043 #define HAVE__SINCOSF 1
67044 _ACEOF
67047 done
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67057 $as_echo_n "checking for finitef declaration... " >&6; }
67058 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67059 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67060 $as_echo_n "(cached) " >&6
67061 else
67064 ac_ext=cpp
67065 ac_cpp='$CXXCPP $CPPFLAGS'
67066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67071 /* end confdefs.h. */
67072 #include <math.h>
67073 #ifdef HAVE_IEEEFP_H
67074 #include <ieeefp.h>
67075 #endif
67078 main ()
67080 finitef(0);
67082 return 0;
67084 _ACEOF
67085 if ac_fn_cxx_try_compile "$LINENO"; then :
67086 glibcxx_cv_func_finitef_use=yes
67087 else
67088 glibcxx_cv_func_finitef_use=no
67090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67091 ac_ext=c
67092 ac_cpp='$CPP $CPPFLAGS'
67093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67102 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67104 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67105 for ac_func in finitef
67106 do :
67107 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67108 if test "x$ac_cv_func_finitef" = x""yes; then :
67109 cat >>confdefs.h <<_ACEOF
67110 #define HAVE_FINITEF 1
67111 _ACEOF
67114 done
67116 else
67118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67119 $as_echo_n "checking for _finitef declaration... " >&6; }
67120 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67121 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67122 $as_echo_n "(cached) " >&6
67123 else
67126 ac_ext=cpp
67127 ac_cpp='$CXXCPP $CPPFLAGS'
67128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67133 /* end confdefs.h. */
67134 #include <math.h>
67135 #ifdef HAVE_IEEEFP_H
67136 #include <ieeefp.h>
67137 #endif
67140 main ()
67142 _finitef(0);
67144 return 0;
67146 _ACEOF
67147 if ac_fn_cxx_try_compile "$LINENO"; then :
67148 glibcxx_cv_func__finitef_use=yes
67149 else
67150 glibcxx_cv_func__finitef_use=no
67152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67153 ac_ext=c
67154 ac_cpp='$CPP $CPPFLAGS'
67155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67164 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67166 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67167 for ac_func in _finitef
67168 do :
67169 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67170 if test "x$ac_cv_func__finitef" = x""yes; then :
67171 cat >>confdefs.h <<_ACEOF
67172 #define HAVE__FINITEF 1
67173 _ACEOF
67176 done
67185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67186 $as_echo_n "checking for long double trig functions... " >&6; }
67187 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67188 $as_echo_n "(cached) " >&6
67189 else
67192 ac_ext=cpp
67193 ac_cpp='$CXXCPP $CPPFLAGS'
67194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67199 /* end confdefs.h. */
67200 #include <math.h>
67202 main ()
67204 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67206 return 0;
67208 _ACEOF
67209 if ac_fn_cxx_try_compile "$LINENO"; then :
67210 glibcxx_cv_func_long_double_trig_use=yes
67211 else
67212 glibcxx_cv_func_long_double_trig_use=no
67214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67215 ac_ext=c
67216 ac_cpp='$CPP $CPPFLAGS'
67217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67224 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67225 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67226 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67227 do :
67228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67230 eval as_val=\$$as_ac_var
67231 if test "x$as_val" = x""yes; then :
67232 cat >>confdefs.h <<_ACEOF
67233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67234 _ACEOF
67237 done
67239 else
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67241 $as_echo_n "checking for _long double trig functions... " >&6; }
67242 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67243 $as_echo_n "(cached) " >&6
67244 else
67247 ac_ext=cpp
67248 ac_cpp='$CXXCPP $CPPFLAGS'
67249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67254 /* end confdefs.h. */
67255 #include <math.h>
67257 main ()
67259 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67261 return 0;
67263 _ACEOF
67264 if ac_fn_cxx_try_compile "$LINENO"; then :
67265 glibcxx_cv_func__long_double_trig_use=yes
67266 else
67267 glibcxx_cv_func__long_double_trig_use=no
67269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67270 ac_ext=c
67271 ac_cpp='$CPP $CPPFLAGS'
67272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67279 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67280 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67281 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67282 do :
67283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67285 eval as_val=\$$as_ac_var
67286 if test "x$as_val" = x""yes; then :
67287 cat >>confdefs.h <<_ACEOF
67288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67289 _ACEOF
67292 done
67301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67302 $as_echo_n "checking for long double round functions... " >&6; }
67303 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67304 $as_echo_n "(cached) " >&6
67305 else
67308 ac_ext=cpp
67309 ac_cpp='$CXXCPP $CPPFLAGS'
67310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67315 /* end confdefs.h. */
67316 #include <math.h>
67318 main ()
67320 ceill (0); floorl (0);
67322 return 0;
67324 _ACEOF
67325 if ac_fn_cxx_try_compile "$LINENO"; then :
67326 glibcxx_cv_func_long_double_round_use=yes
67327 else
67328 glibcxx_cv_func_long_double_round_use=no
67330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67331 ac_ext=c
67332 ac_cpp='$CPP $CPPFLAGS'
67333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67340 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67341 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67342 for ac_func in ceill floorl
67343 do :
67344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67346 eval as_val=\$$as_ac_var
67347 if test "x$as_val" = x""yes; then :
67348 cat >>confdefs.h <<_ACEOF
67349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67350 _ACEOF
67353 done
67355 else
67356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67357 $as_echo_n "checking for _long double round functions... " >&6; }
67358 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67359 $as_echo_n "(cached) " >&6
67360 else
67363 ac_ext=cpp
67364 ac_cpp='$CXXCPP $CPPFLAGS'
67365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67370 /* end confdefs.h. */
67371 #include <math.h>
67373 main ()
67375 _ceill (0); _floorl (0);
67377 return 0;
67379 _ACEOF
67380 if ac_fn_cxx_try_compile "$LINENO"; then :
67381 glibcxx_cv_func__long_double_round_use=yes
67382 else
67383 glibcxx_cv_func__long_double_round_use=no
67385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67386 ac_ext=c
67387 ac_cpp='$CPP $CPPFLAGS'
67388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67395 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67396 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67397 for ac_func in _ceill _floorl
67398 do :
67399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67401 eval as_val=\$$as_ac_var
67402 if test "x$as_val" = x""yes; then :
67403 cat >>confdefs.h <<_ACEOF
67404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67405 _ACEOF
67408 done
67418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67419 $as_echo_n "checking for isnanl declaration... " >&6; }
67420 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67421 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67422 $as_echo_n "(cached) " >&6
67423 else
67426 ac_ext=cpp
67427 ac_cpp='$CXXCPP $CPPFLAGS'
67428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67433 /* end confdefs.h. */
67434 #include <math.h>
67435 #ifdef HAVE_IEEEFP_H
67436 #include <ieeefp.h>
67437 #endif
67440 main ()
67442 isnanl(0);
67444 return 0;
67446 _ACEOF
67447 if ac_fn_cxx_try_compile "$LINENO"; then :
67448 glibcxx_cv_func_isnanl_use=yes
67449 else
67450 glibcxx_cv_func_isnanl_use=no
67452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67453 ac_ext=c
67454 ac_cpp='$CPP $CPPFLAGS'
67455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67464 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67466 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67467 for ac_func in isnanl
67468 do :
67469 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67470 if test "x$ac_cv_func_isnanl" = x""yes; then :
67471 cat >>confdefs.h <<_ACEOF
67472 #define HAVE_ISNANL 1
67473 _ACEOF
67476 done
67478 else
67480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67481 $as_echo_n "checking for _isnanl declaration... " >&6; }
67482 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67483 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67484 $as_echo_n "(cached) " >&6
67485 else
67488 ac_ext=cpp
67489 ac_cpp='$CXXCPP $CPPFLAGS'
67490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67495 /* end confdefs.h. */
67496 #include <math.h>
67497 #ifdef HAVE_IEEEFP_H
67498 #include <ieeefp.h>
67499 #endif
67502 main ()
67504 _isnanl(0);
67506 return 0;
67508 _ACEOF
67509 if ac_fn_cxx_try_compile "$LINENO"; then :
67510 glibcxx_cv_func__isnanl_use=yes
67511 else
67512 glibcxx_cv_func__isnanl_use=no
67514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67515 ac_ext=c
67516 ac_cpp='$CPP $CPPFLAGS'
67517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67526 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67528 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67529 for ac_func in _isnanl
67530 do :
67531 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67532 if test "x$ac_cv_func__isnanl" = x""yes; then :
67533 cat >>confdefs.h <<_ACEOF
67534 #define HAVE__ISNANL 1
67535 _ACEOF
67538 done
67547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67548 $as_echo_n "checking for isinfl declaration... " >&6; }
67549 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67550 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67551 $as_echo_n "(cached) " >&6
67552 else
67555 ac_ext=cpp
67556 ac_cpp='$CXXCPP $CPPFLAGS'
67557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67562 /* end confdefs.h. */
67563 #include <math.h>
67564 #ifdef HAVE_IEEEFP_H
67565 #include <ieeefp.h>
67566 #endif
67569 main ()
67571 isinfl(0);
67573 return 0;
67575 _ACEOF
67576 if ac_fn_cxx_try_compile "$LINENO"; then :
67577 glibcxx_cv_func_isinfl_use=yes
67578 else
67579 glibcxx_cv_func_isinfl_use=no
67581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67582 ac_ext=c
67583 ac_cpp='$CPP $CPPFLAGS'
67584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67593 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67595 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67596 for ac_func in isinfl
67597 do :
67598 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67599 if test "x$ac_cv_func_isinfl" = x""yes; then :
67600 cat >>confdefs.h <<_ACEOF
67601 #define HAVE_ISINFL 1
67602 _ACEOF
67605 done
67607 else
67609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67610 $as_echo_n "checking for _isinfl declaration... " >&6; }
67611 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67612 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67613 $as_echo_n "(cached) " >&6
67614 else
67617 ac_ext=cpp
67618 ac_cpp='$CXXCPP $CPPFLAGS'
67619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67624 /* end confdefs.h. */
67625 #include <math.h>
67626 #ifdef HAVE_IEEEFP_H
67627 #include <ieeefp.h>
67628 #endif
67631 main ()
67633 _isinfl(0);
67635 return 0;
67637 _ACEOF
67638 if ac_fn_cxx_try_compile "$LINENO"; then :
67639 glibcxx_cv_func__isinfl_use=yes
67640 else
67641 glibcxx_cv_func__isinfl_use=no
67643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67644 ac_ext=c
67645 ac_cpp='$CPP $CPPFLAGS'
67646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67655 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67657 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67658 for ac_func in _isinfl
67659 do :
67660 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67661 if test "x$ac_cv_func__isinfl" = x""yes; then :
67662 cat >>confdefs.h <<_ACEOF
67663 #define HAVE__ISINFL 1
67664 _ACEOF
67667 done
67676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67677 $as_echo_n "checking for atan2l declaration... " >&6; }
67678 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67679 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67680 $as_echo_n "(cached) " >&6
67681 else
67684 ac_ext=cpp
67685 ac_cpp='$CXXCPP $CPPFLAGS'
67686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67691 /* end confdefs.h. */
67692 #include <math.h>
67694 main ()
67696 atan2l(0, 0);
67698 return 0;
67700 _ACEOF
67701 if ac_fn_cxx_try_compile "$LINENO"; then :
67702 glibcxx_cv_func_atan2l_use=yes
67703 else
67704 glibcxx_cv_func_atan2l_use=no
67706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67707 ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67718 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67720 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67721 for ac_func in atan2l
67722 do :
67723 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67724 if test "x$ac_cv_func_atan2l" = x""yes; then :
67725 cat >>confdefs.h <<_ACEOF
67726 #define HAVE_ATAN2L 1
67727 _ACEOF
67730 done
67732 else
67734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67735 $as_echo_n "checking for _atan2l declaration... " >&6; }
67736 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67737 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67738 $as_echo_n "(cached) " >&6
67739 else
67742 ac_ext=cpp
67743 ac_cpp='$CXXCPP $CPPFLAGS'
67744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67749 /* end confdefs.h. */
67750 #include <math.h>
67752 main ()
67754 _atan2l(0, 0);
67756 return 0;
67758 _ACEOF
67759 if ac_fn_cxx_try_compile "$LINENO"; then :
67760 glibcxx_cv_func__atan2l_use=yes
67761 else
67762 glibcxx_cv_func__atan2l_use=no
67764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67765 ac_ext=c
67766 ac_cpp='$CPP $CPPFLAGS'
67767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67776 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67778 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67779 for ac_func in _atan2l
67780 do :
67781 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67782 if test "x$ac_cv_func__atan2l" = x""yes; then :
67783 cat >>confdefs.h <<_ACEOF
67784 #define HAVE__ATAN2L 1
67785 _ACEOF
67788 done
67797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67798 $as_echo_n "checking for expl declaration... " >&6; }
67799 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67800 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67801 $as_echo_n "(cached) " >&6
67802 else
67805 ac_ext=cpp
67806 ac_cpp='$CXXCPP $CPPFLAGS'
67807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67812 /* end confdefs.h. */
67813 #include <math.h>
67814 #ifdef HAVE_IEEEFP_H
67815 #include <ieeefp.h>
67816 #endif
67819 main ()
67821 expl(0);
67823 return 0;
67825 _ACEOF
67826 if ac_fn_cxx_try_compile "$LINENO"; then :
67827 glibcxx_cv_func_expl_use=yes
67828 else
67829 glibcxx_cv_func_expl_use=no
67831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67832 ac_ext=c
67833 ac_cpp='$CPP $CPPFLAGS'
67834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67843 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67845 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67846 for ac_func in expl
67847 do :
67848 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67849 if test "x$ac_cv_func_expl" = x""yes; then :
67850 cat >>confdefs.h <<_ACEOF
67851 #define HAVE_EXPL 1
67852 _ACEOF
67855 done
67857 else
67859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67860 $as_echo_n "checking for _expl declaration... " >&6; }
67861 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67862 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67863 $as_echo_n "(cached) " >&6
67864 else
67867 ac_ext=cpp
67868 ac_cpp='$CXXCPP $CPPFLAGS'
67869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67874 /* end confdefs.h. */
67875 #include <math.h>
67876 #ifdef HAVE_IEEEFP_H
67877 #include <ieeefp.h>
67878 #endif
67881 main ()
67883 _expl(0);
67885 return 0;
67887 _ACEOF
67888 if ac_fn_cxx_try_compile "$LINENO"; then :
67889 glibcxx_cv_func__expl_use=yes
67890 else
67891 glibcxx_cv_func__expl_use=no
67893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67894 ac_ext=c
67895 ac_cpp='$CPP $CPPFLAGS'
67896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67905 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67907 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67908 for ac_func in _expl
67909 do :
67910 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67911 if test "x$ac_cv_func__expl" = x""yes; then :
67912 cat >>confdefs.h <<_ACEOF
67913 #define HAVE__EXPL 1
67914 _ACEOF
67917 done
67926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67927 $as_echo_n "checking for fabsl declaration... " >&6; }
67928 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67929 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67930 $as_echo_n "(cached) " >&6
67931 else
67934 ac_ext=cpp
67935 ac_cpp='$CXXCPP $CPPFLAGS'
67936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67941 /* end confdefs.h. */
67942 #include <math.h>
67943 #ifdef HAVE_IEEEFP_H
67944 #include <ieeefp.h>
67945 #endif
67948 main ()
67950 fabsl(0);
67952 return 0;
67954 _ACEOF
67955 if ac_fn_cxx_try_compile "$LINENO"; then :
67956 glibcxx_cv_func_fabsl_use=yes
67957 else
67958 glibcxx_cv_func_fabsl_use=no
67960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67961 ac_ext=c
67962 ac_cpp='$CPP $CPPFLAGS'
67963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67972 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67974 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67975 for ac_func in fabsl
67976 do :
67977 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67978 if test "x$ac_cv_func_fabsl" = x""yes; then :
67979 cat >>confdefs.h <<_ACEOF
67980 #define HAVE_FABSL 1
67981 _ACEOF
67984 done
67986 else
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67989 $as_echo_n "checking for _fabsl declaration... " >&6; }
67990 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67991 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67992 $as_echo_n "(cached) " >&6
67993 else
67996 ac_ext=cpp
67997 ac_cpp='$CXXCPP $CPPFLAGS'
67998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68003 /* end confdefs.h. */
68004 #include <math.h>
68005 #ifdef HAVE_IEEEFP_H
68006 #include <ieeefp.h>
68007 #endif
68010 main ()
68012 _fabsl(0);
68014 return 0;
68016 _ACEOF
68017 if ac_fn_cxx_try_compile "$LINENO"; then :
68018 glibcxx_cv_func__fabsl_use=yes
68019 else
68020 glibcxx_cv_func__fabsl_use=no
68022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68023 ac_ext=c
68024 ac_cpp='$CPP $CPPFLAGS'
68025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68034 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68036 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68037 for ac_func in _fabsl
68038 do :
68039 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68040 if test "x$ac_cv_func__fabsl" = x""yes; then :
68041 cat >>confdefs.h <<_ACEOF
68042 #define HAVE__FABSL 1
68043 _ACEOF
68046 done
68055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68056 $as_echo_n "checking for fmodl declaration... " >&6; }
68057 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68058 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68059 $as_echo_n "(cached) " >&6
68060 else
68063 ac_ext=cpp
68064 ac_cpp='$CXXCPP $CPPFLAGS'
68065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68070 /* end confdefs.h. */
68071 #include <math.h>
68073 main ()
68075 fmodl(0, 0);
68077 return 0;
68079 _ACEOF
68080 if ac_fn_cxx_try_compile "$LINENO"; then :
68081 glibcxx_cv_func_fmodl_use=yes
68082 else
68083 glibcxx_cv_func_fmodl_use=no
68085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68086 ac_ext=c
68087 ac_cpp='$CPP $CPPFLAGS'
68088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68097 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68099 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68100 for ac_func in fmodl
68101 do :
68102 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68103 if test "x$ac_cv_func_fmodl" = x""yes; then :
68104 cat >>confdefs.h <<_ACEOF
68105 #define HAVE_FMODL 1
68106 _ACEOF
68109 done
68111 else
68113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68114 $as_echo_n "checking for _fmodl declaration... " >&6; }
68115 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68116 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68117 $as_echo_n "(cached) " >&6
68118 else
68121 ac_ext=cpp
68122 ac_cpp='$CXXCPP $CPPFLAGS'
68123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68128 /* end confdefs.h. */
68129 #include <math.h>
68131 main ()
68133 _fmodl(0, 0);
68135 return 0;
68137 _ACEOF
68138 if ac_fn_cxx_try_compile "$LINENO"; then :
68139 glibcxx_cv_func__fmodl_use=yes
68140 else
68141 glibcxx_cv_func__fmodl_use=no
68143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68144 ac_ext=c
68145 ac_cpp='$CPP $CPPFLAGS'
68146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68155 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68157 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68158 for ac_func in _fmodl
68159 do :
68160 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68161 if test "x$ac_cv_func__fmodl" = x""yes; then :
68162 cat >>confdefs.h <<_ACEOF
68163 #define HAVE__FMODL 1
68164 _ACEOF
68167 done
68176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68177 $as_echo_n "checking for frexpl declaration... " >&6; }
68178 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68179 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68180 $as_echo_n "(cached) " >&6
68181 else
68184 ac_ext=cpp
68185 ac_cpp='$CXXCPP $CPPFLAGS'
68186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68191 /* end confdefs.h. */
68192 #include <math.h>
68194 main ()
68196 frexpl(0, 0);
68198 return 0;
68200 _ACEOF
68201 if ac_fn_cxx_try_compile "$LINENO"; then :
68202 glibcxx_cv_func_frexpl_use=yes
68203 else
68204 glibcxx_cv_func_frexpl_use=no
68206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68207 ac_ext=c
68208 ac_cpp='$CPP $CPPFLAGS'
68209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68218 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68220 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68221 for ac_func in frexpl
68222 do :
68223 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68224 if test "x$ac_cv_func_frexpl" = x""yes; then :
68225 cat >>confdefs.h <<_ACEOF
68226 #define HAVE_FREXPL 1
68227 _ACEOF
68230 done
68232 else
68234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68235 $as_echo_n "checking for _frexpl declaration... " >&6; }
68236 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68237 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68238 $as_echo_n "(cached) " >&6
68239 else
68242 ac_ext=cpp
68243 ac_cpp='$CXXCPP $CPPFLAGS'
68244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68249 /* end confdefs.h. */
68250 #include <math.h>
68252 main ()
68254 _frexpl(0, 0);
68256 return 0;
68258 _ACEOF
68259 if ac_fn_cxx_try_compile "$LINENO"; then :
68260 glibcxx_cv_func__frexpl_use=yes
68261 else
68262 glibcxx_cv_func__frexpl_use=no
68264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68265 ac_ext=c
68266 ac_cpp='$CPP $CPPFLAGS'
68267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68276 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68278 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68279 for ac_func in _frexpl
68280 do :
68281 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68282 if test "x$ac_cv_func__frexpl" = x""yes; then :
68283 cat >>confdefs.h <<_ACEOF
68284 #define HAVE__FREXPL 1
68285 _ACEOF
68288 done
68297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68298 $as_echo_n "checking for hypotl declaration... " >&6; }
68299 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68300 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68301 $as_echo_n "(cached) " >&6
68302 else
68305 ac_ext=cpp
68306 ac_cpp='$CXXCPP $CPPFLAGS'
68307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68312 /* end confdefs.h. */
68313 #include <math.h>
68315 main ()
68317 hypotl(0, 0);
68319 return 0;
68321 _ACEOF
68322 if ac_fn_cxx_try_compile "$LINENO"; then :
68323 glibcxx_cv_func_hypotl_use=yes
68324 else
68325 glibcxx_cv_func_hypotl_use=no
68327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68328 ac_ext=c
68329 ac_cpp='$CPP $CPPFLAGS'
68330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68339 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68341 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68342 for ac_func in hypotl
68343 do :
68344 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68345 if test "x$ac_cv_func_hypotl" = x""yes; then :
68346 cat >>confdefs.h <<_ACEOF
68347 #define HAVE_HYPOTL 1
68348 _ACEOF
68351 done
68353 else
68355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68356 $as_echo_n "checking for _hypotl declaration... " >&6; }
68357 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68358 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68359 $as_echo_n "(cached) " >&6
68360 else
68363 ac_ext=cpp
68364 ac_cpp='$CXXCPP $CPPFLAGS'
68365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68370 /* end confdefs.h. */
68371 #include <math.h>
68373 main ()
68375 _hypotl(0, 0);
68377 return 0;
68379 _ACEOF
68380 if ac_fn_cxx_try_compile "$LINENO"; then :
68381 glibcxx_cv_func__hypotl_use=yes
68382 else
68383 glibcxx_cv_func__hypotl_use=no
68385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68386 ac_ext=c
68387 ac_cpp='$CPP $CPPFLAGS'
68388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68397 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68399 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68400 for ac_func in _hypotl
68401 do :
68402 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68403 if test "x$ac_cv_func__hypotl" = x""yes; then :
68404 cat >>confdefs.h <<_ACEOF
68405 #define HAVE__HYPOTL 1
68406 _ACEOF
68409 done
68418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68419 $as_echo_n "checking for ldexpl declaration... " >&6; }
68420 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68421 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68422 $as_echo_n "(cached) " >&6
68423 else
68426 ac_ext=cpp
68427 ac_cpp='$CXXCPP $CPPFLAGS'
68428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68433 /* end confdefs.h. */
68434 #include <math.h>
68436 main ()
68438 ldexpl(0, 0);
68440 return 0;
68442 _ACEOF
68443 if ac_fn_cxx_try_compile "$LINENO"; then :
68444 glibcxx_cv_func_ldexpl_use=yes
68445 else
68446 glibcxx_cv_func_ldexpl_use=no
68448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68449 ac_ext=c
68450 ac_cpp='$CPP $CPPFLAGS'
68451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68460 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68462 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68463 for ac_func in ldexpl
68464 do :
68465 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68466 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68467 cat >>confdefs.h <<_ACEOF
68468 #define HAVE_LDEXPL 1
68469 _ACEOF
68472 done
68474 else
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68477 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68478 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68479 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68494 main ()
68496 _ldexpl(0, 0);
68498 return 0;
68500 _ACEOF
68501 if ac_fn_cxx_try_compile "$LINENO"; then :
68502 glibcxx_cv_func__ldexpl_use=yes
68503 else
68504 glibcxx_cv_func__ldexpl_use=no
68506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68507 ac_ext=c
68508 ac_cpp='$CPP $CPPFLAGS'
68509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68518 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68520 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68521 for ac_func in _ldexpl
68522 do :
68523 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68524 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68525 cat >>confdefs.h <<_ACEOF
68526 #define HAVE__LDEXPL 1
68527 _ACEOF
68530 done
68539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68540 $as_echo_n "checking for logl declaration... " >&6; }
68541 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68542 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68543 $as_echo_n "(cached) " >&6
68544 else
68547 ac_ext=cpp
68548 ac_cpp='$CXXCPP $CPPFLAGS'
68549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68554 /* end confdefs.h. */
68555 #include <math.h>
68556 #ifdef HAVE_IEEEFP_H
68557 #include <ieeefp.h>
68558 #endif
68561 main ()
68563 logl(0);
68565 return 0;
68567 _ACEOF
68568 if ac_fn_cxx_try_compile "$LINENO"; then :
68569 glibcxx_cv_func_logl_use=yes
68570 else
68571 glibcxx_cv_func_logl_use=no
68573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68574 ac_ext=c
68575 ac_cpp='$CPP $CPPFLAGS'
68576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68585 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68587 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68588 for ac_func in logl
68589 do :
68590 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68591 if test "x$ac_cv_func_logl" = x""yes; then :
68592 cat >>confdefs.h <<_ACEOF
68593 #define HAVE_LOGL 1
68594 _ACEOF
68597 done
68599 else
68601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68602 $as_echo_n "checking for _logl declaration... " >&6; }
68603 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68604 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68605 $as_echo_n "(cached) " >&6
68606 else
68609 ac_ext=cpp
68610 ac_cpp='$CXXCPP $CPPFLAGS'
68611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68616 /* end confdefs.h. */
68617 #include <math.h>
68618 #ifdef HAVE_IEEEFP_H
68619 #include <ieeefp.h>
68620 #endif
68623 main ()
68625 _logl(0);
68627 return 0;
68629 _ACEOF
68630 if ac_fn_cxx_try_compile "$LINENO"; then :
68631 glibcxx_cv_func__logl_use=yes
68632 else
68633 glibcxx_cv_func__logl_use=no
68635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68636 ac_ext=c
68637 ac_cpp='$CPP $CPPFLAGS'
68638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68647 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68649 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68650 for ac_func in _logl
68651 do :
68652 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68653 if test "x$ac_cv_func__logl" = x""yes; then :
68654 cat >>confdefs.h <<_ACEOF
68655 #define HAVE__LOGL 1
68656 _ACEOF
68659 done
68668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68669 $as_echo_n "checking for log10l declaration... " >&6; }
68670 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68671 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68672 $as_echo_n "(cached) " >&6
68673 else
68676 ac_ext=cpp
68677 ac_cpp='$CXXCPP $CPPFLAGS'
68678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68683 /* end confdefs.h. */
68684 #include <math.h>
68685 #ifdef HAVE_IEEEFP_H
68686 #include <ieeefp.h>
68687 #endif
68690 main ()
68692 log10l(0);
68694 return 0;
68696 _ACEOF
68697 if ac_fn_cxx_try_compile "$LINENO"; then :
68698 glibcxx_cv_func_log10l_use=yes
68699 else
68700 glibcxx_cv_func_log10l_use=no
68702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68703 ac_ext=c
68704 ac_cpp='$CPP $CPPFLAGS'
68705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68714 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68716 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68717 for ac_func in log10l
68718 do :
68719 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68720 if test "x$ac_cv_func_log10l" = x""yes; then :
68721 cat >>confdefs.h <<_ACEOF
68722 #define HAVE_LOG10L 1
68723 _ACEOF
68726 done
68728 else
68730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68731 $as_echo_n "checking for _log10l declaration... " >&6; }
68732 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68733 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68734 $as_echo_n "(cached) " >&6
68735 else
68738 ac_ext=cpp
68739 ac_cpp='$CXXCPP $CPPFLAGS'
68740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68745 /* end confdefs.h. */
68746 #include <math.h>
68747 #ifdef HAVE_IEEEFP_H
68748 #include <ieeefp.h>
68749 #endif
68752 main ()
68754 _log10l(0);
68756 return 0;
68758 _ACEOF
68759 if ac_fn_cxx_try_compile "$LINENO"; then :
68760 glibcxx_cv_func__log10l_use=yes
68761 else
68762 glibcxx_cv_func__log10l_use=no
68764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68765 ac_ext=c
68766 ac_cpp='$CPP $CPPFLAGS'
68767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68776 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68778 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68779 for ac_func in _log10l
68780 do :
68781 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68782 if test "x$ac_cv_func__log10l" = x""yes; then :
68783 cat >>confdefs.h <<_ACEOF
68784 #define HAVE__LOG10L 1
68785 _ACEOF
68788 done
68797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68798 $as_echo_n "checking for modfl declaration... " >&6; }
68799 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68800 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68801 $as_echo_n "(cached) " >&6
68802 else
68805 ac_ext=cpp
68806 ac_cpp='$CXXCPP $CPPFLAGS'
68807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68812 /* end confdefs.h. */
68813 #include <math.h>
68815 main ()
68817 modfl(0, 0);
68819 return 0;
68821 _ACEOF
68822 if ac_fn_cxx_try_compile "$LINENO"; then :
68823 glibcxx_cv_func_modfl_use=yes
68824 else
68825 glibcxx_cv_func_modfl_use=no
68827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68828 ac_ext=c
68829 ac_cpp='$CPP $CPPFLAGS'
68830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68839 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68841 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68842 for ac_func in modfl
68843 do :
68844 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68845 if test "x$ac_cv_func_modfl" = x""yes; then :
68846 cat >>confdefs.h <<_ACEOF
68847 #define HAVE_MODFL 1
68848 _ACEOF
68851 done
68853 else
68855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68856 $as_echo_n "checking for _modfl declaration... " >&6; }
68857 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68858 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68859 $as_echo_n "(cached) " >&6
68860 else
68863 ac_ext=cpp
68864 ac_cpp='$CXXCPP $CPPFLAGS'
68865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68870 /* end confdefs.h. */
68871 #include <math.h>
68873 main ()
68875 _modfl(0, 0);
68877 return 0;
68879 _ACEOF
68880 if ac_fn_cxx_try_compile "$LINENO"; then :
68881 glibcxx_cv_func__modfl_use=yes
68882 else
68883 glibcxx_cv_func__modfl_use=no
68885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68886 ac_ext=c
68887 ac_cpp='$CPP $CPPFLAGS'
68888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68897 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68899 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68900 for ac_func in _modfl
68901 do :
68902 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68903 if test "x$ac_cv_func__modfl" = x""yes; then :
68904 cat >>confdefs.h <<_ACEOF
68905 #define HAVE__MODFL 1
68906 _ACEOF
68909 done
68918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68919 $as_echo_n "checking for powl declaration... " >&6; }
68920 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68921 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68922 $as_echo_n "(cached) " >&6
68923 else
68926 ac_ext=cpp
68927 ac_cpp='$CXXCPP $CPPFLAGS'
68928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68933 /* end confdefs.h. */
68934 #include <math.h>
68936 main ()
68938 powl(0, 0);
68940 return 0;
68942 _ACEOF
68943 if ac_fn_cxx_try_compile "$LINENO"; then :
68944 glibcxx_cv_func_powl_use=yes
68945 else
68946 glibcxx_cv_func_powl_use=no
68948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68949 ac_ext=c
68950 ac_cpp='$CPP $CPPFLAGS'
68951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68960 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68962 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68963 for ac_func in powl
68964 do :
68965 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68966 if test "x$ac_cv_func_powl" = x""yes; then :
68967 cat >>confdefs.h <<_ACEOF
68968 #define HAVE_POWL 1
68969 _ACEOF
68972 done
68974 else
68976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68977 $as_echo_n "checking for _powl declaration... " >&6; }
68978 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68979 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68980 $as_echo_n "(cached) " >&6
68981 else
68984 ac_ext=cpp
68985 ac_cpp='$CXXCPP $CPPFLAGS'
68986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68991 /* end confdefs.h. */
68992 #include <math.h>
68994 main ()
68996 _powl(0, 0);
68998 return 0;
69000 _ACEOF
69001 if ac_fn_cxx_try_compile "$LINENO"; then :
69002 glibcxx_cv_func__powl_use=yes
69003 else
69004 glibcxx_cv_func__powl_use=no
69006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69007 ac_ext=c
69008 ac_cpp='$CPP $CPPFLAGS'
69009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69018 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69020 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69021 for ac_func in _powl
69022 do :
69023 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69024 if test "x$ac_cv_func__powl" = x""yes; then :
69025 cat >>confdefs.h <<_ACEOF
69026 #define HAVE__POWL 1
69027 _ACEOF
69030 done
69039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69040 $as_echo_n "checking for sqrtl declaration... " >&6; }
69041 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69042 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69043 $as_echo_n "(cached) " >&6
69044 else
69047 ac_ext=cpp
69048 ac_cpp='$CXXCPP $CPPFLAGS'
69049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69054 /* end confdefs.h. */
69055 #include <math.h>
69056 #ifdef HAVE_IEEEFP_H
69057 #include <ieeefp.h>
69058 #endif
69061 main ()
69063 sqrtl(0);
69065 return 0;
69067 _ACEOF
69068 if ac_fn_cxx_try_compile "$LINENO"; then :
69069 glibcxx_cv_func_sqrtl_use=yes
69070 else
69071 glibcxx_cv_func_sqrtl_use=no
69073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69074 ac_ext=c
69075 ac_cpp='$CPP $CPPFLAGS'
69076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69085 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69087 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69088 for ac_func in sqrtl
69089 do :
69090 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69091 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69092 cat >>confdefs.h <<_ACEOF
69093 #define HAVE_SQRTL 1
69094 _ACEOF
69097 done
69099 else
69101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69102 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69103 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69104 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69105 $as_echo_n "(cached) " >&6
69106 else
69109 ac_ext=cpp
69110 ac_cpp='$CXXCPP $CPPFLAGS'
69111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69116 /* end confdefs.h. */
69117 #include <math.h>
69118 #ifdef HAVE_IEEEFP_H
69119 #include <ieeefp.h>
69120 #endif
69123 main ()
69125 _sqrtl(0);
69127 return 0;
69129 _ACEOF
69130 if ac_fn_cxx_try_compile "$LINENO"; then :
69131 glibcxx_cv_func__sqrtl_use=yes
69132 else
69133 glibcxx_cv_func__sqrtl_use=no
69135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69136 ac_ext=c
69137 ac_cpp='$CPP $CPPFLAGS'
69138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69147 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69149 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69150 for ac_func in _sqrtl
69151 do :
69152 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69153 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69154 cat >>confdefs.h <<_ACEOF
69155 #define HAVE__SQRTL 1
69156 _ACEOF
69159 done
69168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69169 $as_echo_n "checking for sincosl declaration... " >&6; }
69170 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69171 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69172 $as_echo_n "(cached) " >&6
69173 else
69176 ac_ext=cpp
69177 ac_cpp='$CXXCPP $CPPFLAGS'
69178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69183 /* end confdefs.h. */
69184 #include <math.h>
69186 main ()
69188 sincosl(0, 0, 0);
69190 return 0;
69192 _ACEOF
69193 if ac_fn_cxx_try_compile "$LINENO"; then :
69194 glibcxx_cv_func_sincosl_use=yes
69195 else
69196 glibcxx_cv_func_sincosl_use=no
69198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69199 ac_ext=c
69200 ac_cpp='$CPP $CPPFLAGS'
69201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69210 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69212 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69213 for ac_func in sincosl
69214 do :
69215 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69216 if test "x$ac_cv_func_sincosl" = x""yes; then :
69217 cat >>confdefs.h <<_ACEOF
69218 #define HAVE_SINCOSL 1
69219 _ACEOF
69222 done
69224 else
69226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69227 $as_echo_n "checking for _sincosl declaration... " >&6; }
69228 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69229 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69230 $as_echo_n "(cached) " >&6
69231 else
69234 ac_ext=cpp
69235 ac_cpp='$CXXCPP $CPPFLAGS'
69236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69241 /* end confdefs.h. */
69242 #include <math.h>
69244 main ()
69246 _sincosl(0, 0, 0);
69248 return 0;
69250 _ACEOF
69251 if ac_fn_cxx_try_compile "$LINENO"; then :
69252 glibcxx_cv_func__sincosl_use=yes
69253 else
69254 glibcxx_cv_func__sincosl_use=no
69256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69257 ac_ext=c
69258 ac_cpp='$CPP $CPPFLAGS'
69259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69268 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69270 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69271 for ac_func in _sincosl
69272 do :
69273 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69274 if test "x$ac_cv_func__sincosl" = x""yes; then :
69275 cat >>confdefs.h <<_ACEOF
69276 #define HAVE__SINCOSL 1
69277 _ACEOF
69280 done
69289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69290 $as_echo_n "checking for finitel declaration... " >&6; }
69291 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69292 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69293 $as_echo_n "(cached) " >&6
69294 else
69297 ac_ext=cpp
69298 ac_cpp='$CXXCPP $CPPFLAGS'
69299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69304 /* end confdefs.h. */
69305 #include <math.h>
69306 #ifdef HAVE_IEEEFP_H
69307 #include <ieeefp.h>
69308 #endif
69311 main ()
69313 finitel(0);
69315 return 0;
69317 _ACEOF
69318 if ac_fn_cxx_try_compile "$LINENO"; then :
69319 glibcxx_cv_func_finitel_use=yes
69320 else
69321 glibcxx_cv_func_finitel_use=no
69323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69324 ac_ext=c
69325 ac_cpp='$CPP $CPPFLAGS'
69326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69335 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69337 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69338 for ac_func in finitel
69339 do :
69340 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69341 if test "x$ac_cv_func_finitel" = x""yes; then :
69342 cat >>confdefs.h <<_ACEOF
69343 #define HAVE_FINITEL 1
69344 _ACEOF
69347 done
69349 else
69351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69352 $as_echo_n "checking for _finitel declaration... " >&6; }
69353 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69354 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69355 $as_echo_n "(cached) " >&6
69356 else
69359 ac_ext=cpp
69360 ac_cpp='$CXXCPP $CPPFLAGS'
69361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69366 /* end confdefs.h. */
69367 #include <math.h>
69368 #ifdef HAVE_IEEEFP_H
69369 #include <ieeefp.h>
69370 #endif
69373 main ()
69375 _finitel(0);
69377 return 0;
69379 _ACEOF
69380 if ac_fn_cxx_try_compile "$LINENO"; then :
69381 glibcxx_cv_func__finitel_use=yes
69382 else
69383 glibcxx_cv_func__finitel_use=no
69385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69386 ac_ext=c
69387 ac_cpp='$CPP $CPPFLAGS'
69388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69397 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69399 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69400 for ac_func in _finitel
69401 do :
69402 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69403 if test "x$ac_cv_func__finitel" = x""yes; then :
69404 cat >>confdefs.h <<_ACEOF
69405 #define HAVE__FINITEL 1
69406 _ACEOF
69409 done
69417 LIBS="$ac_save_LIBS"
69418 CXXFLAGS="$ac_save_CXXFLAGS"
69421 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69422 ac_save_CXXFLAGS="$CXXFLAGS"
69423 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69427 $as_echo_n "checking for strtold declaration... " >&6; }
69428 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69429 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69430 $as_echo_n "(cached) " >&6
69431 else
69434 ac_ext=cpp
69435 ac_cpp='$CXXCPP $CPPFLAGS'
69436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69441 /* end confdefs.h. */
69442 #include <stdlib.h>
69444 main ()
69446 strtold(0, 0);
69448 return 0;
69450 _ACEOF
69451 if ac_fn_cxx_try_compile "$LINENO"; then :
69452 glibcxx_cv_func_strtold_use=yes
69453 else
69454 glibcxx_cv_func_strtold_use=no
69456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69457 ac_ext=c
69458 ac_cpp='$CPP $CPPFLAGS'
69459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69468 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69469 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69470 for ac_func in strtold
69471 do :
69472 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69473 if test "x$ac_cv_func_strtold" = x""yes; then :
69474 cat >>confdefs.h <<_ACEOF
69475 #define HAVE_STRTOLD 1
69476 _ACEOF
69479 done
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69487 $as_echo_n "checking for strtof declaration... " >&6; }
69488 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69489 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69490 $as_echo_n "(cached) " >&6
69491 else
69494 ac_ext=cpp
69495 ac_cpp='$CXXCPP $CPPFLAGS'
69496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69501 /* end confdefs.h. */
69502 #include <stdlib.h>
69504 main ()
69506 strtof(0, 0);
69508 return 0;
69510 _ACEOF
69511 if ac_fn_cxx_try_compile "$LINENO"; then :
69512 glibcxx_cv_func_strtof_use=yes
69513 else
69514 glibcxx_cv_func_strtof_use=no
69516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69517 ac_ext=c
69518 ac_cpp='$CPP $CPPFLAGS'
69519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69528 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69529 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69530 for ac_func in strtof
69531 do :
69532 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69533 if test "x$ac_cv_func_strtof" = x""yes; then :
69534 cat >>confdefs.h <<_ACEOF
69535 #define HAVE_STRTOF 1
69536 _ACEOF
69539 done
69546 CXXFLAGS="$ac_save_CXXFLAGS"
69549 *-vxworks)
69550 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69552 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69554 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69556 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69558 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69560 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69562 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69564 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69566 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69568 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69570 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69572 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69574 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69576 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69578 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69580 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69582 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69584 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69586 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69588 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69592 as_fn_error "No support for this host/target combination." "$LINENO" 5
69594 esac
69598 # At some point, we should differentiate between architectures
69599 # like x86, which have long double versions, and alpha/powerpc/etc.,
69600 # which don't. For the time being, punt.
69601 if test x"long_double_math_on_this_cpu" = x"yes"; then
69602 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69604 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69606 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69608 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69610 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69612 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69614 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69616 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69618 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69620 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69622 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69624 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69626 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69628 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69630 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69632 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69634 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69636 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69638 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69640 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69642 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69644 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69646 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69651 # Check for _Unwind_GetIPInfo.
69654 # Check whether --with-system-libunwind was given.
69655 if test "${with_system_libunwind+set}" = set; then :
69656 withval=$with_system_libunwind;
69659 # If system-libunwind was not specifically set, pick a default setting.
69660 if test x$with_system_libunwind = x; then
69661 case ${target} in
69662 ia64-*-hpux*) with_system_libunwind=yes ;;
69663 *) with_system_libunwind=no ;;
69664 esac
69666 # Based on system-libunwind and target, do we have ipinfo?
69667 if test x$with_system_libunwind = xyes; then
69668 case ${target} in
69669 ia64-*-*) have_unwind_getipinfo=no ;;
69670 *) have_unwind_getipinfo=yes ;;
69671 esac
69672 else
69673 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69675 case ${target} in
69676 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69677 *) have_unwind_getipinfo=yes ;;
69678 esac
69682 if test x$have_unwind_getipinfo = xyes; then
69684 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69689 # Check whether --enable-linux-futex was given.
69690 if test "${enable_linux_futex+set}" = set; then :
69691 enableval=$enable_linux_futex;
69692 case "$enableval" in
69693 yes|no|default) ;;
69694 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69695 esac
69697 else
69698 enable_linux_futex=default
69702 case "$target" in
69703 *-linux*)
69704 case "$enable_linux_futex" in
69705 default)
69706 # If headers don't have gettid/futex syscalls definition, then
69707 # default to no, otherwise there will be compile time failures.
69708 # Otherwise, default to yes. If we don't detect we are
69709 # compiled/linked against NPTL and not cross-compiling, check
69710 # if programs are run by default against NPTL and if not, issue
69711 # a warning.
69712 enable_linux_futex=no
69713 if test x$gcc_no_link = xyes; then
69714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69717 /* end confdefs.h. */
69718 #include <sys/syscall.h>
69719 int lk;
69721 main ()
69723 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69725 return 0;
69727 _ACEOF
69728 if ac_fn_c_try_link "$LINENO"; then :
69729 save_LIBS="$LIBS"
69730 LIBS="-lpthread $LIBS"
69731 if test x$gcc_no_link = xyes; then
69732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69735 /* end confdefs.h. */
69736 #ifndef _GNU_SOURCE
69737 #define _GNU_SOURCE 1
69738 #endif
69739 #include <pthread.h>
69740 pthread_t th; void *status;
69742 main ()
69744 pthread_tryjoin_np (th, &status);
69746 return 0;
69748 _ACEOF
69749 if ac_fn_c_try_link "$LINENO"; then :
69750 enable_linux_futex=yes
69751 else
69752 if test x$cross_compiling = xno; then
69753 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69754 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69756 If so, please configure with --disable-linux-futex" >&5
69757 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69758 If so, please configure with --disable-linux-futex" >&2;}
69761 enable_linux_futex=yes
69763 rm -f core conftest.err conftest.$ac_objext \
69764 conftest$ac_exeext conftest.$ac_ext
69765 LIBS="$save_LIBS"
69767 rm -f core conftest.err conftest.$ac_objext \
69768 conftest$ac_exeext conftest.$ac_ext
69770 yes)
69771 if test x$gcc_no_link = xyes; then
69772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69775 /* end confdefs.h. */
69776 #include <sys/syscall.h>
69777 int lk;
69779 main ()
69781 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69783 return 0;
69785 _ACEOF
69786 if ac_fn_c_try_link "$LINENO"; then :
69788 else
69789 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69791 rm -f core conftest.err conftest.$ac_objext \
69792 conftest$ac_exeext conftest.$ac_ext
69794 esac
69797 enable_linux_futex=no
69799 esac
69800 if test x$enable_linux_futex = xyes; then
69802 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69809 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69811 acx_cv_header_stdint=stddef.h
69812 acx_cv_header_stdint_kind="(already complete)"
69813 for i in stdint.h $inttype_headers; do
69814 unset ac_cv_type_uintptr_t
69815 unset ac_cv_type_uintmax_t
69816 unset ac_cv_type_int_least32_t
69817 unset ac_cv_type_int_fast32_t
69818 unset ac_cv_type_uint64_t
69819 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69820 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69821 #include <$i>
69823 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69824 acx_cv_header_stdint=$i
69825 else
69826 continue
69829 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69830 #include <$i>
69832 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69834 else
69835 acx_cv_header_stdint_kind="(mostly complete)"
69838 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69839 #include <$i>
69841 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69843 else
69844 acx_cv_header_stdint_kind="(mostly complete)"
69847 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69848 #include <$i>
69850 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69852 else
69853 acx_cv_header_stdint_kind="(mostly complete)"
69856 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69857 #include <$i>
69859 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69861 else
69862 acx_cv_header_stdint_kind="(lacks uint64_t)"
69865 break
69866 done
69867 if test "$acx_cv_header_stdint" = stddef.h; then
69868 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69869 for i in stdint.h $inttype_headers; do
69870 unset ac_cv_type_uintptr_t
69871 unset ac_cv_type_uint32_t
69872 unset ac_cv_type_uint64_t
69873 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69874 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69875 #include <$i>
69877 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69878 acx_cv_header_stdint=$i
69879 else
69880 continue
69883 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69884 #include <$i>
69886 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69890 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69891 #include <$i>
69893 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69897 break
69898 done
69900 if test "$acx_cv_header_stdint" = stddef.h; then
69901 acx_cv_header_stdint_kind="(u_intXX_t style)"
69902 for i in sys/types.h $inttype_headers; do
69903 unset ac_cv_type_u_int32_t
69904 unset ac_cv_type_u_int64_t
69905 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69906 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69907 #include <$i>
69909 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69910 acx_cv_header_stdint=$i
69911 else
69912 continue
69915 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69916 #include <$i>
69918 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69922 break
69923 done
69925 if test "$acx_cv_header_stdint" = stddef.h; then
69926 acx_cv_header_stdint_kind="(using manual detection)"
69929 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69930 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69931 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69932 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69933 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69935 # ----------------- Summarize what we found so far
69937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69938 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69940 case `$as_basename -- include/gstdint.h ||
69941 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69942 Xinclude/gstdint.h : 'X\(//\)$' \| \
69943 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69944 $as_echo X/include/gstdint.h |
69945 sed '/^.*\/\([^/][^/]*\)\/*$/{
69946 s//\1/
69949 /^X\/\(\/\/\)$/{
69950 s//\1/
69953 /^X\/\(\/\).*/{
69954 s//\1/
69957 s/.*/./; q'` in
69958 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69959 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69960 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69961 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69962 *) ;;
69963 esac
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69966 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69968 # ----------------- done included file, check C basic types --------
69970 # Lacking an uintptr_t? Test size of void *
69971 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69972 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69975 # This bug is HP SR number 8606223364.
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69977 $as_echo_n "checking size of void *... " >&6; }
69978 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69979 $as_echo_n "(cached) " >&6
69980 else
69981 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69983 else
69984 if test "$ac_cv_type_void_p" = yes; then
69985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69987 { as_fn_set_status 77
69988 as_fn_error "cannot compute sizeof (void *)
69989 See \`config.log' for more details." "$LINENO" 5; }; }
69990 else
69991 ac_cv_sizeof_void_p=0
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69997 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70001 cat >>confdefs.h <<_ACEOF
70002 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70003 _ACEOF
70006 esac
70008 # Lacking an uint64_t? Test size of long
70009 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70010 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70013 # This bug is HP SR number 8606223364.
70014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70015 $as_echo_n "checking size of long... " >&6; }
70016 if test "${ac_cv_sizeof_long+set}" = set; then :
70017 $as_echo_n "(cached) " >&6
70018 else
70019 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70021 else
70022 if test "$ac_cv_type_long" = yes; then
70023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70025 { as_fn_set_status 77
70026 as_fn_error "cannot compute sizeof (long)
70027 See \`config.log' for more details." "$LINENO" 5; }; }
70028 else
70029 ac_cv_sizeof_long=0
70034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70035 $as_echo "$ac_cv_sizeof_long" >&6; }
70039 cat >>confdefs.h <<_ACEOF
70040 #define SIZEOF_LONG $ac_cv_sizeof_long
70041 _ACEOF
70044 esac
70046 if test $acx_cv_header_stdint = stddef.h; then
70047 # Lacking a good header? Test size of everything and deduce all types.
70048 # The cast to long int works around a bug in the HP C Compiler
70049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70051 # This bug is HP SR number 8606223364.
70052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70053 $as_echo_n "checking size of int... " >&6; }
70054 if test "${ac_cv_sizeof_int+set}" = set; then :
70055 $as_echo_n "(cached) " >&6
70056 else
70057 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70059 else
70060 if test "$ac_cv_type_int" = yes; then
70061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70063 { as_fn_set_status 77
70064 as_fn_error "cannot compute sizeof (int)
70065 See \`config.log' for more details." "$LINENO" 5; }; }
70066 else
70067 ac_cv_sizeof_int=0
70072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70073 $as_echo "$ac_cv_sizeof_int" >&6; }
70077 cat >>confdefs.h <<_ACEOF
70078 #define SIZEOF_INT $ac_cv_sizeof_int
70079 _ACEOF
70082 # The cast to long int works around a bug in the HP C Compiler
70083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70084 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70085 # This bug is HP SR number 8606223364.
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70087 $as_echo_n "checking size of short... " >&6; }
70088 if test "${ac_cv_sizeof_short+set}" = set; then :
70089 $as_echo_n "(cached) " >&6
70090 else
70091 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70093 else
70094 if test "$ac_cv_type_short" = yes; then
70095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70097 { as_fn_set_status 77
70098 as_fn_error "cannot compute sizeof (short)
70099 See \`config.log' for more details." "$LINENO" 5; }; }
70100 else
70101 ac_cv_sizeof_short=0
70106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70107 $as_echo "$ac_cv_sizeof_short" >&6; }
70111 cat >>confdefs.h <<_ACEOF
70112 #define SIZEOF_SHORT $ac_cv_sizeof_short
70113 _ACEOF
70116 # The cast to long int works around a bug in the HP C Compiler
70117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70119 # This bug is HP SR number 8606223364.
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70121 $as_echo_n "checking size of char... " >&6; }
70122 if test "${ac_cv_sizeof_char+set}" = set; then :
70123 $as_echo_n "(cached) " >&6
70124 else
70125 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70127 else
70128 if test "$ac_cv_type_char" = yes; then
70129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70131 { as_fn_set_status 77
70132 as_fn_error "cannot compute sizeof (char)
70133 See \`config.log' for more details." "$LINENO" 5; }; }
70134 else
70135 ac_cv_sizeof_char=0
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70141 $as_echo "$ac_cv_sizeof_char" >&6; }
70145 cat >>confdefs.h <<_ACEOF
70146 #define SIZEOF_CHAR $ac_cv_sizeof_char
70147 _ACEOF
70151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70152 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70153 case "$ac_cv_sizeof_char" in
70154 1) acx_cv_type_int8_t=char ;;
70155 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70156 esac
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70158 $as_echo "$acx_cv_type_int8_t" >&6; }
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70161 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70162 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70163 2:*) acx_cv_type_int16_t=int ;;
70164 *:2) acx_cv_type_int16_t=short ;;
70165 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70166 esac
70167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70168 $as_echo "$acx_cv_type_int16_t" >&6; }
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70171 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70172 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70173 4:*) acx_cv_type_int32_t=int ;;
70174 *:4) acx_cv_type_int32_t=long ;;
70175 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70176 esac
70177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70178 $as_echo "$acx_cv_type_int32_t" >&6; }
70181 # These tests are here to make the output prettier
70183 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70184 case "$ac_cv_sizeof_long" in
70185 8) acx_cv_type_int64_t=long ;;
70186 esac
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70188 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70190 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70193 # Now we can use the above types
70195 if test "$ac_cv_type_uintptr_t" != yes; then
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70197 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70198 case $ac_cv_sizeof_void_p in
70199 2) acx_cv_type_intptr_t=int16_t ;;
70200 4) acx_cv_type_intptr_t=int32_t ;;
70201 8) acx_cv_type_intptr_t=int64_t ;;
70202 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70203 esac
70204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70205 $as_echo "$acx_cv_type_intptr_t" >&6; }
70208 # ----------------- done all checks, emit header -------------
70209 ac_config_commands="$ac_config_commands include/gstdint.h"
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70216 $as_echo_n "checking for GNU c++filt... " >&6; }
70217 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70218 $as_echo_n "(cached) " >&6
70219 else
70220 if test -z "$CXXFILT"; then
70221 ac_path_CXXFILT_found=false
70222 # Loop through the user's path and test for each of PROGNAME-LIST
70223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70224 for as_dir in $PATH
70226 IFS=$as_save_IFS
70227 test -z "$as_dir" && as_dir=.
70228 for ac_prog in c++filt gc++filt; do
70229 for ac_exec_ext in '' $ac_executable_extensions; do
70230 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70231 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70232 # Check for GNU $ac_path_CXXFILT
70233 case `"$ac_path_CXXFILT" --version 2>&1` in
70234 *GNU*)
70235 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70236 esac
70238 $ac_path_CXXFILT_found && break 3
70239 done
70240 done
70241 done
70242 IFS=$as_save_IFS
70243 if test -z "$ac_cv_path_CXXFILT"; then
70246 else
70247 ac_cv_path_CXXFILT=$CXXFILT
70251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70252 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70253 CXXFILT=$ac_cv_path_CXXFILT
70257 # Check whether --enable-symvers was given.
70258 if test "${enable_symvers+set}" = set; then :
70259 enableval=$enable_symvers;
70260 case "$enableval" in
70261 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70262 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70263 esac
70265 else
70266 enable_symvers=yes
70271 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70272 # don't know enough about $LD to do tricks...
70274 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70275 # with extern "C++" in version scripts.
70278 # Turn a 'yes' into a suitable default.
70279 if test x$enable_symvers = xyes ; then
70280 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70281 enable_symvers=no
70282 else
70283 if test $with_gnu_ld = yes ; then
70284 case ${target_os} in
70285 hpux*)
70286 enable_symvers=no ;;
70288 enable_symvers=gnu ;;
70289 esac
70290 else
70291 case ${target_os} in
70292 darwin*)
70293 enable_symvers=darwin ;;
70294 # Sun symbol versioning exists since Solaris 2.5.
70295 solaris2.[5-9]* | solaris2.1[0-9]*)
70296 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70297 # version scripts, so disable symbol versioning if none can be
70298 # found.
70299 if test -z "$ac_cv_path_CXXFILT"; then
70300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70301 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70303 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70305 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70306 enable_symvers=no
70307 else
70308 enable_symvers=sun
70312 enable_symvers=no ;;
70313 esac
70318 # Check to see if 'darwin' or 'darwin-export' can win.
70319 if test x$enable_symvers = xdarwin-export ; then
70320 enable_symvers=darwin
70323 # Check if 'sun' was requested on non-Solaris 2 platforms.
70324 if test x$enable_symvers = xsun ; then
70325 case ${target_os} in
70326 solaris2*)
70327 # All fine.
70330 # Unlikely to work.
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70332 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70334 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70336 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70337 enable_symvers=no
70339 esac
70342 # Check to see if 'gnu' can win.
70343 if test $enable_symvers = gnu ||
70344 test $enable_symvers = gnu-versioned-namespace ||
70345 test $enable_symvers = sun; then
70346 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70348 $as_echo_n "checking for shared libgcc... " >&6; }
70349 ac_save_CFLAGS="$CFLAGS"
70350 CFLAGS=' -lgcc_s'
70351 if test x$gcc_no_link = xyes; then
70352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70355 /* end confdefs.h. */
70358 main ()
70360 return 0;
70362 return 0;
70364 _ACEOF
70365 if ac_fn_c_try_link "$LINENO"; then :
70366 glibcxx_shared_libgcc=yes
70367 else
70368 glibcxx_shared_libgcc=no
70370 rm -f core conftest.err conftest.$ac_objext \
70371 conftest$ac_exeext conftest.$ac_ext
70372 CFLAGS="$ac_save_CFLAGS"
70373 if test $glibcxx_shared_libgcc = no; then
70374 cat > conftest.c <<EOF
70375 int main (void) { return 0; }
70377 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70378 -shared -shared-libgcc -o conftest.so \
70379 conftest.c -v 2>&1 >/dev/null \
70380 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70381 rm -f conftest.c conftest.so
70382 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70383 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70384 if test x$gcc_no_link = xyes; then
70385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70388 /* end confdefs.h. */
70391 main ()
70393 return 0;
70395 return 0;
70397 _ACEOF
70398 if ac_fn_c_try_link "$LINENO"; then :
70399 glibcxx_shared_libgcc=yes
70401 rm -f core conftest.err conftest.$ac_objext \
70402 conftest$ac_exeext conftest.$ac_ext
70403 CFLAGS="$ac_save_CFLAGS"
70406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70407 $as_echo "$glibcxx_shared_libgcc" >&6; }
70409 # For GNU ld, we need at least this version. The format is described in
70410 # GLIBCXX_CHECK_LINKER_FEATURES above.
70411 glibcxx_min_gnu_ld_version=21400
70413 # If no shared libgcc, can't win.
70414 if test $glibcxx_shared_libgcc != yes; then
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70416 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70418 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70420 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70421 enable_symvers=no
70422 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70423 : All interesting versions of Sun ld support sun style symbol versioning.
70424 elif test $with_gnu_ld != yes ; then
70425 # just fail for now
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70427 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70429 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70431 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70432 enable_symvers=no
70433 elif test $glibcxx_ld_is_gold = yes ; then
70434 : All versions of gold support symbol versioning.
70435 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70436 # The right tools, the right setup, but too old. Fallbacks?
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70438 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70440 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70442 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70444 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70446 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70447 enable_symvers=no
70451 # For libtool versioning info, format is CURRENT:REVISION:AGE
70452 libtool_VERSION=6:17:0
70454 # Everything parsed; figure out what files and settings to use.
70455 case $enable_symvers in
70457 SYMVER_FILE=config/abi/pre/none.ver
70459 gnu)
70460 SYMVER_FILE=config/abi/pre/gnu.ver
70462 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70465 gnu-versioned-namespace)
70466 libtool_VERSION=7:0:0
70467 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70469 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70472 darwin)
70473 SYMVER_FILE=config/abi/pre/gnu.ver
70475 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70478 sun)
70479 SYMVER_FILE=config/abi/pre/gnu.ver
70481 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70484 esac
70486 if test x$enable_symvers != xno ; then
70488 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70493 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70494 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70495 $as_echo_n "(cached) " >&6
70496 else
70498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70499 /* end confdefs.h. */
70500 void foo (void); __asm (".symver foo, bar@SYMVER");
70502 main ()
70506 return 0;
70508 _ACEOF
70509 if ac_fn_c_try_compile "$LINENO"; then :
70510 glibcxx_cv_have_as_symver_directive=yes
70511 else
70512 glibcxx_cv_have_as_symver_directive=no
70514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70517 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70518 if test $glibcxx_cv_have_as_symver_directive = yes; then
70520 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70531 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70532 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70534 if test $enable_symvers != no ; then
70535 case ${target_os} in
70536 # The Solaris 2 runtime linker doesn't support the GNU extension of
70537 # binding the same symbol to different versions
70538 solaris2*)
70540 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70543 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70546 esac
70549 # Now, set up compatibility support, if any.
70550 # In addition, need this to deal with std::size_t mangling in
70551 # src/compatibility.cc. In a perfect world, could use
70552 # typeid(std::size_t).name()[0] to do direct substitution.
70553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70554 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70555 ac_save_CFLAGS="$CFLAGS"
70556 CFLAGS="-Werror"
70557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70558 /* end confdefs.h. */
70561 main ()
70563 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70565 return 0;
70567 _ACEOF
70568 if ac_fn_c_try_compile "$LINENO"; then :
70569 glibcxx_size_t_is_i=yes
70570 else
70571 glibcxx_size_t_is_i=no
70573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70574 CFLAGS=$ac_save_CFLAGS
70575 if test "$glibcxx_size_t_is_i" = yes; then
70577 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70581 $as_echo "$glibcxx_size_t_is_i" >&6; }
70583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70584 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70585 ac_save_CFLAGS="$CFLAGS"
70586 CFLAGS="-Werror"
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70591 main ()
70593 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70595 return 0;
70597 _ACEOF
70598 if ac_fn_c_try_compile "$LINENO"; then :
70599 glibcxx_ptrdiff_t_is_i=yes
70600 else
70601 glibcxx_ptrdiff_t_is_i=no
70603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70604 CFLAGS=$ac_save_CFLAGS
70605 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70607 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70611 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70616 # Check whether --enable-libstdcxx-visibility was given.
70617 if test "${enable_libstdcxx_visibility+set}" = set; then :
70618 enableval=$enable_libstdcxx_visibility;
70619 case "$enableval" in
70620 yes|no) ;;
70621 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70622 esac
70624 else
70625 enable_libstdcxx_visibility=yes
70630 if test x$enable_libstdcxx_visibility = xyes ; then
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70632 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70633 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70634 $as_echo_n "(cached) " >&6
70635 else
70637 save_CFLAGS="$CFLAGS"
70638 CFLAGS="$CFLAGS -Werror"
70639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70640 /* end confdefs.h. */
70641 void __attribute__((visibility("hidden"))) foo(void) { }
70643 main ()
70647 return 0;
70649 _ACEOF
70650 if ac_fn_c_try_compile "$LINENO"; then :
70651 glibcxx_cv_have_attribute_visibility=yes
70652 else
70653 glibcxx_cv_have_attribute_visibility=no
70655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70656 CFLAGS="$save_CFLAGS"
70658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70659 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70660 if test $glibcxx_cv_have_attribute_visibility = no; then
70661 enable_libstdcxx_visibility=no
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70667 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70670 ac_ldbl_compat=no
70671 case "$target" in
70672 powerpc*-*-linux* | \
70673 sparc*-*-linux* | \
70674 s390*-*-linux* | \
70675 alpha*-*-linux*)
70676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70677 /* end confdefs.h. */
70680 main ()
70683 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70684 #error no need for long double compatibility
70685 #endif
70688 return 0;
70690 _ACEOF
70691 if ac_fn_c_try_compile "$LINENO"; then :
70692 ac_ldbl_compat=yes
70693 else
70694 ac_ldbl_compat=no
70696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70697 if test "$ac_ldbl_compat" = yes; then
70699 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70701 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70703 esac
70706 # Check if assembler supports disabling hardware capability support.
70708 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70710 ac_save_CFLAGS="$CFLAGS"
70711 CFLAGS="$CFLAGS -Wa,-nH"
70713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70714 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70719 main ()
70721 return 0;
70723 return 0;
70725 _ACEOF
70726 if ac_fn_c_try_compile "$LINENO"; then :
70727 ac_hwcap_flags=yes
70728 else
70729 ac_hwcap_flags=no
70731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732 if test "$ac_hwcap_flags" = "yes"; then
70733 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70736 $as_echo "$ac_hwcap_flags" >&6; }
70738 CFLAGS="$ac_save_CFLAGS"
70743 # Check if assembler supports rdrand opcode.
70745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70746 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70747 if test "${ac_cv_x86_rdrand+set}" = set; then :
70748 $as_echo_n "(cached) " >&6
70749 else
70751 ac_cv_x86_rdrand=no
70752 case "$target" in
70753 i?86-*-* | \
70754 x86_64-*-*)
70755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70756 /* end confdefs.h. */
70759 main ()
70761 asm("rdrand %eax");
70763 return 0;
70765 _ACEOF
70766 if ac_fn_c_try_compile "$LINENO"; then :
70767 ac_cv_x86_rdrand=yes
70768 else
70769 ac_cv_x86_rdrand=no
70771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70772 esac
70776 if test $ac_cv_x86_rdrand = yes; then
70778 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70782 $as_echo "$ac_cv_x86_rdrand" >&6; }
70785 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70787 if $GLIBCXX_IS_NATIVE ; then
70788 # Do checks for resource limit functions.
70790 setrlimit_have_headers=yes
70791 for ac_header in unistd.h sys/time.h sys/resource.h
70792 do :
70793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70794 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70795 eval as_val=\$$as_ac_Header
70796 if test "x$as_val" = x""yes; then :
70797 cat >>confdefs.h <<_ACEOF
70798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70799 _ACEOF
70801 else
70802 setrlimit_have_headers=no
70805 done
70807 # If don't have the headers, then we can't run the tests now, and we
70808 # won't be seeing any of these during testsuite compilation.
70809 if test $setrlimit_have_headers = yes; then
70810 # Can't do these in a loop, else the resulting syntax is wrong.
70812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70813 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70815 /* end confdefs.h. */
70816 #include <unistd.h>
70817 #include <sys/time.h>
70818 #include <sys/resource.h>
70821 main ()
70823 int f = RLIMIT_DATA ;
70825 return 0;
70827 _ACEOF
70828 if ac_fn_c_try_compile "$LINENO"; then :
70829 glibcxx_mresult=1
70830 else
70831 glibcxx_mresult=0
70833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70835 cat >>confdefs.h <<_ACEOF
70836 #define HAVE_LIMIT_DATA $glibcxx_mresult
70837 _ACEOF
70839 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70841 $as_echo "$res" >&6; }
70844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70845 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <unistd.h>
70849 #include <sys/time.h>
70850 #include <sys/resource.h>
70853 main ()
70855 int f = RLIMIT_RSS ;
70857 return 0;
70859 _ACEOF
70860 if ac_fn_c_try_compile "$LINENO"; then :
70861 glibcxx_mresult=1
70862 else
70863 glibcxx_mresult=0
70865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70867 cat >>confdefs.h <<_ACEOF
70868 #define HAVE_LIMIT_RSS $glibcxx_mresult
70869 _ACEOF
70871 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70873 $as_echo "$res" >&6; }
70876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70877 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70879 /* end confdefs.h. */
70880 #include <unistd.h>
70881 #include <sys/time.h>
70882 #include <sys/resource.h>
70885 main ()
70887 int f = RLIMIT_VMEM ;
70889 return 0;
70891 _ACEOF
70892 if ac_fn_c_try_compile "$LINENO"; then :
70893 glibcxx_mresult=1
70894 else
70895 glibcxx_mresult=0
70897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70899 cat >>confdefs.h <<_ACEOF
70900 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70901 _ACEOF
70903 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70905 $as_echo "$res" >&6; }
70908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70909 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70912 #include <unistd.h>
70913 #include <sys/time.h>
70914 #include <sys/resource.h>
70917 main ()
70919 int f = RLIMIT_AS ;
70921 return 0;
70923 _ACEOF
70924 if ac_fn_c_try_compile "$LINENO"; then :
70925 glibcxx_mresult=1
70926 else
70927 glibcxx_mresult=0
70929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70931 cat >>confdefs.h <<_ACEOF
70932 #define HAVE_LIMIT_AS $glibcxx_mresult
70933 _ACEOF
70935 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70937 $as_echo "$res" >&6; }
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70941 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70943 /* end confdefs.h. */
70944 #include <unistd.h>
70945 #include <sys/time.h>
70946 #include <sys/resource.h>
70949 main ()
70951 int f = RLIMIT_FSIZE ;
70953 return 0;
70955 _ACEOF
70956 if ac_fn_c_try_compile "$LINENO"; then :
70957 glibcxx_mresult=1
70958 else
70959 glibcxx_mresult=0
70961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70963 cat >>confdefs.h <<_ACEOF
70964 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70965 _ACEOF
70967 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70969 $as_echo "$res" >&6; }
70972 # Check for rlimit, setrlimit.
70973 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70974 $as_echo_n "(cached) " >&6
70975 else
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70979 #include <unistd.h>
70980 #include <sys/time.h>
70981 #include <sys/resource.h>
70984 main ()
70986 struct rlimit r;
70987 setrlimit(0, &r);
70989 return 0;
70991 _ACEOF
70992 if ac_fn_c_try_compile "$LINENO"; then :
70993 glibcxx_cv_setrlimit=yes
70994 else
70995 glibcxx_cv_setrlimit=no
70997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71004 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71005 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
71006 ac_res_limits=yes
71008 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71010 else
71011 ac_res_limits=no
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
71014 $as_echo "$ac_res_limits" >&6; }
71017 # Look for setenv, so that extended locale tests can be performed.
71019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71020 $as_echo_n "checking for setenv declaration... " >&6; }
71021 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71022 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71023 $as_echo_n "(cached) " >&6
71024 else
71027 ac_ext=cpp
71028 ac_cpp='$CXXCPP $CPPFLAGS'
71029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71034 /* end confdefs.h. */
71035 #include <stdlib.h>
71037 main ()
71039 setenv(0, 0, 0);
71041 return 0;
71043 _ACEOF
71044 if ac_fn_cxx_try_compile "$LINENO"; then :
71045 glibcxx_cv_func_setenv_use=yes
71046 else
71047 glibcxx_cv_func_setenv_use=no
71049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71050 ac_ext=c
71051 ac_cpp='$CPP $CPPFLAGS'
71052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71061 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71062 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71063 for ac_func in setenv
71064 do :
71065 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71066 if test "x$ac_cv_func_setenv" = x""yes; then :
71067 cat >>confdefs.h <<_ACEOF
71068 #define HAVE_SETENV 1
71069 _ACEOF
71072 done
71078 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71079 test $enable_symvers != no; then
71080 case "$host" in
71081 *-*-cygwin*)
71082 enable_abi_check=no ;;
71084 enable_abi_check=yes ;;
71085 esac
71086 else
71087 # Only build this as native, since automake does not understand
71088 # CXX_FOR_BUILD.
71089 enable_abi_check=no
71092 # Export file names for ABI checking.
71093 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71095 baseline_subdir_switch="$abi_baseline_subdir_switch"
71099 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71101 # Check whether --enable-libstdcxx-threads was given.
71102 if test "${enable_libstdcxx_threads+set}" = set; then :
71103 enableval=$enable_libstdcxx_threads;
71104 case "$enableval" in
71105 yes|no) ;;
71106 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71107 esac
71109 else
71110 enable_libstdcxx_threads=auto
71115 if test x$enable_libstdcxx_threads = xauto ||
71116 test x$enable_libstdcxx_threads = xyes; then
71119 ac_ext=cpp
71120 ac_cpp='$CXXCPP $CPPFLAGS'
71121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71126 ac_save_CXXFLAGS="$CXXFLAGS"
71127 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71128 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71130 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71131 case $target_thread_file in
71132 posix)
71133 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71134 esac
71136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71137 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71140 /* end confdefs.h. */
71141 #include <unistd.h>
71143 main ()
71146 // In case of POSIX threads check _POSIX_TIMEOUTS.
71147 #if (defined(_PTHREADS) \
71148 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71149 #error
71150 #endif
71153 return 0;
71155 _ACEOF
71156 if ac_fn_cxx_try_compile "$LINENO"; then :
71157 ac_gthread_use_mutex_timedlock=1
71158 else
71159 ac_gthread_use_mutex_timedlock=0
71161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71164 cat >>confdefs.h <<_ACEOF
71165 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71166 _ACEOF
71169 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71170 else res_mutex_timedlock=no ; fi
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71172 $as_echo "$res_mutex_timedlock" >&6; }
71174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71175 $as_echo_n "checking for gthreads library... " >&6; }
71177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71178 /* end confdefs.h. */
71179 #include "gthr.h"
71181 main ()
71184 #ifndef __GTHREADS_CXX0X
71185 #error
71186 #endif
71189 return 0;
71191 _ACEOF
71192 if ac_fn_cxx_try_compile "$LINENO"; then :
71193 case $target_os in
71194 # gthreads support breaks symbol versioning on Solaris 9 (PR
71195 # libstdc++/52189).
71196 solaris2.9*)
71197 if test x$enable_symvers = xno; then
71198 ac_has_gthreads=yes
71199 elif test x$enable_libstdcxx_threads = xyes; then
71200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71201 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71203 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71204 ac_has_gthreads=yes
71205 else
71206 ac_has_gthreads=no
71210 ac_has_gthreads=yes
71212 esac
71213 else
71214 ac_has_gthreads=no
71216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71217 else
71218 ac_has_gthreads=no
71221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71222 $as_echo "$ac_has_gthreads" >&6; }
71224 if test x"$ac_has_gthreads" = x"yes"; then
71226 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71230 CXXFLAGS="$ac_save_CXXFLAGS"
71231 ac_ext=c
71232 ac_cpp='$CPP $CPPFLAGS'
71233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71239 # Define documentation rules conditionally.
71241 # See if makeinfo has been installed and is modern enough
71242 # that we can use it.
71244 # Extract the first word of "makeinfo", so it can be a program name with args.
71245 set dummy makeinfo; ac_word=$2
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71247 $as_echo_n "checking for $ac_word... " >&6; }
71248 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71249 $as_echo_n "(cached) " >&6
71250 else
71251 if test -n "$MAKEINFO"; then
71252 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71253 else
71254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71255 for as_dir in $PATH
71257 IFS=$as_save_IFS
71258 test -z "$as_dir" && as_dir=.
71259 for ac_exec_ext in '' $ac_executable_extensions; do
71260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71261 ac_cv_prog_MAKEINFO="makeinfo"
71262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71263 break 2
71265 done
71266 done
71267 IFS=$as_save_IFS
71271 MAKEINFO=$ac_cv_prog_MAKEINFO
71272 if test -n "$MAKEINFO"; then
71273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71274 $as_echo "$MAKEINFO" >&6; }
71275 else
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71277 $as_echo "no" >&6; }
71281 if test -n "$MAKEINFO"; then
71282 # Found it, now check the version.
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71284 $as_echo_n "checking for modern makeinfo... " >&6; }
71285 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71286 $as_echo_n "(cached) " >&6
71287 else
71288 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71289 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71291 case $ac_prog_version in
71292 '') gcc_cv_prog_makeinfo_modern=no;;
71293 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71294 *) gcc_cv_prog_makeinfo_modern=no;;
71295 esac
71298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71299 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71300 else
71301 gcc_cv_prog_makeinfo_modern=no
71303 if test $gcc_cv_prog_makeinfo_modern = no; then
71304 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71307 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71308 BUILD_INFO_TRUE=
71309 BUILD_INFO_FALSE='#'
71310 else
71311 BUILD_INFO_TRUE='#'
71312 BUILD_INFO_FALSE=
71316 # Check for doxygen
71317 # Extract the first word of "doxygen", so it can be a program name with args.
71318 set dummy doxygen; ac_word=$2
71319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71320 $as_echo_n "checking for $ac_word... " >&6; }
71321 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71322 $as_echo_n "(cached) " >&6
71323 else
71324 if test -n "$DOXYGEN"; then
71325 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71326 else
71327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71328 for as_dir in $PATH
71330 IFS=$as_save_IFS
71331 test -z "$as_dir" && as_dir=.
71332 for ac_exec_ext in '' $ac_executable_extensions; do
71333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71334 ac_cv_prog_DOXYGEN="yes"
71335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71336 break 2
71338 done
71339 done
71340 IFS=$as_save_IFS
71342 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71345 DOXYGEN=$ac_cv_prog_DOXYGEN
71346 if test -n "$DOXYGEN"; then
71347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71348 $as_echo "$DOXYGEN" >&6; }
71349 else
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71351 $as_echo "no" >&6; }
71355 # Extract the first word of "dot", so it can be a program name with args.
71356 set dummy dot; ac_word=$2
71357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71358 $as_echo_n "checking for $ac_word... " >&6; }
71359 if test "${ac_cv_prog_DOT+set}" = set; then :
71360 $as_echo_n "(cached) " >&6
71361 else
71362 if test -n "$DOT"; then
71363 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71364 else
71365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71366 for as_dir in $PATH
71368 IFS=$as_save_IFS
71369 test -z "$as_dir" && as_dir=.
71370 for ac_exec_ext in '' $ac_executable_extensions; do
71371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71372 ac_cv_prog_DOT="yes"
71373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71374 break 2
71376 done
71377 done
71378 IFS=$as_save_IFS
71380 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71383 DOT=$ac_cv_prog_DOT
71384 if test -n "$DOT"; then
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71386 $as_echo "$DOT" >&6; }
71387 else
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71389 $as_echo "no" >&6; }
71394 # Check for docbook
71395 # Extract the first word of "xsltproc", so it can be a program name with args.
71396 set dummy xsltproc; ac_word=$2
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71398 $as_echo_n "checking for $ac_word... " >&6; }
71399 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71400 $as_echo_n "(cached) " >&6
71401 else
71402 if test -n "$XSLTPROC"; then
71403 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71404 else
71405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71406 for as_dir in $PATH
71408 IFS=$as_save_IFS
71409 test -z "$as_dir" && as_dir=.
71410 for ac_exec_ext in '' $ac_executable_extensions; do
71411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71412 ac_cv_prog_XSLTPROC="yes"
71413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71414 break 2
71416 done
71417 done
71418 IFS=$as_save_IFS
71420 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71423 XSLTPROC=$ac_cv_prog_XSLTPROC
71424 if test -n "$XSLTPROC"; then
71425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71426 $as_echo "$XSLTPROC" >&6; }
71427 else
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71429 $as_echo "no" >&6; }
71433 # Extract the first word of "xmllint", so it can be a program name with args.
71434 set dummy xmllint; ac_word=$2
71435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71436 $as_echo_n "checking for $ac_word... " >&6; }
71437 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71438 $as_echo_n "(cached) " >&6
71439 else
71440 if test -n "$XMLLINT"; then
71441 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71442 else
71443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71444 for as_dir in $PATH
71446 IFS=$as_save_IFS
71447 test -z "$as_dir" && as_dir=.
71448 for ac_exec_ext in '' $ac_executable_extensions; do
71449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71450 ac_cv_prog_XMLLINT="yes"
71451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71452 break 2
71454 done
71455 done
71456 IFS=$as_save_IFS
71458 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71461 XMLLINT=$ac_cv_prog_XMLLINT
71462 if test -n "$XMLLINT"; then
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71464 $as_echo "$XMLLINT" >&6; }
71465 else
71466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71467 $as_echo "no" >&6; }
71473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71474 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71475 glibcxx_stylesheets=no
71476 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
71477 glibcxx_stylesheets=yes
71479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71480 $as_echo "$glibcxx_stylesheets" >&6; }
71482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71483 $as_echo_n "checking for local stylesheet directory... " >&6; }
71484 glibcxx_local_stylesheets=no
71485 if test x"$glibcxx_stylesheets" = x"yes"; then
71486 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71487 glibcxx_local_stylesheets=yes
71488 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71490 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71491 glibcxx_local_stylesheets=yes
71492 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71496 $as_echo "$glibcxx_local_stylesheets" >&6; }
71498 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71500 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71501 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71502 else
71503 glibcxx_stylesheets=no
71506 # Check for epub3 dependencies.
71507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71508 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71509 glibcxx_epub_stylesheets=no
71510 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71511 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71512 glibcxx_epub_stylesheets=yes
71515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71516 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71517 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71518 BUILD_EPUB_TRUE=
71519 BUILD_EPUB_FALSE='#'
71520 else
71521 BUILD_EPUB_TRUE='#'
71522 BUILD_EPUB_FALSE=
71528 # Check for xml/html dependencies.
71529 if test $ac_cv_prog_DOXYGEN = "yes" &&
71530 test $ac_cv_prog_DOT = "yes" &&
71531 test $ac_cv_prog_XSLTPROC = "yes" &&
71532 test $ac_cv_prog_XMLLINT = "yes" &&
71533 test $glibcxx_stylesheets = "yes"; then
71534 BUILD_XML_TRUE=
71535 BUILD_XML_FALSE='#'
71536 else
71537 BUILD_XML_TRUE='#'
71538 BUILD_XML_FALSE=
71542 if test $ac_cv_prog_DOXYGEN = "yes" &&
71543 test $ac_cv_prog_DOT = "yes" &&
71544 test $ac_cv_prog_XSLTPROC = "yes" &&
71545 test $ac_cv_prog_XMLLINT = "yes" &&
71546 test $glibcxx_stylesheets = "yes"; then
71547 BUILD_HTML_TRUE=
71548 BUILD_HTML_FALSE='#'
71549 else
71550 BUILD_HTML_TRUE='#'
71551 BUILD_HTML_FALSE=
71555 # Check for man dependencies.
71556 if test $ac_cv_prog_DOXYGEN = "yes" &&
71557 test $ac_cv_prog_DOT = "yes"; then
71558 BUILD_MAN_TRUE=
71559 BUILD_MAN_FALSE='#'
71560 else
71561 BUILD_MAN_TRUE='#'
71562 BUILD_MAN_FALSE=
71566 # Check for pdf dependencies.
71567 # Extract the first word of "dblatex", so it can be a program name with args.
71568 set dummy dblatex; ac_word=$2
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71570 $as_echo_n "checking for $ac_word... " >&6; }
71571 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71572 $as_echo_n "(cached) " >&6
71573 else
71574 if test -n "$DBLATEX"; then
71575 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71576 else
71577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71578 for as_dir in $PATH
71580 IFS=$as_save_IFS
71581 test -z "$as_dir" && as_dir=.
71582 for ac_exec_ext in '' $ac_executable_extensions; do
71583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71584 ac_cv_prog_DBLATEX="yes"
71585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71586 break 2
71588 done
71589 done
71590 IFS=$as_save_IFS
71592 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71595 DBLATEX=$ac_cv_prog_DBLATEX
71596 if test -n "$DBLATEX"; then
71597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71598 $as_echo "$DBLATEX" >&6; }
71599 else
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71601 $as_echo "no" >&6; }
71605 # Extract the first word of "pdflatex", so it can be a program name with args.
71606 set dummy pdflatex; ac_word=$2
71607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71608 $as_echo_n "checking for $ac_word... " >&6; }
71609 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71610 $as_echo_n "(cached) " >&6
71611 else
71612 if test -n "$PDFLATEX"; then
71613 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71614 else
71615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71616 for as_dir in $PATH
71618 IFS=$as_save_IFS
71619 test -z "$as_dir" && as_dir=.
71620 for ac_exec_ext in '' $ac_executable_extensions; do
71621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71622 ac_cv_prog_PDFLATEX="yes"
71623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71624 break 2
71626 done
71627 done
71628 IFS=$as_save_IFS
71630 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71633 PDFLATEX=$ac_cv_prog_PDFLATEX
71634 if test -n "$PDFLATEX"; then
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71636 $as_echo "$PDFLATEX" >&6; }
71637 else
71638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71639 $as_echo "no" >&6; }
71643 if test $ac_cv_prog_DBLATEX = "yes" &&
71644 test $ac_cv_prog_PDFLATEX = "yes"; then
71645 BUILD_PDF_TRUE=
71646 BUILD_PDF_FALSE='#'
71647 else
71648 BUILD_PDF_TRUE='#'
71649 BUILD_PDF_FALSE=
71654 # Propagate the target-specific source directories through the build chain.
71655 ATOMICITY_SRCDIR=config/${atomicity_dir}
71656 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71657 ATOMIC_FLAGS=${atomic_flags}
71658 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71659 OS_INC_SRCDIR=config/${os_include_dir}
71660 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71661 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71662 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71663 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71675 # Determine cross-compile flags and AM_CONDITIONALs.
71676 #AC_SUBST(GLIBCXX_IS_NATIVE)
71677 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71678 if test $is_hosted = yes; then
71679 GLIBCXX_HOSTED_TRUE=
71680 GLIBCXX_HOSTED_FALSE='#'
71681 else
71682 GLIBCXX_HOSTED_TRUE='#'
71683 GLIBCXX_HOSTED_FALSE=
71687 if test $enable_libstdcxx_pch = yes; then
71688 GLIBCXX_BUILD_PCH_TRUE=
71689 GLIBCXX_BUILD_PCH_FALSE='#'
71690 else
71691 GLIBCXX_BUILD_PCH_TRUE='#'
71692 GLIBCXX_BUILD_PCH_FALSE=
71696 if test $enable_cheaders = c; then
71697 GLIBCXX_C_HEADERS_C_TRUE=
71698 GLIBCXX_C_HEADERS_C_FALSE='#'
71699 else
71700 GLIBCXX_C_HEADERS_C_TRUE='#'
71701 GLIBCXX_C_HEADERS_C_FALSE=
71705 if test $enable_cheaders = c_std; then
71706 GLIBCXX_C_HEADERS_C_STD_TRUE=
71707 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71708 else
71709 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71710 GLIBCXX_C_HEADERS_C_STD_FALSE=
71714 if test $enable_cheaders = c_global; then
71715 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71716 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71717 else
71718 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71719 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71723 if test $c_compatibility = yes; then
71724 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71725 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71726 else
71727 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71728 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71732 if test $enable_libstdcxx_debug = yes; then
71733 GLIBCXX_BUILD_DEBUG_TRUE=
71734 GLIBCXX_BUILD_DEBUG_FALSE='#'
71735 else
71736 GLIBCXX_BUILD_DEBUG_TRUE='#'
71737 GLIBCXX_BUILD_DEBUG_FALSE=
71741 if test $enable_extern_template = yes; then
71742 ENABLE_EXTERN_TEMPLATE_TRUE=
71743 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71744 else
71745 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71746 ENABLE_EXTERN_TEMPLATE_FALSE=
71750 if test $python_mod_dir != no; then
71751 ENABLE_PYTHONDIR_TRUE=
71752 ENABLE_PYTHONDIR_FALSE='#'
71753 else
71754 ENABLE_PYTHONDIR_TRUE='#'
71755 ENABLE_PYTHONDIR_FALSE=
71759 if test $enable_werror = yes; then
71760 ENABLE_WERROR_TRUE=
71761 ENABLE_WERROR_FALSE='#'
71762 else
71763 ENABLE_WERROR_TRUE='#'
71764 ENABLE_WERROR_FALSE=
71768 if test $enable_symvers != no; then
71769 ENABLE_SYMVERS_TRUE=
71770 ENABLE_SYMVERS_FALSE='#'
71771 else
71772 ENABLE_SYMVERS_TRUE='#'
71773 ENABLE_SYMVERS_FALSE=
71777 if test $enable_symvers = gnu; then
71778 ENABLE_SYMVERS_GNU_TRUE=
71779 ENABLE_SYMVERS_GNU_FALSE='#'
71780 else
71781 ENABLE_SYMVERS_GNU_TRUE='#'
71782 ENABLE_SYMVERS_GNU_FALSE=
71786 if test $enable_symvers = gnu-versioned-namespace; then
71787 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71788 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71789 else
71790 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71791 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71795 if test $enable_symvers = darwin; then
71796 ENABLE_SYMVERS_DARWIN_TRUE=
71797 ENABLE_SYMVERS_DARWIN_FALSE='#'
71798 else
71799 ENABLE_SYMVERS_DARWIN_TRUE='#'
71800 ENABLE_SYMVERS_DARWIN_FALSE=
71804 if test $enable_symvers = sun; then
71805 ENABLE_SYMVERS_SUN_TRUE=
71806 ENABLE_SYMVERS_SUN_FALSE='#'
71807 else
71808 ENABLE_SYMVERS_SUN_TRUE='#'
71809 ENABLE_SYMVERS_SUN_FALSE=
71813 if test $enable_libstdcxx_visibility = yes; then
71814 ENABLE_VISIBILITY_TRUE=
71815 ENABLE_VISIBILITY_FALSE='#'
71816 else
71817 ENABLE_VISIBILITY_TRUE='#'
71818 ENABLE_VISIBILITY_FALSE=
71822 if test $ac_ldbl_compat = yes; then
71823 GLIBCXX_LDBL_COMPAT_TRUE=
71824 GLIBCXX_LDBL_COMPAT_FALSE='#'
71825 else
71826 GLIBCXX_LDBL_COMPAT_TRUE='#'
71827 GLIBCXX_LDBL_COMPAT_FALSE=
71833 cat >confcache <<\_ACEOF
71834 # This file is a shell script that caches the results of configure
71835 # tests run on this system so they can be shared between configure
71836 # scripts and configure runs, see configure's option --config-cache.
71837 # It is not useful on other systems. If it contains results you don't
71838 # want to keep, you may remove or edit it.
71840 # config.status only pays attention to the cache file if you give it
71841 # the --recheck option to rerun configure.
71843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71845 # following values.
71847 _ACEOF
71849 # The following way of writing the cache mishandles newlines in values,
71850 # but we know of no workaround that is simple, portable, and efficient.
71851 # So, we kill variables containing newlines.
71852 # Ultrix sh set writes to stderr and can't be redirected directly,
71853 # and sets the high bit in the cache file unless we assign to the vars.
71855 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71856 eval ac_val=\$$ac_var
71857 case $ac_val in #(
71858 *${as_nl}*)
71859 case $ac_var in #(
71860 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71862 esac
71863 case $ac_var in #(
71864 _ | IFS | as_nl) ;; #(
71865 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71866 *) { eval $ac_var=; unset $ac_var;} ;;
71867 esac ;;
71868 esac
71869 done
71871 (set) 2>&1 |
71872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71873 *${as_nl}ac_space=\ *)
71874 # `set' does not quote correctly, so add quotes: double-quote
71875 # substitution turns \\\\ into \\, and sed turns \\ into \.
71876 sed -n \
71877 "s/'/'\\\\''/g;
71878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71879 ;; #(
71881 # `set' quotes correctly as required by POSIX, so do not add quotes.
71882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71884 esac |
71885 sort
71887 sed '
71888 /^ac_cv_env_/b end
71889 t clear
71890 :clear
71891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71892 t end
71893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71894 :end' >>confcache
71895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71896 if test -w "$cache_file"; then
71897 test "x$cache_file" != "x/dev/null" &&
71898 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71899 $as_echo "$as_me: updating cache $cache_file" >&6;}
71900 cat confcache >$cache_file
71901 else
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71903 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71906 rm -f confcache
71908 if test ${multilib} = yes; then
71909 multilib_arg="--enable-multilib"
71910 else
71911 multilib_arg=
71914 # Export all the install information.
71916 glibcxx_toolexecdir=no
71917 glibcxx_toolexeclibdir=no
71918 glibcxx_prefixdir=$prefix
71920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71921 $as_echo_n "checking for gxx-include-dir... " >&6; }
71923 # Check whether --with-gxx-include-dir was given.
71924 if test "${with_gxx_include_dir+set}" = set; then :
71925 withval=$with_gxx_include_dir; case "$withval" in
71926 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71927 no) gxx_include_dir=no ;;
71928 *) gxx_include_dir=$withval ;;
71929 esac
71930 else
71931 gxx_include_dir=no
71934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71935 $as_echo "$gxx_include_dir" >&6; }
71937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71938 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71939 # Check whether --enable-version-specific-runtime-libs was given.
71940 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71941 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71942 yes) version_specific_libs=yes ;;
71943 no) version_specific_libs=no ;;
71944 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71945 esac
71946 else
71947 version_specific_libs=no
71950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71951 $as_echo "$version_specific_libs" >&6; }
71953 # Default case for install directory for include files.
71954 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71955 gxx_include_dir='include/c++/${gcc_version}'
71956 if test -n "$with_cross_host" &&
71957 test x"$with_cross_host" != x"no"; then
71958 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71959 else
71960 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71964 # Version-specific runtime libs processing.
71965 if test $version_specific_libs = yes; then
71966 # Need the gcc compiler version to know where to install libraries
71967 # and header files if --enable-version-specific-runtime-libs option
71968 # is selected. FIXME: these variables are misnamed, there are
71969 # no executables installed in _toolexecdir or _toolexeclibdir.
71970 if test x"$gxx_include_dir" = x"no"; then
71971 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71973 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71974 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71977 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71978 # Install a library built with a cross compiler in tooldir, not libdir.
71979 if test x"$glibcxx_toolexecdir" = x"no"; then
71980 if test -n "$with_cross_host" &&
71981 test x"$with_cross_host" != x"no"; then
71982 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71983 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71984 else
71985 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71986 glibcxx_toolexeclibdir='${libdir}'
71988 multi_os_directory=`$CXX -print-multi-os-directory`
71989 case $multi_os_directory in
71990 .) ;; # Avoid trailing /.
71991 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71992 esac
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71996 $as_echo_n "checking for install location... " >&6; }
71997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71998 $as_echo "$gxx_include_dir" >&6; }
72006 # Export all the include and flag information to Makefiles.
72008 # Used for every C++ compile we perform.
72009 GLIBCXX_INCLUDES="\
72010 -I$glibcxx_builddir/include/$host_alias \
72011 -I$glibcxx_builddir/include \
72012 -I$glibcxx_srcdir/libsupc++"
72014 # For Canadian crosses, pick this up too.
72015 if test $CANADIAN = yes; then
72016 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72019 # Stuff in the actual top level. Currently only used by libsupc++ to
72020 # get unwind* headers from the libgcc dir.
72021 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72022 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72024 # Now, export this to all the little Makefiles....
72029 # Optimization flags that are probably a good idea for thrill-seekers. Just
72030 # uncomment the lines below and make, everything else is ready to go...
72031 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72032 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72035 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72039 ac_config_files="$ac_config_files Makefile"
72041 ac_config_files="$ac_config_files scripts/testsuite_flags"
72043 ac_config_files="$ac_config_files scripts/extract_symvers"
72045 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72048 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72049 # that multilib installs will end up installed in the correct place.
72050 # The testsuite needs it for multilib-aware ABI baseline files.
72051 # To work around this not being passed down from config-ml.in ->
72052 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72053 # append it here. Only modify Makefiles that have just been created.
72055 # Also, get rid of this simulated-VPATH thing that automake does.
72056 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"
72059 ac_config_commands="$ac_config_commands generate-headers"
72062 cat >confcache <<\_ACEOF
72063 # This file is a shell script that caches the results of configure
72064 # tests run on this system so they can be shared between configure
72065 # scripts and configure runs, see configure's option --config-cache.
72066 # It is not useful on other systems. If it contains results you don't
72067 # want to keep, you may remove or edit it.
72069 # config.status only pays attention to the cache file if you give it
72070 # the --recheck option to rerun configure.
72072 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72073 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72074 # following values.
72076 _ACEOF
72078 # The following way of writing the cache mishandles newlines in values,
72079 # but we know of no workaround that is simple, portable, and efficient.
72080 # So, we kill variables containing newlines.
72081 # Ultrix sh set writes to stderr and can't be redirected directly,
72082 # and sets the high bit in the cache file unless we assign to the vars.
72084 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72085 eval ac_val=\$$ac_var
72086 case $ac_val in #(
72087 *${as_nl}*)
72088 case $ac_var in #(
72089 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72091 esac
72092 case $ac_var in #(
72093 _ | IFS | as_nl) ;; #(
72094 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72095 *) { eval $ac_var=; unset $ac_var;} ;;
72096 esac ;;
72097 esac
72098 done
72100 (set) 2>&1 |
72101 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72102 *${as_nl}ac_space=\ *)
72103 # `set' does not quote correctly, so add quotes: double-quote
72104 # substitution turns \\\\ into \\, and sed turns \\ into \.
72105 sed -n \
72106 "s/'/'\\\\''/g;
72107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72108 ;; #(
72110 # `set' quotes correctly as required by POSIX, so do not add quotes.
72111 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72113 esac |
72114 sort
72116 sed '
72117 /^ac_cv_env_/b end
72118 t clear
72119 :clear
72120 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72121 t end
72122 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72123 :end' >>confcache
72124 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72125 if test -w "$cache_file"; then
72126 test "x$cache_file" != "x/dev/null" &&
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72128 $as_echo "$as_me: updating cache $cache_file" >&6;}
72129 cat confcache >$cache_file
72130 else
72131 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72132 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72135 rm -f confcache
72137 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72138 # Let make expand exec_prefix.
72139 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72141 DEFS=-DHAVE_CONFIG_H
72143 ac_libobjs=
72144 ac_ltlibobjs=
72145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72146 # 1. Remove the extension, and $U if already installed.
72147 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72148 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72149 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72150 # will be set to the directory where LIBOBJS objects are built.
72151 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72152 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72153 done
72154 LIBOBJS=$ac_libobjs
72156 LTLIBOBJS=$ac_ltlibobjs
72159 if test -n "$EXEEXT"; then
72160 am__EXEEXT_TRUE=
72161 am__EXEEXT_FALSE='#'
72162 else
72163 am__EXEEXT_TRUE='#'
72164 am__EXEEXT_FALSE=
72167 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72168 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72171 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72172 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72175 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72176 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72179 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72180 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72183 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72184 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72187 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72188 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72191 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72192 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72195 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72196 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72199 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72200 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72203 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72204 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72207 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72208 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72211 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72212 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72215 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72216 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72219 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72220 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72223 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72224 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72227 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72228 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72231 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72232 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72235 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72236 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72239 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72240 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72243 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72244 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72247 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72248 as_fn_error "conditional \"BUILD_XML\" was never defined.
72249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72251 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72252 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72255 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72256 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72259 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72260 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72264 : ${CONFIG_STATUS=./config.status}
72265 ac_write_fail=0
72266 ac_clean_files_save=$ac_clean_files
72267 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72269 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72270 as_write_fail=0
72271 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72272 #! $SHELL
72273 # Generated by $as_me.
72274 # Run this file to recreate the current configuration.
72275 # Compiler output produced by configure, useful for debugging
72276 # configure, is in config.log if it exists.
72278 debug=false
72279 ac_cs_recheck=false
72280 ac_cs_silent=false
72282 SHELL=\${CONFIG_SHELL-$SHELL}
72283 export SHELL
72284 _ASEOF
72285 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72286 ## -------------------- ##
72287 ## M4sh Initialization. ##
72288 ## -------------------- ##
72290 # Be more Bourne compatible
72291 DUALCASE=1; export DUALCASE # for MKS sh
72292 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72293 emulate sh
72294 NULLCMD=:
72295 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72296 # is contrary to our usage. Disable this feature.
72297 alias -g '${1+"$@"}'='"$@"'
72298 setopt NO_GLOB_SUBST
72299 else
72300 case `(set -o) 2>/dev/null` in #(
72301 *posix*) :
72302 set -o posix ;; #(
72303 *) :
72305 esac
72309 as_nl='
72311 export as_nl
72312 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72313 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72314 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72316 # Prefer a ksh shell builtin over an external printf program on Solaris,
72317 # but without wasting forks for bash or zsh.
72318 if test -z "$BASH_VERSION$ZSH_VERSION" \
72319 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72320 as_echo='print -r --'
72321 as_echo_n='print -rn --'
72322 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72323 as_echo='printf %s\n'
72324 as_echo_n='printf %s'
72325 else
72326 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72327 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72328 as_echo_n='/usr/ucb/echo -n'
72329 else
72330 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72331 as_echo_n_body='eval
72332 arg=$1;
72333 case $arg in #(
72334 *"$as_nl"*)
72335 expr "X$arg" : "X\\(.*\\)$as_nl";
72336 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72337 esac;
72338 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72340 export as_echo_n_body
72341 as_echo_n='sh -c $as_echo_n_body as_echo'
72343 export as_echo_body
72344 as_echo='sh -c $as_echo_body as_echo'
72347 # The user is always right.
72348 if test "${PATH_SEPARATOR+set}" != set; then
72349 PATH_SEPARATOR=:
72350 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72351 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72352 PATH_SEPARATOR=';'
72357 # IFS
72358 # We need space, tab and new line, in precisely that order. Quoting is
72359 # there to prevent editors from complaining about space-tab.
72360 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72361 # splitting by setting IFS to empty value.)
72362 IFS=" "" $as_nl"
72364 # Find who we are. Look in the path if we contain no directory separator.
72365 case $0 in #((
72366 *[\\/]* ) as_myself=$0 ;;
72367 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72368 for as_dir in $PATH
72370 IFS=$as_save_IFS
72371 test -z "$as_dir" && as_dir=.
72372 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72373 done
72374 IFS=$as_save_IFS
72377 esac
72378 # We did not find ourselves, most probably we were run as `sh COMMAND'
72379 # in which case we are not to be found in the path.
72380 if test "x$as_myself" = x; then
72381 as_myself=$0
72383 if test ! -f "$as_myself"; then
72384 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72385 exit 1
72388 # Unset variables that we do not need and which cause bugs (e.g. in
72389 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72390 # suppresses any "Segmentation fault" message there. '((' could
72391 # trigger a bug in pdksh 5.2.14.
72392 for as_var in BASH_ENV ENV MAIL MAILPATH
72393 do eval test x\${$as_var+set} = xset \
72394 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72395 done
72396 PS1='$ '
72397 PS2='> '
72398 PS4='+ '
72400 # NLS nuisances.
72401 LC_ALL=C
72402 export LC_ALL
72403 LANGUAGE=C
72404 export LANGUAGE
72406 # CDPATH.
72407 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72410 # as_fn_error ERROR [LINENO LOG_FD]
72411 # ---------------------------------
72412 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72413 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72414 # script with status $?, using 1 if that was 0.
72415 as_fn_error ()
72417 as_status=$?; test $as_status -eq 0 && as_status=1
72418 if test "$3"; then
72419 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72420 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72422 $as_echo "$as_me: error: $1" >&2
72423 as_fn_exit $as_status
72424 } # as_fn_error
72427 # as_fn_set_status STATUS
72428 # -----------------------
72429 # Set $? to STATUS, without forking.
72430 as_fn_set_status ()
72432 return $1
72433 } # as_fn_set_status
72435 # as_fn_exit STATUS
72436 # -----------------
72437 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72438 as_fn_exit ()
72440 set +e
72441 as_fn_set_status $1
72442 exit $1
72443 } # as_fn_exit
72445 # as_fn_unset VAR
72446 # ---------------
72447 # Portably unset VAR.
72448 as_fn_unset ()
72450 { eval $1=; unset $1;}
72452 as_unset=as_fn_unset
72453 # as_fn_append VAR VALUE
72454 # ----------------------
72455 # Append the text in VALUE to the end of the definition contained in VAR. Take
72456 # advantage of any shell optimizations that allow amortized linear growth over
72457 # repeated appends, instead of the typical quadratic growth present in naive
72458 # implementations.
72459 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72460 eval 'as_fn_append ()
72462 eval $1+=\$2
72464 else
72465 as_fn_append ()
72467 eval $1=\$$1\$2
72469 fi # as_fn_append
72471 # as_fn_arith ARG...
72472 # ------------------
72473 # Perform arithmetic evaluation on the ARGs, and store the result in the
72474 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72475 # must be portable across $(()) and expr.
72476 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72477 eval 'as_fn_arith ()
72479 as_val=$(( $* ))
72481 else
72482 as_fn_arith ()
72484 as_val=`expr "$@" || test $? -eq 1`
72486 fi # as_fn_arith
72489 if expr a : '\(a\)' >/dev/null 2>&1 &&
72490 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72491 as_expr=expr
72492 else
72493 as_expr=false
72496 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72497 as_basename=basename
72498 else
72499 as_basename=false
72502 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72503 as_dirname=dirname
72504 else
72505 as_dirname=false
72508 as_me=`$as_basename -- "$0" ||
72509 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72510 X"$0" : 'X\(//\)$' \| \
72511 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72512 $as_echo X/"$0" |
72513 sed '/^.*\/\([^/][^/]*\)\/*$/{
72514 s//\1/
72517 /^X\/\(\/\/\)$/{
72518 s//\1/
72521 /^X\/\(\/\).*/{
72522 s//\1/
72525 s/.*/./; q'`
72527 # Avoid depending upon Character Ranges.
72528 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72529 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72530 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72531 as_cr_digits='0123456789'
72532 as_cr_alnum=$as_cr_Letters$as_cr_digits
72534 ECHO_C= ECHO_N= ECHO_T=
72535 case `echo -n x` in #(((((
72536 -n*)
72537 case `echo 'xy\c'` in
72538 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72539 xy) ECHO_C='\c';;
72540 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72541 ECHO_T=' ';;
72542 esac;;
72544 ECHO_N='-n';;
72545 esac
72547 rm -f conf$$ conf$$.exe conf$$.file
72548 if test -d conf$$.dir; then
72549 rm -f conf$$.dir/conf$$.file
72550 else
72551 rm -f conf$$.dir
72552 mkdir conf$$.dir 2>/dev/null
72554 if (echo >conf$$.file) 2>/dev/null; then
72555 if ln -s conf$$.file conf$$ 2>/dev/null; then
72556 as_ln_s='ln -s'
72557 # ... but there are two gotchas:
72558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72560 # In both cases, we have to default to `cp -p'.
72561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72562 as_ln_s='cp -p'
72563 elif ln conf$$.file conf$$ 2>/dev/null; then
72564 as_ln_s=ln
72565 else
72566 as_ln_s='cp -p'
72568 else
72569 as_ln_s='cp -p'
72571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72572 rmdir conf$$.dir 2>/dev/null
72575 # as_fn_mkdir_p
72576 # -------------
72577 # Create "$as_dir" as a directory, including parents if necessary.
72578 as_fn_mkdir_p ()
72581 case $as_dir in #(
72582 -*) as_dir=./$as_dir;;
72583 esac
72584 test -d "$as_dir" || eval $as_mkdir_p || {
72585 as_dirs=
72586 while :; do
72587 case $as_dir in #(
72588 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72589 *) as_qdir=$as_dir;;
72590 esac
72591 as_dirs="'$as_qdir' $as_dirs"
72592 as_dir=`$as_dirname -- "$as_dir" ||
72593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72594 X"$as_dir" : 'X\(//\)[^/]' \| \
72595 X"$as_dir" : 'X\(//\)$' \| \
72596 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72597 $as_echo X"$as_dir" |
72598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72599 s//\1/
72602 /^X\(\/\/\)[^/].*/{
72603 s//\1/
72606 /^X\(\/\/\)$/{
72607 s//\1/
72610 /^X\(\/\).*/{
72611 s//\1/
72614 s/.*/./; q'`
72615 test -d "$as_dir" && break
72616 done
72617 test -z "$as_dirs" || eval "mkdir $as_dirs"
72618 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72621 } # as_fn_mkdir_p
72622 if mkdir -p . 2>/dev/null; then
72623 as_mkdir_p='mkdir -p "$as_dir"'
72624 else
72625 test -d ./-p && rmdir ./-p
72626 as_mkdir_p=false
72629 if test -x / >/dev/null 2>&1; then
72630 as_test_x='test -x'
72631 else
72632 if ls -dL / >/dev/null 2>&1; then
72633 as_ls_L_option=L
72634 else
72635 as_ls_L_option=
72637 as_test_x='
72638 eval sh -c '\''
72639 if test -d "$1"; then
72640 test -d "$1/.";
72641 else
72642 case $1 in #(
72643 -*)set "./$1";;
72644 esac;
72645 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72646 ???[sx]*):;;*)false;;esac;fi
72647 '\'' sh
72650 as_executable_p=$as_test_x
72652 # Sed expression to map a string onto a valid CPP name.
72653 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72655 # Sed expression to map a string onto a valid variable name.
72656 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72659 exec 6>&1
72660 ## ----------------------------------- ##
72661 ## Main body of $CONFIG_STATUS script. ##
72662 ## ----------------------------------- ##
72663 _ASEOF
72664 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72667 # Save the log message, to keep $0 and so on meaningful, and to
72668 # report actual input values of CONFIG_FILES etc. instead of their
72669 # values after options handling.
72670 ac_log="
72671 This file was extended by package-unused $as_me version-unused, which was
72672 generated by GNU Autoconf 2.64. Invocation command line was
72674 CONFIG_FILES = $CONFIG_FILES
72675 CONFIG_HEADERS = $CONFIG_HEADERS
72676 CONFIG_LINKS = $CONFIG_LINKS
72677 CONFIG_COMMANDS = $CONFIG_COMMANDS
72678 $ $0 $@
72680 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72683 _ACEOF
72685 case $ac_config_files in *"
72686 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72687 esac
72689 case $ac_config_headers in *"
72690 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72691 esac
72694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72695 # Files that config.status was made for.
72696 config_files="$ac_config_files"
72697 config_headers="$ac_config_headers"
72698 config_commands="$ac_config_commands"
72700 _ACEOF
72702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72703 ac_cs_usage="\
72704 \`$as_me' instantiates files and other configuration actions
72705 from templates according to the current configuration. Unless the files
72706 and actions are specified as TAGs, all are instantiated by default.
72708 Usage: $0 [OPTION]... [TAG]...
72710 -h, --help print this help, then exit
72711 -V, --version print version number and configuration settings, then exit
72712 -q, --quiet, --silent
72713 do not print progress messages
72714 -d, --debug don't remove temporary files
72715 --recheck update $as_me by reconfiguring in the same conditions
72716 --file=FILE[:TEMPLATE]
72717 instantiate the configuration file FILE
72718 --header=FILE[:TEMPLATE]
72719 instantiate the configuration header FILE
72721 Configuration files:
72722 $config_files
72724 Configuration headers:
72725 $config_headers
72727 Configuration commands:
72728 $config_commands
72730 Report bugs to the package provider."
72732 _ACEOF
72733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72734 ac_cs_version="\\
72735 package-unused config.status version-unused
72736 configured by $0, generated by GNU Autoconf 2.64,
72737 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72739 Copyright (C) 2009 Free Software Foundation, Inc.
72740 This config.status script is free software; the Free Software Foundation
72741 gives unlimited permission to copy, distribute and modify it."
72743 ac_pwd='$ac_pwd'
72744 srcdir='$srcdir'
72745 INSTALL='$INSTALL'
72746 MKDIR_P='$MKDIR_P'
72747 AWK='$AWK'
72748 test -n "\$AWK" || AWK=awk
72749 _ACEOF
72751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72752 # The default lists apply if the user does not specify any file.
72753 ac_need_defaults=:
72754 while test $# != 0
72756 case $1 in
72757 --*=*)
72758 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72759 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72760 ac_shift=:
72763 ac_option=$1
72764 ac_optarg=$2
72765 ac_shift=shift
72767 esac
72769 case $ac_option in
72770 # Handling of the options.
72771 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72772 ac_cs_recheck=: ;;
72773 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72774 $as_echo "$ac_cs_version"; exit ;;
72775 --debug | --debu | --deb | --de | --d | -d )
72776 debug=: ;;
72777 --file | --fil | --fi | --f )
72778 $ac_shift
72779 case $ac_optarg in
72780 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72781 esac
72782 as_fn_append CONFIG_FILES " '$ac_optarg'"
72783 ac_need_defaults=false;;
72784 --header | --heade | --head | --hea )
72785 $ac_shift
72786 case $ac_optarg in
72787 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72788 esac
72789 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72790 ac_need_defaults=false;;
72791 --he | --h)
72792 # Conflict between --help and --header
72793 as_fn_error "ambiguous option: \`$1'
72794 Try \`$0 --help' for more information.";;
72795 --help | --hel | -h )
72796 $as_echo "$ac_cs_usage"; exit ;;
72797 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72798 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72799 ac_cs_silent=: ;;
72801 # This is an error.
72802 -*) as_fn_error "unrecognized option: \`$1'
72803 Try \`$0 --help' for more information." ;;
72805 *) as_fn_append ac_config_targets " $1"
72806 ac_need_defaults=false ;;
72808 esac
72809 shift
72810 done
72812 ac_configure_extra_args=
72814 if $ac_cs_silent; then
72815 exec 6>/dev/null
72816 ac_configure_extra_args="$ac_configure_extra_args --silent"
72819 _ACEOF
72820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72821 if \$ac_cs_recheck; then
72822 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72823 shift
72824 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72825 CONFIG_SHELL='$SHELL'
72826 export CONFIG_SHELL
72827 exec "\$@"
72830 _ACEOF
72831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72832 exec 5>>config.log
72834 echo
72835 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72836 ## Running $as_me. ##
72837 _ASBOX
72838 $as_echo "$ac_log"
72839 } >&5
72841 _ACEOF
72842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72844 # INIT-COMMANDS
72847 srcdir="$srcdir"
72848 host="$host"
72849 target="$target"
72850 with_multisubdir="$with_multisubdir"
72851 with_multisrctop="$with_multisrctop"
72852 with_target_subdir="$with_target_subdir"
72853 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72854 multi_basedir="$multi_basedir"
72855 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72856 CC="$CC"
72857 CXX="$CXX"
72858 GFORTRAN="$GFORTRAN"
72859 GCJ="$GCJ"
72862 # The HP-UX ksh and POSIX shell print the target directory to stdout
72863 # if CDPATH is set.
72864 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72866 sed_quote_subst='$sed_quote_subst'
72867 double_quote_subst='$double_quote_subst'
72868 delay_variable_subst='$delay_variable_subst'
72869 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72870 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72871 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72872 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72873 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72874 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72875 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72876 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72877 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72878 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72879 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72880 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72881 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72882 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72883 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72884 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72885 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72886 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72887 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72888 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72889 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72890 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72891 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72892 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72893 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72894 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72895 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72896 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72897 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72898 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72899 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72900 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72901 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72902 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72903 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72904 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72905 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72906 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72907 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72908 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72909 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72910 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72911 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72912 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72913 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72914 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72915 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72916 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72917 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"`'
72918 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72919 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72920 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72921 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72922 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72923 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72924 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72925 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72926 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72927 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72928 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72929 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72930 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72931 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72932 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72933 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72934 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72935 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72936 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72937 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72938 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72939 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72940 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72941 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72942 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72943 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72944 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72945 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72946 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72947 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72948 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72949 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72950 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72951 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72952 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72953 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72954 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72955 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72956 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72957 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72958 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72959 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72960 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72961 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72962 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72963 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72964 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72965 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72966 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72967 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72968 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72969 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72970 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72971 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72972 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72973 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72974 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72975 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72976 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72977 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72978 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72979 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72980 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72981 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72982 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72983 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72984 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72985 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72986 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72987 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72988 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72989 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72990 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72991 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72992 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72993 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72994 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72995 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72996 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72997 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72998 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72999 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73000 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73001 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73002 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73003 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73004 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73005 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73006 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73007 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73008 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73009 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73010 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73011 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73012 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73013 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73014 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73015 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73016 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73017 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73018 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73019 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73020 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73021 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73022 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73023 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73024 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73025 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73026 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73027 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73028 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73029 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73030 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73031 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73032 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73033 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73034 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73035 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73036 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73037 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73038 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73039 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73040 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73041 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73042 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73043 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73045 LTCC='$LTCC'
73046 LTCFLAGS='$LTCFLAGS'
73047 compiler='$compiler_DEFAULT'
73049 # A function that is used when there is no print builtin or printf.
73050 func_fallback_echo ()
73052 eval 'cat <<_LTECHO_EOF
73054 _LTECHO_EOF'
73057 # Quote evaled strings.
73058 for var in SHELL \
73059 ECHO \
73060 SED \
73061 GREP \
73062 EGREP \
73063 FGREP \
73064 LD \
73065 NM \
73066 LN_S \
73067 lt_SP2NL \
73068 lt_NL2SP \
73069 reload_flag \
73070 OBJDUMP \
73071 deplibs_check_method \
73072 file_magic_cmd \
73073 AR \
73074 AR_FLAGS \
73075 STRIP \
73076 RANLIB \
73077 CC \
73078 CFLAGS \
73079 compiler \
73080 lt_cv_sys_global_symbol_pipe \
73081 lt_cv_sys_global_symbol_to_cdecl \
73082 lt_cv_sys_global_symbol_to_c_name_address \
73083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73084 lt_prog_compiler_no_builtin_flag \
73085 lt_prog_compiler_wl \
73086 lt_prog_compiler_pic \
73087 lt_prog_compiler_static \
73088 lt_cv_prog_compiler_c_o \
73089 need_locks \
73090 DSYMUTIL \
73091 NMEDIT \
73092 LIPO \
73093 OTOOL \
73094 OTOOL64 \
73095 shrext_cmds \
73096 export_dynamic_flag_spec \
73097 whole_archive_flag_spec \
73098 compiler_needs_object \
73099 with_gnu_ld \
73100 allow_undefined_flag \
73101 no_undefined_flag \
73102 hardcode_libdir_flag_spec \
73103 hardcode_libdir_flag_spec_ld \
73104 hardcode_libdir_separator \
73105 fix_srcfile_path \
73106 exclude_expsyms \
73107 include_expsyms \
73108 file_list_spec \
73109 variables_saved_for_relink \
73110 libname_spec \
73111 library_names_spec \
73112 soname_spec \
73113 install_override_mode \
73114 finish_eval \
73115 old_striplib \
73116 striplib \
73117 compiler_lib_search_dirs \
73118 predep_objects \
73119 postdep_objects \
73120 predeps \
73121 postdeps \
73122 compiler_lib_search_path \
73123 LD_CXX \
73124 reload_flag_CXX \
73125 compiler_CXX \
73126 lt_prog_compiler_no_builtin_flag_CXX \
73127 lt_prog_compiler_wl_CXX \
73128 lt_prog_compiler_pic_CXX \
73129 lt_prog_compiler_static_CXX \
73130 lt_cv_prog_compiler_c_o_CXX \
73131 export_dynamic_flag_spec_CXX \
73132 whole_archive_flag_spec_CXX \
73133 compiler_needs_object_CXX \
73134 with_gnu_ld_CXX \
73135 allow_undefined_flag_CXX \
73136 no_undefined_flag_CXX \
73137 hardcode_libdir_flag_spec_CXX \
73138 hardcode_libdir_flag_spec_ld_CXX \
73139 hardcode_libdir_separator_CXX \
73140 fix_srcfile_path_CXX \
73141 exclude_expsyms_CXX \
73142 include_expsyms_CXX \
73143 file_list_spec_CXX \
73144 compiler_lib_search_dirs_CXX \
73145 predep_objects_CXX \
73146 postdep_objects_CXX \
73147 predeps_CXX \
73148 postdeps_CXX \
73149 compiler_lib_search_path_CXX; do
73150 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73151 *[\\\\\\\`\\"\\\$]*)
73152 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73155 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73157 esac
73158 done
73160 # Double-quote double-evaled strings.
73161 for var in reload_cmds \
73162 old_postinstall_cmds \
73163 old_postuninstall_cmds \
73164 old_archive_cmds \
73165 extract_expsyms_cmds \
73166 old_archive_from_new_cmds \
73167 old_archive_from_expsyms_cmds \
73168 archive_cmds \
73169 archive_expsym_cmds \
73170 module_cmds \
73171 module_expsym_cmds \
73172 export_symbols_cmds \
73173 prelink_cmds \
73174 postinstall_cmds \
73175 postuninstall_cmds \
73176 finish_cmds \
73177 sys_lib_search_path_spec \
73178 sys_lib_dlsearch_path_spec \
73179 reload_cmds_CXX \
73180 old_archive_cmds_CXX \
73181 old_archive_from_new_cmds_CXX \
73182 old_archive_from_expsyms_cmds_CXX \
73183 archive_cmds_CXX \
73184 archive_expsym_cmds_CXX \
73185 module_cmds_CXX \
73186 module_expsym_cmds_CXX \
73187 export_symbols_cmds_CXX \
73188 prelink_cmds_CXX; do
73189 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73190 *[\\\\\\\`\\"\\\$]*)
73191 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73194 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73196 esac
73197 done
73199 ac_aux_dir='$ac_aux_dir'
73200 xsi_shell='$xsi_shell'
73201 lt_shell_append='$lt_shell_append'
73203 # See if we are running on zsh, and set the options which allow our
73204 # commands through without removal of \ escapes INIT.
73205 if test -n "\${ZSH_VERSION+set}" ; then
73206 setopt NO_GLOB_SUBST
73210 PACKAGE='$PACKAGE'
73211 VERSION='$VERSION'
73212 TIMESTAMP='$TIMESTAMP'
73213 RM='$RM'
73214 ofile='$ofile'
73221 GCC="$GCC"
73222 CC="$CC"
73223 acx_cv_header_stdint="$acx_cv_header_stdint"
73224 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73225 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73226 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73227 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73228 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73229 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73230 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73231 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73232 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73233 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73234 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73235 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73236 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73239 _ACEOF
73241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73243 # Handling of arguments.
73244 for ac_config_target in $ac_config_targets
73246 case $ac_config_target in
73247 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73248 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73249 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73250 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73251 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73252 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73253 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73254 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73255 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73256 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73257 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73258 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73259 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73260 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73261 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73262 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73263 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73264 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73266 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73267 esac
73268 done
73271 # If the user did not use the arguments to specify the items to instantiate,
73272 # then the envvar interface is used. Set only those that are not.
73273 # We use the long form for the default assignment because of an extremely
73274 # bizarre bug on SunOS 4.1.3.
73275 if $ac_need_defaults; then
73276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73277 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73278 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73281 # Have a temporary directory for convenience. Make it in the build tree
73282 # simply because there is no reason against having it here, and in addition,
73283 # creating and moving files from /tmp can sometimes cause problems.
73284 # Hook for its removal unless debugging.
73285 # Note that there is a small window in which the directory will not be cleaned:
73286 # after its creation but before its name has been assigned to `$tmp'.
73287 $debug ||
73289 tmp=
73290 trap 'exit_status=$?
73291 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73293 trap 'as_fn_exit 1' 1 2 13 15
73295 # Create a (secure) tmp directory for tmp files.
73298 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73299 test -n "$tmp" && test -d "$tmp"
73300 } ||
73302 tmp=./conf$$-$RANDOM
73303 (umask 077 && mkdir "$tmp")
73304 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73306 # Set up the scripts for CONFIG_FILES section.
73307 # No need to generate them if there are no CONFIG_FILES.
73308 # This happens for instance with `./config.status config.h'.
73309 if test -n "$CONFIG_FILES"; then
73312 ac_cr=`echo X | tr X '\015'`
73313 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73314 # But we know of no other shell where ac_cr would be empty at this
73315 # point, so we can use a bashism as a fallback.
73316 if test "x$ac_cr" = x; then
73317 eval ac_cr=\$\'\\r\'
73319 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73320 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73321 ac_cs_awk_cr='\r'
73322 else
73323 ac_cs_awk_cr=$ac_cr
73326 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73327 _ACEOF
73331 echo "cat >conf$$subs.awk <<_ACEOF" &&
73332 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73333 echo "_ACEOF"
73334 } >conf$$subs.sh ||
73335 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73336 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73337 ac_delim='%!_!# '
73338 for ac_last_try in false false false false false :; do
73339 . ./conf$$subs.sh ||
73340 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73342 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73343 if test $ac_delim_n = $ac_delim_num; then
73344 break
73345 elif $ac_last_try; then
73346 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73347 else
73348 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73350 done
73351 rm -f conf$$subs.sh
73353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73354 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73355 _ACEOF
73356 sed -n '
73358 s/^/S["/; s/!.*/"]=/
73361 s/^[^!]*!//
73362 :repl
73363 t repl
73364 s/'"$ac_delim"'$//
73365 t delim
73368 s/\(.\{148\}\).*/\1/
73369 t more1
73370 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73373 b repl
73374 :more1
73375 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73378 s/.\{148\}//
73379 t nl
73380 :delim
73382 s/\(.\{148\}\).*/\1/
73383 t more2
73384 s/["\\]/\\&/g; s/^/"/; s/$/"/
73387 :more2
73388 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73391 s/.\{148\}//
73392 t delim
73393 ' <conf$$subs.awk | sed '
73394 /^[^""]/{
73396 s/\n//
73398 ' >>$CONFIG_STATUS || ac_write_fail=1
73399 rm -f conf$$subs.awk
73400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73401 _ACAWK
73402 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73403 for (key in S) S_is_set[key] = 1
73404 FS = "\a"
73408 line = $ 0
73409 nfields = split(line, field, "@")
73410 substed = 0
73411 len = length(field[1])
73412 for (i = 2; i < nfields; i++) {
73413 key = field[i]
73414 keylen = length(key)
73415 if (S_is_set[key]) {
73416 value = S[key]
73417 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73418 len += length(value) + length(field[++i])
73419 substed = 1
73420 } else
73421 len += 1 + keylen
73424 print line
73427 _ACAWK
73428 _ACEOF
73429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73430 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73431 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73432 else
73434 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73435 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73436 _ACEOF
73438 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73439 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73440 # trailing colons and then remove the whole line if VPATH becomes empty
73441 # (actually we leave an empty line to preserve line numbers).
73442 if test "x$srcdir" = x.; then
73443 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73444 s/:*\$(srcdir):*/:/
73445 s/:*\${srcdir}:*/:/
73446 s/:*@srcdir@:*/:/
73447 s/^\([^=]*=[ ]*\):*/\1/
73448 s/:*$//
73449 s/^[^=]*=[ ]*$//
73453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73454 fi # test -n "$CONFIG_FILES"
73456 # Set up the scripts for CONFIG_HEADERS section.
73457 # No need to generate them if there are no CONFIG_HEADERS.
73458 # This happens for instance with `./config.status Makefile'.
73459 if test -n "$CONFIG_HEADERS"; then
73460 cat >"$tmp/defines.awk" <<\_ACAWK ||
73461 BEGIN {
73462 _ACEOF
73464 # Transform confdefs.h into an awk script `defines.awk', embedded as
73465 # here-document in config.status, that substitutes the proper values into
73466 # config.h.in to produce config.h.
73468 # Create a delimiter string that does not exist in confdefs.h, to ease
73469 # handling of long lines.
73470 ac_delim='%!_!# '
73471 for ac_last_try in false false :; do
73472 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73473 if test -z "$ac_t"; then
73474 break
73475 elif $ac_last_try; then
73476 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73477 else
73478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73480 done
73482 # For the awk script, D is an array of macro values keyed by name,
73483 # likewise P contains macro parameters if any. Preserve backslash
73484 # newline sequences.
73486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73487 sed -n '
73488 s/.\{148\}/&'"$ac_delim"'/g
73489 t rset
73490 :rset
73491 s/^[ ]*#[ ]*define[ ][ ]*/ /
73492 t def
73494 :def
73495 s/\\$//
73496 t bsnl
73497 s/["\\]/\\&/g
73498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73499 D["\1"]=" \3"/p
73500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73502 :bsnl
73503 s/["\\]/\\&/g
73504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73505 D["\1"]=" \3\\\\\\n"\\/p
73506 t cont
73507 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73508 t cont
73510 :cont
73512 s/.\{148\}/&'"$ac_delim"'/g
73513 t clear
73514 :clear
73515 s/\\$//
73516 t bsnlc
73517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73519 :bsnlc
73520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73521 b cont
73522 ' <confdefs.h | sed '
73523 s/'"$ac_delim"'/"\\\
73524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73527 for (key in D) D_is_set[key] = 1
73528 FS = "\a"
73530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73531 line = \$ 0
73532 split(line, arg, " ")
73533 if (arg[1] == "#") {
73534 defundef = arg[2]
73535 mac1 = arg[3]
73536 } else {
73537 defundef = substr(arg[1], 2)
73538 mac1 = arg[2]
73540 split(mac1, mac2, "(") #)
73541 macro = mac2[1]
73542 prefix = substr(line, 1, index(line, defundef) - 1)
73543 if (D_is_set[macro]) {
73544 # Preserve the white space surrounding the "#".
73545 print prefix "define", macro P[macro] D[macro]
73546 next
73547 } else {
73548 # Replace #undef with comments. This is necessary, for example,
73549 # in the case of _POSIX_SOURCE, which is predefined and required
73550 # on some systems where configure will not decide to define it.
73551 if (defundef == "undef") {
73552 print "/*", prefix defundef, macro, "*/"
73553 next
73557 { print }
73558 _ACAWK
73559 _ACEOF
73560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73561 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73562 fi # test -n "$CONFIG_HEADERS"
73565 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73566 shift
73567 for ac_tag
73569 case $ac_tag in
73570 :[FHLC]) ac_mode=$ac_tag; continue;;
73571 esac
73572 case $ac_mode$ac_tag in
73573 :[FHL]*:*);;
73574 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73575 :[FH]-) ac_tag=-:-;;
73576 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73577 esac
73578 ac_save_IFS=$IFS
73579 IFS=:
73580 set x $ac_tag
73581 IFS=$ac_save_IFS
73582 shift
73583 ac_file=$1
73584 shift
73586 case $ac_mode in
73587 :L) ac_source=$1;;
73588 :[FH])
73589 ac_file_inputs=
73590 for ac_f
73592 case $ac_f in
73593 -) ac_f="$tmp/stdin";;
73594 *) # Look for the file first in the build tree, then in the source tree
73595 # (if the path is not absolute). The absolute path cannot be DOS-style,
73596 # because $ac_f cannot contain `:'.
73597 test -f "$ac_f" ||
73598 case $ac_f in
73599 [\\/$]*) false;;
73600 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73601 esac ||
73602 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73603 esac
73604 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73605 as_fn_append ac_file_inputs " '$ac_f'"
73606 done
73608 # Let's still pretend it is `configure' which instantiates (i.e., don't
73609 # use $as_me), people would be surprised to read:
73610 # /* config.h. Generated by config.status. */
73611 configure_input='Generated from '`
73612 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73613 `' by configure.'
73614 if test x"$ac_file" != x-; then
73615 configure_input="$ac_file. $configure_input"
73616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73617 $as_echo "$as_me: creating $ac_file" >&6;}
73619 # Neutralize special characters interpreted by sed in replacement strings.
73620 case $configure_input in #(
73621 *\&* | *\|* | *\\* )
73622 ac_sed_conf_input=`$as_echo "$configure_input" |
73623 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73624 *) ac_sed_conf_input=$configure_input;;
73625 esac
73627 case $ac_tag in
73628 *:-:* | *:-) cat >"$tmp/stdin" \
73629 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73630 esac
73632 esac
73634 ac_dir=`$as_dirname -- "$ac_file" ||
73635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73636 X"$ac_file" : 'X\(//\)[^/]' \| \
73637 X"$ac_file" : 'X\(//\)$' \| \
73638 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73639 $as_echo X"$ac_file" |
73640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73641 s//\1/
73644 /^X\(\/\/\)[^/].*/{
73645 s//\1/
73648 /^X\(\/\/\)$/{
73649 s//\1/
73652 /^X\(\/\).*/{
73653 s//\1/
73656 s/.*/./; q'`
73657 as_dir="$ac_dir"; as_fn_mkdir_p
73658 ac_builddir=.
73660 case "$ac_dir" in
73661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73663 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73664 # A ".." for each directory in $ac_dir_suffix.
73665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73666 case $ac_top_builddir_sub in
73667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73669 esac ;;
73670 esac
73671 ac_abs_top_builddir=$ac_pwd
73672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73673 # for backward compatibility:
73674 ac_top_builddir=$ac_top_build_prefix
73676 case $srcdir in
73677 .) # We are building in place.
73678 ac_srcdir=.
73679 ac_top_srcdir=$ac_top_builddir_sub
73680 ac_abs_top_srcdir=$ac_pwd ;;
73681 [\\/]* | ?:[\\/]* ) # Absolute name.
73682 ac_srcdir=$srcdir$ac_dir_suffix;
73683 ac_top_srcdir=$srcdir
73684 ac_abs_top_srcdir=$srcdir ;;
73685 *) # Relative name.
73686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73687 ac_top_srcdir=$ac_top_build_prefix$srcdir
73688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73689 esac
73690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73693 case $ac_mode in
73696 # CONFIG_FILE
73699 case $INSTALL in
73700 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73701 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73702 esac
73703 ac_MKDIR_P=$MKDIR_P
73704 case $MKDIR_P in
73705 [\\/$]* | ?:[\\/]* ) ;;
73706 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73707 esac
73708 _ACEOF
73710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73711 # If the template does not know about datarootdir, expand it.
73712 # FIXME: This hack should be removed a few years after 2.60.
73713 ac_datarootdir_hack=; ac_datarootdir_seen=
73714 ac_sed_dataroot='
73715 /datarootdir/ {
73719 /@datadir@/p
73720 /@docdir@/p
73721 /@infodir@/p
73722 /@localedir@/p
73723 /@mandir@/p'
73724 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73725 *datarootdir*) ac_datarootdir_seen=yes;;
73726 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73728 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73729 _ACEOF
73730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73731 ac_datarootdir_hack='
73732 s&@datadir@&$datadir&g
73733 s&@docdir@&$docdir&g
73734 s&@infodir@&$infodir&g
73735 s&@localedir@&$localedir&g
73736 s&@mandir@&$mandir&g
73737 s&\\\${datarootdir}&$datarootdir&g' ;;
73738 esac
73739 _ACEOF
73741 # Neutralize VPATH when `$srcdir' = `.'.
73742 # Shell code in configure.ac might set extrasub.
73743 # FIXME: do we really want to maintain this feature?
73744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73745 ac_sed_extra="$ac_vpsub
73746 $extrasub
73747 _ACEOF
73748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73751 s|@configure_input@|$ac_sed_conf_input|;t t
73752 s&@top_builddir@&$ac_top_builddir_sub&;t t
73753 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73754 s&@srcdir@&$ac_srcdir&;t t
73755 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73756 s&@top_srcdir@&$ac_top_srcdir&;t t
73757 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73758 s&@builddir@&$ac_builddir&;t t
73759 s&@abs_builddir@&$ac_abs_builddir&;t t
73760 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73761 s&@INSTALL@&$ac_INSTALL&;t t
73762 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73763 $ac_datarootdir_hack
73765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73766 || as_fn_error "could not create $ac_file" "$LINENO" 5
73768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73769 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73772 which seems to be undefined. Please make sure it is defined." >&5
73773 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73774 which seems to be undefined. Please make sure it is defined." >&2;}
73776 rm -f "$tmp/stdin"
73777 case $ac_file in
73778 -) cat "$tmp/out" && rm -f "$tmp/out";;
73779 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73780 esac \
73781 || as_fn_error "could not create $ac_file" "$LINENO" 5
73785 # CONFIG_HEADER
73787 if test x"$ac_file" != x-; then
73789 $as_echo "/* $configure_input */" \
73790 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73791 } >"$tmp/config.h" \
73792 || as_fn_error "could not create $ac_file" "$LINENO" 5
73793 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73794 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73795 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73796 else
73797 rm -f "$ac_file"
73798 mv "$tmp/config.h" "$ac_file" \
73799 || as_fn_error "could not create $ac_file" "$LINENO" 5
73801 else
73802 $as_echo "/* $configure_input */" \
73803 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73804 || as_fn_error "could not create -" "$LINENO" 5
73806 # Compute "$ac_file"'s index in $config_headers.
73807 _am_arg="$ac_file"
73808 _am_stamp_count=1
73809 for _am_header in $config_headers :; do
73810 case $_am_header in
73811 $_am_arg | $_am_arg:* )
73812 break ;;
73814 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73815 esac
73816 done
73817 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73818 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73819 X"$_am_arg" : 'X\(//\)[^/]' \| \
73820 X"$_am_arg" : 'X\(//\)$' \| \
73821 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73822 $as_echo X"$_am_arg" |
73823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73824 s//\1/
73827 /^X\(\/\/\)[^/].*/{
73828 s//\1/
73831 /^X\(\/\/\)$/{
73832 s//\1/
73835 /^X\(\/\).*/{
73836 s//\1/
73839 s/.*/./; q'`/stamp-h$_am_stamp_count
73842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73843 $as_echo "$as_me: executing $ac_file commands" >&6;}
73845 esac
73848 case $ac_file$ac_mode in
73849 "default-1":C)
73850 # Only add multilib support code if we just rebuilt the top-level
73851 # Makefile.
73852 case " $CONFIG_FILES " in
73853 *" Makefile "*)
73854 ac_file=Makefile . ${multi_basedir}/config-ml.in
73856 esac ;;
73857 "libtool":C)
73859 # See if we are running on zsh, and set the options which allow our
73860 # commands through without removal of \ escapes.
73861 if test -n "${ZSH_VERSION+set}" ; then
73862 setopt NO_GLOB_SUBST
73865 cfgfile="${ofile}T"
73866 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73867 $RM "$cfgfile"
73869 cat <<_LT_EOF >> "$cfgfile"
73870 #! $SHELL
73872 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73873 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73874 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73875 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73877 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73878 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73879 # Written by Gordon Matzigkeit, 1996
73881 # This file is part of GNU Libtool.
73883 # GNU Libtool is free software; you can redistribute it and/or
73884 # modify it under the terms of the GNU General Public License as
73885 # published by the Free Software Foundation; either version 2 of
73886 # the License, or (at your option) any later version.
73888 # As a special exception to the GNU General Public License,
73889 # if you distribute this file as part of a program or library that
73890 # is built using GNU Libtool, you may include this file under the
73891 # same distribution terms that you use for the rest of that program.
73893 # GNU Libtool is distributed in the hope that it will be useful,
73894 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73895 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73896 # GNU General Public License for more details.
73898 # You should have received a copy of the GNU General Public License
73899 # along with GNU Libtool; see the file COPYING. If not, a copy
73900 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73901 # obtained by writing to the Free Software Foundation, Inc.,
73902 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73905 # The names of the tagged configurations supported by this script.
73906 available_tags="CXX "
73908 # ### BEGIN LIBTOOL CONFIG
73910 # Which release of libtool.m4 was used?
73911 macro_version=$macro_version
73912 macro_revision=$macro_revision
73914 # Whether or not to build shared libraries.
73915 build_libtool_libs=$enable_shared
73917 # Whether or not to build static libraries.
73918 build_old_libs=$enable_static
73920 # What type of objects to build.
73921 pic_mode=$pic_mode
73923 # Whether or not to optimize for fast installation.
73924 fast_install=$enable_fast_install
73926 # Shell to use when invoking shell scripts.
73927 SHELL=$lt_SHELL
73929 # An echo program that protects backslashes.
73930 ECHO=$lt_ECHO
73932 # The host system.
73933 host_alias=$host_alias
73934 host=$host
73935 host_os=$host_os
73937 # The build system.
73938 build_alias=$build_alias
73939 build=$build
73940 build_os=$build_os
73942 # A sed program that does not truncate output.
73943 SED=$lt_SED
73945 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73946 Xsed="\$SED -e 1s/^X//"
73948 # A grep program that handles long lines.
73949 GREP=$lt_GREP
73951 # An ERE matcher.
73952 EGREP=$lt_EGREP
73954 # A literal string matcher.
73955 FGREP=$lt_FGREP
73957 # A BSD- or MS-compatible name lister.
73958 NM=$lt_NM
73960 # Whether we need soft or hard links.
73961 LN_S=$lt_LN_S
73963 # What is the maximum length of a command?
73964 max_cmd_len=$max_cmd_len
73966 # Object file suffix (normally "o").
73967 objext=$ac_objext
73969 # Executable file suffix (normally "").
73970 exeext=$exeext
73972 # whether the shell understands "unset".
73973 lt_unset=$lt_unset
73975 # turn spaces into newlines.
73976 SP2NL=$lt_lt_SP2NL
73978 # turn newlines into spaces.
73979 NL2SP=$lt_lt_NL2SP
73981 # An object symbol dumper.
73982 OBJDUMP=$lt_OBJDUMP
73984 # Method to check whether dependent libraries are shared objects.
73985 deplibs_check_method=$lt_deplibs_check_method
73987 # Command to use when deplibs_check_method == "file_magic".
73988 file_magic_cmd=$lt_file_magic_cmd
73990 # The archiver.
73991 AR=$lt_AR
73992 AR_FLAGS=$lt_AR_FLAGS
73994 # A symbol stripping program.
73995 STRIP=$lt_STRIP
73997 # Commands used to install an old-style archive.
73998 RANLIB=$lt_RANLIB
73999 old_postinstall_cmds=$lt_old_postinstall_cmds
74000 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74002 # Whether to use a lock for old archive extraction.
74003 lock_old_archive_extraction=$lock_old_archive_extraction
74005 # A C compiler.
74006 LTCC=$lt_CC
74008 # LTCC compiler flags.
74009 LTCFLAGS=$lt_CFLAGS
74011 # Take the output of nm and produce a listing of raw symbols and C names.
74012 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74014 # Transform the output of nm in a proper C declaration.
74015 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74017 # Transform the output of nm in a C name address pair.
74018 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74020 # Transform the output of nm in a C name address pair when lib prefix is needed.
74021 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74023 # The name of the directory that contains temporary libtool files.
74024 objdir=$objdir
74026 # Used to examine libraries when file_magic_cmd begins with "file".
74027 MAGIC_CMD=$MAGIC_CMD
74029 # Must we lock files when doing compilation?
74030 need_locks=$lt_need_locks
74032 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74033 DSYMUTIL=$lt_DSYMUTIL
74035 # Tool to change global to local symbols on Mac OS X.
74036 NMEDIT=$lt_NMEDIT
74038 # Tool to manipulate fat objects and archives on Mac OS X.
74039 LIPO=$lt_LIPO
74041 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74042 OTOOL=$lt_OTOOL
74044 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74045 OTOOL64=$lt_OTOOL64
74047 # Old archive suffix (normally "a").
74048 libext=$libext
74050 # Shared library suffix (normally ".so").
74051 shrext_cmds=$lt_shrext_cmds
74053 # The commands to extract the exported symbol list from a shared archive.
74054 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74056 # Variables whose values should be saved in libtool wrapper scripts and
74057 # restored at link time.
74058 variables_saved_for_relink=$lt_variables_saved_for_relink
74060 # Do we need the "lib" prefix for modules?
74061 need_lib_prefix=$need_lib_prefix
74063 # Do we need a version for libraries?
74064 need_version=$need_version
74066 # Library versioning type.
74067 version_type=$version_type
74069 # Shared library runtime path variable.
74070 runpath_var=$runpath_var
74072 # Shared library path variable.
74073 shlibpath_var=$shlibpath_var
74075 # Is shlibpath searched before the hard-coded library search path?
74076 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74078 # Format of library name prefix.
74079 libname_spec=$lt_libname_spec
74081 # List of archive names. First name is the real one, the rest are links.
74082 # The last name is the one that the linker finds with -lNAME
74083 library_names_spec=$lt_library_names_spec
74085 # The coded name of the library, if different from the real name.
74086 soname_spec=$lt_soname_spec
74088 # Permission mode override for installation of shared libraries.
74089 install_override_mode=$lt_install_override_mode
74091 # Command to use after installation of a shared archive.
74092 postinstall_cmds=$lt_postinstall_cmds
74094 # Command to use after uninstallation of a shared archive.
74095 postuninstall_cmds=$lt_postuninstall_cmds
74097 # Commands used to finish a libtool library installation in a directory.
74098 finish_cmds=$lt_finish_cmds
74100 # As "finish_cmds", except a single script fragment to be evaled but
74101 # not shown.
74102 finish_eval=$lt_finish_eval
74104 # Whether we should hardcode library paths into libraries.
74105 hardcode_into_libs=$hardcode_into_libs
74107 # Compile-time system search path for libraries.
74108 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74110 # Run-time system search path for libraries.
74111 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74113 # Whether dlopen is supported.
74114 dlopen_support=$enable_dlopen
74116 # Whether dlopen of programs is supported.
74117 dlopen_self=$enable_dlopen_self
74119 # Whether dlopen of statically linked programs is supported.
74120 dlopen_self_static=$enable_dlopen_self_static
74122 # Commands to strip libraries.
74123 old_striplib=$lt_old_striplib
74124 striplib=$lt_striplib
74127 # The linker used to build libraries.
74128 LD=$lt_LD
74130 # How to create reloadable object files.
74131 reload_flag=$lt_reload_flag
74132 reload_cmds=$lt_reload_cmds
74134 # Commands used to build an old-style archive.
74135 old_archive_cmds=$lt_old_archive_cmds
74137 # A language specific compiler.
74138 CC=$lt_compiler
74140 # Is the compiler the GNU compiler?
74141 with_gcc=$GCC
74143 # Compiler flag to turn off builtin functions.
74144 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74146 # How to pass a linker flag through the compiler.
74147 wl=$lt_lt_prog_compiler_wl
74149 # Additional compiler flags for building library objects.
74150 pic_flag=$lt_lt_prog_compiler_pic
74152 # Compiler flag to prevent dynamic linking.
74153 link_static_flag=$lt_lt_prog_compiler_static
74155 # Does compiler simultaneously support -c and -o options?
74156 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74158 # Whether or not to add -lc for building shared libraries.
74159 build_libtool_need_lc=$archive_cmds_need_lc
74161 # Whether or not to disallow shared libs when runtime libs are static.
74162 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74164 # Compiler flag to allow reflexive dlopens.
74165 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74167 # Compiler flag to generate shared objects directly from archives.
74168 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74170 # Whether the compiler copes with passing no objects directly.
74171 compiler_needs_object=$lt_compiler_needs_object
74173 # Create an old-style archive from a shared archive.
74174 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74176 # Create a temporary old-style archive to link instead of a shared archive.
74177 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74179 # Commands used to build a shared archive.
74180 archive_cmds=$lt_archive_cmds
74181 archive_expsym_cmds=$lt_archive_expsym_cmds
74183 # Commands used to build a loadable module if different from building
74184 # a shared archive.
74185 module_cmds=$lt_module_cmds
74186 module_expsym_cmds=$lt_module_expsym_cmds
74188 # Whether we are building with GNU ld or not.
74189 with_gnu_ld=$lt_with_gnu_ld
74191 # Flag that allows shared libraries with undefined symbols to be built.
74192 allow_undefined_flag=$lt_allow_undefined_flag
74194 # Flag that enforces no undefined symbols.
74195 no_undefined_flag=$lt_no_undefined_flag
74197 # Flag to hardcode \$libdir into a binary during linking.
74198 # This must work even if \$libdir does not exist
74199 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74201 # If ld is used when linking, flag to hardcode \$libdir into a binary
74202 # during linking. This must work even if \$libdir does not exist.
74203 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74205 # Whether we need a single "-rpath" flag with a separated argument.
74206 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74208 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74209 # DIR into the resulting binary.
74210 hardcode_direct=$hardcode_direct
74212 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74213 # DIR into the resulting binary and the resulting library dependency is
74214 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74215 # library is relocated.
74216 hardcode_direct_absolute=$hardcode_direct_absolute
74218 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74219 # into the resulting binary.
74220 hardcode_minus_L=$hardcode_minus_L
74222 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74223 # into the resulting binary.
74224 hardcode_shlibpath_var=$hardcode_shlibpath_var
74226 # Set to "yes" if building a shared library automatically hardcodes DIR
74227 # into the library and all subsequent libraries and executables linked
74228 # against it.
74229 hardcode_automatic=$hardcode_automatic
74231 # Set to yes if linker adds runtime paths of dependent libraries
74232 # to runtime path list.
74233 inherit_rpath=$inherit_rpath
74235 # Whether libtool must link a program against all its dependency libraries.
74236 link_all_deplibs=$link_all_deplibs
74238 # Fix the shell variable \$srcfile for the compiler.
74239 fix_srcfile_path=$lt_fix_srcfile_path
74241 # Set to "yes" if exported symbols are required.
74242 always_export_symbols=$always_export_symbols
74244 # The commands to list exported symbols.
74245 export_symbols_cmds=$lt_export_symbols_cmds
74247 # Symbols that should not be listed in the preloaded symbols.
74248 exclude_expsyms=$lt_exclude_expsyms
74250 # Symbols that must always be exported.
74251 include_expsyms=$lt_include_expsyms
74253 # Commands necessary for linking programs (against libraries) with templates.
74254 prelink_cmds=$lt_prelink_cmds
74256 # Specify filename containing input files.
74257 file_list_spec=$lt_file_list_spec
74259 # How to hardcode a shared library path into an executable.
74260 hardcode_action=$hardcode_action
74262 # The directories searched by this compiler when creating a shared library.
74263 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74265 # Dependencies to place before and after the objects being linked to
74266 # create a shared library.
74267 predep_objects=$lt_predep_objects
74268 postdep_objects=$lt_postdep_objects
74269 predeps=$lt_predeps
74270 postdeps=$lt_postdeps
74272 # The library search path used internally by the compiler when linking
74273 # a shared library.
74274 compiler_lib_search_path=$lt_compiler_lib_search_path
74276 # ### END LIBTOOL CONFIG
74278 _LT_EOF
74280 case $host_os in
74281 aix3*)
74282 cat <<\_LT_EOF >> "$cfgfile"
74283 # AIX sometimes has problems with the GCC collect2 program. For some
74284 # reason, if we set the COLLECT_NAMES environment variable, the problems
74285 # vanish in a puff of smoke.
74286 if test "X${COLLECT_NAMES+set}" != Xset; then
74287 COLLECT_NAMES=
74288 export COLLECT_NAMES
74290 _LT_EOF
74292 esac
74295 ltmain="$ac_aux_dir/ltmain.sh"
74298 # We use sed instead of cat because bash on DJGPP gets confused if
74299 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74300 # text mode, it properly converts lines to CR/LF. This bash problem
74301 # is reportedly fixed, but why not run on old versions too?
74302 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74303 || (rm -f "$cfgfile"; exit 1)
74305 case $xsi_shell in
74306 yes)
74307 cat << \_LT_EOF >> "$cfgfile"
74309 # func_dirname file append nondir_replacement
74310 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74311 # otherwise set result to NONDIR_REPLACEMENT.
74312 func_dirname ()
74314 case ${1} in
74315 */*) func_dirname_result="${1%/*}${2}" ;;
74316 * ) func_dirname_result="${3}" ;;
74317 esac
74320 # func_basename file
74321 func_basename ()
74323 func_basename_result="${1##*/}"
74326 # func_dirname_and_basename file append nondir_replacement
74327 # perform func_basename and func_dirname in a single function
74328 # call:
74329 # dirname: Compute the dirname of FILE. If nonempty,
74330 # add APPEND to the result, otherwise set result
74331 # to NONDIR_REPLACEMENT.
74332 # value returned in "$func_dirname_result"
74333 # basename: Compute filename of FILE.
74334 # value retuned in "$func_basename_result"
74335 # Implementation must be kept synchronized with func_dirname
74336 # and func_basename. For efficiency, we do not delegate to
74337 # those functions but instead duplicate the functionality here.
74338 func_dirname_and_basename ()
74340 case ${1} in
74341 */*) func_dirname_result="${1%/*}${2}" ;;
74342 * ) func_dirname_result="${3}" ;;
74343 esac
74344 func_basename_result="${1##*/}"
74347 # func_stripname prefix suffix name
74348 # strip PREFIX and SUFFIX off of NAME.
74349 # PREFIX and SUFFIX must not contain globbing or regex special
74350 # characters, hashes, percent signs, but SUFFIX may contain a leading
74351 # dot (in which case that matches only a dot).
74352 func_stripname ()
74354 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74355 # positional parameters, so assign one to ordinary parameter first.
74356 func_stripname_result=${3}
74357 func_stripname_result=${func_stripname_result#"${1}"}
74358 func_stripname_result=${func_stripname_result%"${2}"}
74361 # func_opt_split
74362 func_opt_split ()
74364 func_opt_split_opt=${1%%=*}
74365 func_opt_split_arg=${1#*=}
74368 # func_lo2o object
74369 func_lo2o ()
74371 case ${1} in
74372 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74373 *) func_lo2o_result=${1} ;;
74374 esac
74377 # func_xform libobj-or-source
74378 func_xform ()
74380 func_xform_result=${1%.*}.lo
74383 # func_arith arithmetic-term...
74384 func_arith ()
74386 func_arith_result=$(( $* ))
74389 # func_len string
74390 # STRING may not start with a hyphen.
74391 func_len ()
74393 func_len_result=${#1}
74396 _LT_EOF
74398 *) # Bourne compatible functions.
74399 cat << \_LT_EOF >> "$cfgfile"
74401 # func_dirname file append nondir_replacement
74402 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74403 # otherwise set result to NONDIR_REPLACEMENT.
74404 func_dirname ()
74406 # Extract subdirectory from the argument.
74407 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74408 if test "X$func_dirname_result" = "X${1}"; then
74409 func_dirname_result="${3}"
74410 else
74411 func_dirname_result="$func_dirname_result${2}"
74415 # func_basename file
74416 func_basename ()
74418 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74422 # func_stripname prefix suffix name
74423 # strip PREFIX and SUFFIX off of NAME.
74424 # PREFIX and SUFFIX must not contain globbing or regex special
74425 # characters, hashes, percent signs, but SUFFIX may contain a leading
74426 # dot (in which case that matches only a dot).
74427 # func_strip_suffix prefix name
74428 func_stripname ()
74430 case ${2} in
74431 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74432 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74433 esac
74436 # sed scripts:
74437 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74438 my_sed_long_arg='1s/^-[^=]*=//'
74440 # func_opt_split
74441 func_opt_split ()
74443 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74444 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74447 # func_lo2o object
74448 func_lo2o ()
74450 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74453 # func_xform libobj-or-source
74454 func_xform ()
74456 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74459 # func_arith arithmetic-term...
74460 func_arith ()
74462 func_arith_result=`expr "$@"`
74465 # func_len string
74466 # STRING may not start with a hyphen.
74467 func_len ()
74469 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74472 _LT_EOF
74473 esac
74475 case $lt_shell_append in
74476 yes)
74477 cat << \_LT_EOF >> "$cfgfile"
74479 # func_append var value
74480 # Append VALUE to the end of shell variable VAR.
74481 func_append ()
74483 eval "$1+=\$2"
74485 _LT_EOF
74488 cat << \_LT_EOF >> "$cfgfile"
74490 # func_append var value
74491 # Append VALUE to the end of shell variable VAR.
74492 func_append ()
74494 eval "$1=\$$1\$2"
74497 _LT_EOF
74499 esac
74502 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74503 || (rm -f "$cfgfile"; exit 1)
74505 mv -f "$cfgfile" "$ofile" ||
74506 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74507 chmod +x "$ofile"
74510 cat <<_LT_EOF >> "$ofile"
74512 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74514 # The linker used to build libraries.
74515 LD=$lt_LD_CXX
74517 # How to create reloadable object files.
74518 reload_flag=$lt_reload_flag_CXX
74519 reload_cmds=$lt_reload_cmds_CXX
74521 # Commands used to build an old-style archive.
74522 old_archive_cmds=$lt_old_archive_cmds_CXX
74524 # A language specific compiler.
74525 CC=$lt_compiler_CXX
74527 # Is the compiler the GNU compiler?
74528 with_gcc=$GCC_CXX
74530 # Compiler flag to turn off builtin functions.
74531 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74533 # How to pass a linker flag through the compiler.
74534 wl=$lt_lt_prog_compiler_wl_CXX
74536 # Additional compiler flags for building library objects.
74537 pic_flag=$lt_lt_prog_compiler_pic_CXX
74539 # Compiler flag to prevent dynamic linking.
74540 link_static_flag=$lt_lt_prog_compiler_static_CXX
74542 # Does compiler simultaneously support -c and -o options?
74543 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74545 # Whether or not to add -lc for building shared libraries.
74546 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74548 # Whether or not to disallow shared libs when runtime libs are static.
74549 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74551 # Compiler flag to allow reflexive dlopens.
74552 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74554 # Compiler flag to generate shared objects directly from archives.
74555 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74557 # Whether the compiler copes with passing no objects directly.
74558 compiler_needs_object=$lt_compiler_needs_object_CXX
74560 # Create an old-style archive from a shared archive.
74561 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74563 # Create a temporary old-style archive to link instead of a shared archive.
74564 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74566 # Commands used to build a shared archive.
74567 archive_cmds=$lt_archive_cmds_CXX
74568 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74570 # Commands used to build a loadable module if different from building
74571 # a shared archive.
74572 module_cmds=$lt_module_cmds_CXX
74573 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74575 # Whether we are building with GNU ld or not.
74576 with_gnu_ld=$lt_with_gnu_ld_CXX
74578 # Flag that allows shared libraries with undefined symbols to be built.
74579 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74581 # Flag that enforces no undefined symbols.
74582 no_undefined_flag=$lt_no_undefined_flag_CXX
74584 # Flag to hardcode \$libdir into a binary during linking.
74585 # This must work even if \$libdir does not exist
74586 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74588 # If ld is used when linking, flag to hardcode \$libdir into a binary
74589 # during linking. This must work even if \$libdir does not exist.
74590 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74592 # Whether we need a single "-rpath" flag with a separated argument.
74593 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74595 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74596 # DIR into the resulting binary.
74597 hardcode_direct=$hardcode_direct_CXX
74599 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74600 # DIR into the resulting binary and the resulting library dependency is
74601 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74602 # library is relocated.
74603 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74605 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74606 # into the resulting binary.
74607 hardcode_minus_L=$hardcode_minus_L_CXX
74609 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74610 # into the resulting binary.
74611 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74613 # Set to "yes" if building a shared library automatically hardcodes DIR
74614 # into the library and all subsequent libraries and executables linked
74615 # against it.
74616 hardcode_automatic=$hardcode_automatic_CXX
74618 # Set to yes if linker adds runtime paths of dependent libraries
74619 # to runtime path list.
74620 inherit_rpath=$inherit_rpath_CXX
74622 # Whether libtool must link a program against all its dependency libraries.
74623 link_all_deplibs=$link_all_deplibs_CXX
74625 # Fix the shell variable \$srcfile for the compiler.
74626 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74628 # Set to "yes" if exported symbols are required.
74629 always_export_symbols=$always_export_symbols_CXX
74631 # The commands to list exported symbols.
74632 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74634 # Symbols that should not be listed in the preloaded symbols.
74635 exclude_expsyms=$lt_exclude_expsyms_CXX
74637 # Symbols that must always be exported.
74638 include_expsyms=$lt_include_expsyms_CXX
74640 # Commands necessary for linking programs (against libraries) with templates.
74641 prelink_cmds=$lt_prelink_cmds_CXX
74643 # Specify filename containing input files.
74644 file_list_spec=$lt_file_list_spec_CXX
74646 # How to hardcode a shared library path into an executable.
74647 hardcode_action=$hardcode_action_CXX
74649 # The directories searched by this compiler when creating a shared library.
74650 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74652 # Dependencies to place before and after the objects being linked to
74653 # create a shared library.
74654 predep_objects=$lt_predep_objects_CXX
74655 postdep_objects=$lt_postdep_objects_CXX
74656 predeps=$lt_predeps_CXX
74657 postdeps=$lt_postdeps_CXX
74659 # The library search path used internally by the compiler when linking
74660 # a shared library.
74661 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74663 # ### END LIBTOOL TAG CONFIG: CXX
74664 _LT_EOF
74667 "include/gstdint.h":C)
74668 if test "$GCC" = yes; then
74669 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74670 else
74671 echo "/* generated for $CC */" > tmp-stdint.h
74674 sed 's/^ *//' >> tmp-stdint.h <<EOF
74676 #ifndef GCC_GENERATED_STDINT_H
74677 #define GCC_GENERATED_STDINT_H 1
74679 #include <sys/types.h>
74682 if test "$acx_cv_header_stdint" != stdint.h; then
74683 echo "#include <stddef.h>" >> tmp-stdint.h
74685 if test "$acx_cv_header_stdint" != stddef.h; then
74686 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74689 sed 's/^ *//' >> tmp-stdint.h <<EOF
74690 /* glibc uses these symbols as guards to prevent redefinitions. */
74691 #ifdef __int8_t_defined
74692 #define _INT8_T
74693 #define _INT16_T
74694 #define _INT32_T
74695 #endif
74696 #ifdef __uint32_t_defined
74697 #define _UINT32_T
74698 #endif
74702 # ----------------- done header, emit basic int types -------------
74703 if test "$acx_cv_header_stdint" = stddef.h; then
74704 sed 's/^ *//' >> tmp-stdint.h <<EOF
74706 #ifndef _UINT8_T
74707 #define _UINT8_T
74708 #ifndef __uint8_t_defined
74709 #define __uint8_t_defined
74710 #ifndef uint8_t
74711 typedef unsigned $acx_cv_type_int8_t uint8_t;
74712 #endif
74713 #endif
74714 #endif
74716 #ifndef _UINT16_T
74717 #define _UINT16_T
74718 #ifndef __uint16_t_defined
74719 #define __uint16_t_defined
74720 #ifndef uint16_t
74721 typedef unsigned $acx_cv_type_int16_t uint16_t;
74722 #endif
74723 #endif
74724 #endif
74726 #ifndef _UINT32_T
74727 #define _UINT32_T
74728 #ifndef __uint32_t_defined
74729 #define __uint32_t_defined
74730 #ifndef uint32_t
74731 typedef unsigned $acx_cv_type_int32_t uint32_t;
74732 #endif
74733 #endif
74734 #endif
74736 #ifndef _INT8_T
74737 #define _INT8_T
74738 #ifndef __int8_t_defined
74739 #define __int8_t_defined
74740 #ifndef int8_t
74741 typedef $acx_cv_type_int8_t int8_t;
74742 #endif
74743 #endif
74744 #endif
74746 #ifndef _INT16_T
74747 #define _INT16_T
74748 #ifndef __int16_t_defined
74749 #define __int16_t_defined
74750 #ifndef int16_t
74751 typedef $acx_cv_type_int16_t int16_t;
74752 #endif
74753 #endif
74754 #endif
74756 #ifndef _INT32_T
74757 #define _INT32_T
74758 #ifndef __int32_t_defined
74759 #define __int32_t_defined
74760 #ifndef int32_t
74761 typedef $acx_cv_type_int32_t int32_t;
74762 #endif
74763 #endif
74764 #endif
74766 elif test "$ac_cv_type_u_int32_t" = yes; then
74767 sed 's/^ *//' >> tmp-stdint.h <<EOF
74769 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74770 #ifndef _INT8_T
74771 #define _INT8_T
74772 #endif
74773 #ifndef _INT16_T
74774 #define _INT16_T
74775 #endif
74776 #ifndef _INT32_T
74777 #define _INT32_T
74778 #endif
74780 #ifndef _UINT8_T
74781 #define _UINT8_T
74782 #ifndef __uint8_t_defined
74783 #define __uint8_t_defined
74784 #ifndef uint8_t
74785 typedef u_int8_t uint8_t;
74786 #endif
74787 #endif
74788 #endif
74790 #ifndef _UINT16_T
74791 #define _UINT16_T
74792 #ifndef __uint16_t_defined
74793 #define __uint16_t_defined
74794 #ifndef uint16_t
74795 typedef u_int16_t uint16_t;
74796 #endif
74797 #endif
74798 #endif
74800 #ifndef _UINT32_T
74801 #define _UINT32_T
74802 #ifndef __uint32_t_defined
74803 #define __uint32_t_defined
74804 #ifndef uint32_t
74805 typedef u_int32_t uint32_t;
74806 #endif
74807 #endif
74808 #endif
74810 else
74811 sed 's/^ *//' >> tmp-stdint.h <<EOF
74813 /* Some systems have guard macros to prevent redefinitions, define them. */
74814 #ifndef _INT8_T
74815 #define _INT8_T
74816 #endif
74817 #ifndef _INT16_T
74818 #define _INT16_T
74819 #endif
74820 #ifndef _INT32_T
74821 #define _INT32_T
74822 #endif
74823 #ifndef _UINT8_T
74824 #define _UINT8_T
74825 #endif
74826 #ifndef _UINT16_T
74827 #define _UINT16_T
74828 #endif
74829 #ifndef _UINT32_T
74830 #define _UINT32_T
74831 #endif
74835 # ------------- done basic int types, emit int64_t types ------------
74836 if test "$ac_cv_type_uint64_t" = yes; then
74837 sed 's/^ *//' >> tmp-stdint.h <<EOF
74839 /* system headers have good uint64_t and int64_t */
74840 #ifndef _INT64_T
74841 #define _INT64_T
74842 #endif
74843 #ifndef _UINT64_T
74844 #define _UINT64_T
74845 #endif
74847 elif test "$ac_cv_type_u_int64_t" = yes; then
74848 sed 's/^ *//' >> tmp-stdint.h <<EOF
74850 /* system headers have an u_int64_t (and int64_t) */
74851 #ifndef _INT64_T
74852 #define _INT64_T
74853 #endif
74854 #ifndef _UINT64_T
74855 #define _UINT64_T
74856 #ifndef __uint64_t_defined
74857 #define __uint64_t_defined
74858 #ifndef uint64_t
74859 typedef u_int64_t uint64_t;
74860 #endif
74861 #endif
74862 #endif
74864 elif test -n "$acx_cv_type_int64_t"; then
74865 sed 's/^ *//' >> tmp-stdint.h <<EOF
74867 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74868 #ifndef _INT64_T
74869 #define _INT64_T
74870 #ifndef int64_t
74871 typedef $acx_cv_type_int64_t int64_t;
74872 #endif
74873 #endif
74874 #ifndef _UINT64_T
74875 #define _UINT64_T
74876 #ifndef __uint64_t_defined
74877 #define __uint64_t_defined
74878 #ifndef uint64_t
74879 typedef unsigned $acx_cv_type_int64_t uint64_t;
74880 #endif
74881 #endif
74882 #endif
74884 else
74885 sed 's/^ *//' >> tmp-stdint.h <<EOF
74887 /* some common heuristics for int64_t, using compiler-specific tests */
74888 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74889 #ifndef _INT64_T
74890 #define _INT64_T
74891 #ifndef __int64_t_defined
74892 #ifndef int64_t
74893 typedef long long int64_t;
74894 #endif
74895 #endif
74896 #endif
74897 #ifndef _UINT64_T
74898 #define _UINT64_T
74899 #ifndef uint64_t
74900 typedef unsigned long long uint64_t;
74901 #endif
74902 #endif
74904 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74905 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74906 does not implement __extension__. But that compiler doesn't define
74907 __GNUC_MINOR__. */
74908 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74909 # define __extension__
74910 # endif
74912 # ifndef _INT64_T
74913 # define _INT64_T
74914 # ifndef int64_t
74915 __extension__ typedef long long int64_t;
74916 # endif
74917 # endif
74918 # ifndef _UINT64_T
74919 # define _UINT64_T
74920 # ifndef uint64_t
74921 __extension__ typedef unsigned long long uint64_t;
74922 # endif
74923 # endif
74925 #elif !defined __STRICT_ANSI__
74926 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74928 # ifndef _INT64_T
74929 # define _INT64_T
74930 # ifndef int64_t
74931 typedef __int64 int64_t;
74932 # endif
74933 # endif
74934 # ifndef _UINT64_T
74935 # define _UINT64_T
74936 # ifndef uint64_t
74937 typedef unsigned __int64 uint64_t;
74938 # endif
74939 # endif
74940 # endif /* compiler */
74942 #endif /* ANSI version */
74946 # ------------- done int64_t types, emit intptr types ------------
74947 if test "$ac_cv_type_uintptr_t" != yes; then
74948 sed 's/^ *//' >> tmp-stdint.h <<EOF
74950 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74951 #ifndef __uintptr_t_defined
74952 #ifndef uintptr_t
74953 typedef u$acx_cv_type_intptr_t uintptr_t;
74954 #endif
74955 #endif
74956 #ifndef __intptr_t_defined
74957 #ifndef intptr_t
74958 typedef $acx_cv_type_intptr_t intptr_t;
74959 #endif
74960 #endif
74964 # ------------- done intptr types, emit int_least types ------------
74965 if test "$ac_cv_type_int_least32_t" != yes; then
74966 sed 's/^ *//' >> tmp-stdint.h <<EOF
74968 /* Define int_least types */
74969 typedef int8_t int_least8_t;
74970 typedef int16_t int_least16_t;
74971 typedef int32_t int_least32_t;
74972 #ifdef _INT64_T
74973 typedef int64_t int_least64_t;
74974 #endif
74976 typedef uint8_t uint_least8_t;
74977 typedef uint16_t uint_least16_t;
74978 typedef uint32_t uint_least32_t;
74979 #ifdef _UINT64_T
74980 typedef uint64_t uint_least64_t;
74981 #endif
74985 # ------------- done intptr types, emit int_fast types ------------
74986 if test "$ac_cv_type_int_fast32_t" != yes; then
74987 sed 's/^ *//' >> tmp-stdint.h <<EOF
74989 /* Define int_fast types. short is often slow */
74990 typedef int8_t int_fast8_t;
74991 typedef int int_fast16_t;
74992 typedef int32_t int_fast32_t;
74993 #ifdef _INT64_T
74994 typedef int64_t int_fast64_t;
74995 #endif
74997 typedef uint8_t uint_fast8_t;
74998 typedef unsigned int uint_fast16_t;
74999 typedef uint32_t uint_fast32_t;
75000 #ifdef _UINT64_T
75001 typedef uint64_t uint_fast64_t;
75002 #endif
75006 if test "$ac_cv_type_uintmax_t" != yes; then
75007 sed 's/^ *//' >> tmp-stdint.h <<EOF
75009 /* Define intmax based on what we found */
75010 #ifndef intmax_t
75011 #ifdef _INT64_T
75012 typedef int64_t intmax_t;
75013 #else
75014 typedef long intmax_t;
75015 #endif
75016 #endif
75017 #ifndef uintmax_t
75018 #ifdef _UINT64_T
75019 typedef uint64_t uintmax_t;
75020 #else
75021 typedef unsigned long uintmax_t;
75022 #endif
75023 #endif
75027 sed 's/^ *//' >> tmp-stdint.h <<EOF
75029 #endif /* GCC_GENERATED_STDINT_H */
75032 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75033 rm -f tmp-stdint.h
75034 else
75035 mv -f tmp-stdint.h include/gstdint.h
75039 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75040 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75041 "include/Makefile":F) cat > vpsed$$ << \_EOF
75042 s!`test -f '$<' || echo '$(srcdir)/'`!!
75043 _EOF
75044 sed -f vpsed$$ $ac_file > tmp$$
75045 mv tmp$$ $ac_file
75046 rm vpsed$$
75047 echo 'MULTISUBDIR =' >> $ac_file
75048 ml_norecursion=yes
75049 . ${multi_basedir}/config-ml.in
75050 { ml_norecursion=; unset ml_norecursion;}
75052 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75053 s!`test -f '$<' || echo '$(srcdir)/'`!!
75054 _EOF
75055 sed -f vpsed$$ $ac_file > tmp$$
75056 mv tmp$$ $ac_file
75057 rm vpsed$$
75058 echo 'MULTISUBDIR =' >> $ac_file
75059 ml_norecursion=yes
75060 . ${multi_basedir}/config-ml.in
75061 { ml_norecursion=; unset ml_norecursion;}
75063 "python/Makefile":F) cat > vpsed$$ << \_EOF
75064 s!`test -f '$<' || echo '$(srcdir)/'`!!
75065 _EOF
75066 sed -f vpsed$$ $ac_file > tmp$$
75067 mv tmp$$ $ac_file
75068 rm vpsed$$
75069 echo 'MULTISUBDIR =' >> $ac_file
75070 ml_norecursion=yes
75071 . ${multi_basedir}/config-ml.in
75072 { ml_norecursion=; unset ml_norecursion;}
75074 "src/Makefile":F) cat > vpsed$$ << \_EOF
75075 s!`test -f '$<' || echo '$(srcdir)/'`!!
75076 _EOF
75077 sed -f vpsed$$ $ac_file > tmp$$
75078 mv tmp$$ $ac_file
75079 rm vpsed$$
75080 echo 'MULTISUBDIR =' >> $ac_file
75081 ml_norecursion=yes
75082 . ${multi_basedir}/config-ml.in
75083 { ml_norecursion=; unset ml_norecursion;}
75085 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75086 s!`test -f '$<' || echo '$(srcdir)/'`!!
75087 _EOF
75088 sed -f vpsed$$ $ac_file > tmp$$
75089 mv tmp$$ $ac_file
75090 rm vpsed$$
75091 echo 'MULTISUBDIR =' >> $ac_file
75092 ml_norecursion=yes
75093 . ${multi_basedir}/config-ml.in
75094 { ml_norecursion=; unset ml_norecursion;}
75096 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75097 s!`test -f '$<' || echo '$(srcdir)/'`!!
75098 _EOF
75099 sed -f vpsed$$ $ac_file > tmp$$
75100 mv tmp$$ $ac_file
75101 rm vpsed$$
75102 echo 'MULTISUBDIR =' >> $ac_file
75103 ml_norecursion=yes
75104 . ${multi_basedir}/config-ml.in
75105 { ml_norecursion=; unset ml_norecursion;}
75107 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75108 s!`test -f '$<' || echo '$(srcdir)/'`!!
75109 _EOF
75110 sed -f vpsed$$ $ac_file > tmp$$
75111 mv tmp$$ $ac_file
75112 rm vpsed$$
75113 echo 'MULTISUBDIR =' >> $ac_file
75114 ml_norecursion=yes
75115 . ${multi_basedir}/config-ml.in
75116 { ml_norecursion=; unset ml_norecursion;}
75118 "po/Makefile":F) cat > vpsed$$ << \_EOF
75119 s!`test -f '$<' || echo '$(srcdir)/'`!!
75120 _EOF
75121 sed -f vpsed$$ $ac_file > tmp$$
75122 mv tmp$$ $ac_file
75123 rm vpsed$$
75124 echo 'MULTISUBDIR =' >> $ac_file
75125 ml_norecursion=yes
75126 . ${multi_basedir}/config-ml.in
75127 { ml_norecursion=; unset ml_norecursion;}
75129 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75130 s!`test -f '$<' || echo '$(srcdir)/'`!!
75131 _EOF
75132 sed -f vpsed$$ $ac_file > tmp$$
75133 mv tmp$$ $ac_file
75134 rm vpsed$$
75135 echo 'MULTISUBDIR =' >> $ac_file
75136 ml_norecursion=yes
75137 . ${multi_basedir}/config-ml.in
75138 { ml_norecursion=; unset ml_norecursion;}
75140 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75142 esac
75143 done # for ac_tag
75146 as_fn_exit 0
75147 _ACEOF
75148 ac_clean_files=$ac_clean_files_save
75150 test $ac_write_fail = 0 ||
75151 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75154 # configure is writing to config.log, and then calls config.status.
75155 # config.status does its own redirection, appending to config.log.
75156 # Unfortunately, on DOS this fails, as config.log is still kept open
75157 # by configure, so config.status won't be able to write to it; its
75158 # output is simply discarded. So we exec the FD to /dev/null,
75159 # effectively closing config.log, so it can be properly (re)opened and
75160 # appended to by config.status. When coming back to configure, we
75161 # need to make the FD available again.
75162 if test "$no_create" != yes; then
75163 ac_cs_success=:
75164 ac_config_status_args=
75165 test "$silent" = yes &&
75166 ac_config_status_args="$ac_config_status_args --quiet"
75167 exec 5>/dev/null
75168 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75169 exec 5>>config.log
75170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75171 # would make configure fail if this is the last instruction.
75172 $ac_cs_success || as_fn_exit $?
75174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75176 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}