Mark ChangeLog
[official-gcc.git] / libstdc++-v3 / configure
blob4ab39e02fb4918bbf55b7108f650ee576f5543aa
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*|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 powerpc64le-*linux*)
7140 LD="${LD-ld} -m elf32lppclinux"
7142 powerpc64-*linux*)
7143 LD="${LD-ld} -m elf32ppclinux"
7145 s390x-*linux*)
7146 LD="${LD-ld} -m elf_s390"
7148 sparc64-*linux*)
7149 LD="${LD-ld} -m elf32_sparc"
7151 esac
7153 *64-bit*)
7154 case $host in
7155 x86_64-*kfreebsd*-gnu)
7156 LD="${LD-ld} -m elf_x86_64_fbsd"
7158 x86_64-*linux*)
7159 LD="${LD-ld} -m elf_x86_64"
7161 powerpcle-*linux*)
7162 LD="${LD-ld} -m elf64lppc"
7164 powerpc-*linux*)
7165 LD="${LD-ld} -m elf64ppc"
7167 s390*-*linux*|s390*-*tpf*)
7168 LD="${LD-ld} -m elf64_s390"
7170 sparc*-*linux*)
7171 LD="${LD-ld} -m elf64_sparc"
7173 esac
7175 esac
7177 rm -rf conftest*
7180 *-*-sco3.2v5*)
7181 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7182 SAVE_CFLAGS="$CFLAGS"
7183 CFLAGS="$CFLAGS -belf"
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7185 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7186 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7187 $as_echo_n "(cached) " >&6
7188 else
7189 ac_ext=c
7190 ac_cpp='$CPP $CPPFLAGS'
7191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7195 if test x$gcc_no_link = xyes; then
7196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7202 main ()
7206 return 0;
7208 _ACEOF
7209 if ac_fn_c_try_link "$LINENO"; then :
7210 lt_cv_cc_needs_belf=yes
7211 else
7212 lt_cv_cc_needs_belf=no
7214 rm -f core conftest.err conftest.$ac_objext \
7215 conftest$ac_exeext conftest.$ac_ext
7216 ac_ext=c
7217 ac_cpp='$CPP $CPPFLAGS'
7218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7224 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7225 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7226 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7227 CFLAGS="$SAVE_CFLAGS"
7230 sparc*-*solaris*)
7231 # Find out which ABI we are using.
7232 echo 'int i;' > conftest.$ac_ext
7233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7234 (eval $ac_compile) 2>&5
7235 ac_status=$?
7236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7237 test $ac_status = 0; }; then
7238 case `/usr/bin/file conftest.o` in
7239 *64-bit*)
7240 case $lt_cv_prog_gnu_ld in
7241 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7243 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7244 LD="${LD-ld} -64"
7247 esac
7249 esac
7251 rm -rf conftest*
7253 esac
7255 need_locks="$enable_libtool_lock"
7258 case $host_os in
7259 rhapsody* | darwin*)
7260 if test -n "$ac_tool_prefix"; then
7261 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7262 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7266 $as_echo_n "(cached) " >&6
7267 else
7268 if test -n "$DSYMUTIL"; then
7269 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7274 IFS=$as_save_IFS
7275 test -z "$as_dir" && as_dir=.
7276 for ac_exec_ext in '' $ac_executable_extensions; do
7277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7278 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280 break 2
7282 done
7283 done
7284 IFS=$as_save_IFS
7288 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7289 if test -n "$DSYMUTIL"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7291 $as_echo "$DSYMUTIL" >&6; }
7292 else
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7299 if test -z "$ac_cv_prog_DSYMUTIL"; then
7300 ac_ct_DSYMUTIL=$DSYMUTIL
7301 # Extract the first word of "dsymutil", so it can be a program name with args.
7302 set dummy dsymutil; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7306 $as_echo_n "(cached) " >&6
7307 else
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7310 else
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 for as_dir in $PATH
7314 IFS=$as_save_IFS
7315 test -z "$as_dir" && as_dir=.
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7318 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320 break 2
7322 done
7323 done
7324 IFS=$as_save_IFS
7328 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7329 if test -n "$ac_ct_DSYMUTIL"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7331 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7332 else
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7337 if test "x$ac_ct_DSYMUTIL" = x; then
7338 DSYMUTIL=":"
7339 else
7340 case $cross_compiling:$ac_tool_warned in
7341 yes:)
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7344 ac_tool_warned=yes ;;
7345 esac
7346 DSYMUTIL=$ac_ct_DSYMUTIL
7348 else
7349 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7352 if test -n "$ac_tool_prefix"; then
7353 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7354 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7358 $as_echo_n "(cached) " >&6
7359 else
7360 if test -n "$NMEDIT"; then
7361 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7366 IFS=$as_save_IFS
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 break 2
7374 done
7375 done
7376 IFS=$as_save_IFS
7380 NMEDIT=$ac_cv_prog_NMEDIT
7381 if test -n "$NMEDIT"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7383 $as_echo "$NMEDIT" >&6; }
7384 else
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7391 if test -z "$ac_cv_prog_NMEDIT"; then
7392 ac_ct_NMEDIT=$NMEDIT
7393 # Extract the first word of "nmedit", so it can be a program name with args.
7394 set dummy nmedit; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 if test -n "$ac_ct_NMEDIT"; then
7401 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7421 if test -n "$ac_ct_NMEDIT"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7423 $as_echo "$ac_ct_NMEDIT" >&6; }
7424 else
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7429 if test "x$ac_ct_NMEDIT" = x; then
7430 NMEDIT=":"
7431 else
7432 case $cross_compiling:$ac_tool_warned in
7433 yes:)
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7436 ac_tool_warned=yes ;;
7437 esac
7438 NMEDIT=$ac_ct_NMEDIT
7440 else
7441 NMEDIT="$ac_cv_prog_NMEDIT"
7444 if test -n "$ac_tool_prefix"; then
7445 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7446 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448 $as_echo_n "checking for $ac_word... " >&6; }
7449 if test "${ac_cv_prog_LIPO+set}" = set; then :
7450 $as_echo_n "(cached) " >&6
7451 else
7452 if test -n "$LIPO"; then
7453 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7454 else
7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 for as_dir in $PATH
7458 IFS=$as_save_IFS
7459 test -z "$as_dir" && as_dir=.
7460 for ac_exec_ext in '' $ac_executable_extensions; do
7461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7462 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 break 2
7466 done
7467 done
7468 IFS=$as_save_IFS
7472 LIPO=$ac_cv_prog_LIPO
7473 if test -n "$LIPO"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7475 $as_echo "$LIPO" >&6; }
7476 else
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7483 if test -z "$ac_cv_prog_LIPO"; then
7484 ac_ct_LIPO=$LIPO
7485 # Extract the first word of "lipo", so it can be a program name with args.
7486 set dummy lipo; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7490 $as_echo_n "(cached) " >&6
7491 else
7492 if test -n "$ac_ct_LIPO"; then
7493 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7502 ac_cv_prog_ac_ct_LIPO="lipo"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7512 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7513 if test -n "$ac_ct_LIPO"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7515 $as_echo "$ac_ct_LIPO" >&6; }
7516 else
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7521 if test "x$ac_ct_LIPO" = x; then
7522 LIPO=":"
7523 else
7524 case $cross_compiling:$ac_tool_warned in
7525 yes:)
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7528 ac_tool_warned=yes ;;
7529 esac
7530 LIPO=$ac_ct_LIPO
7532 else
7533 LIPO="$ac_cv_prog_LIPO"
7536 if test -n "$ac_tool_prefix"; then
7537 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7538 set dummy ${ac_tool_prefix}otool; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7540 $as_echo_n "checking for $ac_word... " >&6; }
7541 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7542 $as_echo_n "(cached) " >&6
7543 else
7544 if test -n "$OTOOL"; then
7545 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7546 else
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 for as_dir in $PATH
7550 IFS=$as_save_IFS
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7554 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7556 break 2
7558 done
7559 done
7560 IFS=$as_save_IFS
7564 OTOOL=$ac_cv_prog_OTOOL
7565 if test -n "$OTOOL"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7567 $as_echo "$OTOOL" >&6; }
7568 else
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7570 $as_echo "no" >&6; }
7575 if test -z "$ac_cv_prog_OTOOL"; then
7576 ac_ct_OTOOL=$OTOOL
7577 # Extract the first word of "otool", so it can be a program name with args.
7578 set dummy otool; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580 $as_echo_n "checking for $ac_word... " >&6; }
7581 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 if test -n "$ac_ct_OTOOL"; then
7585 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7586 else
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 for as_dir in $PATH
7590 IFS=$as_save_IFS
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7594 ac_cv_prog_ac_ct_OTOOL="otool"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596 break 2
7598 done
7599 done
7600 IFS=$as_save_IFS
7604 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7605 if test -n "$ac_ct_OTOOL"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7607 $as_echo "$ac_ct_OTOOL" >&6; }
7608 else
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7610 $as_echo "no" >&6; }
7613 if test "x$ac_ct_OTOOL" = x; then
7614 OTOOL=":"
7615 else
7616 case $cross_compiling:$ac_tool_warned in
7617 yes:)
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7620 ac_tool_warned=yes ;;
7621 esac
7622 OTOOL=$ac_ct_OTOOL
7624 else
7625 OTOOL="$ac_cv_prog_OTOOL"
7628 if test -n "$ac_tool_prefix"; then
7629 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7630 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 $as_echo_n "checking for $ac_word... " >&6; }
7633 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7634 $as_echo_n "(cached) " >&6
7635 else
7636 if test -n "$OTOOL64"; then
7637 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7638 else
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7640 for as_dir in $PATH
7642 IFS=$as_save_IFS
7643 test -z "$as_dir" && as_dir=.
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7646 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7648 break 2
7650 done
7651 done
7652 IFS=$as_save_IFS
7656 OTOOL64=$ac_cv_prog_OTOOL64
7657 if test -n "$OTOOL64"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7659 $as_echo "$OTOOL64" >&6; }
7660 else
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7662 $as_echo "no" >&6; }
7667 if test -z "$ac_cv_prog_OTOOL64"; then
7668 ac_ct_OTOOL64=$OTOOL64
7669 # Extract the first word of "otool64", so it can be a program name with args.
7670 set dummy otool64; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7672 $as_echo_n "checking for $ac_word... " >&6; }
7673 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7674 $as_echo_n "(cached) " >&6
7675 else
7676 if test -n "$ac_ct_OTOOL64"; then
7677 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7678 else
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680 for as_dir in $PATH
7682 IFS=$as_save_IFS
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7686 ac_cv_prog_ac_ct_OTOOL64="otool64"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688 break 2
7690 done
7691 done
7692 IFS=$as_save_IFS
7696 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7697 if test -n "$ac_ct_OTOOL64"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7699 $as_echo "$ac_ct_OTOOL64" >&6; }
7700 else
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7702 $as_echo "no" >&6; }
7705 if test "x$ac_ct_OTOOL64" = x; then
7706 OTOOL64=":"
7707 else
7708 case $cross_compiling:$ac_tool_warned in
7709 yes:)
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7712 ac_tool_warned=yes ;;
7713 esac
7714 OTOOL64=$ac_ct_OTOOL64
7716 else
7717 OTOOL64="$ac_cv_prog_OTOOL64"
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7747 $as_echo_n "checking for -single_module linker flag... " >&6; }
7748 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 lt_cv_apple_cc_single_mod=no
7752 if test -z "${LT_MULTI_MODULE}"; then
7753 # By default we will add the -single_module flag. You can override
7754 # by either setting the environment variable LT_MULTI_MODULE
7755 # non-empty at configure time, or by adding -multi_module to the
7756 # link flags.
7757 rm -rf libconftest.dylib*
7758 echo "int foo(void){return 1;}" > conftest.c
7759 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7760 -dynamiclib -Wl,-single_module conftest.c" >&5
7761 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7762 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7763 _lt_result=$?
7764 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7765 lt_cv_apple_cc_single_mod=yes
7766 else
7767 cat conftest.err >&5
7769 rm -rf libconftest.dylib*
7770 rm -f conftest.*
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7774 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7776 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7777 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7778 $as_echo_n "(cached) " >&6
7779 else
7780 lt_cv_ld_exported_symbols_list=no
7781 save_LDFLAGS=$LDFLAGS
7782 echo "_main" > conftest.sym
7783 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7784 if test x$gcc_no_link = xyes; then
7785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7791 main ()
7795 return 0;
7797 _ACEOF
7798 if ac_fn_c_try_link "$LINENO"; then :
7799 lt_cv_ld_exported_symbols_list=yes
7800 else
7801 lt_cv_ld_exported_symbols_list=no
7803 rm -f core conftest.err conftest.$ac_objext \
7804 conftest$ac_exeext conftest.$ac_ext
7805 LDFLAGS="$save_LDFLAGS"
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7809 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7811 $as_echo_n "checking for -force_load linker flag... " >&6; }
7812 if test "${lt_cv_ld_force_load+set}" = set; then :
7813 $as_echo_n "(cached) " >&6
7814 else
7815 lt_cv_ld_force_load=no
7816 cat > conftest.c << _LT_EOF
7817 int forced_loaded() { return 2;}
7818 _LT_EOF
7819 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7820 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7821 echo "$AR cru libconftest.a conftest.o" >&5
7822 $AR cru libconftest.a conftest.o 2>&5
7823 cat > conftest.c << _LT_EOF
7824 int main() { return 0;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7827 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7828 _lt_result=$?
7829 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7830 lt_cv_ld_force_load=yes
7831 else
7832 cat conftest.err >&5
7834 rm -f conftest.err libconftest.a conftest conftest.c
7835 rm -rf conftest.dSYM
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7839 $as_echo "$lt_cv_ld_force_load" >&6; }
7840 case $host_os in
7841 rhapsody* | darwin1.[012])
7842 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7843 darwin1.*)
7844 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7845 darwin*) # darwin 5.x on
7846 # if running on 10.5 or later, the deployment target defaults
7847 # to the OS version, if on x86, and 10.4, the deployment
7848 # target defaults to 10.4. Don't you love it?
7849 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7850 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7851 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7852 10.[012]*)
7853 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7854 10.*)
7855 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7856 esac
7858 esac
7859 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7860 _lt_dar_single_mod='$single_module'
7862 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7863 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7864 else
7865 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7867 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7868 _lt_dsymutil='~$DSYMUTIL $lib || :'
7869 else
7870 _lt_dsymutil=
7873 esac
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7876 $as_echo_n "checking for ANSI C header files... " >&6; }
7877 if test "${ac_cv_header_stdc+set}" = set; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7882 #include <stdlib.h>
7883 #include <stdarg.h>
7884 #include <string.h>
7885 #include <float.h>
7888 main ()
7892 return 0;
7894 _ACEOF
7895 if ac_fn_c_try_compile "$LINENO"; then :
7896 ac_cv_header_stdc=yes
7897 else
7898 ac_cv_header_stdc=no
7900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7902 if test $ac_cv_header_stdc = yes; then
7903 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h. */
7906 #include <string.h>
7908 _ACEOF
7909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7910 $EGREP "memchr" >/dev/null 2>&1; then :
7912 else
7913 ac_cv_header_stdc=no
7915 rm -f conftest*
7919 if test $ac_cv_header_stdc = yes; then
7920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7922 /* end confdefs.h. */
7923 #include <stdlib.h>
7925 _ACEOF
7926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7927 $EGREP "free" >/dev/null 2>&1; then :
7929 else
7930 ac_cv_header_stdc=no
7932 rm -f conftest*
7936 if test $ac_cv_header_stdc = yes; then
7937 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7938 if test "$cross_compiling" = yes; then :
7940 else
7941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7943 #include <ctype.h>
7944 #include <stdlib.h>
7945 #if ((' ' & 0x0FF) == 0x020)
7946 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7947 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7948 #else
7949 # define ISLOWER(c) \
7950 (('a' <= (c) && (c) <= 'i') \
7951 || ('j' <= (c) && (c) <= 'r') \
7952 || ('s' <= (c) && (c) <= 'z'))
7953 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7954 #endif
7956 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7958 main ()
7960 int i;
7961 for (i = 0; i < 256; i++)
7962 if (XOR (islower (i), ISLOWER (i))
7963 || toupper (i) != TOUPPER (i))
7964 return 2;
7965 return 0;
7967 _ACEOF
7968 if ac_fn_c_try_run "$LINENO"; then :
7970 else
7971 ac_cv_header_stdc=no
7973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7974 conftest.$ac_objext conftest.beam conftest.$ac_ext
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7980 $as_echo "$ac_cv_header_stdc" >&6; }
7981 if test $ac_cv_header_stdc = yes; then
7983 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7987 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7988 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7989 inttypes.h stdint.h unistd.h
7990 do :
7991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7992 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7994 eval as_val=\$$as_ac_Header
7995 if test "x$as_val" = x""yes; then :
7996 cat >>confdefs.h <<_ACEOF
7997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7998 _ACEOF
8002 done
8005 for ac_header in dlfcn.h
8006 do :
8007 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8009 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8010 cat >>confdefs.h <<_ACEOF
8011 #define HAVE_DLFCN_H 1
8012 _ACEOF
8016 done
8023 # Set options
8028 enable_win32_dll=no
8031 # Check whether --enable-shared was given.
8032 if test "${enable_shared+set}" = set; then :
8033 enableval=$enable_shared; p=${PACKAGE-default}
8034 case $enableval in
8035 yes) enable_shared=yes ;;
8036 no) enable_shared=no ;;
8038 enable_shared=no
8039 # Look at the argument we got. We use all the common list separators.
8040 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8041 for pkg in $enableval; do
8042 IFS="$lt_save_ifs"
8043 if test "X$pkg" = "X$p"; then
8044 enable_shared=yes
8046 done
8047 IFS="$lt_save_ifs"
8049 esac
8050 else
8051 enable_shared=yes
8062 # Check whether --enable-static was given.
8063 if test "${enable_static+set}" = set; then :
8064 enableval=$enable_static; p=${PACKAGE-default}
8065 case $enableval in
8066 yes) enable_static=yes ;;
8067 no) enable_static=no ;;
8069 enable_static=no
8070 # Look at the argument we got. We use all the common list separators.
8071 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8072 for pkg in $enableval; do
8073 IFS="$lt_save_ifs"
8074 if test "X$pkg" = "X$p"; then
8075 enable_static=yes
8077 done
8078 IFS="$lt_save_ifs"
8080 esac
8081 else
8082 enable_static=yes
8094 # Check whether --with-pic was given.
8095 if test "${with_pic+set}" = set; then :
8096 withval=$with_pic; pic_mode="$withval"
8097 else
8098 pic_mode=default
8102 test -z "$pic_mode" && pic_mode=default
8110 # Check whether --enable-fast-install was given.
8111 if test "${enable_fast_install+set}" = set; then :
8112 enableval=$enable_fast_install; p=${PACKAGE-default}
8113 case $enableval in
8114 yes) enable_fast_install=yes ;;
8115 no) enable_fast_install=no ;;
8117 enable_fast_install=no
8118 # Look at the argument we got. We use all the common list separators.
8119 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8120 for pkg in $enableval; do
8121 IFS="$lt_save_ifs"
8122 if test "X$pkg" = "X$p"; then
8123 enable_fast_install=yes
8125 done
8126 IFS="$lt_save_ifs"
8128 esac
8129 else
8130 enable_fast_install=yes
8143 # This can be used to rebuild libtool when needed
8144 LIBTOOL_DEPS="$ltmain"
8146 # Always use our own libtool.
8147 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8174 test -z "$LN_S" && LN_S="ln -s"
8189 if test -n "${ZSH_VERSION+set}" ; then
8190 setopt NO_GLOB_SUBST
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8194 $as_echo_n "checking for objdir... " >&6; }
8195 if test "${lt_cv_objdir+set}" = set; then :
8196 $as_echo_n "(cached) " >&6
8197 else
8198 rm -f .libs 2>/dev/null
8199 mkdir .libs 2>/dev/null
8200 if test -d .libs; then
8201 lt_cv_objdir=.libs
8202 else
8203 # MS-DOS does not allow filenames that begin with a dot.
8204 lt_cv_objdir=_libs
8206 rmdir .libs 2>/dev/null
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8209 $as_echo "$lt_cv_objdir" >&6; }
8210 objdir=$lt_cv_objdir
8216 cat >>confdefs.h <<_ACEOF
8217 #define LT_OBJDIR "$lt_cv_objdir/"
8218 _ACEOF
8223 case $host_os in
8224 aix3*)
8225 # AIX sometimes has problems with the GCC collect2 program. For some
8226 # reason, if we set the COLLECT_NAMES environment variable, the problems
8227 # vanish in a puff of smoke.
8228 if test "X${COLLECT_NAMES+set}" != Xset; then
8229 COLLECT_NAMES=
8230 export COLLECT_NAMES
8233 esac
8235 # Global variables:
8236 ofile=libtool
8237 can_build_shared=yes
8239 # All known linkers require a `.a' archive for static linking (except MSVC,
8240 # which needs '.lib').
8241 libext=a
8243 with_gnu_ld="$lt_cv_prog_gnu_ld"
8245 old_CC="$CC"
8246 old_CFLAGS="$CFLAGS"
8248 # Set sane defaults for various variables
8249 test -z "$CC" && CC=cc
8250 test -z "$LTCC" && LTCC=$CC
8251 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8252 test -z "$LD" && LD=ld
8253 test -z "$ac_objext" && ac_objext=o
8255 for cc_temp in $compiler""; do
8256 case $cc_temp in
8257 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8258 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8259 \-*) ;;
8260 *) break;;
8261 esac
8262 done
8263 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8266 # Only perform the check for file, if the check method requires it
8267 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8268 case $deplibs_check_method in
8269 file_magic*)
8270 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8272 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8273 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 case $MAGIC_CMD in
8277 [\\/*] | ?:[\\/]*)
8278 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8281 lt_save_MAGIC_CMD="$MAGIC_CMD"
8282 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8283 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8284 for ac_dir in $ac_dummy; do
8285 IFS="$lt_save_ifs"
8286 test -z "$ac_dir" && ac_dir=.
8287 if test -f $ac_dir/${ac_tool_prefix}file; then
8288 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8289 if test -n "$file_magic_test_file"; then
8290 case $deplibs_check_method in
8291 "file_magic "*)
8292 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8293 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8295 $EGREP "$file_magic_regex" > /dev/null; then
8297 else
8298 cat <<_LT_EOF 1>&2
8300 *** Warning: the command libtool uses to detect shared libraries,
8301 *** $file_magic_cmd, produces output that libtool cannot recognize.
8302 *** The result is that libtool may fail to recognize shared libraries
8303 *** as such. This will affect the creation of libtool libraries that
8304 *** depend on shared libraries, but programs linked with such libtool
8305 *** libraries will work regardless of this problem. Nevertheless, you
8306 *** may want to report the problem to your system manager and/or to
8307 *** bug-libtool@gnu.org
8309 _LT_EOF
8310 fi ;;
8311 esac
8313 break
8315 done
8316 IFS="$lt_save_ifs"
8317 MAGIC_CMD="$lt_save_MAGIC_CMD"
8319 esac
8322 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8323 if test -n "$MAGIC_CMD"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8325 $as_echo "$MAGIC_CMD" >&6; }
8326 else
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8328 $as_echo "no" >&6; }
8335 if test -z "$lt_cv_path_MAGIC_CMD"; then
8336 if test -n "$ac_tool_prefix"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8338 $as_echo_n "checking for file... " >&6; }
8339 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 case $MAGIC_CMD in
8343 [\\/*] | ?:[\\/]*)
8344 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8347 lt_save_MAGIC_CMD="$MAGIC_CMD"
8348 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8349 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8350 for ac_dir in $ac_dummy; do
8351 IFS="$lt_save_ifs"
8352 test -z "$ac_dir" && ac_dir=.
8353 if test -f $ac_dir/file; then
8354 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8355 if test -n "$file_magic_test_file"; then
8356 case $deplibs_check_method in
8357 "file_magic "*)
8358 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8359 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8360 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8361 $EGREP "$file_magic_regex" > /dev/null; then
8363 else
8364 cat <<_LT_EOF 1>&2
8366 *** Warning: the command libtool uses to detect shared libraries,
8367 *** $file_magic_cmd, produces output that libtool cannot recognize.
8368 *** The result is that libtool may fail to recognize shared libraries
8369 *** as such. This will affect the creation of libtool libraries that
8370 *** depend on shared libraries, but programs linked with such libtool
8371 *** libraries will work regardless of this problem. Nevertheless, you
8372 *** may want to report the problem to your system manager and/or to
8373 *** bug-libtool@gnu.org
8375 _LT_EOF
8376 fi ;;
8377 esac
8379 break
8381 done
8382 IFS="$lt_save_ifs"
8383 MAGIC_CMD="$lt_save_MAGIC_CMD"
8385 esac
8388 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8389 if test -n "$MAGIC_CMD"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8391 $as_echo "$MAGIC_CMD" >&6; }
8392 else
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394 $as_echo "no" >&6; }
8398 else
8399 MAGIC_CMD=:
8405 esac
8407 # Use C for the default configuration in the libtool script
8409 lt_save_CC="$CC"
8410 ac_ext=c
8411 ac_cpp='$CPP $CPPFLAGS'
8412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8417 # Source file extension for C test sources.
8418 ac_ext=c
8420 # Object file extension for compiled C test sources.
8421 objext=o
8422 objext=$objext
8424 # Code to be used in simple compile tests
8425 lt_simple_compile_test_code="int some_variable = 0;"
8427 # Code to be used in simple link tests
8428 lt_simple_link_test_code='int main(){return(0);}'
8436 # If no C compiler was specified, use CC.
8437 LTCC=${LTCC-"$CC"}
8439 # If no C compiler flags were specified, use CFLAGS.
8440 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8442 # Allow CC to be a program name with arguments.
8443 compiler=$CC
8445 # Save the default compiler, since it gets overwritten when the other
8446 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8447 compiler_DEFAULT=$CC
8449 # save warnings/boilerplate of simple test code
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8452 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_compiler_boilerplate=`cat conftest.err`
8454 $RM conftest*
8456 ac_outfile=conftest.$ac_objext
8457 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8458 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8459 _lt_linker_boilerplate=`cat conftest.err`
8460 $RM -r conftest*
8463 ## CAVEAT EMPTOR:
8464 ## There is no encapsulation within the following macros, do not change
8465 ## the running order or otherwise move them around unless you know exactly
8466 ## what you are doing...
8467 if test -n "$compiler"; then
8469 lt_prog_compiler_no_builtin_flag=
8471 if test "$GCC" = yes; then
8472 case $cc_basename in
8473 nvcc*)
8474 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8476 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8477 esac
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8480 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8481 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 lt_cv_prog_compiler_rtti_exceptions=no
8485 ac_outfile=conftest.$ac_objext
8486 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8487 lt_compiler_flag="-fno-rtti -fno-exceptions"
8488 # Insert the option either (1) after the last *FLAGS variable, or
8489 # (2) before a word containing "conftest.", or (3) at the end.
8490 # Note that $ac_compile itself does not contain backslashes and begins
8491 # with a dollar sign (not a hyphen), so the echo should work correctly.
8492 # The option is referenced via a variable to avoid confusing sed.
8493 lt_compile=`echo "$ac_compile" | $SED \
8494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8496 -e 's:$: $lt_compiler_flag:'`
8497 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8498 (eval "$lt_compile" 2>conftest.err)
8499 ac_status=$?
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 if (exit $ac_status) && test -s "$ac_outfile"; then
8503 # The compiler can only warn and ignore the option if not recognized
8504 # So say no if there are warnings other than the usual output.
8505 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8506 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8507 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8508 lt_cv_prog_compiler_rtti_exceptions=yes
8511 $RM conftest*
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8515 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8517 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8518 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8519 else
8530 lt_prog_compiler_wl=
8531 lt_prog_compiler_pic=
8532 lt_prog_compiler_static=
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8537 if test "$GCC" = yes; then
8538 lt_prog_compiler_wl='-Wl,'
8539 lt_prog_compiler_static='-static'
8541 case $host_os in
8542 aix*)
8543 # All AIX code is PIC.
8544 if test "$host_cpu" = ia64; then
8545 # AIX 5 now supports IA64 processor
8546 lt_prog_compiler_static='-Bstatic'
8548 lt_prog_compiler_pic='-fPIC'
8551 amigaos*)
8552 case $host_cpu in
8553 powerpc)
8554 # see comment about AmigaOS4 .so support
8555 lt_prog_compiler_pic='-fPIC'
8557 m68k)
8558 # FIXME: we need at least 68020 code to build shared libraries, but
8559 # adding the `-m68020' flag to GCC prevents building anything better,
8560 # like `-m68040'.
8561 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8563 esac
8566 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8567 # PIC is the default for these OSes.
8570 mingw* | cygwin* | pw32* | os2* | cegcc*)
8571 # This hack is so that the source file can tell whether it is being
8572 # built for inclusion in a dll (and should export symbols for example).
8573 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8574 # (--disable-auto-import) libraries
8575 lt_prog_compiler_pic='-DDLL_EXPORT'
8578 darwin* | rhapsody*)
8579 # PIC is the default on this platform
8580 # Common symbols not allowed in MH_DYLIB files
8581 lt_prog_compiler_pic='-fno-common'
8584 haiku*)
8585 # PIC is the default for Haiku.
8586 # The "-static" flag exists, but is broken.
8587 lt_prog_compiler_static=
8590 hpux*)
8591 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8592 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8593 # sets the default TLS model and affects inlining.
8594 case $host_cpu in
8595 hppa*64*)
8596 # +Z the default
8599 lt_prog_compiler_pic='-fPIC'
8601 esac
8604 interix[3-9]*)
8605 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8606 # Instead, we relocate shared libraries at runtime.
8609 msdosdjgpp*)
8610 # Just because we use GCC doesn't mean we suddenly get shared libraries
8611 # on systems that don't support them.
8612 lt_prog_compiler_can_build_shared=no
8613 enable_shared=no
8616 *nto* | *qnx*)
8617 # QNX uses GNU C++, but need to define -shared option too, otherwise
8618 # it will coredump.
8619 lt_prog_compiler_pic='-fPIC -shared'
8622 sysv4*MP*)
8623 if test -d /usr/nec; then
8624 lt_prog_compiler_pic=-Kconform_pic
8629 lt_prog_compiler_pic='-fPIC'
8631 esac
8633 case $cc_basename in
8634 nvcc*) # Cuda Compiler Driver 2.2
8635 lt_prog_compiler_wl='-Xlinker '
8636 lt_prog_compiler_pic='-Xcompiler -fPIC'
8638 esac
8639 else
8640 # PORTME Check for flag to pass linker flags through the system compiler.
8641 case $host_os in
8642 aix*)
8643 lt_prog_compiler_wl='-Wl,'
8644 if test "$host_cpu" = ia64; then
8645 # AIX 5 now supports IA64 processor
8646 lt_prog_compiler_static='-Bstatic'
8647 else
8648 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8652 mingw* | cygwin* | pw32* | os2* | cegcc*)
8653 # This hack is so that the source file can tell whether it is being
8654 # built for inclusion in a dll (and should export symbols for example).
8655 lt_prog_compiler_pic='-DDLL_EXPORT'
8658 hpux9* | hpux10* | hpux11*)
8659 lt_prog_compiler_wl='-Wl,'
8660 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8661 # not for PA HP-UX.
8662 case $host_cpu in
8663 hppa*64*|ia64*)
8664 # +Z the default
8667 lt_prog_compiler_pic='+Z'
8669 esac
8670 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8671 lt_prog_compiler_static='${wl}-a ${wl}archive'
8674 irix5* | irix6* | nonstopux*)
8675 lt_prog_compiler_wl='-Wl,'
8676 # PIC (with -KPIC) is the default.
8677 lt_prog_compiler_static='-non_shared'
8680 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8681 case $cc_basename in
8682 # old Intel for x86_64 which still supported -KPIC.
8683 ecc*)
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-KPIC'
8686 lt_prog_compiler_static='-static'
8688 # icc used to be incompatible with GCC.
8689 # ICC 10 doesn't accept -KPIC any more.
8690 icc* | ifort*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-fPIC'
8693 lt_prog_compiler_static='-static'
8695 # Lahey Fortran 8.1.
8696 lf95*)
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='--shared'
8699 lt_prog_compiler_static='--static'
8701 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8702 # Portland Group compilers (*not* the Pentium gcc compiler,
8703 # which looks to be a dead project)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-fpic'
8706 lt_prog_compiler_static='-Bstatic'
8708 ccc*)
8709 lt_prog_compiler_wl='-Wl,'
8710 # All Alpha code is PIC.
8711 lt_prog_compiler_static='-non_shared'
8713 xl* | bgxl* | bgf* | mpixl*)
8714 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_pic='-qpic'
8717 lt_prog_compiler_static='-qstaticlink'
8720 case `$CC -V 2>&1 | sed 5q` in
8721 *Sun\ F* | *Sun*Fortran*)
8722 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl=''
8727 *Sun\ C*)
8728 # Sun C 5.9
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 lt_prog_compiler_wl='-Wl,'
8733 esac
8735 esac
8738 newsos6)
8739 lt_prog_compiler_pic='-KPIC'
8740 lt_prog_compiler_static='-Bstatic'
8743 *nto* | *qnx*)
8744 # QNX uses GNU C++, but need to define -shared option too, otherwise
8745 # it will coredump.
8746 lt_prog_compiler_pic='-fPIC -shared'
8749 osf3* | osf4* | osf5*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # All OSF/1 code is PIC.
8752 lt_prog_compiler_static='-non_shared'
8755 rdos*)
8756 lt_prog_compiler_static='-non_shared'
8759 solaris*)
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8762 case $cc_basename in
8763 f77* | f90* | f95*)
8764 lt_prog_compiler_wl='-Qoption ld ';;
8766 lt_prog_compiler_wl='-Wl,';;
8767 esac
8770 sunos4*)
8771 lt_prog_compiler_wl='-Qoption ld '
8772 lt_prog_compiler_pic='-PIC'
8773 lt_prog_compiler_static='-Bstatic'
8776 sysv4 | sysv4.2uw2* | sysv4.3*)
8777 lt_prog_compiler_wl='-Wl,'
8778 lt_prog_compiler_pic='-KPIC'
8779 lt_prog_compiler_static='-Bstatic'
8782 sysv4*MP*)
8783 if test -d /usr/nec ;then
8784 lt_prog_compiler_pic='-Kconform_pic'
8785 lt_prog_compiler_static='-Bstatic'
8789 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-KPIC'
8792 lt_prog_compiler_static='-Bstatic'
8795 unicos*)
8796 lt_prog_compiler_wl='-Wl,'
8797 lt_prog_compiler_can_build_shared=no
8800 uts4*)
8801 lt_prog_compiler_pic='-pic'
8802 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_can_build_shared=no
8808 esac
8811 case $host_os in
8812 # For platforms which do not support PIC, -DPIC is meaningless:
8813 *djgpp*)
8814 lt_prog_compiler_pic=
8817 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8819 esac
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8821 $as_echo "$lt_prog_compiler_pic" >&6; }
8829 # Check to make sure the PIC flag actually works.
8831 if test -n "$lt_prog_compiler_pic"; then
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8833 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8834 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 lt_cv_prog_compiler_pic_works=no
8838 ac_outfile=conftest.$ac_objext
8839 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8840 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8841 # Insert the option either (1) after the last *FLAGS variable, or
8842 # (2) before a word containing "conftest.", or (3) at the end.
8843 # Note that $ac_compile itself does not contain backslashes and begins
8844 # with a dollar sign (not a hyphen), so the echo should work correctly.
8845 # The option is referenced via a variable to avoid confusing sed.
8846 lt_compile=`echo "$ac_compile" | $SED \
8847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8849 -e 's:$: $lt_compiler_flag:'`
8850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8851 (eval "$lt_compile" 2>conftest.err)
8852 ac_status=$?
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 if (exit $ac_status) && test -s "$ac_outfile"; then
8856 # The compiler can only warn and ignore the option if not recognized
8857 # So say no if there are warnings other than the usual output.
8858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8859 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8860 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8861 lt_cv_prog_compiler_pic_works=yes
8864 $RM conftest*
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8868 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8870 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8871 case $lt_prog_compiler_pic in
8872 "" | " "*) ;;
8873 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8874 esac
8875 else
8876 lt_prog_compiler_pic=
8877 lt_prog_compiler_can_build_shared=no
8888 # Check to make sure the static flag actually works.
8890 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8892 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8893 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 lt_cv_prog_compiler_static_works=no
8897 save_LDFLAGS="$LDFLAGS"
8898 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8899 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8900 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8901 # The linker can only warn and ignore the option if not recognized
8902 # So say no if there are warnings
8903 if test -s conftest.err; then
8904 # Append any errors to the config.log.
8905 cat conftest.err 1>&5
8906 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8907 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8908 if diff conftest.exp conftest.er2 >/dev/null; then
8909 lt_cv_prog_compiler_static_works=yes
8911 else
8912 lt_cv_prog_compiler_static_works=yes
8915 $RM -r conftest*
8916 LDFLAGS="$save_LDFLAGS"
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8920 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8922 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8924 else
8925 lt_prog_compiler_static=
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8935 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8936 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8937 $as_echo_n "(cached) " >&6
8938 else
8939 lt_cv_prog_compiler_c_o=no
8940 $RM -r conftest 2>/dev/null
8941 mkdir conftest
8942 cd conftest
8943 mkdir out
8944 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8946 lt_compiler_flag="-o out/conftest2.$ac_objext"
8947 # Insert the option either (1) after the last *FLAGS variable, or
8948 # (2) before a word containing "conftest.", or (3) at the end.
8949 # Note that $ac_compile itself does not contain backslashes and begins
8950 # with a dollar sign (not a hyphen), so the echo should work correctly.
8951 lt_compile=`echo "$ac_compile" | $SED \
8952 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8953 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8954 -e 's:$: $lt_compiler_flag:'`
8955 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8956 (eval "$lt_compile" 2>out/conftest.err)
8957 ac_status=$?
8958 cat out/conftest.err >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8961 then
8962 # The compiler can only warn and ignore the option if not recognized
8963 # So say no if there are warnings
8964 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8965 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8966 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8967 lt_cv_prog_compiler_c_o=yes
8970 chmod u+w . 2>&5
8971 $RM conftest*
8972 # SGI C++ compiler will create directory out/ii_files/ for
8973 # template instantiation
8974 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8975 $RM out/* && rmdir out
8976 cd ..
8977 $RM -r conftest
8978 $RM conftest*
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8982 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8990 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8991 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 lt_cv_prog_compiler_c_o=no
8995 $RM -r conftest 2>/dev/null
8996 mkdir conftest
8997 cd conftest
8998 mkdir out
8999 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9001 lt_compiler_flag="-o out/conftest2.$ac_objext"
9002 # Insert the option either (1) after the last *FLAGS variable, or
9003 # (2) before a word containing "conftest.", or (3) at the end.
9004 # Note that $ac_compile itself does not contain backslashes and begins
9005 # with a dollar sign (not a hyphen), so the echo should work correctly.
9006 lt_compile=`echo "$ac_compile" | $SED \
9007 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9008 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9009 -e 's:$: $lt_compiler_flag:'`
9010 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9011 (eval "$lt_compile" 2>out/conftest.err)
9012 ac_status=$?
9013 cat out/conftest.err >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9016 then
9017 # The compiler can only warn and ignore the option if not recognized
9018 # So say no if there are warnings
9019 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9020 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9021 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9022 lt_cv_prog_compiler_c_o=yes
9025 chmod u+w . 2>&5
9026 $RM conftest*
9027 # SGI C++ compiler will create directory out/ii_files/ for
9028 # template instantiation
9029 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9030 $RM out/* && rmdir out
9031 cd ..
9032 $RM -r conftest
9033 $RM conftest*
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9037 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9042 hard_links="nottested"
9043 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9044 # do not overwrite the value of need_locks provided by the user
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9046 $as_echo_n "checking if we can lock with hard links... " >&6; }
9047 hard_links=yes
9048 $RM conftest*
9049 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9050 touch conftest.a
9051 ln conftest.a conftest.b 2>&5 || hard_links=no
9052 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9054 $as_echo "$hard_links" >&6; }
9055 if test "$hard_links" = no; then
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9057 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9058 need_locks=warn
9060 else
9061 need_locks=no
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9070 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9072 runpath_var=
9073 allow_undefined_flag=
9074 always_export_symbols=no
9075 archive_cmds=
9076 archive_expsym_cmds=
9077 compiler_needs_object=no
9078 enable_shared_with_static_runtimes=no
9079 export_dynamic_flag_spec=
9080 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9081 hardcode_automatic=no
9082 hardcode_direct=no
9083 hardcode_direct_absolute=no
9084 hardcode_libdir_flag_spec=
9085 hardcode_libdir_flag_spec_ld=
9086 hardcode_libdir_separator=
9087 hardcode_minus_L=no
9088 hardcode_shlibpath_var=unsupported
9089 inherit_rpath=no
9090 link_all_deplibs=unknown
9091 module_cmds=
9092 module_expsym_cmds=
9093 old_archive_from_new_cmds=
9094 old_archive_from_expsyms_cmds=
9095 thread_safe_flag_spec=
9096 whole_archive_flag_spec=
9097 # include_expsyms should be a list of space-separated symbols to be *always*
9098 # included in the symbol list
9099 include_expsyms=
9100 # exclude_expsyms can be an extended regexp of symbols to exclude
9101 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9102 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9103 # as well as any symbol that contains `d'.
9104 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9105 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9106 # platforms (ab)use it in PIC code, but their linkers get confused if
9107 # the symbol is explicitly referenced. Since portable code cannot
9108 # rely on this symbol name, it's probably fine to never include it in
9109 # preloaded symbol tables.
9110 # Exclude shared library initialization/finalization symbols.
9111 extract_expsyms_cmds=
9113 case $host_os in
9114 cygwin* | mingw* | pw32* | cegcc*)
9115 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9116 # When not using gcc, we currently assume that we are using
9117 # Microsoft Visual C++.
9118 if test "$GCC" != yes; then
9119 with_gnu_ld=no
9122 interix*)
9123 # we just hope/assume this is gcc and not c89 (= MSVC++)
9124 with_gnu_ld=yes
9126 openbsd*)
9127 with_gnu_ld=no
9129 esac
9131 ld_shlibs=yes
9133 # On some targets, GNU ld is compatible enough with the native linker
9134 # that we're better off using the native interface for both.
9135 lt_use_gnu_ld_interface=no
9136 if test "$with_gnu_ld" = yes; then
9137 case $host_os in
9138 aix*)
9139 # The AIX port of GNU ld has always aspired to compatibility
9140 # with the native linker. However, as the warning in the GNU ld
9141 # block says, versions before 2.19.5* couldn't really create working
9142 # shared libraries, regardless of the interface used.
9143 case `$LD -v 2>&1` in
9144 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9145 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9146 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9148 lt_use_gnu_ld_interface=yes
9150 esac
9153 lt_use_gnu_ld_interface=yes
9155 esac
9158 if test "$lt_use_gnu_ld_interface" = yes; then
9159 # If archive_cmds runs LD, not CC, wlarc should be empty
9160 wlarc='${wl}'
9162 # Set some defaults for GNU ld with shared library support. These
9163 # are reset later if shared libraries are not supported. Putting them
9164 # here allows them to be overridden if necessary.
9165 runpath_var=LD_RUN_PATH
9166 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9167 export_dynamic_flag_spec='${wl}--export-dynamic'
9168 # ancient GNU ld didn't support --whole-archive et. al.
9169 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9170 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9171 else
9172 whole_archive_flag_spec=
9174 supports_anon_versioning=no
9175 case `$LD -v 2>&1` in
9176 *GNU\ gold*) supports_anon_versioning=yes ;;
9177 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9178 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9179 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9180 *\ 2.11.*) ;; # other 2.11 versions
9181 *) supports_anon_versioning=yes ;;
9182 esac
9184 # See if GNU ld supports shared libraries.
9185 case $host_os in
9186 aix[3-9]*)
9187 # On AIX/PPC, the GNU linker is very broken
9188 if test "$host_cpu" != ia64; then
9189 ld_shlibs=no
9190 cat <<_LT_EOF 1>&2
9192 *** Warning: the GNU linker, at least up to release 2.19, is reported
9193 *** to be unable to reliably create shared libraries on AIX.
9194 *** Therefore, libtool is disabling shared libraries support. If you
9195 *** really care for shared libraries, you may want to install binutils
9196 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9197 *** You will then need to restart the configuration process.
9199 _LT_EOF
9203 amigaos*)
9204 case $host_cpu in
9205 powerpc)
9206 # see comment about AmigaOS4 .so support
9207 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208 archive_expsym_cmds=''
9210 m68k)
9211 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)'
9212 hardcode_libdir_flag_spec='-L$libdir'
9213 hardcode_minus_L=yes
9215 esac
9218 beos*)
9219 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9220 allow_undefined_flag=unsupported
9221 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9222 # support --undefined. This deserves some investigation. FIXME
9223 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9224 else
9225 ld_shlibs=no
9229 cygwin* | mingw* | pw32* | cegcc*)
9230 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9231 # as there is no search path for DLLs.
9232 hardcode_libdir_flag_spec='-L$libdir'
9233 export_dynamic_flag_spec='${wl}--export-all-symbols'
9234 allow_undefined_flag=unsupported
9235 always_export_symbols=no
9236 enable_shared_with_static_runtimes=yes
9237 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9239 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9240 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9241 # If the export-symbols file already is a .def file (1st line
9242 # is EXPORTS), use it as is; otherwise, prepend...
9243 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9244 cp $export_symbols $output_objdir/$soname.def;
9245 else
9246 echo EXPORTS > $output_objdir/$soname.def;
9247 cat $export_symbols >> $output_objdir/$soname.def;
9249 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9250 else
9251 ld_shlibs=no
9255 haiku*)
9256 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257 link_all_deplibs=yes
9260 interix[3-9]*)
9261 hardcode_direct=no
9262 hardcode_shlibpath_var=no
9263 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9264 export_dynamic_flag_spec='${wl}-E'
9265 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9266 # Instead, shared libraries are loaded at an image base (0x10000000 by
9267 # default) and relocated if they conflict, which is a slow very memory
9268 # consuming and fragmenting process. To avoid this, we pick a random,
9269 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9270 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9271 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9272 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'
9275 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9276 tmp_diet=no
9277 if test "$host_os" = linux-dietlibc; then
9278 case $cc_basename in
9279 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9280 esac
9282 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9283 && test "$tmp_diet" = no
9284 then
9285 tmp_addflag=
9286 tmp_sharedflag='-shared'
9287 case $cc_basename,$host_cpu in
9288 pgcc*) # Portland Group C compiler
9289 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'
9290 tmp_addflag=' $pic_flag'
9292 pgf77* | pgf90* | pgf95* | pgfortran*)
9293 # Portland Group f77 and f90 compilers
9294 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'
9295 tmp_addflag=' $pic_flag -Mnomain' ;;
9296 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9297 tmp_addflag=' -i_dynamic' ;;
9298 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9299 tmp_addflag=' -i_dynamic -nofor_main' ;;
9300 ifc* | ifort*) # Intel Fortran compiler
9301 tmp_addflag=' -nofor_main' ;;
9302 lf95*) # Lahey Fortran 8.1
9303 whole_archive_flag_spec=
9304 tmp_sharedflag='--shared' ;;
9305 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9306 tmp_sharedflag='-qmkshrobj'
9307 tmp_addflag= ;;
9308 nvcc*) # Cuda Compiler Driver 2.2
9309 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'
9310 compiler_needs_object=yes
9312 esac
9313 case `$CC -V 2>&1 | sed 5q` in
9314 *Sun\ C*) # Sun C 5.9
9315 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'
9316 compiler_needs_object=yes
9317 tmp_sharedflag='-G' ;;
9318 *Sun\ F*) # Sun Fortran 8.3
9319 tmp_sharedflag='-G' ;;
9320 esac
9321 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9323 if test "x$supports_anon_versioning" = xyes; then
9324 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9325 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9326 echo "local: *; };" >> $output_objdir/$libname.ver~
9327 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9330 case $cc_basename in
9331 xlf* | bgf* | bgxlf* | mpixlf*)
9332 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9333 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9334 hardcode_libdir_flag_spec=
9335 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9336 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9337 if test "x$supports_anon_versioning" = xyes; then
9338 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9339 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9340 echo "local: *; };" >> $output_objdir/$libname.ver~
9341 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9344 esac
9345 else
9346 ld_shlibs=no
9350 netbsd*)
9351 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9352 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9353 wlarc=
9354 else
9355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9356 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9360 solaris*)
9361 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9362 ld_shlibs=no
9363 cat <<_LT_EOF 1>&2
9365 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9366 *** create shared libraries on Solaris systems. Therefore, libtool
9367 *** is disabling shared libraries support. We urge you to upgrade GNU
9368 *** binutils to release 2.9.1 or newer. Another option is to modify
9369 *** your PATH or compiler configuration so that the native linker is
9370 *** used, and then restart.
9372 _LT_EOF
9373 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9375 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9376 else
9377 ld_shlibs=no
9381 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9382 case `$LD -v 2>&1` in
9383 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9384 ld_shlibs=no
9385 cat <<_LT_EOF 1>&2
9387 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9388 *** reliably create shared libraries on SCO systems. Therefore, libtool
9389 *** is disabling shared libraries support. We urge you to upgrade GNU
9390 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9391 *** your PATH or compiler configuration so that the native linker is
9392 *** used, and then restart.
9394 _LT_EOF
9397 # For security reasons, it is highly recommended that you always
9398 # use absolute paths for naming shared libraries, and exclude the
9399 # DT_RUNPATH tag from executables and libraries. But doing so
9400 # requires that you compile everything twice, which is a pain.
9401 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9402 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9403 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9405 else
9406 ld_shlibs=no
9409 esac
9412 sunos4*)
9413 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9414 wlarc=
9415 hardcode_direct=yes
9416 hardcode_shlibpath_var=no
9420 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9421 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9422 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 else
9424 ld_shlibs=no
9427 esac
9429 if test "$ld_shlibs" = no; then
9430 runpath_var=
9431 hardcode_libdir_flag_spec=
9432 export_dynamic_flag_spec=
9433 whole_archive_flag_spec=
9435 else
9436 # PORTME fill in a description of your system's linker (not GNU ld)
9437 case $host_os in
9438 aix3*)
9439 allow_undefined_flag=unsupported
9440 always_export_symbols=yes
9441 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'
9442 # Note: this linker hardcodes the directories in LIBPATH if there
9443 # are no directories specified by -L.
9444 hardcode_minus_L=yes
9445 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9446 # Neither direct hardcoding nor static linking is supported with a
9447 # broken collect2.
9448 hardcode_direct=unsupported
9452 aix[4-9]*)
9453 if test "$host_cpu" = ia64; then
9454 # On IA64, the linker does run time linking by default, so we don't
9455 # have to do anything special.
9456 aix_use_runtimelinking=no
9457 exp_sym_flag='-Bexport'
9458 no_entry_flag=""
9459 else
9460 # If we're using GNU nm, then we don't want the "-C" option.
9461 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9462 # Also, AIX nm treats weak defined symbols like other global
9463 # defined symbols, whereas GNU nm marks them as "W".
9464 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9465 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'
9466 else
9467 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'
9469 aix_use_runtimelinking=no
9471 # Test if we are trying to use run time linking or normal
9472 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9473 # need to do runtime linking.
9474 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9475 for ld_flag in $LDFLAGS; do
9476 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9477 aix_use_runtimelinking=yes
9478 break
9480 done
9482 esac
9484 exp_sym_flag='-bexport'
9485 no_entry_flag='-bnoentry'
9488 # When large executables or shared objects are built, AIX ld can
9489 # have problems creating the table of contents. If linking a library
9490 # or program results in "error TOC overflow" add -mminimal-toc to
9491 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9492 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9494 archive_cmds=''
9495 hardcode_direct=yes
9496 hardcode_direct_absolute=yes
9497 hardcode_libdir_separator=':'
9498 link_all_deplibs=yes
9499 file_list_spec='${wl}-f,'
9501 if test "$GCC" = yes; then
9502 case $host_os in aix4.[012]|aix4.[012].*)
9503 # We only want to do this on AIX 4.2 and lower, the check
9504 # below for broken collect2 doesn't work under 4.3+
9505 collect2name=`${CC} -print-prog-name=collect2`
9506 if test -f "$collect2name" &&
9507 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9508 then
9509 # We have reworked collect2
9511 else
9512 # We have old collect2
9513 hardcode_direct=unsupported
9514 # It fails to find uninstalled libraries when the uninstalled
9515 # path is not listed in the libpath. Setting hardcode_minus_L
9516 # to unsupported forces relinking
9517 hardcode_minus_L=yes
9518 hardcode_libdir_flag_spec='-L$libdir'
9519 hardcode_libdir_separator=
9522 esac
9523 shared_flag='-shared'
9524 if test "$aix_use_runtimelinking" = yes; then
9525 shared_flag="$shared_flag "'${wl}-G'
9527 else
9528 # not using gcc
9529 if test "$host_cpu" = ia64; then
9530 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9531 # chokes on -Wl,-G. The following line is correct:
9532 shared_flag='-G'
9533 else
9534 if test "$aix_use_runtimelinking" = yes; then
9535 shared_flag='${wl}-G'
9536 else
9537 shared_flag='${wl}-bM:SRE'
9542 export_dynamic_flag_spec='${wl}-bexpall'
9543 # It seems that -bexpall does not export symbols beginning with
9544 # underscore (_), so it is better to generate a list of symbols to export.
9545 always_export_symbols=yes
9546 if test "$aix_use_runtimelinking" = yes; then
9547 # Warning - without using the other runtime loading flags (-brtl),
9548 # -berok will link without error, but may produce a broken library.
9549 allow_undefined_flag='-berok'
9550 # Determine the default libpath from the value encoded in an
9551 # empty executable.
9552 if test x$gcc_no_link = xyes; then
9553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9559 main ()
9563 return 0;
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9568 lt_aix_libpath_sed='
9569 /Import File Strings/,/^$/ {
9570 /^0/ {
9571 s/^0 *\(.*\)$/\1/
9575 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 # Check for a 64-bit object if we didn't find anything.
9577 if test -z "$aix_libpath"; then
9578 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9585 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9586 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"
9587 else
9588 if test "$host_cpu" = ia64; then
9589 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9590 allow_undefined_flag="-z nodefs"
9591 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"
9592 else
9593 # Determine the default libpath from the value encoded in an
9594 # empty executable.
9595 if test x$gcc_no_link = xyes; then
9596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9602 main ()
9606 return 0;
9608 _ACEOF
9609 if ac_fn_c_try_link "$LINENO"; then :
9611 lt_aix_libpath_sed='
9612 /Import File Strings/,/^$/ {
9613 /^0/ {
9614 s/^0 *\(.*\)$/\1/
9618 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9619 # Check for a 64-bit object if we didn't find anything.
9620 if test -z "$aix_libpath"; then
9621 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9628 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9629 # Warning - without using the other run time loading flags,
9630 # -berok will link without error, but may produce a broken library.
9631 no_undefined_flag=' ${wl}-bernotok'
9632 allow_undefined_flag=' ${wl}-berok'
9633 if test "$with_gnu_ld" = yes; then
9634 # We only use this code for GNU lds that support --whole-archive.
9635 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9636 else
9637 # Exported symbols can be pulled into shared objects from archives
9638 whole_archive_flag_spec='$convenience'
9640 archive_cmds_need_lc=yes
9641 # This is similar to how AIX traditionally builds its shared libraries.
9642 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'
9647 amigaos*)
9648 case $host_cpu in
9649 powerpc)
9650 # see comment about AmigaOS4 .so support
9651 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9652 archive_expsym_cmds=''
9654 m68k)
9655 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)'
9656 hardcode_libdir_flag_spec='-L$libdir'
9657 hardcode_minus_L=yes
9659 esac
9662 bsdi[45]*)
9663 export_dynamic_flag_spec=-rdynamic
9666 cygwin* | mingw* | pw32* | cegcc*)
9667 # When not using gcc, we currently assume that we are using
9668 # Microsoft Visual C++.
9669 # hardcode_libdir_flag_spec is actually meaningless, as there is
9670 # no search path for DLLs.
9671 hardcode_libdir_flag_spec=' '
9672 allow_undefined_flag=unsupported
9673 # Tell ltmain to make .lib files, not .a files.
9674 libext=lib
9675 # Tell ltmain to make .dll files, not .so files.
9676 shrext_cmds=".dll"
9677 # FIXME: Setting linknames here is a bad hack.
9678 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9679 # The linker will automatically build a .lib file if we build a DLL.
9680 old_archive_from_new_cmds='true'
9681 # FIXME: Should let the user specify the lib program.
9682 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9683 fix_srcfile_path='`cygpath -w "$srcfile"`'
9684 enable_shared_with_static_runtimes=yes
9687 darwin* | rhapsody*)
9690 archive_cmds_need_lc=no
9691 hardcode_direct=no
9692 hardcode_automatic=yes
9693 hardcode_shlibpath_var=unsupported
9694 if test "$lt_cv_ld_force_load" = "yes"; then
9695 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\"`'
9696 else
9697 whole_archive_flag_spec=''
9699 link_all_deplibs=yes
9700 allow_undefined_flag="$_lt_dar_allow_undefined"
9701 case $cc_basename in
9702 ifort*) _lt_dar_can_shared=yes ;;
9703 *) _lt_dar_can_shared=$GCC ;;
9704 esac
9705 if test "$_lt_dar_can_shared" = "yes"; then
9706 output_verbose_link_cmd=func_echo_all
9707 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9708 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9709 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}"
9710 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}"
9712 else
9713 ld_shlibs=no
9718 dgux*)
9719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9720 hardcode_libdir_flag_spec='-L$libdir'
9721 hardcode_shlibpath_var=no
9724 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9725 # support. Future versions do this automatically, but an explicit c++rt0.o
9726 # does not break anything, and helps significantly (at the cost of a little
9727 # extra space).
9728 freebsd2.2*)
9729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9730 hardcode_libdir_flag_spec='-R$libdir'
9731 hardcode_direct=yes
9732 hardcode_shlibpath_var=no
9735 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9736 freebsd2.*)
9737 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_direct=yes
9739 hardcode_minus_L=yes
9740 hardcode_shlibpath_var=no
9743 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9744 freebsd* | dragonfly*)
9745 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9746 hardcode_libdir_flag_spec='-R$libdir'
9747 hardcode_direct=yes
9748 hardcode_shlibpath_var=no
9751 hpux9*)
9752 if test "$GCC" = yes; then
9753 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'
9754 else
9755 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'
9757 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9758 hardcode_libdir_separator=:
9759 hardcode_direct=yes
9761 # hardcode_minus_L: Not really in the search PATH,
9762 # but as the default location of the library.
9763 hardcode_minus_L=yes
9764 export_dynamic_flag_spec='${wl}-E'
9767 hpux10*)
9768 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9769 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9770 else
9771 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9773 if test "$with_gnu_ld" = no; then
9774 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9775 hardcode_libdir_flag_spec_ld='+b $libdir'
9776 hardcode_libdir_separator=:
9777 hardcode_direct=yes
9778 hardcode_direct_absolute=yes
9779 export_dynamic_flag_spec='${wl}-E'
9780 # hardcode_minus_L: Not really in the search PATH,
9781 # but as the default location of the library.
9782 hardcode_minus_L=yes
9786 hpux11*)
9787 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9788 case $host_cpu in
9789 hppa*64*)
9790 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9792 ia64*)
9793 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9796 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9798 esac
9799 else
9800 case $host_cpu in
9801 hppa*64*)
9802 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 ia64*)
9805 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9809 # Older versions of the 11.00 compiler do not understand -b yet
9810 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9812 $as_echo_n "checking if $CC understands -b... " >&6; }
9813 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9814 $as_echo_n "(cached) " >&6
9815 else
9816 lt_cv_prog_compiler__b=no
9817 save_LDFLAGS="$LDFLAGS"
9818 LDFLAGS="$LDFLAGS -b"
9819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9821 # The linker can only warn and ignore the option if not recognized
9822 # So say no if there are warnings
9823 if test -s conftest.err; then
9824 # Append any errors to the config.log.
9825 cat conftest.err 1>&5
9826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9828 if diff conftest.exp conftest.er2 >/dev/null; then
9829 lt_cv_prog_compiler__b=yes
9831 else
9832 lt_cv_prog_compiler__b=yes
9835 $RM -r conftest*
9836 LDFLAGS="$save_LDFLAGS"
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9840 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9842 if test x"$lt_cv_prog_compiler__b" = xyes; then
9843 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9844 else
9845 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9849 esac
9851 if test "$with_gnu_ld" = no; then
9852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_separator=:
9855 case $host_cpu in
9856 hppa*64*|ia64*)
9857 hardcode_direct=no
9858 hardcode_shlibpath_var=no
9861 hardcode_direct=yes
9862 hardcode_direct_absolute=yes
9863 export_dynamic_flag_spec='${wl}-E'
9865 # hardcode_minus_L: Not really in the search PATH,
9866 # but as the default location of the library.
9867 hardcode_minus_L=yes
9869 esac
9873 irix5* | irix6* | nonstopux*)
9874 if test "$GCC" = yes; then
9875 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'
9876 # Try to use the -exported_symbol ld option, if it does not
9877 # work, assume that -exports_file does not work either and
9878 # implicitly export all symbols.
9879 save_LDFLAGS="$LDFLAGS"
9880 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9881 if test x$gcc_no_link = xyes; then
9882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885 /* end confdefs.h. */
9886 int foo(void) {}
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889 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'
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LDFLAGS="$save_LDFLAGS"
9895 else
9896 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'
9897 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'
9899 archive_cmds_need_lc='no'
9900 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9901 hardcode_libdir_separator=:
9902 inherit_rpath=yes
9903 link_all_deplibs=yes
9906 netbsd*)
9907 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9909 else
9910 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9912 hardcode_libdir_flag_spec='-R$libdir'
9913 hardcode_direct=yes
9914 hardcode_shlibpath_var=no
9917 newsos6)
9918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_direct=yes
9920 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921 hardcode_libdir_separator=:
9922 hardcode_shlibpath_var=no
9925 *nto* | *qnx*)
9928 openbsd*)
9929 if test -f /usr/libexec/ld.so; then
9930 hardcode_direct=yes
9931 hardcode_shlibpath_var=no
9932 hardcode_direct_absolute=yes
9933 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9934 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9936 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9937 export_dynamic_flag_spec='${wl}-E'
9938 else
9939 case $host_os in
9940 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_libdir_flag_spec='-R$libdir'
9945 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9946 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9948 esac
9950 else
9951 ld_shlibs=no
9955 os2*)
9956 hardcode_libdir_flag_spec='-L$libdir'
9957 hardcode_minus_L=yes
9958 allow_undefined_flag=unsupported
9959 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'
9960 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9963 osf3*)
9964 if test "$GCC" = yes; then
9965 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9966 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'
9967 else
9968 allow_undefined_flag=' -expect_unresolved \*'
9969 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'
9971 archive_cmds_need_lc='no'
9972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9973 hardcode_libdir_separator=:
9976 osf4* | osf5*) # as osf3* with the addition of -msym flag
9977 if test "$GCC" = yes; then
9978 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9979 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'
9980 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9981 else
9982 allow_undefined_flag=' -expect_unresolved \*'
9983 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'
9984 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~
9985 $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'
9987 # Both c and cxx compiler support -rpath directly
9988 hardcode_libdir_flag_spec='-rpath $libdir'
9990 archive_cmds_need_lc='no'
9991 hardcode_libdir_separator=:
9994 solaris*)
9995 no_undefined_flag=' -z defs'
9996 if test "$GCC" = yes; then
9997 wlarc='${wl}'
9998 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10000 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10001 else
10002 case `$CC -V 2>&1` in
10003 *"Compilers 5.0"*)
10004 wlarc=''
10005 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10010 wlarc='${wl}'
10011 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10013 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10015 esac
10017 hardcode_libdir_flag_spec='-R$libdir'
10018 hardcode_shlibpath_var=no
10019 case $host_os in
10020 solaris2.[0-5] | solaris2.[0-5].*) ;;
10022 # The compiler driver will combine and reorder linker options,
10023 # but understands `-z linker_flag'. GCC discards it without `$wl',
10024 # but is careful enough not to reorder.
10025 # Supported since Solaris 2.6 (maybe 2.5.1?)
10026 if test "$GCC" = yes; then
10027 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10028 else
10029 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10032 esac
10033 link_all_deplibs=yes
10036 sunos4*)
10037 if test "x$host_vendor" = xsequent; then
10038 # Use $CC to link under sequent, because it throws in some extra .o
10039 # files that make .init and .fini sections work.
10040 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10041 else
10042 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_libdir_flag_spec='-L$libdir'
10045 hardcode_direct=yes
10046 hardcode_minus_L=yes
10047 hardcode_shlibpath_var=no
10050 sysv4)
10051 case $host_vendor in
10052 sni)
10053 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_direct=yes # is this really true???
10056 siemens)
10057 ## LD is ld it makes a PLAMLIB
10058 ## CC just makes a GrossModule.
10059 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10060 reload_cmds='$CC -r -o $output$reload_objs'
10061 hardcode_direct=no
10063 motorola)
10064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10067 esac
10068 runpath_var='LD_RUN_PATH'
10069 hardcode_shlibpath_var=no
10072 sysv4.3*)
10073 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074 hardcode_shlibpath_var=no
10075 export_dynamic_flag_spec='-Bexport'
10078 sysv4*MP*)
10079 if test -d /usr/nec; then
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 runpath_var=LD_RUN_PATH
10083 hardcode_runpath_var=yes
10084 ld_shlibs=yes
10088 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10089 no_undefined_flag='${wl}-z,text'
10090 archive_cmds_need_lc=no
10091 hardcode_shlibpath_var=no
10092 runpath_var='LD_RUN_PATH'
10094 if test "$GCC" = yes; then
10095 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 else
10098 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 sysv5* | sco3.2v5* | sco5v6*)
10104 # Note: We can NOT use -z defs as we might desire, because we do not
10105 # link with -lc, and that would cause any symbols used from libc to
10106 # always be unresolved, which means just about no library would
10107 # ever link correctly. If we're not using GNU ld we use -z text
10108 # though, which does catch some bad symbols but isn't as heavy-handed
10109 # as -z defs.
10110 no_undefined_flag='${wl}-z,text'
10111 allow_undefined_flag='${wl}-z,nodefs'
10112 archive_cmds_need_lc=no
10113 hardcode_shlibpath_var=no
10114 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10115 hardcode_libdir_separator=':'
10116 link_all_deplibs=yes
10117 export_dynamic_flag_spec='${wl}-Bexport'
10118 runpath_var='LD_RUN_PATH'
10120 if test "$GCC" = yes; then
10121 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 else
10124 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 uts4*)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_libdir_flag_spec='-L$libdir'
10132 hardcode_shlibpath_var=no
10136 ld_shlibs=no
10138 esac
10140 if test x$host_vendor = xsni; then
10141 case $host in
10142 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10143 export_dynamic_flag_spec='${wl}-Blargedynsym'
10145 esac
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10150 $as_echo "$ld_shlibs" >&6; }
10151 test "$ld_shlibs" = no && can_build_shared=no
10153 with_gnu_ld=$with_gnu_ld
10170 # Do we need to explicitly link libc?
10172 case "x$archive_cmds_need_lc" in
10173 x|xyes)
10174 # Assume -lc should be added
10175 archive_cmds_need_lc=yes
10177 if test "$enable_shared" = yes && test "$GCC" = yes; then
10178 case $archive_cmds in
10179 *'~'*)
10180 # FIXME: we may have to deal with multi-command sequences.
10182 '$CC '*)
10183 # Test whether the compiler implicitly links with -lc since on some
10184 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10185 # to ld, don't add -lc before -lgcc.
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10187 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10188 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 $RM conftest*
10192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10195 (eval $ac_compile) 2>&5
10196 ac_status=$?
10197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10198 test $ac_status = 0; } 2>conftest.err; then
10199 soname=conftest
10200 lib=conftest
10201 libobjs=conftest.$ac_objext
10202 deplibs=
10203 wl=$lt_prog_compiler_wl
10204 pic_flag=$lt_prog_compiler_pic
10205 compiler_flags=-v
10206 linker_flags=-v
10207 verstring=
10208 output_objdir=.
10209 libname=conftest
10210 lt_save_allow_undefined_flag=$allow_undefined_flag
10211 allow_undefined_flag=
10212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10213 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10214 ac_status=$?
10215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10216 test $ac_status = 0; }
10217 then
10218 lt_cv_archive_cmds_need_lc=no
10219 else
10220 lt_cv_archive_cmds_need_lc=yes
10222 allow_undefined_flag=$lt_save_allow_undefined_flag
10223 else
10224 cat conftest.err 1>&5
10226 $RM conftest*
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10230 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10231 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10233 esac
10236 esac
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10395 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10397 if test "$GCC" = yes; then
10398 case $host_os in
10399 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10400 *) lt_awk_arg="/^libraries:/" ;;
10401 esac
10402 case $host_os in
10403 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10404 *) lt_sed_strip_eq="s,=/,/,g" ;;
10405 esac
10406 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10407 case $lt_search_path_spec in
10408 *\;*)
10409 # if the path contains ";" then we assume it to be the separator
10410 # otherwise default to the standard path separator (i.e. ":") - it is
10411 # assumed that no part of a normal pathname contains ";" but that should
10412 # okay in the real world where ";" in dirpaths is itself problematic.
10413 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10416 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10418 esac
10419 # Ok, now we have the path, separated by spaces, we can step through it
10420 # and add multilib dir if necessary.
10421 lt_tmp_lt_search_path_spec=
10422 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10423 for lt_sys_path in $lt_search_path_spec; do
10424 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10425 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10426 else
10427 test -d "$lt_sys_path" && \
10428 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10430 done
10431 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10432 BEGIN {RS=" "; FS="/|\n";} {
10433 lt_foo="";
10434 lt_count=0;
10435 for (lt_i = NF; lt_i > 0; lt_i--) {
10436 if ($lt_i != "" && $lt_i != ".") {
10437 if ($lt_i == "..") {
10438 lt_count++;
10439 } else {
10440 if (lt_count == 0) {
10441 lt_foo="/" $lt_i lt_foo;
10442 } else {
10443 lt_count--;
10448 if (lt_foo != "") { lt_freq[lt_foo]++; }
10449 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10451 # AWK program above erroneously prepends '/' to C:/dos/paths
10452 # for these hosts.
10453 case $host_os in
10454 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10455 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10456 esac
10457 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10458 else
10459 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10461 library_names_spec=
10462 libname_spec='lib$name'
10463 soname_spec=
10464 shrext_cmds=".so"
10465 postinstall_cmds=
10466 postuninstall_cmds=
10467 finish_cmds=
10468 finish_eval=
10469 shlibpath_var=
10470 shlibpath_overrides_runpath=unknown
10471 version_type=none
10472 dynamic_linker="$host_os ld.so"
10473 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10474 need_lib_prefix=unknown
10475 hardcode_into_libs=no
10477 # when you set need_version to no, make sure it does not cause -set_version
10478 # flags to be left without arguments
10479 need_version=unknown
10481 case $host_os in
10482 aix3*)
10483 version_type=linux
10484 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10485 shlibpath_var=LIBPATH
10487 # AIX 3 has no versioning support, so we append a major version to the name.
10488 soname_spec='${libname}${release}${shared_ext}$major'
10491 aix[4-9]*)
10492 version_type=linux
10493 need_lib_prefix=no
10494 need_version=no
10495 hardcode_into_libs=yes
10496 if test "$host_cpu" = ia64; then
10497 # AIX 5 supports IA64
10498 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10499 shlibpath_var=LD_LIBRARY_PATH
10500 else
10501 # With GCC up to 2.95.x, collect2 would create an import file
10502 # for dependence libraries. The import file would start with
10503 # the line `#! .'. This would cause the generated library to
10504 # depend on `.', always an invalid library. This was fixed in
10505 # development snapshots of GCC prior to 3.0.
10506 case $host_os in
10507 aix4 | aix4.[01] | aix4.[01].*)
10508 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10509 echo ' yes '
10510 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10512 else
10513 can_build_shared=no
10516 esac
10517 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10518 # soname into executable. Probably we can add versioning support to
10519 # collect2, so additional links can be useful in future.
10520 if test "$aix_use_runtimelinking" = yes; then
10521 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10522 # instead of lib<name>.a to let people know that these are not
10523 # typical AIX shared libraries.
10524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525 else
10526 # We preserve .a as extension for shared libraries through AIX4.2
10527 # and later when we are not doing run time linking.
10528 library_names_spec='${libname}${release}.a $libname.a'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10531 shlibpath_var=LIBPATH
10535 amigaos*)
10536 case $host_cpu in
10537 powerpc)
10538 # Since July 2007 AmigaOS4 officially supports .so libraries.
10539 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10542 m68k)
10543 library_names_spec='$libname.ixlibrary $libname.a'
10544 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10545 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'
10547 esac
10550 beos*)
10551 library_names_spec='${libname}${shared_ext}'
10552 dynamic_linker="$host_os ld.so"
10553 shlibpath_var=LIBRARY_PATH
10556 bsdi[45]*)
10557 version_type=linux
10558 need_version=no
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 soname_spec='${libname}${release}${shared_ext}$major'
10561 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10562 shlibpath_var=LD_LIBRARY_PATH
10563 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10564 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10565 # the default ld.so.conf also contains /usr/contrib/lib and
10566 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10567 # libtool to hard-code these into programs
10570 cygwin* | mingw* | pw32* | cegcc*)
10571 version_type=windows
10572 shrext_cmds=".dll"
10573 need_version=no
10574 need_lib_prefix=no
10576 case $GCC,$host_os in
10577 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10578 library_names_spec='$libname.dll.a'
10579 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10580 postinstall_cmds='base_file=`basename \${file}`~
10581 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10582 dldir=$destdir/`dirname \$dlpath`~
10583 test -d \$dldir || mkdir -p \$dldir~
10584 $install_prog $dir/$dlname \$dldir/$dlname~
10585 chmod a+x \$dldir/$dlname~
10586 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10587 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10589 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10590 dlpath=$dir/\$dldll~
10591 $RM \$dlpath'
10592 shlibpath_overrides_runpath=yes
10594 case $host_os in
10595 cygwin*)
10596 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10597 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10601 mingw* | cegcc*)
10602 # MinGW DLLs use traditional 'lib' prefix
10603 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605 pw32*)
10606 # pw32 DLLs use 'pw' prefix rather than 'lib'
10607 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10609 esac
10613 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10615 esac
10616 dynamic_linker='Win32 ld.exe'
10617 # FIXME: first we should search . and the directory the executable is in
10618 shlibpath_var=PATH
10621 darwin* | rhapsody*)
10622 dynamic_linker="$host_os dyld"
10623 version_type=darwin
10624 need_lib_prefix=no
10625 need_version=no
10626 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10627 soname_spec='${libname}${release}${major}$shared_ext'
10628 shlibpath_overrides_runpath=yes
10629 shlibpath_var=DYLD_LIBRARY_PATH
10630 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10632 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10633 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10636 dgux*)
10637 version_type=linux
10638 need_lib_prefix=no
10639 need_version=no
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10641 soname_spec='${libname}${release}${shared_ext}$major'
10642 shlibpath_var=LD_LIBRARY_PATH
10645 freebsd* | dragonfly*)
10646 # DragonFly does not have aout. When/if they implement a new
10647 # versioning mechanism, adjust this.
10648 if test -x /usr/bin/objformat; then
10649 objformat=`/usr/bin/objformat`
10650 else
10651 case $host_os in
10652 freebsd[23].*) objformat=aout ;;
10653 *) objformat=elf ;;
10654 esac
10656 version_type=freebsd-$objformat
10657 case $version_type in
10658 freebsd-elf*)
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10660 need_version=no
10661 need_lib_prefix=no
10663 freebsd-*)
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10665 need_version=yes
10667 esac
10668 shlibpath_var=LD_LIBRARY_PATH
10669 case $host_os in
10670 freebsd2.*)
10671 shlibpath_overrides_runpath=yes
10673 freebsd3.[01]* | freebsdelf3.[01]*)
10674 shlibpath_overrides_runpath=yes
10675 hardcode_into_libs=yes
10677 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10678 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10679 shlibpath_overrides_runpath=no
10680 hardcode_into_libs=yes
10682 *) # from 4.6 on, and DragonFly
10683 shlibpath_overrides_runpath=yes
10684 hardcode_into_libs=yes
10686 esac
10689 gnu*)
10690 version_type=linux
10691 need_lib_prefix=no
10692 need_version=no
10693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10694 soname_spec='${libname}${release}${shared_ext}$major'
10695 shlibpath_var=LD_LIBRARY_PATH
10696 hardcode_into_libs=yes
10699 haiku*)
10700 version_type=linux
10701 need_lib_prefix=no
10702 need_version=no
10703 dynamic_linker="$host_os runtime_loader"
10704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10705 soname_spec='${libname}${release}${shared_ext}$major'
10706 shlibpath_var=LIBRARY_PATH
10707 shlibpath_overrides_runpath=yes
10708 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10709 hardcode_into_libs=yes
10712 hpux9* | hpux10* | hpux11*)
10713 # Give a soname corresponding to the major version so that dld.sl refuses to
10714 # link against other versions.
10715 version_type=sunos
10716 need_lib_prefix=no
10717 need_version=no
10718 case $host_cpu in
10719 ia64*)
10720 shrext_cmds='.so'
10721 hardcode_into_libs=yes
10722 dynamic_linker="$host_os dld.so"
10723 shlibpath_var=LD_LIBRARY_PATH
10724 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 soname_spec='${libname}${release}${shared_ext}$major'
10727 if test "X$HPUX_IA64_MODE" = X32; then
10728 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10729 else
10730 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10732 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10734 hppa*64*)
10735 shrext_cmds='.sl'
10736 hardcode_into_libs=yes
10737 dynamic_linker="$host_os dld.sl"
10738 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10739 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10741 soname_spec='${libname}${release}${shared_ext}$major'
10742 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10743 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10746 shrext_cmds='.sl'
10747 dynamic_linker="$host_os dld.sl"
10748 shlibpath_var=SHLIB_PATH
10749 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751 soname_spec='${libname}${release}${shared_ext}$major'
10753 esac
10754 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10755 postinstall_cmds='chmod 555 $lib'
10756 # or fails outright, so override atomically:
10757 install_override_mode=555
10760 interix[3-9]*)
10761 version_type=linux
10762 need_lib_prefix=no
10763 need_version=no
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10765 soname_spec='${libname}${release}${shared_ext}$major'
10766 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10767 shlibpath_var=LD_LIBRARY_PATH
10768 shlibpath_overrides_runpath=no
10769 hardcode_into_libs=yes
10772 irix5* | irix6* | nonstopux*)
10773 case $host_os in
10774 nonstopux*) version_type=nonstopux ;;
10776 if test "$lt_cv_prog_gnu_ld" = yes; then
10777 version_type=linux
10778 else
10779 version_type=irix
10780 fi ;;
10781 esac
10782 need_lib_prefix=no
10783 need_version=no
10784 soname_spec='${libname}${release}${shared_ext}$major'
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10786 case $host_os in
10787 irix5* | nonstopux*)
10788 libsuff= shlibsuff=
10791 case $LD in # libtool.m4 will add one of these switches to LD
10792 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10793 libsuff= shlibsuff= libmagic=32-bit;;
10794 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10795 libsuff=32 shlibsuff=N32 libmagic=N32;;
10796 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10797 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10798 *) libsuff= shlibsuff= libmagic=never-match;;
10799 esac
10801 esac
10802 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10803 shlibpath_overrides_runpath=no
10804 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10805 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10806 hardcode_into_libs=yes
10809 # No shared lib support for Linux oldld, aout, or coff.
10810 linux*oldld* | linux*aout* | linux*coff*)
10811 dynamic_linker=no
10814 # This must be Linux ELF.
10815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10816 version_type=linux
10817 need_lib_prefix=no
10818 need_version=no
10819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820 soname_spec='${libname}${release}${shared_ext}$major'
10821 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10822 shlibpath_var=LD_LIBRARY_PATH
10823 shlibpath_overrides_runpath=no
10825 # Some binutils ld are patched to set DT_RUNPATH
10826 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 lt_cv_shlibpath_overrides_runpath=no
10830 save_LDFLAGS=$LDFLAGS
10831 save_libdir=$libdir
10832 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10833 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10834 if test x$gcc_no_link = xyes; then
10835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10841 main ()
10845 return 0;
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"; then :
10849 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10850 lt_cv_shlibpath_overrides_runpath=yes
10853 rm -f core conftest.err conftest.$ac_objext \
10854 conftest$ac_exeext conftest.$ac_ext
10855 LDFLAGS=$save_LDFLAGS
10856 libdir=$save_libdir
10860 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10862 # This implies no fast_install, which is unacceptable.
10863 # Some rework will be needed to allow for fast_install
10864 # before this can be enabled.
10865 hardcode_into_libs=yes
10867 # Append ld.so.conf contents to the search path
10868 if test -f /etc/ld.so.conf; then
10869 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' ' '`
10870 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10873 # We used to test for /lib/ld.so.1 and disable shared libraries on
10874 # powerpc, because MkLinux only supported shared libraries with the
10875 # GNU dynamic linker. Since this was broken with cross compilers,
10876 # most powerpc-linux boxes support dynamic linking these days and
10877 # people can always --disable-shared, the test was removed, and we
10878 # assume the GNU/Linux dynamic linker is in use.
10879 dynamic_linker='GNU/Linux ld.so'
10882 netbsd*)
10883 version_type=sunos
10884 need_lib_prefix=no
10885 need_version=no
10886 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10888 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10889 dynamic_linker='NetBSD (a.out) ld.so'
10890 else
10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10892 soname_spec='${libname}${release}${shared_ext}$major'
10893 dynamic_linker='NetBSD ld.elf_so'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath=yes
10897 hardcode_into_libs=yes
10900 newsos6)
10901 version_type=linux
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=yes
10907 *nto* | *qnx*)
10908 version_type=qnx
10909 need_lib_prefix=no
10910 need_version=no
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 shlibpath_var=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath=no
10915 hardcode_into_libs=yes
10916 dynamic_linker='ldqnx.so'
10919 openbsd*)
10920 version_type=sunos
10921 sys_lib_dlsearch_path_spec="/usr/lib"
10922 need_lib_prefix=no
10923 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10924 case $host_os in
10925 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10926 *) need_version=no ;;
10927 esac
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10929 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10930 shlibpath_var=LD_LIBRARY_PATH
10931 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10932 case $host_os in
10933 openbsd2.[89] | openbsd2.[89].*)
10934 shlibpath_overrides_runpath=no
10937 shlibpath_overrides_runpath=yes
10939 esac
10940 else
10941 shlibpath_overrides_runpath=yes
10945 os2*)
10946 libname_spec='$name'
10947 shrext_cmds=".dll"
10948 need_lib_prefix=no
10949 library_names_spec='$libname${shared_ext} $libname.a'
10950 dynamic_linker='OS/2 ld.exe'
10951 shlibpath_var=LIBPATH
10954 osf3* | osf4* | osf5*)
10955 version_type=osf
10956 need_lib_prefix=no
10957 need_version=no
10958 soname_spec='${libname}${release}${shared_ext}$major'
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10962 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10965 rdos*)
10966 dynamic_linker=no
10969 solaris*)
10970 version_type=linux
10971 need_lib_prefix=no
10972 need_version=no
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974 soname_spec='${libname}${release}${shared_ext}$major'
10975 shlibpath_var=LD_LIBRARY_PATH
10976 shlibpath_overrides_runpath=yes
10977 hardcode_into_libs=yes
10978 # ldd complains unless libraries are executable
10979 postinstall_cmds='chmod +x $lib'
10982 sunos4*)
10983 version_type=sunos
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10985 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10986 shlibpath_var=LD_LIBRARY_PATH
10987 shlibpath_overrides_runpath=yes
10988 if test "$with_gnu_ld" = yes; then
10989 need_lib_prefix=no
10991 need_version=yes
10994 sysv4 | sysv4.3*)
10995 version_type=linux
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 case $host_vendor in
11000 sni)
11001 shlibpath_overrides_runpath=no
11002 need_lib_prefix=no
11003 runpath_var=LD_RUN_PATH
11005 siemens)
11006 need_lib_prefix=no
11008 motorola)
11009 need_lib_prefix=no
11010 need_version=no
11011 shlibpath_overrides_runpath=no
11012 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11014 esac
11017 sysv4*MP*)
11018 if test -d /usr/nec ;then
11019 version_type=linux
11020 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11021 soname_spec='$libname${shared_ext}.$major'
11022 shlibpath_var=LD_LIBRARY_PATH
11026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11027 version_type=freebsd-elf
11028 need_lib_prefix=no
11029 need_version=no
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 hardcode_into_libs=yes
11035 if test "$with_gnu_ld" = yes; then
11036 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11037 else
11038 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11039 case $host_os in
11040 sco3.2v5*)
11041 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11043 esac
11045 sys_lib_dlsearch_path_spec='/usr/lib'
11048 tpf*)
11049 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11050 version_type=linux
11051 need_lib_prefix=no
11052 need_version=no
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 shlibpath_var=LD_LIBRARY_PATH
11055 shlibpath_overrides_runpath=no
11056 hardcode_into_libs=yes
11059 uts4*)
11060 version_type=linux
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 shlibpath_var=LD_LIBRARY_PATH
11067 dynamic_linker=no
11069 esac
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11071 $as_echo "$dynamic_linker" >&6; }
11072 test "$dynamic_linker" = no && can_build_shared=no
11074 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11075 if test "$GCC" = yes; then
11076 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11079 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11080 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11082 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11083 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11178 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11179 hardcode_action=
11180 if test -n "$hardcode_libdir_flag_spec" ||
11181 test -n "$runpath_var" ||
11182 test "X$hardcode_automatic" = "Xyes" ; then
11184 # We can hardcode non-existent directories.
11185 if test "$hardcode_direct" != no &&
11186 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11187 # have to relink, otherwise we might link with an installed library
11188 # when we should be linking with a yet-to-be-installed one
11189 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11190 test "$hardcode_minus_L" != no; then
11191 # Linking always hardcodes the temporary library directory.
11192 hardcode_action=relink
11193 else
11194 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11195 hardcode_action=immediate
11197 else
11198 # We cannot hardcode anything, or else we can only hardcode existing
11199 # directories.
11200 hardcode_action=unsupported
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11203 $as_echo "$hardcode_action" >&6; }
11205 if test "$hardcode_action" = relink ||
11206 test "$inherit_rpath" = yes; then
11207 # Fast installation is not supported
11208 enable_fast_install=no
11209 elif test "$shlibpath_overrides_runpath" = yes ||
11210 test "$enable_shared" = no; then
11211 # Fast installation is not necessary
11212 enable_fast_install=needless
11220 if test "x$enable_dlopen" != xyes; then
11221 enable_dlopen=unknown
11222 enable_dlopen_self=unknown
11223 enable_dlopen_self_static=unknown
11224 else
11225 lt_cv_dlopen=no
11226 lt_cv_dlopen_libs=
11228 case $host_os in
11229 beos*)
11230 lt_cv_dlopen="load_add_on"
11231 lt_cv_dlopen_libs=
11232 lt_cv_dlopen_self=yes
11235 mingw* | pw32* | cegcc*)
11236 lt_cv_dlopen="LoadLibrary"
11237 lt_cv_dlopen_libs=
11240 cygwin*)
11241 lt_cv_dlopen="dlopen"
11242 lt_cv_dlopen_libs=
11245 darwin*)
11246 # if libdl is installed we need to link against it
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11248 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_lib_save_LIBS=$LIBS
11253 LIBS="-ldl $LIBS"
11254 if test x$gcc_no_link = xyes; then
11255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char dlopen ();
11268 main ()
11270 return dlopen ();
11272 return 0;
11274 _ACEOF
11275 if ac_fn_c_try_link "$LINENO"; then :
11276 ac_cv_lib_dl_dlopen=yes
11277 else
11278 ac_cv_lib_dl_dlopen=no
11280 rm -f core conftest.err conftest.$ac_objext \
11281 conftest$ac_exeext conftest.$ac_ext
11282 LIBS=$ac_check_lib_save_LIBS
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11285 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11286 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11287 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11288 else
11290 lt_cv_dlopen="dyld"
11291 lt_cv_dlopen_libs=
11292 lt_cv_dlopen_self=yes
11299 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11300 if test "x$ac_cv_func_shl_load" = x""yes; then :
11301 lt_cv_dlopen="shl_load"
11302 else
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11304 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11305 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11306 $as_echo_n "(cached) " >&6
11307 else
11308 ac_check_lib_save_LIBS=$LIBS
11309 LIBS="-ldld $LIBS"
11310 if test x$gcc_no_link = xyes; then
11311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char shl_load ();
11324 main ()
11326 return shl_load ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 ac_cv_lib_dld_shl_load=yes
11333 else
11334 ac_cv_lib_dld_shl_load=no
11336 rm -f core conftest.err conftest.$ac_objext \
11337 conftest$ac_exeext conftest.$ac_ext
11338 LIBS=$ac_check_lib_save_LIBS
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11341 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11342 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11343 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11344 else
11345 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11346 if test "x$ac_cv_func_dlopen" = x""yes; then :
11347 lt_cv_dlopen="dlopen"
11348 else
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11350 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11351 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_lib_save_LIBS=$LIBS
11355 LIBS="-ldl $LIBS"
11356 if test x$gcc_no_link = xyes; then
11357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11362 /* Override any GCC internal prototype to avoid an error.
11363 Use char because int might match the return type of a GCC
11364 builtin and then its argument prototype would still apply. */
11365 #ifdef __cplusplus
11366 extern "C"
11367 #endif
11368 char dlopen ();
11370 main ()
11372 return dlopen ();
11374 return 0;
11376 _ACEOF
11377 if ac_fn_c_try_link "$LINENO"; then :
11378 ac_cv_lib_dl_dlopen=yes
11379 else
11380 ac_cv_lib_dl_dlopen=no
11382 rm -f core conftest.err conftest.$ac_objext \
11383 conftest$ac_exeext conftest.$ac_ext
11384 LIBS=$ac_check_lib_save_LIBS
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11387 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11388 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11389 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11390 else
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11392 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11393 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_lib_save_LIBS=$LIBS
11397 LIBS="-lsvld $LIBS"
11398 if test x$gcc_no_link = xyes; then
11399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char dlopen ();
11412 main ()
11414 return dlopen ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 ac_cv_lib_svld_dlopen=yes
11421 else
11422 ac_cv_lib_svld_dlopen=no
11424 rm -f core conftest.err conftest.$ac_objext \
11425 conftest$ac_exeext conftest.$ac_ext
11426 LIBS=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11429 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11430 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11431 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11432 else
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11434 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11435 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11436 $as_echo_n "(cached) " >&6
11437 else
11438 ac_check_lib_save_LIBS=$LIBS
11439 LIBS="-ldld $LIBS"
11440 if test x$gcc_no_link = xyes; then
11441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char dld_link ();
11454 main ()
11456 return dld_link ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 ac_cv_lib_dld_dld_link=yes
11463 else
11464 ac_cv_lib_dld_dld_link=no
11466 rm -f core conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11471 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11472 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11473 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11492 esac
11494 if test "x$lt_cv_dlopen" != xno; then
11495 enable_dlopen=yes
11496 else
11497 enable_dlopen=no
11500 case $lt_cv_dlopen in
11501 dlopen)
11502 save_CPPFLAGS="$CPPFLAGS"
11503 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11505 save_LDFLAGS="$LDFLAGS"
11506 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11508 save_LIBS="$LIBS"
11509 LIBS="$lt_cv_dlopen_libs $LIBS"
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11512 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11513 if test "${lt_cv_dlopen_self+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 if test "$cross_compiling" = yes; then :
11517 lt_cv_dlopen_self=cross
11518 else
11519 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11520 lt_status=$lt_dlunknown
11521 cat > conftest.$ac_ext <<_LT_EOF
11522 #line 11522 "configure"
11523 #include "confdefs.h"
11525 #if HAVE_DLFCN_H
11526 #include <dlfcn.h>
11527 #endif
11529 #include <stdio.h>
11531 #ifdef RTLD_GLOBAL
11532 # define LT_DLGLOBAL RTLD_GLOBAL
11533 #else
11534 # ifdef DL_GLOBAL
11535 # define LT_DLGLOBAL DL_GLOBAL
11536 # else
11537 # define LT_DLGLOBAL 0
11538 # endif
11539 #endif
11541 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11542 find out it does not work in some platform. */
11543 #ifndef LT_DLLAZY_OR_NOW
11544 # ifdef RTLD_LAZY
11545 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11546 # else
11547 # ifdef DL_LAZY
11548 # define LT_DLLAZY_OR_NOW DL_LAZY
11549 # else
11550 # ifdef RTLD_NOW
11551 # define LT_DLLAZY_OR_NOW RTLD_NOW
11552 # else
11553 # ifdef DL_NOW
11554 # define LT_DLLAZY_OR_NOW DL_NOW
11555 # else
11556 # define LT_DLLAZY_OR_NOW 0
11557 # endif
11558 # endif
11559 # endif
11560 # endif
11561 #endif
11563 /* When -fvisbility=hidden is used, assume the code has been annotated
11564 correspondingly for the symbols needed. */
11565 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11566 void fnord () __attribute__((visibility("default")));
11567 #endif
11569 void fnord () { int i=42; }
11570 int main ()
11572 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11573 int status = $lt_dlunknown;
11575 if (self)
11577 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11578 else
11580 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11581 else puts (dlerror ());
11583 /* dlclose (self); */
11585 else
11586 puts (dlerror ());
11588 return status;
11590 _LT_EOF
11591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11592 (eval $ac_link) 2>&5
11593 ac_status=$?
11594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11595 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11596 (./conftest; exit; ) >&5 2>/dev/null
11597 lt_status=$?
11598 case x$lt_status in
11599 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11600 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11601 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11602 esac
11603 else :
11604 # compilation failed
11605 lt_cv_dlopen_self=no
11608 rm -fr conftest*
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11613 $as_echo "$lt_cv_dlopen_self" >&6; }
11615 if test "x$lt_cv_dlopen_self" = xyes; then
11616 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11618 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11619 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11620 $as_echo_n "(cached) " >&6
11621 else
11622 if test "$cross_compiling" = yes; then :
11623 lt_cv_dlopen_self_static=cross
11624 else
11625 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11626 lt_status=$lt_dlunknown
11627 cat > conftest.$ac_ext <<_LT_EOF
11628 #line 11628 "configure"
11629 #include "confdefs.h"
11631 #if HAVE_DLFCN_H
11632 #include <dlfcn.h>
11633 #endif
11635 #include <stdio.h>
11637 #ifdef RTLD_GLOBAL
11638 # define LT_DLGLOBAL RTLD_GLOBAL
11639 #else
11640 # ifdef DL_GLOBAL
11641 # define LT_DLGLOBAL DL_GLOBAL
11642 # else
11643 # define LT_DLGLOBAL 0
11644 # endif
11645 #endif
11647 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11648 find out it does not work in some platform. */
11649 #ifndef LT_DLLAZY_OR_NOW
11650 # ifdef RTLD_LAZY
11651 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11652 # else
11653 # ifdef DL_LAZY
11654 # define LT_DLLAZY_OR_NOW DL_LAZY
11655 # else
11656 # ifdef RTLD_NOW
11657 # define LT_DLLAZY_OR_NOW RTLD_NOW
11658 # else
11659 # ifdef DL_NOW
11660 # define LT_DLLAZY_OR_NOW DL_NOW
11661 # else
11662 # define LT_DLLAZY_OR_NOW 0
11663 # endif
11664 # endif
11665 # endif
11666 # endif
11667 #endif
11669 /* When -fvisbility=hidden is used, assume the code has been annotated
11670 correspondingly for the symbols needed. */
11671 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11672 void fnord () __attribute__((visibility("default")));
11673 #endif
11675 void fnord () { int i=42; }
11676 int main ()
11678 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11679 int status = $lt_dlunknown;
11681 if (self)
11683 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11684 else
11686 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11687 else puts (dlerror ());
11689 /* dlclose (self); */
11691 else
11692 puts (dlerror ());
11694 return status;
11696 _LT_EOF
11697 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11698 (eval $ac_link) 2>&5
11699 ac_status=$?
11700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11701 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11702 (./conftest; exit; ) >&5 2>/dev/null
11703 lt_status=$?
11704 case x$lt_status in
11705 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11706 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11707 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11708 esac
11709 else :
11710 # compilation failed
11711 lt_cv_dlopen_self_static=no
11714 rm -fr conftest*
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11719 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11722 CPPFLAGS="$save_CPPFLAGS"
11723 LDFLAGS="$save_LDFLAGS"
11724 LIBS="$save_LIBS"
11726 esac
11728 case $lt_cv_dlopen_self in
11729 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11730 *) enable_dlopen_self=unknown ;;
11731 esac
11733 case $lt_cv_dlopen_self_static in
11734 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11735 *) enable_dlopen_self_static=unknown ;;
11736 esac
11755 striplib=
11756 old_striplib=
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11758 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11759 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11760 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11761 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11763 $as_echo "yes" >&6; }
11764 else
11765 # FIXME - insert some real tests, host_os isn't really good enough
11766 case $host_os in
11767 darwin*)
11768 if test -n "$STRIP" ; then
11769 striplib="$STRIP -x"
11770 old_striplib="$STRIP -S"
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11772 $as_echo "yes" >&6; }
11773 else
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11782 esac
11796 # Report which library types will actually be built
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11798 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11800 $as_echo "$can_build_shared" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11803 $as_echo_n "checking whether to build shared libraries... " >&6; }
11804 test "$can_build_shared" = "no" && enable_shared=no
11806 # On AIX, shared libraries and static libraries use the same namespace, and
11807 # are all built from PIC.
11808 case $host_os in
11809 aix3*)
11810 test "$enable_shared" = yes && enable_static=no
11811 if test -n "$RANLIB"; then
11812 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11813 postinstall_cmds='$RANLIB $lib'
11817 aix[4-9]*)
11818 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11819 test "$enable_shared" = yes && enable_static=no
11822 esac
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11824 $as_echo "$enable_shared" >&6; }
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11827 $as_echo_n "checking whether to build static libraries... " >&6; }
11828 # Make sure either enable_shared or enable_static is yes.
11829 test "$enable_shared" = yes || enable_static=yes
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11831 $as_echo "$enable_static" >&6; }
11837 ac_ext=c
11838 ac_cpp='$CPP $CPPFLAGS'
11839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11843 CC="$lt_save_CC"
11845 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11846 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11847 (test "X$CXX" != "Xg++"))) ; then
11848 ac_ext=cpp
11849 ac_cpp='$CXXCPP $CPPFLAGS'
11850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11854 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11855 if test -z "$CXXCPP"; then
11856 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11857 $as_echo_n "(cached) " >&6
11858 else
11859 # Double quotes because CXXCPP needs to be expanded
11860 for CXXCPP in "$CXX -E" "/lib/cpp"
11862 ac_preproc_ok=false
11863 for ac_cxx_preproc_warn_flag in '' yes
11865 # Use a header file that comes with gcc, so configuring glibc
11866 # with a fresh cross-compiler works.
11867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11868 # <limits.h> exists even on freestanding compilers.
11869 # On the NeXT, cc -E runs the code through the compiler's parser,
11870 # not just through cpp. "Syntax error" is here to catch this case.
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11873 #ifdef __STDC__
11874 # include <limits.h>
11875 #else
11876 # include <assert.h>
11877 #endif
11878 Syntax error
11879 _ACEOF
11880 if ac_fn_cxx_try_cpp "$LINENO"; then :
11882 else
11883 # Broken: fails on valid input.
11884 continue
11886 rm -f conftest.err conftest.$ac_ext
11888 # OK, works on sane cases. Now check whether nonexistent headers
11889 # can be detected and how.
11890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11892 #include <ac_nonexistent.h>
11893 _ACEOF
11894 if ac_fn_cxx_try_cpp "$LINENO"; then :
11895 # Broken: success on invalid input.
11896 continue
11897 else
11898 # Passes both tests.
11899 ac_preproc_ok=:
11900 break
11902 rm -f conftest.err conftest.$ac_ext
11904 done
11905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11906 rm -f conftest.err conftest.$ac_ext
11907 if $ac_preproc_ok; then :
11908 break
11911 done
11912 ac_cv_prog_CXXCPP=$CXXCPP
11915 CXXCPP=$ac_cv_prog_CXXCPP
11916 else
11917 ac_cv_prog_CXXCPP=$CXXCPP
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11920 $as_echo "$CXXCPP" >&6; }
11921 ac_preproc_ok=false
11922 for ac_cxx_preproc_warn_flag in '' yes
11924 # Use a header file that comes with gcc, so configuring glibc
11925 # with a fresh cross-compiler works.
11926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11927 # <limits.h> exists even on freestanding compilers.
11928 # On the NeXT, cc -E runs the code through the compiler's parser,
11929 # not just through cpp. "Syntax error" is here to catch this case.
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 #ifdef __STDC__
11933 # include <limits.h>
11934 #else
11935 # include <assert.h>
11936 #endif
11937 Syntax error
11938 _ACEOF
11939 if ac_fn_cxx_try_cpp "$LINENO"; then :
11941 else
11942 # Broken: fails on valid input.
11943 continue
11945 rm -f conftest.err conftest.$ac_ext
11947 # OK, works on sane cases. Now check whether nonexistent headers
11948 # can be detected and how.
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #include <ac_nonexistent.h>
11952 _ACEOF
11953 if ac_fn_cxx_try_cpp "$LINENO"; then :
11954 # Broken: success on invalid input.
11955 continue
11956 else
11957 # Passes both tests.
11958 ac_preproc_ok=:
11959 break
11961 rm -f conftest.err conftest.$ac_ext
11963 done
11964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11965 rm -f conftest.err conftest.$ac_ext
11966 if $ac_preproc_ok; then :
11968 else
11969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11971 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11972 See \`config.log' for more details." "$LINENO" 5; }
11975 ac_ext=c
11976 ac_cpp='$CPP $CPPFLAGS'
11977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11981 else
11982 _lt_caught_CXX_error=yes
11985 ac_ext=cpp
11986 ac_cpp='$CXXCPP $CPPFLAGS'
11987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11991 archive_cmds_need_lc_CXX=no
11992 allow_undefined_flag_CXX=
11993 always_export_symbols_CXX=no
11994 archive_expsym_cmds_CXX=
11995 compiler_needs_object_CXX=no
11996 export_dynamic_flag_spec_CXX=
11997 hardcode_direct_CXX=no
11998 hardcode_direct_absolute_CXX=no
11999 hardcode_libdir_flag_spec_CXX=
12000 hardcode_libdir_flag_spec_ld_CXX=
12001 hardcode_libdir_separator_CXX=
12002 hardcode_minus_L_CXX=no
12003 hardcode_shlibpath_var_CXX=unsupported
12004 hardcode_automatic_CXX=no
12005 inherit_rpath_CXX=no
12006 module_cmds_CXX=
12007 module_expsym_cmds_CXX=
12008 link_all_deplibs_CXX=unknown
12009 old_archive_cmds_CXX=$old_archive_cmds
12010 reload_flag_CXX=$reload_flag
12011 reload_cmds_CXX=$reload_cmds
12012 no_undefined_flag_CXX=
12013 whole_archive_flag_spec_CXX=
12014 enable_shared_with_static_runtimes_CXX=no
12016 # Source file extension for C++ test sources.
12017 ac_ext=cpp
12019 # Object file extension for compiled C++ test sources.
12020 objext=o
12021 objext_CXX=$objext
12023 # No sense in running all these tests if we already determined that
12024 # the CXX compiler isn't working. Some variables (like enable_shared)
12025 # are currently assumed to apply to all compilers on this platform,
12026 # and will be corrupted by setting them based on a non-working compiler.
12027 if test "$_lt_caught_CXX_error" != yes; then
12028 # Code to be used in simple compile tests
12029 lt_simple_compile_test_code="int some_variable = 0;"
12031 # Code to be used in simple link tests
12032 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12034 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12041 # If no C compiler was specified, use CC.
12042 LTCC=${LTCC-"$CC"}
12044 # If no C compiler flags were specified, use CFLAGS.
12045 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12047 # Allow CC to be a program name with arguments.
12048 compiler=$CC
12051 # save warnings/boilerplate of simple test code
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12054 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_compiler_boilerplate=`cat conftest.err`
12056 $RM conftest*
12058 ac_outfile=conftest.$ac_objext
12059 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12060 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12061 _lt_linker_boilerplate=`cat conftest.err`
12062 $RM -r conftest*
12065 # Allow CC to be a program name with arguments.
12066 lt_save_CC=$CC
12067 lt_save_LD=$LD
12068 lt_save_GCC=$GCC
12069 GCC=$GXX
12070 lt_save_with_gnu_ld=$with_gnu_ld
12071 lt_save_path_LD=$lt_cv_path_LD
12072 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12073 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12074 else
12075 $as_unset lt_cv_prog_gnu_ld
12077 if test -n "${lt_cv_path_LDCXX+set}"; then
12078 lt_cv_path_LD=$lt_cv_path_LDCXX
12079 else
12080 $as_unset lt_cv_path_LD
12082 test -z "${LDCXX+set}" || LD=$LDCXX
12083 CC=${CXX-"c++"}
12084 compiler=$CC
12085 compiler_CXX=$CC
12086 for cc_temp in $compiler""; do
12087 case $cc_temp in
12088 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12089 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12090 \-*) ;;
12091 *) break;;
12092 esac
12093 done
12094 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12097 if test -n "$compiler"; then
12098 # We don't want -fno-exception when compiling C++ code, so set the
12099 # no_builtin_flag separately
12100 if test "$GXX" = yes; then
12101 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12102 else
12103 lt_prog_compiler_no_builtin_flag_CXX=
12106 if test "$GXX" = yes; then
12107 # Set up default GNU C++ configuration
12111 # Check whether --with-gnu-ld was given.
12112 if test "${with_gnu_ld+set}" = set; then :
12113 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12114 else
12115 with_gnu_ld=no
12118 ac_prog=ld
12119 if test "$GCC" = yes; then
12120 # Check if gcc -print-prog-name=ld gives a path.
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12122 $as_echo_n "checking for ld used by $CC... " >&6; }
12123 case $host in
12124 *-*-mingw*)
12125 # gcc leaves a trailing carriage return which upsets mingw
12126 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12128 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12129 esac
12130 case $ac_prog in
12131 # Accept absolute paths.
12132 [\\/]* | ?:[\\/]*)
12133 re_direlt='/[^/][^/]*/\.\./'
12134 # Canonicalize the pathname of ld
12135 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12136 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12137 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12138 done
12139 test -z "$LD" && LD="$ac_prog"
12142 # If it fails, then pretend we aren't using GCC.
12143 ac_prog=ld
12146 # If it is relative, then search for the first ld in PATH.
12147 with_gnu_ld=unknown
12149 esac
12150 elif test "$with_gnu_ld" = yes; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12152 $as_echo_n "checking for GNU ld... " >&6; }
12153 else
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12155 $as_echo_n "checking for non-GNU ld... " >&6; }
12157 if test "${lt_cv_path_LD+set}" = set; then :
12158 $as_echo_n "(cached) " >&6
12159 else
12160 if test -z "$LD"; then
12161 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12162 for ac_dir in $PATH; do
12163 IFS="$lt_save_ifs"
12164 test -z "$ac_dir" && ac_dir=.
12165 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12166 lt_cv_path_LD="$ac_dir/$ac_prog"
12167 # Check to see if the program is GNU ld. I'd rather use --version,
12168 # but apparently some variants of GNU ld only accept -v.
12169 # Break only if it was the GNU/non-GNU ld that we prefer.
12170 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 test "$with_gnu_ld" != no && break
12175 test "$with_gnu_ld" != yes && break
12177 esac
12179 done
12180 IFS="$lt_save_ifs"
12181 else
12182 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12186 LD="$lt_cv_path_LD"
12187 if test -n "$LD"; then
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12189 $as_echo "$LD" >&6; }
12190 else
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12192 $as_echo "no" >&6; }
12194 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12197 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12198 $as_echo_n "(cached) " >&6
12199 else
12200 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12201 case `$LD -v 2>&1 </dev/null` in
12202 *GNU* | *'with BFD'*)
12203 lt_cv_prog_gnu_ld=yes
12206 lt_cv_prog_gnu_ld=no
12208 esac
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12211 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12212 with_gnu_ld=$lt_cv_prog_gnu_ld
12220 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12221 # archiving commands below assume that GNU ld is being used.
12222 if test "$with_gnu_ld" = yes; then
12223 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12224 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'
12226 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12227 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12229 # If archive_cmds runs LD, not CC, wlarc should be empty
12230 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12231 # investigate it a little bit more. (MM)
12232 wlarc='${wl}'
12234 # ancient GNU ld didn't support --whole-archive et. al.
12235 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12236 $GREP 'no-whole-archive' > /dev/null; then
12237 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12238 else
12239 whole_archive_flag_spec_CXX=
12241 else
12242 with_gnu_ld=no
12243 wlarc=
12245 # A generic and very simple default shared library creation
12246 # command for GNU C++ for the case where it uses the native
12247 # linker, instead of GNU ld. If possible, this setting should
12248 # overridden to take advantage of the native linker features on
12249 # the platform it is being used on.
12250 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12253 # Commands to make compiler produce verbose output that lists
12254 # what "hidden" libraries, object files and flags are used when
12255 # linking a shared library.
12256 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12258 else
12259 GXX=no
12260 with_gnu_ld=no
12261 wlarc=
12264 # PORTME: fill in a description of your system's C++ link characteristics
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12266 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12267 ld_shlibs_CXX=yes
12268 case $host_os in
12269 aix3*)
12270 # FIXME: insert proper C++ library support
12271 ld_shlibs_CXX=no
12273 aix[4-9]*)
12274 if test "$host_cpu" = ia64; then
12275 # On IA64, the linker does run time linking by default, so we don't
12276 # have to do anything special.
12277 aix_use_runtimelinking=no
12278 exp_sym_flag='-Bexport'
12279 no_entry_flag=""
12280 else
12281 aix_use_runtimelinking=no
12283 # Test if we are trying to use run time linking or normal
12284 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12285 # need to do runtime linking.
12286 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12287 for ld_flag in $LDFLAGS; do
12288 case $ld_flag in
12289 *-brtl*)
12290 aix_use_runtimelinking=yes
12291 break
12293 esac
12294 done
12296 esac
12298 exp_sym_flag='-bexport'
12299 no_entry_flag='-bnoentry'
12302 # When large executables or shared objects are built, AIX ld can
12303 # have problems creating the table of contents. If linking a library
12304 # or program results in "error TOC overflow" add -mminimal-toc to
12305 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12306 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12308 archive_cmds_CXX=''
12309 hardcode_direct_CXX=yes
12310 hardcode_direct_absolute_CXX=yes
12311 hardcode_libdir_separator_CXX=':'
12312 link_all_deplibs_CXX=yes
12313 file_list_spec_CXX='${wl}-f,'
12315 if test "$GXX" = yes; then
12316 case $host_os in aix4.[012]|aix4.[012].*)
12317 # We only want to do this on AIX 4.2 and lower, the check
12318 # below for broken collect2 doesn't work under 4.3+
12319 collect2name=`${CC} -print-prog-name=collect2`
12320 if test -f "$collect2name" &&
12321 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12322 then
12323 # We have reworked collect2
12325 else
12326 # We have old collect2
12327 hardcode_direct_CXX=unsupported
12328 # It fails to find uninstalled libraries when the uninstalled
12329 # path is not listed in the libpath. Setting hardcode_minus_L
12330 # to unsupported forces relinking
12331 hardcode_minus_L_CXX=yes
12332 hardcode_libdir_flag_spec_CXX='-L$libdir'
12333 hardcode_libdir_separator_CXX=
12335 esac
12336 shared_flag='-shared'
12337 if test "$aix_use_runtimelinking" = yes; then
12338 shared_flag="$shared_flag "'${wl}-G'
12340 else
12341 # not using gcc
12342 if test "$host_cpu" = ia64; then
12343 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12344 # chokes on -Wl,-G. The following line is correct:
12345 shared_flag='-G'
12346 else
12347 if test "$aix_use_runtimelinking" = yes; then
12348 shared_flag='${wl}-G'
12349 else
12350 shared_flag='${wl}-bM:SRE'
12355 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12356 # It seems that -bexpall does not export symbols beginning with
12357 # underscore (_), so it is better to generate a list of symbols to
12358 # export.
12359 always_export_symbols_CXX=yes
12360 if test "$aix_use_runtimelinking" = yes; then
12361 # Warning - without using the other runtime loading flags (-brtl),
12362 # -berok will link without error, but may produce a broken library.
12363 allow_undefined_flag_CXX='-berok'
12364 # Determine the default libpath from the value encoded in an empty
12365 # executable.
12366 if test x$gcc_no_link = xyes; then
12367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12373 main ()
12377 return 0;
12379 _ACEOF
12380 if ac_fn_cxx_try_link "$LINENO"; then :
12382 lt_aix_libpath_sed='
12383 /Import File Strings/,/^$/ {
12384 /^0/ {
12385 s/^0 *\(.*\)$/\1/
12389 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12390 # Check for a 64-bit object if we didn't find anything.
12391 if test -z "$aix_libpath"; then
12392 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12395 rm -f core conftest.err conftest.$ac_objext \
12396 conftest$ac_exeext conftest.$ac_ext
12397 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12399 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12401 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"
12402 else
12403 if test "$host_cpu" = ia64; then
12404 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12405 allow_undefined_flag_CXX="-z nodefs"
12406 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"
12407 else
12408 # Determine the default libpath from the value encoded in an
12409 # empty executable.
12410 if test x$gcc_no_link = xyes; then
12411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12417 main ()
12421 return 0;
12423 _ACEOF
12424 if ac_fn_cxx_try_link "$LINENO"; then :
12426 lt_aix_libpath_sed='
12427 /Import File Strings/,/^$/ {
12428 /^0/ {
12429 s/^0 *\(.*\)$/\1/
12433 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12434 # Check for a 64-bit object if we didn't find anything.
12435 if test -z "$aix_libpath"; then
12436 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12439 rm -f core conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12443 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12444 # Warning - without using the other run time loading flags,
12445 # -berok will link without error, but may produce a broken library.
12446 no_undefined_flag_CXX=' ${wl}-bernotok'
12447 allow_undefined_flag_CXX=' ${wl}-berok'
12448 if test "$with_gnu_ld" = yes; then
12449 # We only use this code for GNU lds that support --whole-archive.
12450 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12451 else
12452 # Exported symbols can be pulled into shared objects from archives
12453 whole_archive_flag_spec_CXX='$convenience'
12455 archive_cmds_need_lc_CXX=yes
12456 # This is similar to how AIX traditionally builds its shared
12457 # libraries.
12458 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'
12463 beos*)
12464 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12465 allow_undefined_flag_CXX=unsupported
12466 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12467 # support --undefined. This deserves some investigation. FIXME
12468 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12469 else
12470 ld_shlibs_CXX=no
12474 chorus*)
12475 case $cc_basename in
12477 # FIXME: insert proper C++ library support
12478 ld_shlibs_CXX=no
12480 esac
12483 cygwin* | mingw* | pw32* | cegcc*)
12484 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12485 # as there is no search path for DLLs.
12486 hardcode_libdir_flag_spec_CXX='-L$libdir'
12487 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12488 allow_undefined_flag_CXX=unsupported
12489 always_export_symbols_CXX=no
12490 enable_shared_with_static_runtimes_CXX=yes
12492 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12493 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'
12494 # If the export-symbols file already is a .def file (1st line
12495 # is EXPORTS), use it as is; otherwise, prepend...
12496 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12497 cp $export_symbols $output_objdir/$soname.def;
12498 else
12499 echo EXPORTS > $output_objdir/$soname.def;
12500 cat $export_symbols >> $output_objdir/$soname.def;
12502 $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'
12503 else
12504 ld_shlibs_CXX=no
12507 darwin* | rhapsody*)
12510 archive_cmds_need_lc_CXX=no
12511 hardcode_direct_CXX=no
12512 hardcode_automatic_CXX=yes
12513 hardcode_shlibpath_var_CXX=unsupported
12514 if test "$lt_cv_ld_force_load" = "yes"; then
12515 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\"`'
12516 else
12517 whole_archive_flag_spec_CXX=''
12519 link_all_deplibs_CXX=yes
12520 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12521 case $cc_basename in
12522 ifort*) _lt_dar_can_shared=yes ;;
12523 *) _lt_dar_can_shared=$GCC ;;
12524 esac
12525 if test "$_lt_dar_can_shared" = "yes"; then
12526 output_verbose_link_cmd=func_echo_all
12527 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}"
12528 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12529 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}"
12530 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}"
12531 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12532 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}"
12533 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}"
12536 else
12537 ld_shlibs_CXX=no
12542 dgux*)
12543 case $cc_basename in
12544 ec++*)
12545 # FIXME: insert proper C++ library support
12546 ld_shlibs_CXX=no
12548 ghcx*)
12549 # Green Hills C++ Compiler
12550 # FIXME: insert proper C++ library support
12551 ld_shlibs_CXX=no
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12557 esac
12560 freebsd2.*)
12561 # C++ shared libraries reported to be fairly broken before
12562 # switch to ELF
12563 ld_shlibs_CXX=no
12566 freebsd-elf*)
12567 archive_cmds_need_lc_CXX=no
12570 freebsd* | dragonfly*)
12571 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12572 # conventions
12573 ld_shlibs_CXX=yes
12576 gnu*)
12579 haiku*)
12580 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12581 link_all_deplibs_CXX=yes
12584 hpux9*)
12585 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12586 hardcode_libdir_separator_CXX=:
12587 export_dynamic_flag_spec_CXX='${wl}-E'
12588 hardcode_direct_CXX=yes
12589 hardcode_minus_L_CXX=yes # Not in the search PATH,
12590 # but as the default
12591 # location of the library.
12593 case $cc_basename in
12594 CC*)
12595 # FIXME: insert proper C++ library support
12596 ld_shlibs_CXX=no
12598 aCC*)
12599 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'
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12607 # dependencies.
12608 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"'
12611 if test "$GXX" = yes; then
12612 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'
12613 else
12614 # FIXME: insert proper C++ library support
12615 ld_shlibs_CXX=no
12618 esac
12621 hpux10*|hpux11*)
12622 if test $with_gnu_ld = no; then
12623 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12624 hardcode_libdir_separator_CXX=:
12626 case $host_cpu in
12627 hppa*64*|ia64*)
12630 export_dynamic_flag_spec_CXX='${wl}-E'
12632 esac
12634 case $host_cpu in
12635 hppa*64*|ia64*)
12636 hardcode_direct_CXX=no
12637 hardcode_shlibpath_var_CXX=no
12640 hardcode_direct_CXX=yes
12641 hardcode_direct_absolute_CXX=yes
12642 hardcode_minus_L_CXX=yes # Not in the search PATH,
12643 # but as the default
12644 # location of the library.
12646 esac
12648 case $cc_basename in
12649 CC*)
12650 # FIXME: insert proper C++ library support
12651 ld_shlibs_CXX=no
12653 aCC*)
12654 case $host_cpu in
12655 hppa*64*)
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 ia64*)
12659 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12662 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664 esac
12665 # Commands to make compiler produce verbose output that lists
12666 # what "hidden" libraries, object files and flags are used when
12667 # linking a shared library.
12669 # There doesn't appear to be a way to prevent this compiler from
12670 # explicitly linking system object files so we need to strip them
12671 # from the output so that they don't get included in the library
12672 # dependencies.
12673 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"'
12676 if test "$GXX" = yes; then
12677 if test $with_gnu_ld = no; then
12678 case $host_cpu in
12679 hppa*64*)
12680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 ia64*)
12683 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12686 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'
12688 esac
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12695 esac
12698 interix[3-9]*)
12699 hardcode_direct_CXX=no
12700 hardcode_shlibpath_var_CXX=no
12701 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12702 export_dynamic_flag_spec_CXX='${wl}-E'
12703 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12704 # Instead, shared libraries are loaded at an image base (0x10000000 by
12705 # default) and relocated if they conflict, which is a slow very memory
12706 # consuming and fragmenting process. To avoid this, we pick a random,
12707 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12708 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12709 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'
12710 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'
12712 irix5* | irix6*)
12713 case $cc_basename in
12714 CC*)
12715 # SGI C++
12716 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'
12718 # Archives containing C++ object files must be created using
12719 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12720 # necessary to make sure instantiated templates are included
12721 # in the archive.
12722 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12725 if test "$GXX" = yes; then
12726 if test "$with_gnu_ld" = no; then
12727 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'
12728 else
12729 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'
12732 link_all_deplibs_CXX=yes
12734 esac
12735 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12736 hardcode_libdir_separator_CXX=:
12737 inherit_rpath_CXX=yes
12740 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12741 case $cc_basename in
12742 KCC*)
12743 # Kuck and Associates, Inc. (KAI) C++ Compiler
12745 # KCC will only create a shared library if the output file
12746 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12747 # to its proper name (with version) after linking.
12748 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'
12749 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'
12750 # Commands to make compiler produce verbose output that lists
12751 # what "hidden" libraries, object files and flags are used when
12752 # linking a shared library.
12754 # There doesn't appear to be a way to prevent this compiler from
12755 # explicitly linking system object files so we need to strip them
12756 # from the output so that they don't get included in the library
12757 # dependencies.
12758 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"'
12760 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12761 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12763 # Archives containing C++ object files must be created using
12764 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12765 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12767 icpc* | ecpc* )
12768 # Intel C++
12769 with_gnu_ld=yes
12770 # version 8.0 and above of icpc choke on multiply defined symbols
12771 # if we add $predep_objects and $postdep_objects, however 7.1 and
12772 # earlier do not add the objects themselves.
12773 case `$CC -V 2>&1` in
12774 *"Version 7."*)
12775 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12776 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'
12778 *) # Version 8.0 or newer
12779 tmp_idyn=
12780 case $host_cpu in
12781 ia64*) tmp_idyn=' -i_dynamic';;
12782 esac
12783 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12784 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'
12786 esac
12787 archive_cmds_need_lc_CXX=no
12788 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12789 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12790 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12792 pgCC* | pgcpp*)
12793 # Portland Group C++ compiler
12794 case `$CC -V` in
12795 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12796 prelink_cmds_CXX='tpldir=Template.dir~
12797 rm -rf $tpldir~
12798 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12799 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12800 old_archive_cmds_CXX='tpldir=Template.dir~
12801 rm -rf $tpldir~
12802 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12803 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12804 $RANLIB $oldlib'
12805 archive_cmds_CXX='tpldir=Template.dir~
12806 rm -rf $tpldir~
12807 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12808 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12809 archive_expsym_cmds_CXX='tpldir=Template.dir~
12810 rm -rf $tpldir~
12811 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12812 $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'
12814 *) # Version 6 and above use weak symbols
12815 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 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'
12818 esac
12820 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12821 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12822 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'
12824 cxx*)
12825 # Compaq C++
12826 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12827 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'
12829 runpath_var=LD_RUN_PATH
12830 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12831 hardcode_libdir_separator_CXX=:
12833 # Commands to make compiler produce verbose output that lists
12834 # what "hidden" libraries, object files and flags are used when
12835 # linking a shared library.
12837 # There doesn't appear to be a way to prevent this compiler from
12838 # explicitly linking system object files so we need to strip them
12839 # from the output so that they don't get included in the library
12840 # dependencies.
12841 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'
12843 xl* | mpixl* | bgxl*)
12844 # IBM XL 8.0 on PPC, with GNU ld
12845 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12846 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12847 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12848 if test "x$supports_anon_versioning" = xyes; then
12849 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12850 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12851 echo "local: *; };" >> $output_objdir/$libname.ver~
12852 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12856 case `$CC -V 2>&1 | sed 5q` in
12857 *Sun\ C*)
12858 # Sun C++ 5.9
12859 no_undefined_flag_CXX=' -zdefs'
12860 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12861 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'
12862 hardcode_libdir_flag_spec_CXX='-R$libdir'
12863 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'
12864 compiler_needs_object_CXX=yes
12866 # Not sure whether something based on
12867 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12868 # would be better.
12869 output_verbose_link_cmd='func_echo_all'
12871 # Archives containing C++ object files must be created using
12872 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12873 # necessary to make sure instantiated templates are included
12874 # in the archive.
12875 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12877 esac
12879 esac
12882 lynxos*)
12883 # FIXME: insert proper C++ library support
12884 ld_shlibs_CXX=no
12887 m88k*)
12888 # FIXME: insert proper C++ library support
12889 ld_shlibs_CXX=no
12892 mvs*)
12893 case $cc_basename in
12894 cxx*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 # FIXME: insert proper C++ library support
12900 ld_shlibs_CXX=no
12902 esac
12905 netbsd*)
12906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12907 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12908 wlarc=
12909 hardcode_libdir_flag_spec_CXX='-R$libdir'
12910 hardcode_direct_CXX=yes
12911 hardcode_shlibpath_var_CXX=no
12913 # Workaround some broken pre-1.5 toolchains
12914 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12917 *nto* | *qnx*)
12918 ld_shlibs_CXX=yes
12921 openbsd2*)
12922 # C++ shared libraries are fairly broken
12923 ld_shlibs_CXX=no
12926 openbsd*)
12927 if test -f /usr/libexec/ld.so; then
12928 hardcode_direct_CXX=yes
12929 hardcode_shlibpath_var_CXX=no
12930 hardcode_direct_absolute_CXX=yes
12931 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12934 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12935 export_dynamic_flag_spec_CXX='${wl}-E'
12936 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12938 output_verbose_link_cmd=func_echo_all
12939 else
12940 ld_shlibs_CXX=no
12944 osf3* | osf4* | osf5*)
12945 case $cc_basename in
12946 KCC*)
12947 # Kuck and Associates, Inc. (KAI) C++ Compiler
12949 # KCC will only create a shared library if the output file
12950 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12951 # to its proper name (with version) after linking.
12952 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'
12954 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12955 hardcode_libdir_separator_CXX=:
12957 # Archives containing C++ object files must be created using
12958 # the KAI C++ compiler.
12959 case $host in
12960 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12961 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12962 esac
12964 RCC*)
12965 # Rational C++ 2.4.1
12966 # FIXME: insert proper C++ library support
12967 ld_shlibs_CXX=no
12969 cxx*)
12970 case $host in
12971 osf3*)
12972 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12973 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'
12974 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12977 allow_undefined_flag_CXX=' -expect_unresolved \*'
12978 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'
12979 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12980 echo "-hidden">> $lib.exp~
12981 $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~
12982 $RM $lib.exp'
12983 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12985 esac
12987 hardcode_libdir_separator_CXX=:
12989 # Commands to make compiler produce verbose output that lists
12990 # what "hidden" libraries, object files and flags are used when
12991 # linking a shared library.
12993 # There doesn't appear to be a way to prevent this compiler from
12994 # explicitly linking system object files so we need to strip them
12995 # from the output so that they don't get included in the library
12996 # dependencies.
12997 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"'
13000 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13001 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13002 case $host in
13003 osf3*)
13004 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'
13007 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'
13009 esac
13011 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13012 hardcode_libdir_separator_CXX=:
13014 # Commands to make compiler produce verbose output that lists
13015 # what "hidden" libraries, object files and flags are used when
13016 # linking a shared library.
13017 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13019 else
13020 # FIXME: insert proper C++ library support
13021 ld_shlibs_CXX=no
13024 esac
13027 psos*)
13028 # FIXME: insert proper C++ library support
13029 ld_shlibs_CXX=no
13032 sunos4*)
13033 case $cc_basename in
13034 CC*)
13035 # Sun C++ 4.x
13036 # FIXME: insert proper C++ library support
13037 ld_shlibs_CXX=no
13039 lcc*)
13040 # Lucid
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13045 # FIXME: insert proper C++ library support
13046 ld_shlibs_CXX=no
13048 esac
13051 solaris*)
13052 case $cc_basename in
13053 CC*)
13054 # Sun C++ 4.2, 5.x and Centerline C++
13055 archive_cmds_need_lc_CXX=yes
13056 no_undefined_flag_CXX=' -zdefs'
13057 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13058 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13059 $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'
13061 hardcode_libdir_flag_spec_CXX='-R$libdir'
13062 hardcode_shlibpath_var_CXX=no
13063 case $host_os in
13064 solaris2.[0-5] | solaris2.[0-5].*) ;;
13066 # The compiler driver will combine and reorder linker options,
13067 # but understands `-z linker_flag'.
13068 # Supported since Solaris 2.6 (maybe 2.5.1?)
13069 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13071 esac
13072 link_all_deplibs_CXX=yes
13074 output_verbose_link_cmd='func_echo_all'
13076 # Archives containing C++ object files must be created using
13077 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13078 # necessary to make sure instantiated templates are included
13079 # in the archive.
13080 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13082 gcx*)
13083 # Green Hills C++ Compiler
13084 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13086 # The C++ compiler must be used to create the archive.
13087 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13090 # GNU C++ compiler with Solaris linker
13091 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13092 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13093 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13094 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13095 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13096 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13098 # Commands to make compiler produce verbose output that lists
13099 # what "hidden" libraries, object files and flags are used when
13100 # linking a shared library.
13101 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13102 else
13103 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13104 # platform.
13105 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13106 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13107 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13109 # Commands to make compiler produce verbose output that lists
13110 # what "hidden" libraries, object files and flags are used when
13111 # linking a shared library.
13112 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13115 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13116 case $host_os in
13117 solaris2.[0-5] | solaris2.[0-5].*) ;;
13119 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13121 esac
13124 esac
13127 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13128 no_undefined_flag_CXX='${wl}-z,text'
13129 archive_cmds_need_lc_CXX=no
13130 hardcode_shlibpath_var_CXX=no
13131 runpath_var='LD_RUN_PATH'
13133 case $cc_basename in
13134 CC*)
13135 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13139 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 esac
13145 sysv5* | sco3.2v5* | sco5v6*)
13146 # Note: We can NOT use -z defs as we might desire, because we do not
13147 # link with -lc, and that would cause any symbols used from libc to
13148 # always be unresolved, which means just about no library would
13149 # ever link correctly. If we're not using GNU ld we use -z text
13150 # though, which does catch some bad symbols but isn't as heavy-handed
13151 # as -z defs.
13152 no_undefined_flag_CXX='${wl}-z,text'
13153 allow_undefined_flag_CXX='${wl}-z,nodefs'
13154 archive_cmds_need_lc_CXX=no
13155 hardcode_shlibpath_var_CXX=no
13156 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13157 hardcode_libdir_separator_CXX=':'
13158 link_all_deplibs_CXX=yes
13159 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13160 runpath_var='LD_RUN_PATH'
13162 case $cc_basename in
13163 CC*)
13164 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13165 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13167 '"$old_archive_cmds_CXX"
13168 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13169 '"$reload_cmds_CXX"
13172 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13175 esac
13178 tandem*)
13179 case $cc_basename in
13180 NCC*)
13181 # NonStop-UX NCC 3.20
13182 # FIXME: insert proper C++ library support
13183 ld_shlibs_CXX=no
13186 # FIXME: insert proper C++ library support
13187 ld_shlibs_CXX=no
13189 esac
13192 vxworks*)
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13198 # FIXME: insert proper C++ library support
13199 ld_shlibs_CXX=no
13201 esac
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13204 $as_echo "$ld_shlibs_CXX" >&6; }
13205 test "$ld_shlibs_CXX" = no && can_build_shared=no
13207 GCC_CXX="$GXX"
13208 LD_CXX="$LD"
13210 ## CAVEAT EMPTOR:
13211 ## There is no encapsulation within the following macros, do not change
13212 ## the running order or otherwise move them around unless you know exactly
13213 ## what you are doing...
13214 # Dependencies to place before and after the object being linked:
13215 predep_objects_CXX=
13216 postdep_objects_CXX=
13217 predeps_CXX=
13218 postdeps_CXX=
13219 compiler_lib_search_path_CXX=
13221 cat > conftest.$ac_ext <<_LT_EOF
13222 class Foo
13224 public:
13225 Foo (void) { a = 0; }
13226 private:
13227 int a;
13229 _LT_EOF
13231 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13232 (eval $ac_compile) 2>&5
13233 ac_status=$?
13234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13235 test $ac_status = 0; }; then
13236 # Parse the compiler output and extract the necessary
13237 # objects, libraries and library flags.
13239 # Sentinel used to keep track of whether or not we are before
13240 # the conftest object file.
13241 pre_test_object_deps_done=no
13243 for p in `eval "$output_verbose_link_cmd"`; do
13244 case $p in
13246 -L* | -R* | -l*)
13247 # Some compilers place space between "-{L,R}" and the path.
13248 # Remove the space.
13249 if test $p = "-L" ||
13250 test $p = "-R"; then
13251 prev=$p
13252 continue
13253 else
13254 prev=
13257 if test "$pre_test_object_deps_done" = no; then
13258 case $p in
13259 -L* | -R*)
13260 # Internal compiler library paths should come after those
13261 # provided the user. The postdeps already come after the
13262 # user supplied libs so there is no need to process them.
13263 if test -z "$compiler_lib_search_path_CXX"; then
13264 compiler_lib_search_path_CXX="${prev}${p}"
13265 else
13266 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13269 # The "-l" case would never come before the object being
13270 # linked, so don't bother handling this case.
13271 esac
13272 else
13273 if test -z "$postdeps_CXX"; then
13274 postdeps_CXX="${prev}${p}"
13275 else
13276 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13281 *.$objext)
13282 # This assumes that the test object file only shows up
13283 # once in the compiler output.
13284 if test "$p" = "conftest.$objext"; then
13285 pre_test_object_deps_done=yes
13286 continue
13289 if test "$pre_test_object_deps_done" = no; then
13290 if test -z "$predep_objects_CXX"; then
13291 predep_objects_CXX="$p"
13292 else
13293 predep_objects_CXX="$predep_objects_CXX $p"
13295 else
13296 if test -z "$postdep_objects_CXX"; then
13297 postdep_objects_CXX="$p"
13298 else
13299 postdep_objects_CXX="$postdep_objects_CXX $p"
13304 *) ;; # Ignore the rest.
13306 esac
13307 done
13309 # Clean up.
13310 rm -f a.out a.exe
13311 else
13312 echo "libtool.m4: error: problem compiling CXX test program"
13315 $RM -f confest.$objext
13317 # PORTME: override above test on systems where it is broken
13318 case $host_os in
13319 interix[3-9]*)
13320 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13321 # hack all around it, let's just trust "g++" to DTRT.
13322 predep_objects_CXX=
13323 postdep_objects_CXX=
13324 postdeps_CXX=
13327 linux*)
13328 case `$CC -V 2>&1 | sed 5q` in
13329 *Sun\ C*)
13330 # Sun C++ 5.9
13332 # The more standards-conforming stlport4 library is
13333 # incompatible with the Cstd library. Avoid specifying
13334 # it if it's in CXXFLAGS. Ignore libCrun as
13335 # -library=stlport4 depends on it.
13336 case " $CXX $CXXFLAGS " in
13337 *" -library=stlport4 "*)
13338 solaris_use_stlport4=yes
13340 esac
13342 if test "$solaris_use_stlport4" != yes; then
13343 postdeps_CXX='-library=Cstd -library=Crun'
13346 esac
13349 solaris*)
13350 case $cc_basename in
13351 CC*)
13352 # The more standards-conforming stlport4 library is
13353 # incompatible with the Cstd library. Avoid specifying
13354 # it if it's in CXXFLAGS. Ignore libCrun as
13355 # -library=stlport4 depends on it.
13356 case " $CXX $CXXFLAGS " in
13357 *" -library=stlport4 "*)
13358 solaris_use_stlport4=yes
13360 esac
13362 # Adding this requires a known-good setup of shared libraries for
13363 # Sun compiler versions before 5.6, else PIC objects from an old
13364 # archive will be linked into the output, leading to subtle bugs.
13365 if test "$solaris_use_stlport4" != yes; then
13366 postdeps_CXX='-library=Cstd -library=Crun'
13369 esac
13371 esac
13374 case " $postdeps_CXX " in
13375 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13376 esac
13377 compiler_lib_search_dirs_CXX=
13378 if test -n "${compiler_lib_search_path_CXX}"; then
13379 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13412 lt_prog_compiler_wl_CXX=
13413 lt_prog_compiler_pic_CXX=
13414 lt_prog_compiler_static_CXX=
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13417 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13419 # C++ specific cases for pic, static, wl, etc.
13420 if test "$GXX" = yes; then
13421 lt_prog_compiler_wl_CXX='-Wl,'
13422 lt_prog_compiler_static_CXX='-static'
13424 case $host_os in
13425 aix*)
13426 # All AIX code is PIC.
13427 if test "$host_cpu" = ia64; then
13428 # AIX 5 now supports IA64 processor
13429 lt_prog_compiler_static_CXX='-Bstatic'
13431 lt_prog_compiler_pic_CXX='-fPIC'
13434 amigaos*)
13435 case $host_cpu in
13436 powerpc)
13437 # see comment about AmigaOS4 .so support
13438 lt_prog_compiler_pic_CXX='-fPIC'
13440 m68k)
13441 # FIXME: we need at least 68020 code to build shared libraries, but
13442 # adding the `-m68020' flag to GCC prevents building anything better,
13443 # like `-m68040'.
13444 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13446 esac
13449 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13450 # PIC is the default for these OSes.
13452 mingw* | cygwin* | os2* | pw32* | cegcc*)
13453 # This hack is so that the source file can tell whether it is being
13454 # built for inclusion in a dll (and should export symbols for example).
13455 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13456 # (--disable-auto-import) libraries
13457 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13459 darwin* | rhapsody*)
13460 # PIC is the default on this platform
13461 # Common symbols not allowed in MH_DYLIB files
13462 lt_prog_compiler_pic_CXX='-fno-common'
13464 *djgpp*)
13465 # DJGPP does not support shared libraries at all
13466 lt_prog_compiler_pic_CXX=
13468 haiku*)
13469 # PIC is the default for Haiku.
13470 # The "-static" flag exists, but is broken.
13471 lt_prog_compiler_static_CXX=
13473 interix[3-9]*)
13474 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13475 # Instead, we relocate shared libraries at runtime.
13477 sysv4*MP*)
13478 if test -d /usr/nec; then
13479 lt_prog_compiler_pic_CXX=-Kconform_pic
13482 hpux*)
13483 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13484 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13485 # sets the default TLS model and affects inlining.
13486 case $host_cpu in
13487 hppa*64*)
13490 lt_prog_compiler_pic_CXX='-fPIC'
13492 esac
13494 *qnx* | *nto*)
13495 # QNX uses GNU C++, but need to define -shared option too, otherwise
13496 # it will coredump.
13497 lt_prog_compiler_pic_CXX='-fPIC -shared'
13500 lt_prog_compiler_pic_CXX='-fPIC'
13502 esac
13503 else
13504 case $host_os in
13505 aix[4-9]*)
13506 # All AIX code is PIC.
13507 if test "$host_cpu" = ia64; then
13508 # AIX 5 now supports IA64 processor
13509 lt_prog_compiler_static_CXX='-Bstatic'
13510 else
13511 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13514 chorus*)
13515 case $cc_basename in
13516 cxch68*)
13517 # Green Hills C++ Compiler
13518 # _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"
13520 esac
13522 dgux*)
13523 case $cc_basename in
13524 ec++*)
13525 lt_prog_compiler_pic_CXX='-KPIC'
13527 ghcx*)
13528 # Green Hills C++ Compiler
13529 lt_prog_compiler_pic_CXX='-pic'
13533 esac
13535 freebsd* | dragonfly*)
13536 # FreeBSD uses GNU C++
13538 hpux9* | hpux10* | hpux11*)
13539 case $cc_basename in
13540 CC*)
13541 lt_prog_compiler_wl_CXX='-Wl,'
13542 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13543 if test "$host_cpu" != ia64; then
13544 lt_prog_compiler_pic_CXX='+Z'
13547 aCC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 case $host_cpu in
13551 hppa*64*|ia64*)
13552 # +Z the default
13555 lt_prog_compiler_pic_CXX='+Z'
13557 esac
13561 esac
13563 interix*)
13564 # This is c89, which is MS Visual C++ (no shared libs)
13565 # Anyone wants to do a port?
13567 irix5* | irix6* | nonstopux*)
13568 case $cc_basename in
13569 CC*)
13570 lt_prog_compiler_wl_CXX='-Wl,'
13571 lt_prog_compiler_static_CXX='-non_shared'
13572 # CC pic flag -KPIC is the default.
13576 esac
13578 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13579 case $cc_basename in
13580 KCC*)
13581 # KAI C++ Compiler
13582 lt_prog_compiler_wl_CXX='--backend -Wl,'
13583 lt_prog_compiler_pic_CXX='-fPIC'
13585 ecpc* )
13586 # old Intel C++ for x86_64 which still supported -KPIC.
13587 lt_prog_compiler_wl_CXX='-Wl,'
13588 lt_prog_compiler_pic_CXX='-KPIC'
13589 lt_prog_compiler_static_CXX='-static'
13591 icpc* )
13592 # Intel C++, used to be incompatible with GCC.
13593 # ICC 10 doesn't accept -KPIC any more.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 pgCC* | pgcpp*)
13599 # Portland Group C++ compiler
13600 lt_prog_compiler_wl_CXX='-Wl,'
13601 lt_prog_compiler_pic_CXX='-fpic'
13602 lt_prog_compiler_static_CXX='-Bstatic'
13604 cxx*)
13605 # Compaq C++
13606 # Make sure the PIC flag is empty. It appears that all Alpha
13607 # Linux and Compaq Tru64 Unix objects are PIC.
13608 lt_prog_compiler_pic_CXX=
13609 lt_prog_compiler_static_CXX='-non_shared'
13611 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13612 # IBM XL 8.0, 9.0 on PPC and BlueGene
13613 lt_prog_compiler_wl_CXX='-Wl,'
13614 lt_prog_compiler_pic_CXX='-qpic'
13615 lt_prog_compiler_static_CXX='-qstaticlink'
13618 case `$CC -V 2>&1 | sed 5q` in
13619 *Sun\ C*)
13620 # Sun C++ 5.9
13621 lt_prog_compiler_pic_CXX='-KPIC'
13622 lt_prog_compiler_static_CXX='-Bstatic'
13623 lt_prog_compiler_wl_CXX='-Qoption ld '
13625 esac
13627 esac
13629 lynxos*)
13631 m88k*)
13633 mvs*)
13634 case $cc_basename in
13635 cxx*)
13636 lt_prog_compiler_pic_CXX='-W c,exportall'
13640 esac
13642 netbsd*)
13644 *qnx* | *nto*)
13645 # QNX uses GNU C++, but need to define -shared option too, otherwise
13646 # it will coredump.
13647 lt_prog_compiler_pic_CXX='-fPIC -shared'
13649 osf3* | osf4* | osf5*)
13650 case $cc_basename in
13651 KCC*)
13652 lt_prog_compiler_wl_CXX='--backend -Wl,'
13654 RCC*)
13655 # Rational C++ 2.4.1
13656 lt_prog_compiler_pic_CXX='-pic'
13658 cxx*)
13659 # Digital/Compaq C++
13660 lt_prog_compiler_wl_CXX='-Wl,'
13661 # Make sure the PIC flag is empty. It appears that all Alpha
13662 # Linux and Compaq Tru64 Unix objects are PIC.
13663 lt_prog_compiler_pic_CXX=
13664 lt_prog_compiler_static_CXX='-non_shared'
13668 esac
13670 psos*)
13672 solaris*)
13673 case $cc_basename in
13674 CC*)
13675 # Sun C++ 4.2, 5.x and Centerline C++
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 lt_prog_compiler_wl_CXX='-Qoption ld '
13680 gcx*)
13681 # Green Hills C++ Compiler
13682 lt_prog_compiler_pic_CXX='-PIC'
13686 esac
13688 sunos4*)
13689 case $cc_basename in
13690 CC*)
13691 # Sun C++ 4.x
13692 lt_prog_compiler_pic_CXX='-pic'
13693 lt_prog_compiler_static_CXX='-Bstatic'
13695 lcc*)
13696 # Lucid
13697 lt_prog_compiler_pic_CXX='-pic'
13701 esac
13703 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13704 case $cc_basename in
13705 CC*)
13706 lt_prog_compiler_wl_CXX='-Wl,'
13707 lt_prog_compiler_pic_CXX='-KPIC'
13708 lt_prog_compiler_static_CXX='-Bstatic'
13710 esac
13712 tandem*)
13713 case $cc_basename in
13714 NCC*)
13715 # NonStop-UX NCC 3.20
13716 lt_prog_compiler_pic_CXX='-KPIC'
13720 esac
13722 vxworks*)
13725 lt_prog_compiler_can_build_shared_CXX=no
13727 esac
13730 case $host_os in
13731 # For platforms which do not support PIC, -DPIC is meaningless:
13732 *djgpp*)
13733 lt_prog_compiler_pic_CXX=
13736 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13738 esac
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13740 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13745 # Check to make sure the PIC flag actually works.
13747 if test -n "$lt_prog_compiler_pic_CXX"; then
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13749 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13750 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 lt_cv_prog_compiler_pic_works_CXX=no
13754 ac_outfile=conftest.$ac_objext
13755 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13756 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13757 # Insert the option either (1) after the last *FLAGS variable, or
13758 # (2) before a word containing "conftest.", or (3) at the end.
13759 # Note that $ac_compile itself does not contain backslashes and begins
13760 # with a dollar sign (not a hyphen), so the echo should work correctly.
13761 # The option is referenced via a variable to avoid confusing sed.
13762 lt_compile=`echo "$ac_compile" | $SED \
13763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13765 -e 's:$: $lt_compiler_flag:'`
13766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13767 (eval "$lt_compile" 2>conftest.err)
13768 ac_status=$?
13769 cat conftest.err >&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 if (exit $ac_status) && test -s "$ac_outfile"; then
13772 # The compiler can only warn and ignore the option if not recognized
13773 # So say no if there are warnings other than the usual output.
13774 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13775 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13776 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13777 lt_cv_prog_compiler_pic_works_CXX=yes
13780 $RM conftest*
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13784 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13786 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13787 case $lt_prog_compiler_pic_CXX in
13788 "" | " "*) ;;
13789 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13790 esac
13791 else
13792 lt_prog_compiler_pic_CXX=
13793 lt_prog_compiler_can_build_shared_CXX=no
13801 # Check to make sure the static flag actually works.
13803 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13805 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13806 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 lt_cv_prog_compiler_static_works_CXX=no
13810 save_LDFLAGS="$LDFLAGS"
13811 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13812 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13813 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13814 # The linker can only warn and ignore the option if not recognized
13815 # So say no if there are warnings
13816 if test -s conftest.err; then
13817 # Append any errors to the config.log.
13818 cat conftest.err 1>&5
13819 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13820 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13821 if diff conftest.exp conftest.er2 >/dev/null; then
13822 lt_cv_prog_compiler_static_works_CXX=yes
13824 else
13825 lt_cv_prog_compiler_static_works_CXX=yes
13828 $RM -r conftest*
13829 LDFLAGS="$save_LDFLAGS"
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13833 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13835 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13837 else
13838 lt_prog_compiler_static_CXX=
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13845 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13846 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13847 $as_echo_n "(cached) " >&6
13848 else
13849 lt_cv_prog_compiler_c_o_CXX=no
13850 $RM -r conftest 2>/dev/null
13851 mkdir conftest
13852 cd conftest
13853 mkdir out
13854 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13856 lt_compiler_flag="-o out/conftest2.$ac_objext"
13857 # Insert the option either (1) after the last *FLAGS variable, or
13858 # (2) before a word containing "conftest.", or (3) at the end.
13859 # Note that $ac_compile itself does not contain backslashes and begins
13860 # with a dollar sign (not a hyphen), so the echo should work correctly.
13861 lt_compile=`echo "$ac_compile" | $SED \
13862 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13863 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13864 -e 's:$: $lt_compiler_flag:'`
13865 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13866 (eval "$lt_compile" 2>out/conftest.err)
13867 ac_status=$?
13868 cat out/conftest.err >&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13871 then
13872 # The compiler can only warn and ignore the option if not recognized
13873 # So say no if there are warnings
13874 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13875 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13876 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13877 lt_cv_prog_compiler_c_o_CXX=yes
13880 chmod u+w . 2>&5
13881 $RM conftest*
13882 # SGI C++ compiler will create directory out/ii_files/ for
13883 # template instantiation
13884 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13885 $RM out/* && rmdir out
13886 cd ..
13887 $RM -r conftest
13888 $RM conftest*
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13892 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13897 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13898 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 lt_cv_prog_compiler_c_o_CXX=no
13902 $RM -r conftest 2>/dev/null
13903 mkdir conftest
13904 cd conftest
13905 mkdir out
13906 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13908 lt_compiler_flag="-o out/conftest2.$ac_objext"
13909 # Insert the option either (1) after the last *FLAGS variable, or
13910 # (2) before a word containing "conftest.", or (3) at the end.
13911 # Note that $ac_compile itself does not contain backslashes and begins
13912 # with a dollar sign (not a hyphen), so the echo should work correctly.
13913 lt_compile=`echo "$ac_compile" | $SED \
13914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13916 -e 's:$: $lt_compiler_flag:'`
13917 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13918 (eval "$lt_compile" 2>out/conftest.err)
13919 ac_status=$?
13920 cat out/conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13923 then
13924 # The compiler can only warn and ignore the option if not recognized
13925 # So say no if there are warnings
13926 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13927 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13928 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13929 lt_cv_prog_compiler_c_o_CXX=yes
13932 chmod u+w . 2>&5
13933 $RM conftest*
13934 # SGI C++ compiler will create directory out/ii_files/ for
13935 # template instantiation
13936 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13937 $RM out/* && rmdir out
13938 cd ..
13939 $RM -r conftest
13940 $RM conftest*
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13944 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13949 hard_links="nottested"
13950 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13951 # do not overwrite the value of need_locks provided by the user
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13953 $as_echo_n "checking if we can lock with hard links... " >&6; }
13954 hard_links=yes
13955 $RM conftest*
13956 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13957 touch conftest.a
13958 ln conftest.a conftest.b 2>&5 || hard_links=no
13959 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13961 $as_echo "$hard_links" >&6; }
13962 if test "$hard_links" = no; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13964 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13965 need_locks=warn
13967 else
13968 need_locks=no
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13974 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13976 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13977 case $host_os in
13978 aix[4-9]*)
13979 # If we're using GNU nm, then we don't want the "-C" option.
13980 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13981 # Also, AIX nm treats weak defined symbols like other global defined
13982 # symbols, whereas GNU nm marks them as "W".
13983 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13984 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'
13985 else
13986 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'
13989 pw32*)
13990 export_symbols_cmds_CXX="$ltdll_cmds"
13992 cygwin* | mingw* | cegcc*)
13993 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'
13996 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13998 esac
13999 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14002 $as_echo "$ld_shlibs_CXX" >&6; }
14003 test "$ld_shlibs_CXX" = no && can_build_shared=no
14005 with_gnu_ld_CXX=$with_gnu_ld
14013 # Do we need to explicitly link libc?
14015 case "x$archive_cmds_need_lc_CXX" in
14016 x|xyes)
14017 # Assume -lc should be added
14018 archive_cmds_need_lc_CXX=yes
14020 if test "$enable_shared" = yes && test "$GCC" = yes; then
14021 case $archive_cmds_CXX in
14022 *'~'*)
14023 # FIXME: we may have to deal with multi-command sequences.
14025 '$CC '*)
14026 # Test whether the compiler implicitly links with -lc since on some
14027 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14028 # to ld, don't add -lc before -lgcc.
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14030 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14031 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 $RM conftest*
14035 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14038 (eval $ac_compile) 2>&5
14039 ac_status=$?
14040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14041 test $ac_status = 0; } 2>conftest.err; then
14042 soname=conftest
14043 lib=conftest
14044 libobjs=conftest.$ac_objext
14045 deplibs=
14046 wl=$lt_prog_compiler_wl_CXX
14047 pic_flag=$lt_prog_compiler_pic_CXX
14048 compiler_flags=-v
14049 linker_flags=-v
14050 verstring=
14051 output_objdir=.
14052 libname=conftest
14053 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14054 allow_undefined_flag_CXX=
14055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14056 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14057 ac_status=$?
14058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14059 test $ac_status = 0; }
14060 then
14061 lt_cv_archive_cmds_need_lc_CXX=no
14062 else
14063 lt_cv_archive_cmds_need_lc_CXX=yes
14065 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14066 else
14067 cat conftest.err 1>&5
14069 $RM conftest*
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14073 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14074 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14076 esac
14079 esac
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14145 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14147 library_names_spec=
14148 libname_spec='lib$name'
14149 soname_spec=
14150 shrext_cmds=".so"
14151 postinstall_cmds=
14152 postuninstall_cmds=
14153 finish_cmds=
14154 finish_eval=
14155 shlibpath_var=
14156 shlibpath_overrides_runpath=unknown
14157 version_type=none
14158 dynamic_linker="$host_os ld.so"
14159 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14160 need_lib_prefix=unknown
14161 hardcode_into_libs=no
14163 # when you set need_version to no, make sure it does not cause -set_version
14164 # flags to be left without arguments
14165 need_version=unknown
14167 case $host_os in
14168 aix3*)
14169 version_type=linux
14170 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14171 shlibpath_var=LIBPATH
14173 # AIX 3 has no versioning support, so we append a major version to the name.
14174 soname_spec='${libname}${release}${shared_ext}$major'
14177 aix[4-9]*)
14178 version_type=linux
14179 need_lib_prefix=no
14180 need_version=no
14181 hardcode_into_libs=yes
14182 if test "$host_cpu" = ia64; then
14183 # AIX 5 supports IA64
14184 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14185 shlibpath_var=LD_LIBRARY_PATH
14186 else
14187 # With GCC up to 2.95.x, collect2 would create an import file
14188 # for dependence libraries. The import file would start with
14189 # the line `#! .'. This would cause the generated library to
14190 # depend on `.', always an invalid library. This was fixed in
14191 # development snapshots of GCC prior to 3.0.
14192 case $host_os in
14193 aix4 | aix4.[01] | aix4.[01].*)
14194 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14195 echo ' yes '
14196 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14198 else
14199 can_build_shared=no
14202 esac
14203 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14204 # soname into executable. Probably we can add versioning support to
14205 # collect2, so additional links can be useful in future.
14206 if test "$aix_use_runtimelinking" = yes; then
14207 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14208 # instead of lib<name>.a to let people know that these are not
14209 # typical AIX shared libraries.
14210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 else
14212 # We preserve .a as extension for shared libraries through AIX4.2
14213 # and later when we are not doing run time linking.
14214 library_names_spec='${libname}${release}.a $libname.a'
14215 soname_spec='${libname}${release}${shared_ext}$major'
14217 shlibpath_var=LIBPATH
14221 amigaos*)
14222 case $host_cpu in
14223 powerpc)
14224 # Since July 2007 AmigaOS4 officially supports .so libraries.
14225 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14226 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228 m68k)
14229 library_names_spec='$libname.ixlibrary $libname.a'
14230 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14231 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'
14233 esac
14236 beos*)
14237 library_names_spec='${libname}${shared_ext}'
14238 dynamic_linker="$host_os ld.so"
14239 shlibpath_var=LIBRARY_PATH
14242 bsdi[45]*)
14243 version_type=linux
14244 need_version=no
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246 soname_spec='${libname}${release}${shared_ext}$major'
14247 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14248 shlibpath_var=LD_LIBRARY_PATH
14249 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14250 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14251 # the default ld.so.conf also contains /usr/contrib/lib and
14252 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14253 # libtool to hard-code these into programs
14256 cygwin* | mingw* | pw32* | cegcc*)
14257 version_type=windows
14258 shrext_cmds=".dll"
14259 need_version=no
14260 need_lib_prefix=no
14262 case $GCC,$host_os in
14263 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14264 library_names_spec='$libname.dll.a'
14265 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14266 postinstall_cmds='base_file=`basename \${file}`~
14267 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14268 dldir=$destdir/`dirname \$dlpath`~
14269 test -d \$dldir || mkdir -p \$dldir~
14270 $install_prog $dir/$dlname \$dldir/$dlname~
14271 chmod a+x \$dldir/$dlname~
14272 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14273 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14275 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14276 dlpath=$dir/\$dldll~
14277 $RM \$dlpath'
14278 shlibpath_overrides_runpath=yes
14280 case $host_os in
14281 cygwin*)
14282 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14283 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14286 mingw* | cegcc*)
14287 # MinGW DLLs use traditional 'lib' prefix
14288 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14290 pw32*)
14291 # pw32 DLLs use 'pw' prefix rather than 'lib'
14292 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14294 esac
14298 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14300 esac
14301 dynamic_linker='Win32 ld.exe'
14302 # FIXME: first we should search . and the directory the executable is in
14303 shlibpath_var=PATH
14306 darwin* | rhapsody*)
14307 dynamic_linker="$host_os dyld"
14308 version_type=darwin
14309 need_lib_prefix=no
14310 need_version=no
14311 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14312 soname_spec='${libname}${release}${major}$shared_ext'
14313 shlibpath_overrides_runpath=yes
14314 shlibpath_var=DYLD_LIBRARY_PATH
14315 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14317 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14320 dgux*)
14321 version_type=linux
14322 need_lib_prefix=no
14323 need_version=no
14324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14325 soname_spec='${libname}${release}${shared_ext}$major'
14326 shlibpath_var=LD_LIBRARY_PATH
14329 freebsd* | dragonfly*)
14330 # DragonFly does not have aout. When/if they implement a new
14331 # versioning mechanism, adjust this.
14332 if test -x /usr/bin/objformat; then
14333 objformat=`/usr/bin/objformat`
14334 else
14335 case $host_os in
14336 freebsd[23].*) objformat=aout ;;
14337 *) objformat=elf ;;
14338 esac
14340 version_type=freebsd-$objformat
14341 case $version_type in
14342 freebsd-elf*)
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14344 need_version=no
14345 need_lib_prefix=no
14347 freebsd-*)
14348 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14349 need_version=yes
14351 esac
14352 shlibpath_var=LD_LIBRARY_PATH
14353 case $host_os in
14354 freebsd2.*)
14355 shlibpath_overrides_runpath=yes
14357 freebsd3.[01]* | freebsdelf3.[01]*)
14358 shlibpath_overrides_runpath=yes
14359 hardcode_into_libs=yes
14361 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14362 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14363 shlibpath_overrides_runpath=no
14364 hardcode_into_libs=yes
14366 *) # from 4.6 on, and DragonFly
14367 shlibpath_overrides_runpath=yes
14368 hardcode_into_libs=yes
14370 esac
14373 gnu*)
14374 version_type=linux
14375 need_lib_prefix=no
14376 need_version=no
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 shlibpath_var=LD_LIBRARY_PATH
14380 hardcode_into_libs=yes
14383 haiku*)
14384 version_type=linux
14385 need_lib_prefix=no
14386 need_version=no
14387 dynamic_linker="$host_os runtime_loader"
14388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14389 soname_spec='${libname}${release}${shared_ext}$major'
14390 shlibpath_var=LIBRARY_PATH
14391 shlibpath_overrides_runpath=yes
14392 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14393 hardcode_into_libs=yes
14396 hpux9* | hpux10* | hpux11*)
14397 # Give a soname corresponding to the major version so that dld.sl refuses to
14398 # link against other versions.
14399 version_type=sunos
14400 need_lib_prefix=no
14401 need_version=no
14402 case $host_cpu in
14403 ia64*)
14404 shrext_cmds='.so'
14405 hardcode_into_libs=yes
14406 dynamic_linker="$host_os dld.so"
14407 shlibpath_var=LD_LIBRARY_PATH
14408 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14410 soname_spec='${libname}${release}${shared_ext}$major'
14411 if test "X$HPUX_IA64_MODE" = X32; then
14412 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14413 else
14414 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14416 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14418 hppa*64*)
14419 shrext_cmds='.sl'
14420 hardcode_into_libs=yes
14421 dynamic_linker="$host_os dld.sl"
14422 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14423 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14425 soname_spec='${libname}${release}${shared_ext}$major'
14426 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14427 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14430 shrext_cmds='.sl'
14431 dynamic_linker="$host_os dld.sl"
14432 shlibpath_var=SHLIB_PATH
14433 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14435 soname_spec='${libname}${release}${shared_ext}$major'
14437 esac
14438 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14439 postinstall_cmds='chmod 555 $lib'
14440 # or fails outright, so override atomically:
14441 install_override_mode=555
14444 interix[3-9]*)
14445 version_type=linux
14446 need_lib_prefix=no
14447 need_version=no
14448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14449 soname_spec='${libname}${release}${shared_ext}$major'
14450 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14451 shlibpath_var=LD_LIBRARY_PATH
14452 shlibpath_overrides_runpath=no
14453 hardcode_into_libs=yes
14456 irix5* | irix6* | nonstopux*)
14457 case $host_os in
14458 nonstopux*) version_type=nonstopux ;;
14460 if test "$lt_cv_prog_gnu_ld" = yes; then
14461 version_type=linux
14462 else
14463 version_type=irix
14464 fi ;;
14465 esac
14466 need_lib_prefix=no
14467 need_version=no
14468 soname_spec='${libname}${release}${shared_ext}$major'
14469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14470 case $host_os in
14471 irix5* | nonstopux*)
14472 libsuff= shlibsuff=
14475 case $LD in # libtool.m4 will add one of these switches to LD
14476 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14477 libsuff= shlibsuff= libmagic=32-bit;;
14478 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14479 libsuff=32 shlibsuff=N32 libmagic=N32;;
14480 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14481 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14482 *) libsuff= shlibsuff= libmagic=never-match;;
14483 esac
14485 esac
14486 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14487 shlibpath_overrides_runpath=no
14488 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14489 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14490 hardcode_into_libs=yes
14493 # No shared lib support for Linux oldld, aout, or coff.
14494 linux*oldld* | linux*aout* | linux*coff*)
14495 dynamic_linker=no
14498 # This must be Linux ELF.
14499 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14500 version_type=linux
14501 need_lib_prefix=no
14502 need_version=no
14503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14504 soname_spec='${libname}${release}${shared_ext}$major'
14505 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14506 shlibpath_var=LD_LIBRARY_PATH
14507 shlibpath_overrides_runpath=no
14509 # Some binutils ld are patched to set DT_RUNPATH
14510 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 lt_cv_shlibpath_overrides_runpath=no
14514 save_LDFLAGS=$LDFLAGS
14515 save_libdir=$libdir
14516 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14517 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14518 if test x$gcc_no_link = xyes; then
14519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14525 main ()
14529 return 0;
14531 _ACEOF
14532 if ac_fn_cxx_try_link "$LINENO"; then :
14533 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14534 lt_cv_shlibpath_overrides_runpath=yes
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14539 LDFLAGS=$save_LDFLAGS
14540 libdir=$save_libdir
14544 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14546 # This implies no fast_install, which is unacceptable.
14547 # Some rework will be needed to allow for fast_install
14548 # before this can be enabled.
14549 hardcode_into_libs=yes
14551 # Append ld.so.conf contents to the search path
14552 if test -f /etc/ld.so.conf; then
14553 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' ' '`
14554 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14557 # We used to test for /lib/ld.so.1 and disable shared libraries on
14558 # powerpc, because MkLinux only supported shared libraries with the
14559 # GNU dynamic linker. Since this was broken with cross compilers,
14560 # most powerpc-linux boxes support dynamic linking these days and
14561 # people can always --disable-shared, the test was removed, and we
14562 # assume the GNU/Linux dynamic linker is in use.
14563 dynamic_linker='GNU/Linux ld.so'
14566 netbsd*)
14567 version_type=sunos
14568 need_lib_prefix=no
14569 need_version=no
14570 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14572 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14573 dynamic_linker='NetBSD (a.out) ld.so'
14574 else
14575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14576 soname_spec='${libname}${release}${shared_ext}$major'
14577 dynamic_linker='NetBSD ld.elf_so'
14579 shlibpath_var=LD_LIBRARY_PATH
14580 shlibpath_overrides_runpath=yes
14581 hardcode_into_libs=yes
14584 newsos6)
14585 version_type=linux
14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14587 shlibpath_var=LD_LIBRARY_PATH
14588 shlibpath_overrides_runpath=yes
14591 *nto* | *qnx*)
14592 version_type=qnx
14593 need_lib_prefix=no
14594 need_version=no
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath=no
14599 hardcode_into_libs=yes
14600 dynamic_linker='ldqnx.so'
14603 openbsd*)
14604 version_type=sunos
14605 sys_lib_dlsearch_path_spec="/usr/lib"
14606 need_lib_prefix=no
14607 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14608 case $host_os in
14609 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14610 *) need_version=no ;;
14611 esac
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14613 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14614 shlibpath_var=LD_LIBRARY_PATH
14615 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14616 case $host_os in
14617 openbsd2.[89] | openbsd2.[89].*)
14618 shlibpath_overrides_runpath=no
14621 shlibpath_overrides_runpath=yes
14623 esac
14624 else
14625 shlibpath_overrides_runpath=yes
14629 os2*)
14630 libname_spec='$name'
14631 shrext_cmds=".dll"
14632 need_lib_prefix=no
14633 library_names_spec='$libname${shared_ext} $libname.a'
14634 dynamic_linker='OS/2 ld.exe'
14635 shlibpath_var=LIBPATH
14638 osf3* | osf4* | osf5*)
14639 version_type=osf
14640 need_lib_prefix=no
14641 need_version=no
14642 soname_spec='${libname}${release}${shared_ext}$major'
14643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14644 shlibpath_var=LD_LIBRARY_PATH
14645 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14646 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14649 rdos*)
14650 dynamic_linker=no
14653 solaris*)
14654 version_type=linux
14655 need_lib_prefix=no
14656 need_version=no
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 shlibpath_var=LD_LIBRARY_PATH
14660 shlibpath_overrides_runpath=yes
14661 hardcode_into_libs=yes
14662 # ldd complains unless libraries are executable
14663 postinstall_cmds='chmod +x $lib'
14666 sunos4*)
14667 version_type=sunos
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14669 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14670 shlibpath_var=LD_LIBRARY_PATH
14671 shlibpath_overrides_runpath=yes
14672 if test "$with_gnu_ld" = yes; then
14673 need_lib_prefix=no
14675 need_version=yes
14678 sysv4 | sysv4.3*)
14679 version_type=linux
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14681 soname_spec='${libname}${release}${shared_ext}$major'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 case $host_vendor in
14684 sni)
14685 shlibpath_overrides_runpath=no
14686 need_lib_prefix=no
14687 runpath_var=LD_RUN_PATH
14689 siemens)
14690 need_lib_prefix=no
14692 motorola)
14693 need_lib_prefix=no
14694 need_version=no
14695 shlibpath_overrides_runpath=no
14696 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14698 esac
14701 sysv4*MP*)
14702 if test -d /usr/nec ;then
14703 version_type=linux
14704 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14705 soname_spec='$libname${shared_ext}.$major'
14706 shlibpath_var=LD_LIBRARY_PATH
14710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14711 version_type=freebsd-elf
14712 need_lib_prefix=no
14713 need_version=no
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LD_LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 hardcode_into_libs=yes
14719 if test "$with_gnu_ld" = yes; then
14720 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14721 else
14722 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14723 case $host_os in
14724 sco3.2v5*)
14725 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14727 esac
14729 sys_lib_dlsearch_path_spec='/usr/lib'
14732 tpf*)
14733 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14734 version_type=linux
14735 need_lib_prefix=no
14736 need_version=no
14737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14738 shlibpath_var=LD_LIBRARY_PATH
14739 shlibpath_overrides_runpath=no
14740 hardcode_into_libs=yes
14743 uts4*)
14744 version_type=linux
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 shlibpath_var=LD_LIBRARY_PATH
14751 dynamic_linker=no
14753 esac
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14755 $as_echo "$dynamic_linker" >&6; }
14756 test "$dynamic_linker" = no && can_build_shared=no
14758 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14759 if test "$GCC" = yes; then
14760 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14763 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14764 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14766 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14767 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14808 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14809 hardcode_action_CXX=
14810 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14811 test -n "$runpath_var_CXX" ||
14812 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14814 # We can hardcode non-existent directories.
14815 if test "$hardcode_direct_CXX" != no &&
14816 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14817 # have to relink, otherwise we might link with an installed library
14818 # when we should be linking with a yet-to-be-installed one
14819 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14820 test "$hardcode_minus_L_CXX" != no; then
14821 # Linking always hardcodes the temporary library directory.
14822 hardcode_action_CXX=relink
14823 else
14824 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14825 hardcode_action_CXX=immediate
14827 else
14828 # We cannot hardcode anything, or else we can only hardcode existing
14829 # directories.
14830 hardcode_action_CXX=unsupported
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14833 $as_echo "$hardcode_action_CXX" >&6; }
14835 if test "$hardcode_action_CXX" = relink ||
14836 test "$inherit_rpath_CXX" = yes; then
14837 # Fast installation is not supported
14838 enable_fast_install=no
14839 elif test "$shlibpath_overrides_runpath" = yes ||
14840 test "$enable_shared" = no; then
14841 # Fast installation is not necessary
14842 enable_fast_install=needless
14851 fi # test -n "$compiler"
14853 CC=$lt_save_CC
14854 LDCXX=$LD
14855 LD=$lt_save_LD
14856 GCC=$lt_save_GCC
14857 with_gnu_ld=$lt_save_with_gnu_ld
14858 lt_cv_path_LDCXX=$lt_cv_path_LD
14859 lt_cv_path_LD=$lt_save_path_LD
14860 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14861 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14862 fi # test "$_lt_caught_CXX_error" != yes
14864 ac_ext=c
14865 ac_cpp='$CPP $CPPFLAGS'
14866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14882 ac_config_commands="$ac_config_commands libtool"
14887 # Only expand once:
14893 case $host in
14894 *-cygwin* | *-mingw*)
14895 # 'host' will be top-level target in the case of a target lib,
14896 # we must compare to with_cross_host to decide if this is a native
14897 # or cross-compiler and select where to install dlls appropriately.
14898 if test -n "$with_cross_host" &&
14899 test x"$with_cross_host" != x"no"; then
14900 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14901 else
14902 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14906 lt_host_flags=
14908 esac
14915 # libtool variables for C++ shared and position-independent compiles.
14917 # Use glibcxx_lt_pic_flag to designate the automake variable
14918 # used to encapsulate the default libtool approach to creating objects
14919 # with position-independent code. Default: -prefer-pic.
14921 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14922 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14924 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14925 # creating position-independent objects. This varies with the target
14926 # hardware and operating system, but is often: -DPIC -fPIC.
14927 if test "$enable_shared" = yes; then
14928 glibcxx_lt_pic_flag="-prefer-pic"
14929 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14930 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14932 else
14933 glibcxx_lt_pic_flag=
14934 glibcxx_compiler_pic_flag=
14935 glibcxx_compiler_shared_flag=
14941 # Override the libtool's pic_flag and pic_mode.
14942 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14943 # NB: this impacts --with-pic and --without-pic.
14944 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14945 pic_mode='default'
14947 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14948 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14950 # Possibly disable most of the library.
14951 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14952 ## than just ignoring the results. Faster /and/ more correct, win win.
14954 # Check whether --enable-hosted-libstdcxx was given.
14955 if test "${enable_hosted_libstdcxx+set}" = set; then :
14956 enableval=$enable_hosted_libstdcxx;
14957 else
14958 case "$host" in
14959 arm*-*-symbianelf*)
14960 enable_hosted_libstdcxx=no
14963 enable_hosted_libstdcxx=yes
14965 esac
14968 if test "$enable_hosted_libstdcxx" = no; then
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14970 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14971 is_hosted=no
14972 hosted_define=0
14973 enable_abi_check=no
14974 enable_libstdcxx_pch=no
14975 else
14976 is_hosted=yes
14977 hosted_define=1
14981 cat >>confdefs.h <<_ACEOF
14982 #define _GLIBCXX_HOSTED $hosted_define
14983 _ACEOF
14987 # Enable descriptive messages to standard output on termination.
14989 # Check whether --enable-libstdcxx-verbose was given.
14990 if test "${enable_libstdcxx_verbose+set}" = set; then :
14991 enableval=$enable_libstdcxx_verbose;
14992 else
14993 enable_libstdcxx_verbose=yes
14996 if test x"$enable_libstdcxx_verbose" = xyes; then
14997 verbose_define=1
14998 else
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15000 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15001 verbose_define=0
15004 cat >>confdefs.h <<_ACEOF
15005 #define _GLIBCXX_VERBOSE $verbose_define
15006 _ACEOF
15010 # Enable compiler support that doesn't require linking.
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15013 $as_echo_n "checking for exception model to use... " >&6; }
15015 ac_ext=cpp
15016 ac_cpp='$CXXCPP $CPPFLAGS'
15017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15021 # Check whether --enable-sjlj-exceptions was given.
15022 if test "${enable_sjlj_exceptions+set}" = set; then :
15023 enableval=$enable_sjlj_exceptions;
15024 case "$enableval" in
15025 yes|no|auto) ;;
15026 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15027 esac
15029 else
15030 enable_sjlj_exceptions=auto
15035 if test $enable_sjlj_exceptions = auto; then
15036 # Botheration. Now we've got to detect the exception model. Link tests
15037 # against libgcc.a are problematic since we've not been given proper -L
15038 # bits for single-tree newlib and libgloss.
15040 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15041 cat > conftest.$ac_ext << EOF
15042 #line 15042 "configure"
15043 struct S { ~S(); };
15044 void bar();
15045 void foo()
15047 S s;
15048 bar();
15051 old_CXXFLAGS="$CXXFLAGS"
15052 CXXFLAGS=-S
15053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15054 (eval $ac_compile) 2>&5
15055 ac_status=$?
15056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15057 test $ac_status = 0; }; then
15058 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15059 enable_sjlj_exceptions=yes
15060 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15061 enable_sjlj_exceptions=no
15062 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15063 enable_sjlj_exceptions=no
15066 CXXFLAGS="$old_CXXFLAGS"
15067 rm -f conftest*
15070 # This is a tad weird, for hysterical raisins. We have to map
15071 # enable/disable to two different models.
15072 case $enable_sjlj_exceptions in
15073 yes)
15075 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15077 ac_exception_model_name=sjlj
15080 ac_exception_model_name="call frame"
15083 as_fn_error "unable to detect exception model" "$LINENO" 5
15085 esac
15086 ac_ext=c
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15093 $as_echo "$ac_exception_model_name" >&6; }
15096 # Check whether --enable-libstdcxx-pch was given.
15097 if test "${enable_libstdcxx_pch+set}" = set; then :
15098 enableval=$enable_libstdcxx_pch;
15099 case "$enableval" in
15100 yes|no) ;;
15101 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15102 esac
15104 else
15105 enable_libstdcxx_pch=$is_hosted
15109 if test $enable_libstdcxx_pch = yes; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15111 $as_echo_n "checking for compiler with PCH support... " >&6; }
15112 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_save_CXXFLAGS="$CXXFLAGS"
15116 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15118 ac_ext=cpp
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15124 echo '#include <math.h>' > conftest.h
15125 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15126 -o conftest.h.gch 1>&5 2>&1 &&
15127 echo '#error "pch failed"' > conftest.h &&
15128 echo '#include "conftest.h"' > conftest.cc &&
15129 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15130 then
15131 glibcxx_cv_prog_CXX_pch=yes
15132 else
15133 glibcxx_cv_prog_CXX_pch=no
15135 rm -f conftest*
15136 CXXFLAGS=$ac_save_CXXFLAGS
15137 ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15146 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15147 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15151 $as_echo_n "checking for enabled PCH... " >&6; }
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15153 $as_echo "$enable_libstdcxx_pch" >&6; }
15156 if test $enable_libstdcxx_pch = yes; then
15157 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15158 else
15159 glibcxx_PCHFLAGS=""
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15165 $as_echo_n "checking for thread model used by GCC... " >&6; }
15166 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15168 $as_echo "$target_thread_file" >&6; }
15170 case $target_thread_file in
15171 aix) thread_header=config/rs6000/gthr-aix.h ;;
15172 dce) thread_header=config/pa/gthr-dce.h ;;
15173 lynx) thread_header=config/gthr-lynx.h ;;
15174 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15175 posix) thread_header=gthr-posix.h ;;
15176 rtems) thread_header=config/gthr-rtems.h ;;
15177 single) thread_header=gthr-single.h ;;
15178 tpf) thread_header=config/s390/gthr-tpf.h ;;
15179 vxworks) thread_header=config/gthr-vxworks.h ;;
15180 win32) thread_header=config/i386/gthr-win32.h ;;
15181 esac
15187 ac_ext=cpp
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15193 old_CXXFLAGS="$CXXFLAGS"
15195 # Do link tests if possible, instead asm tests, limited to some platforms
15196 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15197 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15198 atomic_builtins_link_tests=no
15199 if test x$gcc_no_link != xyes; then
15200 # Can do link tests. Limit to some tested platforms
15201 case "$host" in
15202 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15203 atomic_builtins_link_tests=yes
15205 esac
15208 if test x$atomic_builtins_link_tests = xyes; then
15210 # Do link tests.
15212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15215 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15216 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15227 main ()
15229 typedef bool atomic_type;
15230 atomic_type c1;
15231 atomic_type c2;
15232 atomic_type c3(0);
15233 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15234 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15235 __ATOMIC_RELAXED);
15236 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15237 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15240 return 0;
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244 glibcxx_cv_atomic_bool=yes
15245 else
15246 glibcxx_cv_atomic_bool=no
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15254 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15257 $as_echo_n "checking for atomic builtins for short... " >&6; }
15258 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15262 if test x$gcc_no_link = xyes; then
15263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15269 main ()
15271 typedef short atomic_type;
15272 atomic_type c1;
15273 atomic_type c2;
15274 atomic_type c3(0);
15275 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15276 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15277 __ATOMIC_RELAXED);
15278 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15279 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15282 return 0;
15284 _ACEOF
15285 if ac_fn_cxx_try_link "$LINENO"; then :
15286 glibcxx_cv_atomic_short=yes
15287 else
15288 glibcxx_cv_atomic_short=no
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15296 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15299 $as_echo_n "checking for atomic builtins for int... " >&6; }
15300 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15304 if test x$gcc_no_link = xyes; then
15305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15311 main ()
15313 typedef int atomic_type;
15314 atomic_type c1;
15315 atomic_type c2;
15316 atomic_type c3(0);
15317 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15318 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15319 __ATOMIC_RELAXED);
15320 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15321 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15324 return 0;
15326 _ACEOF
15327 if ac_fn_cxx_try_link "$LINENO"; then :
15328 glibcxx_cv_atomic_int=yes
15329 else
15330 glibcxx_cv_atomic_int=no
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15338 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15341 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15342 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15346 if test x$gcc_no_link = xyes; then
15347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15353 main ()
15355 typedef long long atomic_type;
15356 atomic_type c1;
15357 atomic_type c2;
15358 atomic_type c3(0);
15359 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15360 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15361 __ATOMIC_RELAXED);
15362 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15363 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15366 return 0;
15368 _ACEOF
15369 if ac_fn_cxx_try_link "$LINENO"; then :
15370 glibcxx_cv_atomic_long_long=yes
15371 else
15372 glibcxx_cv_atomic_long_long=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15380 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15382 else
15384 # Do asm tests.
15386 # Compile unoptimized.
15387 CXXFLAGS='-O0 -S'
15389 # Fake what AC_TRY_COMPILE does.
15391 cat > conftest.$ac_ext << EOF
15392 #line 15392 "configure"
15393 int main()
15395 typedef bool atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 atomic_type c3(0);
15399 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15400 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401 __ATOMIC_RELAXED);
15402 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15405 return 0;
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15410 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15412 (eval $ac_compile) 2>&5
15413 ac_status=$?
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }; then
15416 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15417 glibcxx_cv_atomic_bool=no
15418 else
15419 glibcxx_cv_atomic_bool=yes
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15423 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15424 rm -f conftest*
15426 cat > conftest.$ac_ext << EOF
15427 #line 15427 "configure"
15428 int main()
15430 typedef short atomic_type;
15431 atomic_type c1;
15432 atomic_type c2;
15433 atomic_type c3(0);
15434 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15435 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15436 __ATOMIC_RELAXED);
15437 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15438 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15440 return 0;
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15445 $as_echo_n "checking for atomic builtins for short... " >&6; }
15446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15447 (eval $ac_compile) 2>&5
15448 ac_status=$?
15449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450 test $ac_status = 0; }; then
15451 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15452 glibcxx_cv_atomic_short=no
15453 else
15454 glibcxx_cv_atomic_short=yes
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15458 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15459 rm -f conftest*
15461 cat > conftest.$ac_ext << EOF
15462 #line 15462 "configure"
15463 int main()
15465 // NB: _Atomic_word not necessarily int.
15466 typedef int atomic_type;
15467 atomic_type c1;
15468 atomic_type c2;
15469 atomic_type c3(0);
15470 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15471 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15472 __ATOMIC_RELAXED);
15473 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15474 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15476 return 0;
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15481 $as_echo_n "checking for atomic builtins for int... " >&6; }
15482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15483 (eval $ac_compile) 2>&5
15484 ac_status=$?
15485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15486 test $ac_status = 0; }; then
15487 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15488 glibcxx_cv_atomic_int=no
15489 else
15490 glibcxx_cv_atomic_int=yes
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15494 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15495 rm -f conftest*
15497 cat > conftest.$ac_ext << EOF
15498 #line 15498 "configure"
15499 int main()
15501 typedef long long atomic_type;
15502 atomic_type c1;
15503 atomic_type c2;
15504 atomic_type c3(0);
15505 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15506 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15507 __ATOMIC_RELAXED);
15508 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15509 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15511 return 0;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15516 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518 (eval $ac_compile) 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15522 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15523 glibcxx_cv_atomic_long_long=no
15524 else
15525 glibcxx_cv_atomic_long_long=yes
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15529 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15530 rm -f conftest*
15534 CXXFLAGS="$old_CXXFLAGS"
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15542 # Set atomicity_dir to builtins if all but the long long test above passes.
15543 if test $glibcxx_cv_atomic_bool = yes \
15544 && test $glibcxx_cv_atomic_short = yes \
15545 && test $glibcxx_cv_atomic_int = yes; then
15547 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15549 atomicity_dir=cpu/generic/atomicity_builtins
15552 # If still generic, set to mutex.
15553 if test $atomicity_dir = "cpu/generic" ; then
15554 atomicity_dir=cpu/generic/atomicity_mutex
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15556 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15557 if test "x$target_thread_file" = xsingle; then
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15559 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15561 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15562 else
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15564 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15566 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15573 # Fake what AC_TRY_COMPILE does, without linking as this is
15574 # unnecessary for this test.
15576 cat > conftest.$ac_ext << EOF
15577 #line 15577 "configure"
15578 int main()
15580 _Decimal32 d1;
15581 _Decimal64 d2;
15582 _Decimal128 d3;
15583 return 0;
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15588 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15590 (eval $ac_compile) 2>&5
15591 ac_status=$?
15592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15593 test $ac_status = 0; }; then
15595 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15597 enable_dfp=yes
15598 else
15599 enable_dfp=no
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15602 $as_echo "$enable_dfp" >&6; }
15603 rm -f conftest*
15608 ac_ext=cpp
15609 ac_cpp='$CXXCPP $CPPFLAGS'
15610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15615 # Fake what AC_TRY_COMPILE does, without linking as this is
15616 # unnecessary for this test.
15618 cat > conftest.$ac_ext << EOF
15619 #line 15619 "configure"
15620 template<typename T1, typename T2>
15621 struct same
15622 { typedef T2 type; };
15624 template<typename T>
15625 struct same<T, T>;
15627 int main()
15629 typename same<long, __int128>::type i1;
15630 typename same<long long, __int128>::type i2;
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15635 $as_echo_n "checking for __int128... " >&6; }
15636 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15637 (eval $ac_compile) 2>&5
15638 ac_status=$?
15639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15640 test $ac_status = 0; }; then
15642 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15644 enable_int128=yes
15645 else
15646 enable_int128=no
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15649 $as_echo "$enable_int128" >&6; }
15650 rm -f conftest*
15652 cat > conftest.$ac_ext << EOF
15653 #line 15653 "configure"
15654 template<typename T1, typename T2>
15655 struct same
15656 { typedef T2 type; };
15658 template<typename T>
15659 struct same<T, T>;
15661 int main()
15663 typename same<double, __float128>::type f1;
15664 typename same<long double, __float128>::type f2;
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15669 $as_echo_n "checking for __float128... " >&6; }
15670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15671 (eval $ac_compile) 2>&5
15672 ac_status=$?
15673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15674 test $ac_status = 0; }; then
15676 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15678 enable_float128=yes
15679 else
15680 enable_float128=no
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15683 $as_echo "$enable_float128" >&6; }
15684 rm -f conftest*
15686 ac_ext=c
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15694 # Checks for compiler support that doesn't require linking.
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15724 main ()
15728 return 0;
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15759 # Enable all the variable C++ runtime options that don't require linking.
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15771 else
15772 enable_cstdio=stdio
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15788 esac
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15803 else
15804 enable_clocale=auto
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15825 enable_clocale_flag=$enable_clocale
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15837 openbsd*)
15838 enable_clocale_flag=newlib
15841 if test x"$with_newlib" = x"yes"; then
15842 enable_clocale_flag=newlib
15843 else
15844 enable_clocale_flag=generic
15847 esac
15850 # Sanity check model, and test for special functionality.
15851 if test $enable_clocale_flag = gnu; then
15852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h. */
15855 #include <features.h>
15856 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15857 _GLIBCXX_ok
15858 #endif
15860 _ACEOF
15861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15862 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15863 enable_clocale_flag=gnu
15864 else
15865 enable_clocale_flag=generic
15867 rm -f conftest*
15870 # Set it to scream when it hurts.
15871 ac_save_CFLAGS="$CFLAGS"
15872 CFLAGS="-Wimplicit-function-declaration -Werror"
15874 # Use strxfrm_l if available.
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #define _GNU_SOURCE 1
15878 #include <string.h>
15879 #include <locale.h>
15881 main ()
15883 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15885 return 0;
15887 _ACEOF
15888 if ac_fn_c_try_compile "$LINENO"; then :
15890 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15895 # Use strerror_l if available.
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15898 #define _GNU_SOURCE 1
15899 #include <string.h>
15900 #include <locale.h>
15902 main ()
15904 __locale_t loc; strerror_l(5, loc);
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_compile "$LINENO"; then :
15911 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15916 CFLAGS="$ac_save_CFLAGS"
15919 # Perhaps use strerror_r if available, and strerror_l isn't.
15920 ac_save_CFLAGS="$CFLAGS"
15921 CFLAGS="-Wimplicit-function-declaration -Werror"
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15924 #define _GNU_SOURCE 1
15925 #include <string.h>
15926 #include <locale.h>
15928 main ()
15930 char s[128]; strerror_r(5, s, 128);
15932 return 0;
15934 _ACEOF
15935 if ac_fn_c_try_compile "$LINENO"; then :
15937 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941 CFLAGS="$ac_save_CFLAGS"
15943 # Set configure bits for specified locale package
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15945 $as_echo_n "checking for C locale to use... " >&6; }
15946 case ${enable_clocale_flag} in
15947 generic)
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15949 $as_echo "generic" >&6; }
15951 CLOCALE_H=config/locale/generic/c_locale.h
15952 CLOCALE_CC=config/locale/generic/c_locale.cc
15953 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15954 CCOLLATE_CC=config/locale/generic/collate_members.cc
15955 CCTYPE_CC=config/locale/generic/ctype_members.cc
15956 CMESSAGES_H=config/locale/generic/messages_members.h
15957 CMESSAGES_CC=config/locale/generic/messages_members.cc
15958 CMONEY_CC=config/locale/generic/monetary_members.cc
15959 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15960 CTIME_H=config/locale/generic/time_members.h
15961 CTIME_CC=config/locale/generic/time_members.cc
15962 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15964 darwin)
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15966 $as_echo "darwin or freebsd" >&6; }
15968 CLOCALE_H=config/locale/generic/c_locale.h
15969 CLOCALE_CC=config/locale/generic/c_locale.cc
15970 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15971 CCOLLATE_CC=config/locale/generic/collate_members.cc
15972 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15973 CMESSAGES_H=config/locale/generic/messages_members.h
15974 CMESSAGES_CC=config/locale/generic/messages_members.cc
15975 CMONEY_CC=config/locale/generic/monetary_members.cc
15976 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15977 CTIME_H=config/locale/generic/time_members.h
15978 CTIME_CC=config/locale/generic/time_members.cc
15979 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15982 gnu)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15984 $as_echo "gnu" >&6; }
15986 # Declare intention to use gettext, and add support for specific
15987 # languages.
15988 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15989 ALL_LINGUAS="de fr"
15991 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15992 # Extract the first word of "msgfmt", so it can be a program name with args.
15993 set dummy msgfmt; ac_word=$2
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15995 $as_echo_n "checking for $ac_word... " >&6; }
15996 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15997 $as_echo_n "(cached) " >&6
15998 else
15999 if test -n "$check_msgfmt"; then
16000 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16001 else
16002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16003 for as_dir in $PATH
16005 IFS=$as_save_IFS
16006 test -z "$as_dir" && as_dir=.
16007 for ac_exec_ext in '' $ac_executable_extensions; do
16008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16009 ac_cv_prog_check_msgfmt="yes"
16010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16011 break 2
16013 done
16014 done
16015 IFS=$as_save_IFS
16017 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16020 check_msgfmt=$ac_cv_prog_check_msgfmt
16021 if test -n "$check_msgfmt"; then
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16023 $as_echo "$check_msgfmt" >&6; }
16024 else
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16026 $as_echo "no" >&6; }
16030 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16031 USE_NLS=yes
16033 # Export the build objects.
16034 for ling in $ALL_LINGUAS; do \
16035 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16036 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16037 done
16041 CLOCALE_H=config/locale/gnu/c_locale.h
16042 CLOCALE_CC=config/locale/gnu/c_locale.cc
16043 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16044 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16045 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16046 CMESSAGES_H=config/locale/gnu/messages_members.h
16047 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16048 CMONEY_CC=config/locale/gnu/monetary_members.cc
16049 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16050 CTIME_H=config/locale/gnu/time_members.h
16051 CTIME_CC=config/locale/gnu/time_members.cc
16052 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16054 ieee_1003.1-2001)
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16056 $as_echo "IEEE 1003.1" >&6; }
16058 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16059 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16060 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16061 CCOLLATE_CC=config/locale/generic/collate_members.cc
16062 CCTYPE_CC=config/locale/generic/ctype_members.cc
16063 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16064 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16065 CMONEY_CC=config/locale/generic/monetary_members.cc
16066 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16067 CTIME_H=config/locale/generic/time_members.h
16068 CTIME_CC=config/locale/generic/time_members.cc
16069 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16071 newlib)
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16073 $as_echo "newlib" >&6; }
16075 CLOCALE_H=config/locale/generic/c_locale.h
16076 CLOCALE_CC=config/locale/generic/c_locale.cc
16077 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16078 CCOLLATE_CC=config/locale/generic/collate_members.cc
16079 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16080 CMESSAGES_H=config/locale/generic/messages_members.h
16081 CMESSAGES_CC=config/locale/generic/messages_members.cc
16082 CMONEY_CC=config/locale/generic/monetary_members.cc
16083 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16084 CTIME_H=config/locale/generic/time_members.h
16085 CTIME_CC=config/locale/generic/time_members.cc
16086 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16088 esac
16090 # This is where the testsuite looks for locale catalogs, using the
16091 # -DLOCALEDIR define during testsuite compilation.
16092 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16095 # A standalone libintl (e.g., GNU libintl) may be in use.
16096 if test $USE_NLS = yes; then
16097 for ac_header in libintl.h
16098 do :
16099 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16100 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_LIBINTL_H 1
16103 _ACEOF
16105 else
16106 USE_NLS=no
16109 done
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16112 $as_echo_n "checking for library containing gettext... " >&6; }
16113 if test "${ac_cv_search_gettext+set}" = set; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 ac_func_search_save_LIBS=$LIBS
16117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h. */
16120 /* Override any GCC internal prototype to avoid an error.
16121 Use char because int might match the return type of a GCC
16122 builtin and then its argument prototype would still apply. */
16123 #ifdef __cplusplus
16124 extern "C"
16125 #endif
16126 char gettext ();
16128 main ()
16130 return gettext ();
16132 return 0;
16134 _ACEOF
16135 for ac_lib in '' intl; do
16136 if test -z "$ac_lib"; then
16137 ac_res="none required"
16138 else
16139 ac_res=-l$ac_lib
16140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16142 if test x$gcc_no_link = xyes; then
16143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16145 if ac_fn_c_try_link "$LINENO"; then :
16146 ac_cv_search_gettext=$ac_res
16148 rm -f core conftest.err conftest.$ac_objext \
16149 conftest$ac_exeext
16150 if test "${ac_cv_search_gettext+set}" = set; then :
16151 break
16153 done
16154 if test "${ac_cv_search_gettext+set}" = set; then :
16156 else
16157 ac_cv_search_gettext=no
16159 rm conftest.$ac_ext
16160 LIBS=$ac_func_search_save_LIBS
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16163 $as_echo "$ac_cv_search_gettext" >&6; }
16164 ac_res=$ac_cv_search_gettext
16165 if test "$ac_res" != no; then :
16166 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16168 else
16169 USE_NLS=no
16173 if test $USE_NLS = yes; then
16175 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16195 $as_echo_n "checking for std::allocator base class... " >&6; }
16196 # Check whether --enable-libstdcxx-allocator was given.
16197 if test "${enable_libstdcxx_allocator+set}" = set; then :
16198 enableval=$enable_libstdcxx_allocator;
16199 case "$enableval" in
16200 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16201 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16202 esac
16204 else
16205 enable_libstdcxx_allocator=auto
16210 # If they didn't use this option switch, or if they specified --enable
16211 # with no specific model, we'll have to look for one. If they
16212 # specified --disable (???), do likewise.
16213 if test $enable_libstdcxx_allocator = no ||
16214 test $enable_libstdcxx_allocator = yes;
16215 then
16216 enable_libstdcxx_allocator=auto
16219 # Either a known package, or "auto". Auto implies the default choice
16220 # for a particular platform.
16221 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16223 # Probe for host-specific support if no specific model is specified.
16224 # Default to "new".
16225 if test $enable_libstdcxx_allocator_flag = auto; then
16226 case ${target_os} in
16227 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16228 enable_libstdcxx_allocator_flag=new
16231 enable_libstdcxx_allocator_flag=new
16233 esac
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16236 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16239 # Set configure bits for specified locale package
16240 case ${enable_libstdcxx_allocator_flag} in
16241 bitmap)
16242 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16243 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16245 malloc)
16246 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16247 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16250 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16251 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16253 new)
16254 ALLOCATOR_H=config/allocator/new_allocator_base.h
16255 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16257 pool)
16258 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16259 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16261 esac
16267 # Check whether --enable-cheaders was given.
16268 if test "${enable_cheaders+set}" = set; then :
16269 enableval=$enable_cheaders;
16270 case "$enableval" in
16271 c|c_std|c_global) ;;
16272 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16273 esac
16275 else
16276 enable_cheaders=$c_model
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16281 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16283 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16285 # Allow overrides to configure.host here.
16286 if test $enable_cheaders = c_global; then
16287 c_compatibility=yes
16296 # Check whether --enable-long-long was given.
16297 if test "${enable_long_long+set}" = set; then :
16298 enableval=$enable_long_long;
16299 case "$enableval" in
16300 yes|no) ;;
16301 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16302 esac
16304 else
16305 enable_long_long=yes
16309 if test $enable_long_long = yes; then
16311 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16315 $as_echo_n "checking for enabled long long specializations... " >&6; }
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16317 $as_echo "$enable_long_long" >&6; }
16320 # Check whether --enable-wchar_t was given.
16321 if test "${enable_wchar_t+set}" = set; then :
16322 enableval=$enable_wchar_t;
16323 case "$enableval" in
16324 yes|no) ;;
16325 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16326 esac
16328 else
16329 enable_wchar_t=yes
16334 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16335 for ac_header in wchar.h
16336 do :
16337 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16338 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_WCHAR_H 1
16341 _ACEOF
16342 ac_has_wchar_h=yes
16343 else
16344 ac_has_wchar_h=no
16347 done
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16350 $as_echo_n "checking for mbstate_t... " >&6; }
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16353 #include <wchar.h>
16355 main ()
16357 mbstate_t teststate;
16359 return 0;
16361 _ACEOF
16362 if ac_fn_c_try_compile "$LINENO"; then :
16363 have_mbstate_t=yes
16364 else
16365 have_mbstate_t=no
16367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16369 $as_echo "$have_mbstate_t" >&6; }
16370 if test x"$have_mbstate_t" = xyes; then
16372 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16376 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16377 # ac_has_wchar_h.
16378 for ac_header in wctype.h
16379 do :
16380 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16381 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_WCTYPE_H 1
16384 _ACEOF
16385 ac_has_wctype_h=yes
16386 else
16387 ac_has_wctype_h=no
16390 done
16393 if test x"$enable_wchar_t" = x"yes"; then
16396 ac_ext=cpp
16397 ac_cpp='$CXXCPP $CPPFLAGS'
16398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16403 if test x"$ac_has_wchar_h" = xyes &&
16404 test x"$ac_has_wctype_h" = xyes; then
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #include <wchar.h>
16408 #include <stddef.h>
16409 wint_t i;
16410 long l = WEOF;
16411 long j = WCHAR_MIN;
16412 long k = WCHAR_MAX;
16413 namespace test
16415 using ::btowc;
16416 using ::fgetwc;
16417 using ::fgetws;
16418 using ::fputwc;
16419 using ::fputws;
16420 using ::fwide;
16421 using ::fwprintf;
16422 using ::fwscanf;
16423 using ::getwc;
16424 using ::getwchar;
16425 using ::mbrlen;
16426 using ::mbrtowc;
16427 using ::mbsinit;
16428 using ::mbsrtowcs;
16429 using ::putwc;
16430 using ::putwchar;
16431 using ::swprintf;
16432 using ::swscanf;
16433 using ::ungetwc;
16434 using ::vfwprintf;
16435 using ::vswprintf;
16436 using ::vwprintf;
16437 using ::wcrtomb;
16438 using ::wcscat;
16439 using ::wcschr;
16440 using ::wcscmp;
16441 using ::wcscoll;
16442 using ::wcscpy;
16443 using ::wcscspn;
16444 using ::wcsftime;
16445 using ::wcslen;
16446 using ::wcsncat;
16447 using ::wcsncmp;
16448 using ::wcsncpy;
16449 using ::wcspbrk;
16450 using ::wcsrchr;
16451 using ::wcsrtombs;
16452 using ::wcsspn;
16453 using ::wcsstr;
16454 using ::wcstod;
16455 using ::wcstok;
16456 using ::wcstol;
16457 using ::wcstoul;
16458 using ::wcsxfrm;
16459 using ::wctob;
16460 using ::wmemchr;
16461 using ::wmemcmp;
16462 using ::wmemcpy;
16463 using ::wmemmove;
16464 using ::wmemset;
16465 using ::wprintf;
16466 using ::wscanf;
16470 main ()
16474 return 0;
16476 _ACEOF
16477 if ac_fn_cxx_try_compile "$LINENO"; then :
16479 else
16480 enable_wchar_t=no
16482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483 else
16484 enable_wchar_t=no
16487 ac_ext=c
16488 ac_cpp='$CPP $CPPFLAGS'
16489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16495 if test x"$enable_wchar_t" = x"yes"; then
16497 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16502 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16504 $as_echo "$enable_wchar_t" >&6; }
16508 # Check whether --enable-c99 was given.
16509 if test "${enable_c99+set}" = set; then :
16510 enableval=$enable_c99;
16511 case "$enableval" in
16512 yes|no) ;;
16513 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16514 esac
16516 else
16517 enable_c99=yes
16522 if test x"$enable_c99" = x"yes"; then
16525 ac_ext=cpp
16526 ac_cpp='$CXXCPP $CPPFLAGS'
16527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16532 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16533 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16534 # spuriously enabled.
16535 # Long term, -std=c++0x could be even better, could manage to explicitely
16536 # request C99 facilities to the underlying C headers.
16537 ac_save_CXXFLAGS="$CXXFLAGS"
16538 CXXFLAGS="$CXXFLAGS -std=c++98"
16539 ac_save_LIBS="$LIBS"
16540 ac_save_gcc_no_link="$gcc_no_link"
16542 if test x$gcc_no_link != xyes; then
16543 # Use -fno-exceptions to that the C driver can link these tests without
16544 # hitting undefined references to personality routines.
16545 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16547 $as_echo_n "checking for sin in -lm... " >&6; }
16548 if test "${ac_cv_lib_m_sin+set}" = set; then :
16549 $as_echo_n "(cached) " >&6
16550 else
16551 ac_check_lib_save_LIBS=$LIBS
16552 LIBS="-lm $LIBS"
16553 if test x$gcc_no_link = xyes; then
16554 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16559 /* Override any GCC internal prototype to avoid an error.
16560 Use char because int might match the return type of a GCC
16561 builtin and then its argument prototype would still apply. */
16562 #ifdef __cplusplus
16563 extern "C"
16564 #endif
16565 char sin ();
16567 main ()
16569 return sin ();
16571 return 0;
16573 _ACEOF
16574 if ac_fn_cxx_try_link "$LINENO"; then :
16575 ac_cv_lib_m_sin=yes
16576 else
16577 ac_cv_lib_m_sin=no
16579 rm -f core conftest.err conftest.$ac_objext \
16580 conftest$ac_exeext conftest.$ac_ext
16581 LIBS=$ac_check_lib_save_LIBS
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16584 $as_echo "$ac_cv_lib_m_sin" >&6; }
16585 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16587 LIBS="$LIBS -lm"
16589 else
16591 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16592 gcc_no_link=yes
16598 # Check for the existence of <math.h> functions used if C99 is enabled.
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16600 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16601 if test "${glibcxx_cv_c99_math+set}" = set; then :
16602 $as_echo_n "(cached) " >&6
16603 else
16605 if test x$gcc_no_link = xyes; then
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16608 #include <math.h>
16609 volatile double d1, d2;
16610 volatile int i;
16612 main ()
16614 i = fpclassify(d1);
16615 i = isfinite(d1);
16616 i = isinf(d1);
16617 i = isnan(d1);
16618 i = isnormal(d1);
16619 i = signbit(d1);
16620 i = isgreater(d1, d2);
16621 i = isgreaterequal(d1, d2);
16622 i = isless(d1, d2);
16623 i = islessequal(d1, d2);
16624 i = islessgreater(d1, d2);
16625 i = islessgreater(d1, d2);
16626 i = isunordered(d1, d2);
16629 return 0;
16631 _ACEOF
16632 if ac_fn_cxx_try_compile "$LINENO"; then :
16633 glibcxx_cv_c99_math=yes
16634 else
16635 glibcxx_cv_c99_math=no
16637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16638 else
16639 if test x$gcc_no_link = xyes; then
16640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #include <math.h>
16645 volatile double d1, d2;
16646 volatile int i;
16648 main ()
16650 i = fpclassify(d1);
16651 i = isfinite(d1);
16652 i = isinf(d1);
16653 i = isnan(d1);
16654 i = isnormal(d1);
16655 i = signbit(d1);
16656 i = isgreater(d1, d2);
16657 i = isgreaterequal(d1, d2);
16658 i = isless(d1, d2);
16659 i = islessequal(d1, d2);
16660 i = islessgreater(d1, d2);
16661 i = islessgreater(d1, d2);
16662 i = isunordered(d1, d2);
16665 return 0;
16667 _ACEOF
16668 if ac_fn_cxx_try_link "$LINENO"; then :
16669 glibcxx_cv_c99_math=yes
16670 else
16671 glibcxx_cv_c99_math=no
16673 rm -f core conftest.err conftest.$ac_objext \
16674 conftest$ac_exeext conftest.$ac_ext
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16680 $as_echo "$glibcxx_cv_c99_math" >&6; }
16681 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16683 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16687 # Check for the existence of <complex.h> complex math functions.
16688 # This is necessary even though libstdc++ uses the builtin versions
16689 # of these functions, because if the builtin cannot be used, a reference
16690 # to the library function is emitted.
16691 for ac_header in tgmath.h
16692 do :
16693 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16694 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_TGMATH_H 1
16697 _ACEOF
16698 ac_has_tgmath_h=yes
16699 else
16700 ac_has_tgmath_h=no
16703 done
16705 for ac_header in complex.h
16706 do :
16707 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16708 if test "x$ac_cv_header_complex_h" = x""yes; then :
16709 cat >>confdefs.h <<_ACEOF
16710 #define HAVE_COMPLEX_H 1
16711 _ACEOF
16712 ac_has_complex_h=yes
16713 else
16714 ac_has_complex_h=no
16717 done
16719 glibcxx_cv_c99_complex=no;
16720 if test x"$ac_has_complex_h" = x"yes"; then
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16722 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16723 if test x$gcc_no_link = xyes; then
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726 #include <complex.h>
16727 typedef __complex__ float float_type;
16728 typedef __complex__ double double_type;
16729 typedef __complex__ long double ld_type;
16730 volatile float_type tmpf;
16731 volatile double_type tmpd;
16732 volatile ld_type tmpld;
16733 volatile float f;
16734 volatile double d;
16735 volatile long double ld;
16737 main ()
16739 f = cabsf(tmpf);
16740 f = cargf(tmpf);
16741 tmpf = ccosf(tmpf);
16742 tmpf = ccoshf(tmpf);
16743 tmpf = cexpf(tmpf);
16744 tmpf = clogf(tmpf);
16745 tmpf = csinf(tmpf);
16746 tmpf = csinhf(tmpf);
16747 tmpf = csqrtf(tmpf);
16748 tmpf = ctanf(tmpf);
16749 tmpf = ctanhf(tmpf);
16750 tmpf = cpowf(tmpf, tmpf);
16751 tmpf = cprojf(tmpf);
16752 d = cabs(tmpd);
16753 d = carg(tmpd);
16754 tmpd = ccos(tmpd);
16755 tmpd = ccosh(tmpd);
16756 tmpd = cexp(tmpd);
16757 tmpd = clog(tmpd);
16758 tmpd = csin(tmpd);
16759 tmpd = csinh(tmpd);
16760 tmpd = csqrt(tmpd);
16761 tmpd = ctan(tmpd);
16762 tmpd = ctanh(tmpd);
16763 tmpd = cpow(tmpd, tmpd);
16764 tmpd = cproj(tmpd);
16765 ld = cabsl(tmpld);
16766 ld = cargl(tmpld);
16767 tmpld = ccosl(tmpld);
16768 tmpld = ccoshl(tmpld);
16769 tmpld = cexpl(tmpld);
16770 tmpld = clogl(tmpld);
16771 tmpld = csinl(tmpld);
16772 tmpld = csinhl(tmpld);
16773 tmpld = csqrtl(tmpld);
16774 tmpld = ctanl(tmpld);
16775 tmpld = ctanhl(tmpld);
16776 tmpld = cpowl(tmpld, tmpld);
16777 tmpld = cprojl(tmpld);
16780 return 0;
16782 _ACEOF
16783 if ac_fn_cxx_try_compile "$LINENO"; then :
16784 glibcxx_cv_c99_complex=yes
16785 else
16786 glibcxx_cv_c99_complex=no
16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16789 else
16790 if test x$gcc_no_link = xyes; then
16791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <complex.h>
16796 typedef __complex__ float float_type;
16797 typedef __complex__ double double_type;
16798 typedef __complex__ long double ld_type;
16799 volatile float_type tmpf;
16800 volatile double_type tmpd;
16801 volatile ld_type tmpld;
16802 volatile float f;
16803 volatile double d;
16804 volatile long double ld;
16806 main ()
16808 f = cabsf(tmpf);
16809 f = cargf(tmpf);
16810 tmpf = ccosf(tmpf);
16811 tmpf = ccoshf(tmpf);
16812 tmpf = cexpf(tmpf);
16813 tmpf = clogf(tmpf);
16814 tmpf = csinf(tmpf);
16815 tmpf = csinhf(tmpf);
16816 tmpf = csqrtf(tmpf);
16817 tmpf = ctanf(tmpf);
16818 tmpf = ctanhf(tmpf);
16819 tmpf = cpowf(tmpf, tmpf);
16820 tmpf = cprojf(tmpf);
16821 d = cabs(tmpd);
16822 d = carg(tmpd);
16823 tmpd = ccos(tmpd);
16824 tmpd = ccosh(tmpd);
16825 tmpd = cexp(tmpd);
16826 tmpd = clog(tmpd);
16827 tmpd = csin(tmpd);
16828 tmpd = csinh(tmpd);
16829 tmpd = csqrt(tmpd);
16830 tmpd = ctan(tmpd);
16831 tmpd = ctanh(tmpd);
16832 tmpd = cpow(tmpd, tmpd);
16833 tmpd = cproj(tmpd);
16834 ld = cabsl(tmpld);
16835 ld = cargl(tmpld);
16836 tmpld = ccosl(tmpld);
16837 tmpld = ccoshl(tmpld);
16838 tmpld = cexpl(tmpld);
16839 tmpld = clogl(tmpld);
16840 tmpld = csinl(tmpld);
16841 tmpld = csinhl(tmpld);
16842 tmpld = csqrtl(tmpld);
16843 tmpld = ctanl(tmpld);
16844 tmpld = ctanhl(tmpld);
16845 tmpld = cpowl(tmpld, tmpld);
16846 tmpld = cprojl(tmpld);
16849 return 0;
16851 _ACEOF
16852 if ac_fn_cxx_try_link "$LINENO"; then :
16853 glibcxx_cv_c99_complex=yes
16854 else
16855 glibcxx_cv_c99_complex=no
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext conftest.$ac_ext
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16862 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16863 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16865 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16869 # Check for the existence in <stdio.h> of vscanf, et. al.
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16871 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16872 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16873 $as_echo_n "(cached) " >&6
16874 else
16876 if test x$gcc_no_link = xyes; then
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16879 #include <stdio.h>
16880 #include <stdarg.h>
16881 void foo(char* fmt, ...)
16883 va_list args; va_start(args, fmt);
16884 vfscanf(stderr, "%i", args);
16885 vscanf("%i", args);
16886 vsnprintf(fmt, 0, "%i", args);
16887 vsscanf(fmt, "%i", args);
16890 main ()
16892 snprintf("12", 0, "%i");
16894 return 0;
16896 _ACEOF
16897 if ac_fn_cxx_try_compile "$LINENO"; then :
16898 glibcxx_cv_c99_stdio=yes
16899 else
16900 glibcxx_cv_c99_stdio=no
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16903 else
16904 if test x$gcc_no_link = xyes; then
16905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 #include <stdio.h>
16910 #include <stdarg.h>
16911 void foo(char* fmt, ...)
16913 va_list args; va_start(args, fmt);
16914 vfscanf(stderr, "%i", args);
16915 vscanf("%i", args);
16916 vsnprintf(fmt, 0, "%i", args);
16917 vsscanf(fmt, "%i", args);
16920 main ()
16922 snprintf("12", 0, "%i");
16924 return 0;
16926 _ACEOF
16927 if ac_fn_cxx_try_link "$LINENO"; then :
16928 glibcxx_cv_c99_stdio=yes
16929 else
16930 glibcxx_cv_c99_stdio=no
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext conftest.$ac_ext
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16939 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16941 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16943 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16944 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16948 if test x$gcc_no_link = xyes; then
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16951 #include <stdlib.h>
16952 volatile float f;
16953 volatile long double ld;
16954 volatile unsigned long long ll;
16955 lldiv_t mydivt;
16957 main ()
16959 char* tmp;
16960 f = strtof("gnu", &tmp);
16961 ld = strtold("gnu", &tmp);
16962 ll = strtoll("gnu", &tmp, 10);
16963 ll = strtoull("gnu", &tmp, 10);
16964 ll = llabs(10);
16965 mydivt = lldiv(10,1);
16966 ll = mydivt.quot;
16967 ll = mydivt.rem;
16968 ll = atoll("10");
16969 _Exit(0);
16972 return 0;
16974 _ACEOF
16975 if ac_fn_cxx_try_compile "$LINENO"; then :
16976 glibcxx_cv_c99_stdlib=yes
16977 else
16978 glibcxx_cv_c99_stdlib=no
16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16981 else
16982 if test x$gcc_no_link = xyes; then
16983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 #include <stdlib.h>
16988 volatile float f;
16989 volatile long double ld;
16990 volatile unsigned long long ll;
16991 lldiv_t mydivt;
16993 main ()
16995 char* tmp;
16996 f = strtof("gnu", &tmp);
16997 ld = strtold("gnu", &tmp);
16998 ll = strtoll("gnu", &tmp, 10);
16999 ll = strtoull("gnu", &tmp, 10);
17000 ll = llabs(10);
17001 mydivt = lldiv(10,1);
17002 ll = mydivt.quot;
17003 ll = mydivt.rem;
17004 ll = atoll("10");
17005 _Exit(0);
17008 return 0;
17010 _ACEOF
17011 if ac_fn_cxx_try_link "$LINENO"; then :
17012 glibcxx_cv_c99_stdlib=yes
17013 else
17014 glibcxx_cv_c99_stdlib=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17023 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17025 # Check for the existence in <wchar.h> of wcstold, etc.
17026 glibcxx_cv_c99_wchar=no;
17027 if test x"$ac_has_wchar_h" = xyes &&
17028 test x"$ac_has_wctype_h" = xyes; then
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17030 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <wchar.h>
17034 namespace test
17036 using ::wcstold;
17037 using ::wcstoll;
17038 using ::wcstoull;
17042 main ()
17046 return 0;
17048 _ACEOF
17049 if ac_fn_cxx_try_compile "$LINENO"; then :
17050 glibcxx_cv_c99_wchar=yes
17051 else
17052 glibcxx_cv_c99_wchar=no
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17056 # Checks for wide character functions that may not be present.
17057 # Injection of these is wrapped with guard macros.
17058 # NB: only put functions here, instead of immediately above, if
17059 # absolutely necessary.
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #include <wchar.h>
17063 namespace test { using ::vfwscanf; }
17065 main ()
17069 return 0;
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17074 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17081 #include <wchar.h>
17082 namespace test { using ::vswscanf; }
17084 main ()
17088 return 0;
17090 _ACEOF
17091 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 #include <wchar.h>
17101 namespace test { using ::vwscanf; }
17103 main ()
17107 return 0;
17109 _ACEOF
17110 if ac_fn_cxx_try_compile "$LINENO"; then :
17112 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <wchar.h>
17120 namespace test { using ::wcstof; }
17122 main ()
17126 return 0;
17128 _ACEOF
17129 if ac_fn_cxx_try_compile "$LINENO"; then :
17131 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 #include <wctype.h>
17140 main ()
17142 wint_t t; int i = iswblank(t);
17144 return 0;
17146 _ACEOF
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17149 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17155 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17158 # Option parsed, now set things appropriately.
17159 if test x"$glibcxx_cv_c99_math" = x"no" ||
17160 test x"$glibcxx_cv_c99_complex" = x"no" ||
17161 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17162 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17163 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17164 enable_c99=no;
17165 else
17167 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17171 gcc_no_link="$ac_save_gcc_no_link"
17172 LIBS="$ac_save_LIBS"
17173 CXXFLAGS="$ac_save_CXXFLAGS"
17174 ac_ext=c
17175 ac_cpp='$CPP $CPPFLAGS'
17176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17183 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17185 $as_echo "$enable_c99" >&6; }
17188 # Check whether --enable-concept-checks was given.
17189 if test "${enable_concept_checks+set}" = set; then :
17190 enableval=$enable_concept_checks;
17191 case "$enableval" in
17192 yes|no) ;;
17193 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17194 esac
17196 else
17197 enable_concept_checks=no
17201 if test $enable_concept_checks = yes; then
17203 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17208 # Check whether --enable-libstdcxx-debug-flags was given.
17209 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17210 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17211 xno | x) enable_libstdcxx_debug_flags= ;;
17212 x-*) ;;
17213 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17214 esac
17215 else
17216 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17221 # Option parsed, now set things appropriately
17222 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17226 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17230 $as_echo_n "checking for additional debug build... " >&6; }
17231 # Check whether --enable-libstdcxx-debug was given.
17232 if test "${enable_libstdcxx_debug+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug;
17234 case "$enableval" in
17235 yes|no) ;;
17236 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17237 esac
17239 else
17240 enable_libstdcxx_debug=no
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17245 $as_echo "$enable_libstdcxx_debug" >&6; }
17250 enable_parallel=no;
17252 # See if configured libgomp/omp.h exists. (libgomp may be in
17253 # noconfigdirs but not explicitly disabled.)
17254 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17255 enable_parallel=yes;
17256 else
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17258 $as_echo "$as_me: target-libgomp not built" >&6;}
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17262 $as_echo_n "checking for parallel mode support... " >&6; }
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17264 $as_echo "$enable_parallel" >&6; }
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17267 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17268 # Check whether --enable-cxx-flags was given.
17269 if test "${enable_cxx_flags+set}" = set; then :
17270 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17271 xno | x) enable_cxx_flags= ;;
17272 x-*) ;;
17273 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17274 esac
17275 else
17276 enable_cxx_flags=
17281 # Run through flags (either default or command-line) and set anything
17282 # extra (e.g., #defines) that must accompany particular g++ options.
17283 if test -n "$enable_cxx_flags"; then
17284 for f in $enable_cxx_flags; do
17285 case "$f" in
17286 -fhonor-std) ;;
17287 -*) ;;
17288 *) # and we're trying to pass /what/ exactly?
17289 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17290 esac
17291 done
17294 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17296 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17300 # Check whether --enable-fully-dynamic-string was given.
17301 if test "${enable_fully_dynamic_string+set}" = set; then :
17302 enableval=$enable_fully_dynamic_string;
17303 case "$enableval" in
17304 yes|no) ;;
17305 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17306 esac
17308 else
17309 enable_fully_dynamic_string=no
17313 if test $enable_fully_dynamic_string = yes; then
17314 enable_fully_dynamic_string_def=1
17315 else
17316 enable_fully_dynamic_string_def=0
17319 cat >>confdefs.h <<_ACEOF
17320 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17321 _ACEOF
17326 # Check whether --enable-extern-template was given.
17327 if test "${enable_extern_template+set}" = set; then :
17328 enableval=$enable_extern_template;
17329 case "$enableval" in
17330 yes|no) ;;
17331 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17332 esac
17334 else
17335 enable_extern_template=yes
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17341 $as_echo_n "checking for extern template support... " >&6; }
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17343 $as_echo "$enable_extern_template" >&6; }
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17350 $as_echo_n "checking for custom python install directory... " >&6; }
17352 # Check whether --with-python-dir was given.
17353 if test "${with_python_dir+set}" = set; then :
17354 withval=$with_python_dir; with_python_dir=$withval
17355 else
17356 with_python_dir="no"
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17360 $as_echo "${with_python_dir}" >&6; }
17362 # Needed for installing Python modules during make install.
17363 python_mod_dir="${with_python_dir}"
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17369 $as_echo_n "checking for -Werror... " >&6; }
17370 # Check whether --enable-werror was given.
17371 if test "${enable_werror+set}" = set; then :
17372 enableval=$enable_werror;
17373 case "$enableval" in
17374 yes|no) ;;
17375 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17376 esac
17378 else
17379 enable_werror=yes
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17384 $as_echo "$enable_werror" >&6; }
17388 # Checks for operating systems support that doesn't require linking.
17392 ac_ext=cpp
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17400 $as_echo_n "checking for gets declaration... " >&6; }
17401 if test "${glibcxx_cv_gets+set}" = set; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17407 #include <stdio.h>
17408 namespace test
17410 using ::gets;
17413 _ACEOF
17414 if ac_fn_cxx_try_compile "$LINENO"; then :
17415 glibcxx_cv_gets=yes
17416 else
17417 glibcxx_cv_gets=no
17420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17424 if test $glibcxx_cv_gets = yes; then
17426 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17430 $as_echo "$glibcxx_cv_gets" >&6; }
17432 ac_ext=c
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17442 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17443 if test "${glibcxx_cv_system_error1+set}" = set; then :
17444 $as_echo_n "(cached) " >&6
17445 else
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 #include <errno.h>
17451 main ()
17453 int i = EOWNERDEAD;
17455 return 0;
17457 _ACEOF
17458 if ac_fn_c_try_compile "$LINENO"; then :
17459 glibcxx_cv_system_error1=yes
17460 else
17461 glibcxx_cv_system_error1=no
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17468 $as_echo "$glibcxx_cv_system_error1" >&6; }
17469 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17471 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17475 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17476 if test "${glibcxx_cv_system_error2+set}" = set; then :
17477 $as_echo_n "(cached) " >&6
17478 else
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17482 #include <errno.h>
17484 main ()
17486 int i = ENOTRECOVERABLE;
17488 return 0;
17490 _ACEOF
17491 if ac_fn_c_try_compile "$LINENO"; then :
17492 glibcxx_cv_system_error2=yes
17493 else
17494 glibcxx_cv_system_error2=no
17496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17501 $as_echo "$glibcxx_cv_system_error2" >&6; }
17502 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17504 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17508 $as_echo_n "checking for ENOLINK... " >&6; }
17509 if test "${glibcxx_cv_system_error3+set}" = set; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 #include <errno.h>
17517 main ()
17519 int i = ENOLINK;
17521 return 0;
17523 _ACEOF
17524 if ac_fn_c_try_compile "$LINENO"; then :
17525 glibcxx_cv_system_error3=yes
17526 else
17527 glibcxx_cv_system_error3=no
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17534 $as_echo "$glibcxx_cv_system_error3" >&6; }
17535 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17537 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17541 $as_echo_n "checking for EPROTO... " >&6; }
17542 if test "${glibcxx_cv_system_error4+set}" = set; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17548 #include <errno.h>
17550 main ()
17552 int i = EPROTO;
17554 return 0;
17556 _ACEOF
17557 if ac_fn_c_try_compile "$LINENO"; then :
17558 glibcxx_cv_system_error4=yes
17559 else
17560 glibcxx_cv_system_error4=no
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17567 $as_echo "$glibcxx_cv_system_error4" >&6; }
17568 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17570 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17574 $as_echo_n "checking for ENODATA... " >&6; }
17575 if test "${glibcxx_cv_system_error5+set}" = set; then :
17576 $as_echo_n "(cached) " >&6
17577 else
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 #include <errno.h>
17583 main ()
17585 int i = ENODATA;
17587 return 0;
17589 _ACEOF
17590 if ac_fn_c_try_compile "$LINENO"; then :
17591 glibcxx_cv_system_error5=yes
17592 else
17593 glibcxx_cv_system_error5=no
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17600 $as_echo "$glibcxx_cv_system_error5" >&6; }
17601 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17603 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17607 $as_echo_n "checking for ENOSR... " >&6; }
17608 if test "${glibcxx_cv_system_error6+set}" = set; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 #include <errno.h>
17616 main ()
17618 int i = ENOSR;
17620 return 0;
17622 _ACEOF
17623 if ac_fn_c_try_compile "$LINENO"; then :
17624 glibcxx_cv_system_error6=yes
17625 else
17626 glibcxx_cv_system_error6=no
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17633 $as_echo "$glibcxx_cv_system_error6" >&6; }
17634 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17636 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17640 $as_echo_n "checking for ENOSTR... " >&6; }
17641 if test "${glibcxx_cv_system_error7+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17647 #include <errno.h>
17649 main ()
17651 int i = ENOSTR;
17653 return 0;
17655 _ACEOF
17656 if ac_fn_c_try_compile "$LINENO"; then :
17657 glibcxx_cv_system_error7=yes
17658 else
17659 glibcxx_cv_system_error7=no
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17666 $as_echo "$glibcxx_cv_system_error7" >&6; }
17667 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17669 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17673 $as_echo_n "checking for ETIME... " >&6; }
17674 if test "${glibcxx_cv_system_error8+set}" = set; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h. */
17680 #include <errno.h>
17682 main ()
17684 int i = ETIME;
17686 return 0;
17688 _ACEOF
17689 if ac_fn_c_try_compile "$LINENO"; then :
17690 glibcxx_cv_system_error8=yes
17691 else
17692 glibcxx_cv_system_error8=no
17694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17699 $as_echo "$glibcxx_cv_system_error8" >&6; }
17700 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17702 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17706 $as_echo_n "checking for EBADMSG... " >&6; }
17707 if test "${glibcxx_cv_system_error9+set}" = set; then :
17708 $as_echo_n "(cached) " >&6
17709 else
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #include <errno.h>
17715 main ()
17717 int i = EBADMSG;
17719 return 0;
17721 _ACEOF
17722 if ac_fn_c_try_compile "$LINENO"; then :
17723 glibcxx_cv_system_error9=yes
17724 else
17725 glibcxx_cv_system_error9=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17732 $as_echo "$glibcxx_cv_system_error9" >&6; }
17733 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17735 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17739 $as_echo_n "checking for ECANCELED... " >&6; }
17740 if test "${glibcxx_cv_system_error10+set}" = set; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17745 /* end confdefs.h. */
17746 #include <errno.h>
17748 main ()
17750 int i = ECANCELED;
17752 return 0;
17754 _ACEOF
17755 if ac_fn_c_try_compile "$LINENO"; then :
17756 glibcxx_cv_system_error10=yes
17757 else
17758 glibcxx_cv_system_error10=no
17760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17765 $as_echo "$glibcxx_cv_system_error10" >&6; }
17766 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17768 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17772 $as_echo_n "checking for EOVERFLOW... " >&6; }
17773 if test "${glibcxx_cv_system_error11+set}" = set; then :
17774 $as_echo_n "(cached) " >&6
17775 else
17777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17779 #include <errno.h>
17781 main ()
17783 int i = EOVERFLOW;
17785 return 0;
17787 _ACEOF
17788 if ac_fn_c_try_compile "$LINENO"; then :
17789 glibcxx_cv_system_error11=yes
17790 else
17791 glibcxx_cv_system_error11=no
17793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17798 $as_echo "$glibcxx_cv_system_error11" >&6; }
17799 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17801 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17805 $as_echo_n "checking for ENOTSUP... " >&6; }
17806 if test "${glibcxx_cv_system_error12+set}" = set; then :
17807 $as_echo_n "(cached) " >&6
17808 else
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812 #include <errno.h>
17814 main ()
17816 int i = ENOTSUP;
17818 return 0;
17820 _ACEOF
17821 if ac_fn_c_try_compile "$LINENO"; then :
17822 glibcxx_cv_system_error12=yes
17823 else
17824 glibcxx_cv_system_error12=no
17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17831 $as_echo "$glibcxx_cv_system_error12" >&6; }
17832 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17834 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17838 $as_echo_n "checking for EIDRM... " >&6; }
17839 if test "${glibcxx_cv_system_error13+set}" = set; then :
17840 $as_echo_n "(cached) " >&6
17841 else
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17845 #include <errno.h>
17847 main ()
17849 int i = EIDRM;
17851 return 0;
17853 _ACEOF
17854 if ac_fn_c_try_compile "$LINENO"; then :
17855 glibcxx_cv_system_error13=yes
17856 else
17857 glibcxx_cv_system_error13=no
17859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17864 $as_echo "$glibcxx_cv_system_error13" >&6; }
17865 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17867 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17871 $as_echo_n "checking for ETXTBSY... " >&6; }
17872 if test "${glibcxx_cv_system_error14+set}" = set; then :
17873 $as_echo_n "(cached) " >&6
17874 else
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17878 #include <errno.h>
17880 main ()
17882 int i = ETXTBSY;
17884 return 0;
17886 _ACEOF
17887 if ac_fn_c_try_compile "$LINENO"; then :
17888 glibcxx_cv_system_error14=yes
17889 else
17890 glibcxx_cv_system_error14=no
17892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17897 $as_echo "$glibcxx_cv_system_error14" >&6; }
17898 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17900 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17904 $as_echo_n "checking for ECHILD... " >&6; }
17905 if test "${glibcxx_cv_system_error15+set}" = set; then :
17906 $as_echo_n "(cached) " >&6
17907 else
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17911 #include <errno.h>
17913 main ()
17915 int i = ECHILD;
17917 return 0;
17919 _ACEOF
17920 if ac_fn_c_try_compile "$LINENO"; then :
17921 glibcxx_cv_system_error15=yes
17922 else
17923 glibcxx_cv_system_error15=no
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17930 $as_echo "$glibcxx_cv_system_error15" >&6; }
17931 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17933 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17937 $as_echo_n "checking for ENOSPC... " >&6; }
17938 if test "${glibcxx_cv_system_error16+set}" = set; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17944 #include <errno.h>
17946 main ()
17948 int i = ENOSPC;
17950 return 0;
17952 _ACEOF
17953 if ac_fn_c_try_compile "$LINENO"; then :
17954 glibcxx_cv_system_error16=yes
17955 else
17956 glibcxx_cv_system_error16=no
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17963 $as_echo "$glibcxx_cv_system_error16" >&6; }
17964 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17966 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17970 $as_echo_n "checking for EPERM... " >&6; }
17971 if test "${glibcxx_cv_system_error17+set}" = set; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <errno.h>
17979 main ()
17981 int i = EPERM;
17983 return 0;
17985 _ACEOF
17986 if ac_fn_c_try_compile "$LINENO"; then :
17987 glibcxx_cv_system_error17=yes
17988 else
17989 glibcxx_cv_system_error17=no
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17996 $as_echo "$glibcxx_cv_system_error17" >&6; }
17997 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17999 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18003 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18004 if test "${glibcxx_cv_system_error18+set}" = set; then :
18005 $as_echo_n "(cached) " >&6
18006 else
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18010 #include <errno.h>
18012 main ()
18014 int i = ETIMEDOUT;
18016 return 0;
18018 _ACEOF
18019 if ac_fn_c_try_compile "$LINENO"; then :
18020 glibcxx_cv_system_error18=yes
18021 else
18022 glibcxx_cv_system_error18=no
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18029 $as_echo "$glibcxx_cv_system_error18" >&6; }
18030 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18032 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18036 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18037 if test "${glibcxx_cv_system_error19+set}" = set; then :
18038 $as_echo_n "(cached) " >&6
18039 else
18041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18042 /* end confdefs.h. */
18043 #include <errno.h>
18045 main ()
18047 int i = EWOULDBLOCK;
18049 return 0;
18051 _ACEOF
18052 if ac_fn_c_try_compile "$LINENO"; then :
18053 glibcxx_cv_system_error19=yes
18054 else
18055 glibcxx_cv_system_error19=no
18057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18062 $as_echo "$glibcxx_cv_system_error19" >&6; }
18063 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18065 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18071 # For the streamoff typedef.
18075 ac_ext=cpp
18076 ac_cpp='$CXXCPP $CPPFLAGS'
18077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18083 $as_echo_n "checking for int64_t... " >&6; }
18084 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18085 $as_echo_n "(cached) " >&6
18086 else
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18090 #include <stdint.h>
18092 main ()
18094 int64_t var;
18096 return 0;
18098 _ACEOF
18099 if ac_fn_cxx_try_compile "$LINENO"; then :
18100 glibcxx_cv_INT64_T=yes
18101 else
18102 glibcxx_cv_INT64_T=no
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 if test $glibcxx_cv_INT64_T = yes; then
18111 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18114 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18117 $as_echo_n "checking for int64_t as long... " >&6; }
18118 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <stdint.h>
18125 template<typename, typename> struct same { enum { value = -1 }; };
18126 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18127 int array[same<int64_t, long>::value];
18129 main ()
18133 return 0;
18135 _ACEOF
18136 if ac_fn_cxx_try_compile "$LINENO"; then :
18137 glibcxx_cv_int64_t_long=yes
18138 else
18139 glibcxx_cv_int64_t_long=no
18141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 if test $glibcxx_cv_int64_t_long = yes; then
18148 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18151 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18155 $as_echo_n "checking for int64_t as long long... " >&6; }
18156 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18157 $as_echo_n "(cached) " >&6
18158 else
18160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18161 /* end confdefs.h. */
18162 #include <stdint.h>
18163 template<typename, typename> struct same { enum { value = -1 }; };
18164 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18165 int array[same<int64_t, long long>::value];
18167 main ()
18171 return 0;
18173 _ACEOF
18174 if ac_fn_cxx_try_compile "$LINENO"; then :
18175 glibcxx_cv_int64_t_long_long=yes
18176 else
18177 glibcxx_cv_int64_t_long_long=no
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18184 if test $glibcxx_cv_int64_t_long_long = yes; then
18186 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18189 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18193 ac_ext=c
18194 ac_cpp='$CPP $CPPFLAGS'
18195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18201 # For LFS support.
18204 ac_ext=cpp
18205 ac_cpp='$CXXCPP $CPPFLAGS'
18206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18210 ac_save_CXXFLAGS="$CXXFLAGS"
18211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18213 $as_echo_n "checking for LFS support... " >&6; }
18214 if test "${glibcxx_cv_LFS+set}" = set; then :
18215 $as_echo_n "(cached) " >&6
18216 else
18218 if test x$gcc_no_link = xyes; then
18219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18220 /* end confdefs.h. */
18221 #include <unistd.h>
18222 #include <stdio.h>
18223 #include <sys/stat.h>
18226 main ()
18228 FILE* fp;
18229 fopen64("t", "w");
18230 fseeko64(fp, 0, SEEK_CUR);
18231 ftello64(fp);
18232 lseek64(1, 0, SEEK_CUR);
18233 struct stat64 buf;
18234 fstat64(1, &buf);
18236 return 0;
18238 _ACEOF
18239 if ac_fn_cxx_try_compile "$LINENO"; then :
18240 glibcxx_cv_LFS=yes
18241 else
18242 glibcxx_cv_LFS=no
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18245 else
18246 if test x$gcc_no_link = xyes; then
18247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18251 #include <unistd.h>
18252 #include <stdio.h>
18253 #include <sys/stat.h>
18256 main ()
18258 FILE* fp;
18259 fopen64("t", "w");
18260 fseeko64(fp, 0, SEEK_CUR);
18261 ftello64(fp);
18262 lseek64(1, 0, SEEK_CUR);
18263 struct stat64 buf;
18264 fstat64(1, &buf);
18266 return 0;
18268 _ACEOF
18269 if ac_fn_cxx_try_link "$LINENO"; then :
18270 glibcxx_cv_LFS=yes
18271 else
18272 glibcxx_cv_LFS=no
18274 rm -f core conftest.err conftest.$ac_objext \
18275 conftest$ac_exeext conftest.$ac_ext
18280 if test $glibcxx_cv_LFS = yes; then
18282 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18286 $as_echo "$glibcxx_cv_LFS" >&6; }
18287 CXXFLAGS="$ac_save_CXXFLAGS"
18288 ac_ext=c
18289 ac_cpp='$CPP $CPPFLAGS'
18290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18296 # For showmanyc_helper().
18297 for ac_header in sys/ioctl.h sys/filio.h
18298 do :
18299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18300 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18301 eval as_val=\$$as_ac_Header
18302 if test "x$as_val" = x""yes; then :
18303 cat >>confdefs.h <<_ACEOF
18304 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18305 _ACEOF
18309 done
18314 ac_ext=cpp
18315 ac_cpp='$CXXCPP $CPPFLAGS'
18316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18320 ac_save_CXXFLAGS="$CXXFLAGS"
18321 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18324 $as_echo_n "checking for poll... " >&6; }
18325 if test "${glibcxx_cv_POLL+set}" = set; then :
18326 $as_echo_n "(cached) " >&6
18327 else
18329 if test x$gcc_no_link = xyes; then
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #include <poll.h>
18334 main ()
18336 struct pollfd pfd[1];
18337 pfd[0].events = POLLIN;
18338 poll(pfd, 1, 0);
18340 return 0;
18342 _ACEOF
18343 if ac_fn_cxx_try_compile "$LINENO"; then :
18344 glibcxx_cv_POLL=yes
18345 else
18346 glibcxx_cv_POLL=no
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 else
18350 if test x$gcc_no_link = xyes; then
18351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18355 #include <poll.h>
18357 main ()
18359 struct pollfd pfd[1];
18360 pfd[0].events = POLLIN;
18361 poll(pfd, 1, 0);
18363 return 0;
18365 _ACEOF
18366 if ac_fn_cxx_try_link "$LINENO"; then :
18367 glibcxx_cv_POLL=yes
18368 else
18369 glibcxx_cv_POLL=no
18371 rm -f core conftest.err conftest.$ac_objext \
18372 conftest$ac_exeext conftest.$ac_ext
18377 if test $glibcxx_cv_POLL = yes; then
18379 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18383 $as_echo "$glibcxx_cv_POLL" >&6; }
18385 CXXFLAGS="$ac_save_CXXFLAGS"
18386 ac_ext=c
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18396 ac_ext=cpp
18397 ac_cpp='$CXXCPP $CPPFLAGS'
18398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18402 ac_save_CXXFLAGS="$CXXFLAGS"
18403 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18406 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18407 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18408 $as_echo_n "(cached) " >&6
18409 else
18411 if test x$gcc_no_link = xyes; then
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18414 #include <sys/stat.h>
18416 main ()
18418 struct stat buffer;
18419 fstat(0, &buffer);
18420 S_ISREG(buffer.st_mode);
18422 return 0;
18424 _ACEOF
18425 if ac_fn_cxx_try_compile "$LINENO"; then :
18426 glibcxx_cv_S_ISREG=yes
18427 else
18428 glibcxx_cv_S_ISREG=no
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 else
18432 if test x$gcc_no_link = xyes; then
18433 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <sys/stat.h>
18439 main ()
18441 struct stat buffer;
18442 fstat(0, &buffer);
18443 S_ISREG(buffer.st_mode);
18445 return 0;
18447 _ACEOF
18448 if ac_fn_cxx_try_link "$LINENO"; then :
18449 glibcxx_cv_S_ISREG=yes
18450 else
18451 glibcxx_cv_S_ISREG=no
18453 rm -f core conftest.err conftest.$ac_objext \
18454 conftest$ac_exeext conftest.$ac_ext
18459 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18460 $as_echo_n "(cached) " >&6
18461 else
18463 if test x$gcc_no_link = xyes; then
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <sys/stat.h>
18468 main ()
18470 struct stat buffer;
18471 fstat(0, &buffer);
18472 S_IFREG & buffer.st_mode;
18474 return 0;
18476 _ACEOF
18477 if ac_fn_cxx_try_compile "$LINENO"; then :
18478 glibcxx_cv_S_IFREG=yes
18479 else
18480 glibcxx_cv_S_IFREG=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 else
18484 if test x$gcc_no_link = xyes; then
18485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18489 #include <sys/stat.h>
18491 main ()
18493 struct stat buffer;
18494 fstat(0, &buffer);
18495 S_IFREG & buffer.st_mode;
18497 return 0;
18499 _ACEOF
18500 if ac_fn_cxx_try_link "$LINENO"; then :
18501 glibcxx_cv_S_IFREG=yes
18502 else
18503 glibcxx_cv_S_IFREG=no
18505 rm -f core conftest.err conftest.$ac_objext \
18506 conftest$ac_exeext conftest.$ac_ext
18511 res=no
18512 if test $glibcxx_cv_S_ISREG = yes; then
18514 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18516 res=S_ISREG
18517 elif test $glibcxx_cv_S_IFREG = yes; then
18519 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18521 res=S_IFREG
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18524 $as_echo "$res" >&6; }
18526 CXXFLAGS="$ac_save_CXXFLAGS"
18527 ac_ext=c
18528 ac_cpp='$CPP $CPPFLAGS'
18529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18535 # For xsputn_2().
18536 for ac_header in sys/uio.h
18537 do :
18538 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18539 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18540 cat >>confdefs.h <<_ACEOF
18541 #define HAVE_SYS_UIO_H 1
18542 _ACEOF
18546 done
18551 ac_ext=cpp
18552 ac_cpp='$CXXCPP $CPPFLAGS'
18553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18557 ac_save_CXXFLAGS="$CXXFLAGS"
18558 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18561 $as_echo_n "checking for writev... " >&6; }
18562 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18563 $as_echo_n "(cached) " >&6
18564 else
18566 if test x$gcc_no_link = xyes; then
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18569 #include <sys/uio.h>
18571 main ()
18573 struct iovec iov[2];
18574 writev(0, iov, 0);
18576 return 0;
18578 _ACEOF
18579 if ac_fn_cxx_try_compile "$LINENO"; then :
18580 glibcxx_cv_WRITEV=yes
18581 else
18582 glibcxx_cv_WRITEV=no
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 else
18586 if test x$gcc_no_link = xyes; then
18587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 #include <sys/uio.h>
18593 main ()
18595 struct iovec iov[2];
18596 writev(0, iov, 0);
18598 return 0;
18600 _ACEOF
18601 if ac_fn_cxx_try_link "$LINENO"; then :
18602 glibcxx_cv_WRITEV=yes
18603 else
18604 glibcxx_cv_WRITEV=no
18606 rm -f core conftest.err conftest.$ac_objext \
18607 conftest$ac_exeext conftest.$ac_ext
18612 if test $glibcxx_cv_WRITEV = yes; then
18614 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18618 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18620 CXXFLAGS="$ac_save_CXXFLAGS"
18621 ac_ext=c
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18629 # For C99 support to TR1.
18633 ac_ext=cpp
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18640 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18641 # undefined and fake C99 facilities may be spuriously enabled.
18642 ac_save_CXXFLAGS="$CXXFLAGS"
18643 CXXFLAGS="$CXXFLAGS -std=c++98"
18645 # Check for the existence of <complex.h> complex math functions used
18646 # by tr1/complex.
18647 for ac_header in complex.h
18648 do :
18649 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18650 if test "x$ac_cv_header_complex_h" = x""yes; then :
18651 cat >>confdefs.h <<_ACEOF
18652 #define HAVE_COMPLEX_H 1
18653 _ACEOF
18654 ac_has_complex_h=yes
18655 else
18656 ac_has_complex_h=no
18659 done
18661 ac_c99_complex_tr1=no;
18662 if test x"$ac_has_complex_h" = x"yes"; then
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18664 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 #include <complex.h>
18669 main ()
18671 typedef __complex__ float float_type; float_type tmpf;
18672 cacosf(tmpf);
18673 casinf(tmpf);
18674 catanf(tmpf);
18675 cacoshf(tmpf);
18676 casinhf(tmpf);
18677 catanhf(tmpf);
18678 typedef __complex__ double double_type; double_type tmpd;
18679 cacos(tmpd);
18680 casin(tmpd);
18681 catan(tmpd);
18682 cacosh(tmpd);
18683 casinh(tmpd);
18684 catanh(tmpd);
18685 typedef __complex__ long double ld_type; ld_type tmpld;
18686 cacosl(tmpld);
18687 casinl(tmpld);
18688 catanl(tmpld);
18689 cacoshl(tmpld);
18690 casinhl(tmpld);
18691 catanhl(tmpld);
18694 return 0;
18696 _ACEOF
18697 if ac_fn_cxx_try_compile "$LINENO"; then :
18698 ac_c99_complex_tr1=yes
18699 else
18700 ac_c99_complex_tr1=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18705 $as_echo "$ac_c99_complex_tr1" >&6; }
18706 if test x"$ac_c99_complex_tr1" = x"yes"; then
18708 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18712 # Check for the existence of <ctype.h> functions.
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18714 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18715 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18716 $as_echo_n "(cached) " >&6
18717 else
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18721 #include <ctype.h>
18723 main ()
18725 int ch;
18726 int ret;
18727 ret = isblank(ch);
18730 return 0;
18732 _ACEOF
18733 if ac_fn_cxx_try_compile "$LINENO"; then :
18734 glibcxx_cv_c99_ctype_tr1=yes
18735 else
18736 glibcxx_cv_c99_ctype_tr1=no
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18743 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18744 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18746 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18750 # Check for the existence of <fenv.h> functions.
18751 for ac_header in fenv.h
18752 do :
18753 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18754 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18755 cat >>confdefs.h <<_ACEOF
18756 #define HAVE_FENV_H 1
18757 _ACEOF
18758 ac_has_fenv_h=yes
18759 else
18760 ac_has_fenv_h=no
18763 done
18765 ac_c99_fenv_tr1=no;
18766 if test x"$ac_has_fenv_h" = x"yes"; then
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18768 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 #include <fenv.h>
18773 main ()
18775 int except, mode;
18776 fexcept_t* pflag;
18777 fenv_t* penv;
18778 int ret;
18779 ret = feclearexcept(except);
18780 ret = fegetexceptflag(pflag, except);
18781 ret = feraiseexcept(except);
18782 ret = fesetexceptflag(pflag, except);
18783 ret = fetestexcept(except);
18784 ret = fegetround();
18785 ret = fesetround(mode);
18786 ret = fegetenv(penv);
18787 ret = feholdexcept(penv);
18788 ret = fesetenv(penv);
18789 ret = feupdateenv(penv);
18792 return 0;
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18796 ac_c99_fenv_tr1=yes
18797 else
18798 ac_c99_fenv_tr1=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18803 $as_echo "$ac_c99_fenv_tr1" >&6; }
18804 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18806 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18810 # Check for the existence of <stdint.h> types.
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18812 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18813 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18814 $as_echo_n "(cached) " >&6
18815 else
18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18819 #define __STDC_LIMIT_MACROS
18820 #define __STDC_CONSTANT_MACROS
18821 #include <stdint.h>
18823 main ()
18825 typedef int8_t my_int8_t;
18826 my_int8_t i8 = INT8_MIN;
18827 i8 = INT8_MAX;
18828 typedef int16_t my_int16_t;
18829 my_int16_t i16 = INT16_MIN;
18830 i16 = INT16_MAX;
18831 typedef int32_t my_int32_t;
18832 my_int32_t i32 = INT32_MIN;
18833 i32 = INT32_MAX;
18834 typedef int64_t my_int64_t;
18835 my_int64_t i64 = INT64_MIN;
18836 i64 = INT64_MAX;
18837 typedef int_fast8_t my_int_fast8_t;
18838 my_int_fast8_t if8 = INT_FAST8_MIN;
18839 if8 = INT_FAST8_MAX;
18840 typedef int_fast16_t my_int_fast16_t;
18841 my_int_fast16_t if16 = INT_FAST16_MIN;
18842 if16 = INT_FAST16_MAX;
18843 typedef int_fast32_t my_int_fast32_t;
18844 my_int_fast32_t if32 = INT_FAST32_MIN;
18845 if32 = INT_FAST32_MAX;
18846 typedef int_fast64_t my_int_fast64_t;
18847 my_int_fast64_t if64 = INT_FAST64_MIN;
18848 if64 = INT_FAST64_MAX;
18849 typedef int_least8_t my_int_least8_t;
18850 my_int_least8_t il8 = INT_LEAST8_MIN;
18851 il8 = INT_LEAST8_MAX;
18852 typedef int_least16_t my_int_least16_t;
18853 my_int_least16_t il16 = INT_LEAST16_MIN;
18854 il16 = INT_LEAST16_MAX;
18855 typedef int_least32_t my_int_least32_t;
18856 my_int_least32_t il32 = INT_LEAST32_MIN;
18857 il32 = INT_LEAST32_MAX;
18858 typedef int_least64_t my_int_least64_t;
18859 my_int_least64_t il64 = INT_LEAST64_MIN;
18860 il64 = INT_LEAST64_MAX;
18861 typedef intmax_t my_intmax_t;
18862 my_intmax_t im = INTMAX_MAX;
18863 im = INTMAX_MIN;
18864 typedef intptr_t my_intptr_t;
18865 my_intptr_t ip = INTPTR_MAX;
18866 ip = INTPTR_MIN;
18867 typedef uint8_t my_uint8_t;
18868 my_uint8_t ui8 = UINT8_MAX;
18869 ui8 = UINT8_MAX;
18870 typedef uint16_t my_uint16_t;
18871 my_uint16_t ui16 = UINT16_MAX;
18872 ui16 = UINT16_MAX;
18873 typedef uint32_t my_uint32_t;
18874 my_uint32_t ui32 = UINT32_MAX;
18875 ui32 = UINT32_MAX;
18876 typedef uint64_t my_uint64_t;
18877 my_uint64_t ui64 = UINT64_MAX;
18878 ui64 = UINT64_MAX;
18879 typedef uint_fast8_t my_uint_fast8_t;
18880 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18881 uif8 = UINT_FAST8_MAX;
18882 typedef uint_fast16_t my_uint_fast16_t;
18883 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18884 uif16 = UINT_FAST16_MAX;
18885 typedef uint_fast32_t my_uint_fast32_t;
18886 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18887 uif32 = UINT_FAST32_MAX;
18888 typedef uint_fast64_t my_uint_fast64_t;
18889 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18890 uif64 = UINT_FAST64_MAX;
18891 typedef uint_least8_t my_uint_least8_t;
18892 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18893 uil8 = UINT_LEAST8_MAX;
18894 typedef uint_least16_t my_uint_least16_t;
18895 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18896 uil16 = UINT_LEAST16_MAX;
18897 typedef uint_least32_t my_uint_least32_t;
18898 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18899 uil32 = UINT_LEAST32_MAX;
18900 typedef uint_least64_t my_uint_least64_t;
18901 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18902 uil64 = UINT_LEAST64_MAX;
18903 typedef uintmax_t my_uintmax_t;
18904 my_uintmax_t uim = UINTMAX_MAX;
18905 uim = UINTMAX_MAX;
18906 typedef uintptr_t my_uintptr_t;
18907 my_uintptr_t uip = UINTPTR_MAX;
18908 uip = UINTPTR_MAX;
18911 return 0;
18913 _ACEOF
18914 if ac_fn_cxx_try_compile "$LINENO"; then :
18915 glibcxx_cv_c99_stdint_tr1=yes
18916 else
18917 glibcxx_cv_c99_stdint_tr1=no
18919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18924 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18925 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18927 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18931 # Check for the existence of <math.h> functions.
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18933 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18934 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18935 $as_echo_n "(cached) " >&6
18936 else
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 #include <math.h>
18942 main ()
18944 typedef double_t my_double_t;
18945 typedef float_t my_float_t;
18946 acosh(0.0);
18947 acoshf(0.0f);
18948 acoshl(0.0l);
18949 asinh(0.0);
18950 asinhf(0.0f);
18951 asinhl(0.0l);
18952 atanh(0.0);
18953 atanhf(0.0f);
18954 atanhl(0.0l);
18955 cbrt(0.0);
18956 cbrtf(0.0f);
18957 cbrtl(0.0l);
18958 copysign(0.0, 0.0);
18959 copysignf(0.0f, 0.0f);
18960 copysignl(0.0l, 0.0l);
18961 erf(0.0);
18962 erff(0.0f);
18963 erfl(0.0l);
18964 erfc(0.0);
18965 erfcf(0.0f);
18966 erfcl(0.0l);
18967 exp2(0.0);
18968 exp2f(0.0f);
18969 exp2l(0.0l);
18970 expm1(0.0);
18971 expm1f(0.0f);
18972 expm1l(0.0l);
18973 fdim(0.0, 0.0);
18974 fdimf(0.0f, 0.0f);
18975 fdiml(0.0l, 0.0l);
18976 fma(0.0, 0.0, 0.0);
18977 fmaf(0.0f, 0.0f, 0.0f);
18978 fmal(0.0l, 0.0l, 0.0l);
18979 fmax(0.0, 0.0);
18980 fmaxf(0.0f, 0.0f);
18981 fmaxl(0.0l, 0.0l);
18982 fmin(0.0, 0.0);
18983 fminf(0.0f, 0.0f);
18984 fminl(0.0l, 0.0l);
18985 hypot(0.0, 0.0);
18986 hypotf(0.0f, 0.0f);
18987 hypotl(0.0l, 0.0l);
18988 ilogb(0.0);
18989 ilogbf(0.0f);
18990 ilogbl(0.0l);
18991 lgamma(0.0);
18992 lgammaf(0.0f);
18993 lgammal(0.0l);
18994 llrint(0.0);
18995 llrintf(0.0f);
18996 llrintl(0.0l);
18997 llround(0.0);
18998 llroundf(0.0f);
18999 llroundl(0.0l);
19000 log1p(0.0);
19001 log1pf(0.0f);
19002 log1pl(0.0l);
19003 log2(0.0);
19004 log2f(0.0f);
19005 log2l(0.0l);
19006 logb(0.0);
19007 logbf(0.0f);
19008 logbl(0.0l);
19009 lrint(0.0);
19010 lrintf(0.0f);
19011 lrintl(0.0l);
19012 lround(0.0);
19013 lroundf(0.0f);
19014 lroundl(0.0l);
19015 nan(0);
19016 nanf(0);
19017 nanl(0);
19018 nearbyint(0.0);
19019 nearbyintf(0.0f);
19020 nearbyintl(0.0l);
19021 nextafter(0.0, 0.0);
19022 nextafterf(0.0f, 0.0f);
19023 nextafterl(0.0l, 0.0l);
19024 nexttoward(0.0, 0.0);
19025 nexttowardf(0.0f, 0.0f);
19026 nexttowardl(0.0l, 0.0l);
19027 remainder(0.0, 0.0);
19028 remainderf(0.0f, 0.0f);
19029 remainderl(0.0l, 0.0l);
19030 remquo(0.0, 0.0, 0);
19031 remquof(0.0f, 0.0f, 0);
19032 remquol(0.0l, 0.0l, 0);
19033 rint(0.0);
19034 rintf(0.0f);
19035 rintl(0.0l);
19036 round(0.0);
19037 roundf(0.0f);
19038 roundl(0.0l);
19039 scalbln(0.0, 0l);
19040 scalblnf(0.0f, 0l);
19041 scalblnl(0.0l, 0l);
19042 scalbn(0.0, 0);
19043 scalbnf(0.0f, 0);
19044 scalbnl(0.0l, 0);
19045 tgamma(0.0);
19046 tgammaf(0.0f);
19047 tgammal(0.0l);
19048 trunc(0.0);
19049 truncf(0.0f);
19050 truncl(0.0l);
19053 return 0;
19055 _ACEOF
19056 if ac_fn_cxx_try_compile "$LINENO"; then :
19057 glibcxx_cv_c99_math_tr1=yes
19058 else
19059 glibcxx_cv_c99_math_tr1=no
19061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19066 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19067 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19069 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19073 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19074 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19075 ac_c99_inttypes_tr1=no;
19076 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19078 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19080 /* end confdefs.h. */
19081 #include <inttypes.h>
19083 main ()
19085 intmax_t i, numer, denom, base;
19086 const char* s;
19087 char** endptr;
19088 intmax_t ret = imaxabs(i);
19089 imaxdiv_t dret = imaxdiv(numer, denom);
19090 ret = strtoimax(s, endptr, base);
19091 uintmax_t uret = strtoumax(s, endptr, base);
19094 return 0;
19096 _ACEOF
19097 if ac_fn_cxx_try_compile "$LINENO"; then :
19098 ac_c99_inttypes_tr1=yes
19099 else
19100 ac_c99_inttypes_tr1=no
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19105 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19106 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19108 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19112 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19113 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19114 ac_c99_inttypes_wchar_t_tr1=no;
19115 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19117 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <inttypes.h>
19122 main ()
19124 intmax_t base;
19125 const wchar_t* s;
19126 wchar_t** endptr;
19127 intmax_t ret = wcstoimax(s, endptr, base);
19128 uintmax_t uret = wcstoumax(s, endptr, base);
19131 return 0;
19133 _ACEOF
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135 ac_c99_inttypes_wchar_t_tr1=yes
19136 else
19137 ac_c99_inttypes_wchar_t_tr1=no
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19142 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19143 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19145 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19149 # Check for the existence of the <stdbool.h> header.
19150 for ac_header in stdbool.h
19151 do :
19152 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19153 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STDBOOL_H 1
19156 _ACEOF
19160 done
19163 # Check for the existence of the <stdalign.h> header.
19164 for ac_header in stdalign.h
19165 do :
19166 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19167 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_STDALIGN_H 1
19170 _ACEOF
19174 done
19177 CXXFLAGS="$ac_save_CXXFLAGS"
19178 ac_ext=c
19179 ac_cpp='$CPP $CPPFLAGS'
19180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19186 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19190 $as_echo_n "checking for the value of EOF... " >&6; }
19191 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19192 $as_echo_n "(cached) " >&6
19193 else
19195 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19197 else
19198 as_fn_error "computing EOF failed" "$LINENO" 5
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19204 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19206 cat >>confdefs.h <<_ACEOF
19207 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19208 _ACEOF
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19212 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19213 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19214 $as_echo_n "(cached) " >&6
19215 else
19217 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19219 else
19220 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19226 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19228 cat >>confdefs.h <<_ACEOF
19229 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19230 _ACEOF
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19234 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19235 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19236 $as_echo_n "(cached) " >&6
19237 else
19239 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19241 else
19242 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19248 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19250 cat >>confdefs.h <<_ACEOF
19251 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19252 _ACEOF
19256 # For gettimeofday support.
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19260 $as_echo_n "checking for gettimeofday... " >&6; }
19263 ac_ext=cpp
19264 ac_cpp='$CXXCPP $CPPFLAGS'
19265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19269 ac_save_CXXFLAGS="$CXXFLAGS"
19270 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19272 ac_has_gettimeofday=no;
19273 for ac_header in sys/time.h
19274 do :
19275 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19276 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_SYS_TIME_H 1
19279 _ACEOF
19280 ac_has_sys_time_h=yes
19281 else
19282 ac_has_sys_time_h=no
19285 done
19287 if test x"$ac_has_sys_time_h" = x"yes"; then
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19289 $as_echo_n "checking for gettimeofday... " >&6; }
19290 if test x$gcc_no_link = xyes; then
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19293 #include <sys/time.h>
19295 main ()
19297 timeval tv; gettimeofday(&tv, 0);
19299 return 0;
19301 _ACEOF
19302 if ac_fn_cxx_try_compile "$LINENO"; then :
19303 ac_has_gettimeofday=yes
19304 else
19305 ac_has_gettimeofday=no
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 else
19309 if test x$gcc_no_link = xyes; then
19310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #include <sys/time.h>
19316 main ()
19318 timeval tv; gettimeofday(&tv, 0);
19320 return 0;
19322 _ACEOF
19323 if ac_fn_cxx_try_link "$LINENO"; then :
19324 ac_has_gettimeofday=yes
19325 else
19326 ac_has_gettimeofday=no
19328 rm -f core conftest.err conftest.$ac_objext \
19329 conftest$ac_exeext conftest.$ac_ext
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19333 $as_echo "$ac_has_gettimeofday" >&6; }
19336 if test x"$ac_has_gettimeofday" = x"yes"; then
19338 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19342 CXXFLAGS="$ac_save_CXXFLAGS"
19343 ac_ext=c
19344 ac_cpp='$CPP $CPPFLAGS'
19345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19351 # For clock_gettime, nanosleep and sched_yield support.
19352 # NB: The default is [no], because otherwise it requires linking.
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19356 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19357 # Check whether --enable-libstdcxx-time was given.
19358 if test "${enable_libstdcxx_time+set}" = set; then :
19359 enableval=$enable_libstdcxx_time;
19360 case "$enableval" in
19361 yes|no|rt) ;;
19362 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19363 esac
19365 else
19366 enable_libstdcxx_time=no
19372 ac_ext=cpp
19373 ac_cpp='$CXXCPP $CPPFLAGS'
19374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19378 ac_save_CXXFLAGS="$CXXFLAGS"
19379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19380 ac_save_LIBS="$LIBS"
19382 ac_has_clock_monotonic=no
19383 ac_has_clock_realtime=no
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19385 $as_echo "$enable_libstdcxx_time" >&6; }
19387 if test x"$enable_libstdcxx_time" != x"no"; then
19389 if test x"$enable_libstdcxx_time" = x"rt"; then
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19391 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19392 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19393 $as_echo_n "(cached) " >&6
19394 else
19395 ac_func_search_save_LIBS=$LIBS
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19399 /* Override any GCC internal prototype to avoid an error.
19400 Use char because int might match the return type of a GCC
19401 builtin and then its argument prototype would still apply. */
19402 #ifdef __cplusplus
19403 extern "C"
19404 #endif
19405 char clock_gettime ();
19407 main ()
19409 return clock_gettime ();
19411 return 0;
19413 _ACEOF
19414 for ac_lib in '' rt posix4; do
19415 if test -z "$ac_lib"; then
19416 ac_res="none required"
19417 else
19418 ac_res=-l$ac_lib
19419 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19421 if test x$gcc_no_link = xyes; then
19422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19424 if ac_fn_cxx_try_link "$LINENO"; then :
19425 ac_cv_search_clock_gettime=$ac_res
19427 rm -f core conftest.err conftest.$ac_objext \
19428 conftest$ac_exeext
19429 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19430 break
19432 done
19433 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19435 else
19436 ac_cv_search_clock_gettime=no
19438 rm conftest.$ac_ext
19439 LIBS=$ac_func_search_save_LIBS
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19442 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19443 ac_res=$ac_cv_search_clock_gettime
19444 if test "$ac_res" != no; then :
19445 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19450 $as_echo_n "checking for library containing nanosleep... " >&6; }
19451 if test "${ac_cv_search_nanosleep+set}" = set; then :
19452 $as_echo_n "(cached) " >&6
19453 else
19454 ac_func_search_save_LIBS=$LIBS
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h. */
19458 /* Override any GCC internal prototype to avoid an error.
19459 Use char because int might match the return type of a GCC
19460 builtin and then its argument prototype would still apply. */
19461 #ifdef __cplusplus
19462 extern "C"
19463 #endif
19464 char nanosleep ();
19466 main ()
19468 return nanosleep ();
19470 return 0;
19472 _ACEOF
19473 for ac_lib in '' rt posix4; do
19474 if test -z "$ac_lib"; then
19475 ac_res="none required"
19476 else
19477 ac_res=-l$ac_lib
19478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19480 if test x$gcc_no_link = xyes; then
19481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19483 if ac_fn_cxx_try_link "$LINENO"; then :
19484 ac_cv_search_nanosleep=$ac_res
19486 rm -f core conftest.err conftest.$ac_objext \
19487 conftest$ac_exeext
19488 if test "${ac_cv_search_nanosleep+set}" = set; then :
19489 break
19491 done
19492 if test "${ac_cv_search_nanosleep+set}" = set; then :
19494 else
19495 ac_cv_search_nanosleep=no
19497 rm conftest.$ac_ext
19498 LIBS=$ac_func_search_save_LIBS
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19501 $as_echo "$ac_cv_search_nanosleep" >&6; }
19502 ac_res=$ac_cv_search_nanosleep
19503 if test "$ac_res" != no; then :
19504 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19508 else
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19510 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19511 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19514 ac_func_search_save_LIBS=$LIBS
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19518 /* Override any GCC internal prototype to avoid an error.
19519 Use char because int might match the return type of a GCC
19520 builtin and then its argument prototype would still apply. */
19521 #ifdef __cplusplus
19522 extern "C"
19523 #endif
19524 char clock_gettime ();
19526 main ()
19528 return clock_gettime ();
19530 return 0;
19532 _ACEOF
19533 for ac_lib in '' posix4; do
19534 if test -z "$ac_lib"; then
19535 ac_res="none required"
19536 else
19537 ac_res=-l$ac_lib
19538 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19540 if test x$gcc_no_link = xyes; then
19541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19543 if ac_fn_cxx_try_link "$LINENO"; then :
19544 ac_cv_search_clock_gettime=$ac_res
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext
19548 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19549 break
19551 done
19552 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19554 else
19555 ac_cv_search_clock_gettime=no
19557 rm conftest.$ac_ext
19558 LIBS=$ac_func_search_save_LIBS
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19561 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19562 ac_res=$ac_cv_search_clock_gettime
19563 if test "$ac_res" != no; then :
19564 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19569 $as_echo_n "checking for library containing nanosleep... " >&6; }
19570 if test "${ac_cv_search_nanosleep+set}" = set; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 ac_func_search_save_LIBS=$LIBS
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19577 /* Override any GCC internal prototype to avoid an error.
19578 Use char because int might match the return type of a GCC
19579 builtin and then its argument prototype would still apply. */
19580 #ifdef __cplusplus
19581 extern "C"
19582 #endif
19583 char nanosleep ();
19585 main ()
19587 return nanosleep ();
19589 return 0;
19591 _ACEOF
19592 for ac_lib in '' posix4; do
19593 if test -z "$ac_lib"; then
19594 ac_res="none required"
19595 else
19596 ac_res=-l$ac_lib
19597 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19599 if test x$gcc_no_link = xyes; then
19600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19602 if ac_fn_cxx_try_link "$LINENO"; then :
19603 ac_cv_search_nanosleep=$ac_res
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext
19607 if test "${ac_cv_search_nanosleep+set}" = set; then :
19608 break
19610 done
19611 if test "${ac_cv_search_nanosleep+set}" = set; then :
19613 else
19614 ac_cv_search_nanosleep=no
19616 rm conftest.$ac_ext
19617 LIBS=$ac_func_search_save_LIBS
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19620 $as_echo "$ac_cv_search_nanosleep" >&6; }
19621 ac_res=$ac_cv_search_nanosleep
19622 if test "$ac_res" != no; then :
19623 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19629 case "$ac_cv_search_clock_gettime" in
19630 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19632 esac
19633 case "$ac_cv_search_nanosleep" in
19634 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19636 esac
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19639 $as_echo_n "checking for library containing sched_yield... " >&6; }
19640 if test "${ac_cv_search_sched_yield+set}" = set; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 ac_func_search_save_LIBS=$LIBS
19644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19645 /* end confdefs.h. */
19647 /* Override any GCC internal prototype to avoid an error.
19648 Use char because int might match the return type of a GCC
19649 builtin and then its argument prototype would still apply. */
19650 #ifdef __cplusplus
19651 extern "C"
19652 #endif
19653 char sched_yield ();
19655 main ()
19657 return sched_yield ();
19659 return 0;
19661 _ACEOF
19662 for ac_lib in '' rt posix4; do
19663 if test -z "$ac_lib"; then
19664 ac_res="none required"
19665 else
19666 ac_res=-l$ac_lib
19667 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19669 if test x$gcc_no_link = xyes; then
19670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19672 if ac_fn_cxx_try_link "$LINENO"; then :
19673 ac_cv_search_sched_yield=$ac_res
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext
19677 if test "${ac_cv_search_sched_yield+set}" = set; then :
19678 break
19680 done
19681 if test "${ac_cv_search_sched_yield+set}" = set; then :
19683 else
19684 ac_cv_search_sched_yield=no
19686 rm conftest.$ac_ext
19687 LIBS=$ac_func_search_save_LIBS
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19690 $as_echo "$ac_cv_search_sched_yield" >&6; }
19691 ac_res=$ac_cv_search_sched_yield
19692 if test "$ac_res" != no; then :
19693 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19698 case "$ac_cv_search_sched_yield" in
19699 -lposix4*)
19700 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19702 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19705 -lrt*)
19706 if test x"$enable_libstdcxx_time" = x"rt"; then
19707 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19715 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19718 esac
19720 for ac_header in unistd.h
19721 do :
19722 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19723 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19724 cat >>confdefs.h <<_ACEOF
19725 #define HAVE_UNISTD_H 1
19726 _ACEOF
19727 ac_has_unistd_h=yes
19728 else
19729 ac_has_unistd_h=no
19732 done
19735 if test x"$ac_has_unistd_h" = x"yes"; then
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19737 $as_echo_n "checking for monotonic clock... " >&6; }
19738 if test x$gcc_no_link = xyes; then
19739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #include <unistd.h>
19744 #include <time.h>
19747 main ()
19749 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19750 timespec tp;
19751 #endif
19752 clock_gettime(CLOCK_MONOTONIC, &tp);
19755 return 0;
19757 _ACEOF
19758 if ac_fn_cxx_try_link "$LINENO"; then :
19759 ac_has_clock_monotonic=yes
19760 else
19761 ac_has_clock_monotonic=no
19763 rm -f core conftest.err conftest.$ac_objext \
19764 conftest$ac_exeext conftest.$ac_ext
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19767 $as_echo "$ac_has_clock_monotonic" >&6; }
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19770 $as_echo_n "checking for realtime clock... " >&6; }
19771 if test x$gcc_no_link = xyes; then
19772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19776 #include <unistd.h>
19777 #include <time.h>
19780 main ()
19782 #if _POSIX_TIMERS > 0
19783 timespec tp;
19784 #endif
19785 clock_gettime(CLOCK_REALTIME, &tp);
19788 return 0;
19790 _ACEOF
19791 if ac_fn_cxx_try_link "$LINENO"; then :
19792 ac_has_clock_realtime=yes
19793 else
19794 ac_has_clock_realtime=no
19796 rm -f core conftest.err conftest.$ac_objext \
19797 conftest$ac_exeext conftest.$ac_ext
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19800 $as_echo "$ac_has_clock_realtime" >&6; }
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19803 $as_echo_n "checking for nanosleep... " >&6; }
19804 if test x$gcc_no_link = xyes; then
19805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #include <unistd.h>
19810 #include <time.h>
19813 main ()
19815 #if _POSIX_TIMERS > 0
19816 timespec tp;
19817 #endif
19818 nanosleep(&tp, 0);
19821 return 0;
19823 _ACEOF
19824 if ac_fn_cxx_try_link "$LINENO"; then :
19825 ac_has_nanosleep=yes
19826 else
19827 ac_has_nanosleep=no
19829 rm -f core conftest.err conftest.$ac_objext \
19830 conftest$ac_exeext conftest.$ac_ext
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19833 $as_echo "$ac_has_nanosleep" >&6; }
19837 if test x"$ac_has_clock_monotonic" != x"yes"; then
19838 case ${target_os} in
19839 linux*)
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19841 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #include <unistd.h>
19845 #include <time.h>
19846 #include <sys/syscall.h>
19849 main ()
19851 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19852 timespec tp;
19853 #endif
19854 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19855 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19858 return 0;
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862 ac_has_clock_monotonic_syscall=yes
19863 else
19864 ac_has_clock_monotonic_syscall=no
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19868 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19869 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19871 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19873 ac_has_clock_monotonic=yes
19874 ac_has_clock_realtime=yes
19875 fi;;
19876 esac
19879 if test x"$ac_has_clock_monotonic" = x"yes"; then
19881 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19885 if test x"$ac_has_clock_realtime" = x"yes"; then
19887 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19891 if test x"$ac_has_nanosleep" = x"yes"; then
19893 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19895 else
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19897 $as_echo_n "checking for sleep... " >&6; }
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #include <unistd.h>
19902 main ()
19904 sleep(1)
19906 return 0;
19908 _ACEOF
19909 if ac_fn_cxx_try_compile "$LINENO"; then :
19910 ac_has_sleep=yes
19911 else
19912 ac_has_sleep=no
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19915 if test x"$ac_has_sleep" = x"yes"; then
19917 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19921 $as_echo "$ac_has_sleep" >&6; }
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19923 $as_echo_n "checking for usleep... " >&6; }
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <unistd.h>
19928 main ()
19930 sleep(1);
19931 usleep(100);
19933 return 0;
19935 _ACEOF
19936 if ac_fn_cxx_try_compile "$LINENO"; then :
19937 ac_has_usleep=yes
19938 else
19939 ac_has_usleep=no
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942 if test x"$ac_has_usleep" = x"yes"; then
19944 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19948 $as_echo "$ac_has_usleep" >&6; }
19951 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19953 $as_echo_n "checking for Sleep... " >&6; }
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 #include <windows.h>
19958 main ()
19960 Sleep(1)
19962 return 0;
19964 _ACEOF
19965 if ac_fn_cxx_try_compile "$LINENO"; then :
19966 ac_has_win32_sleep=yes
19967 else
19968 ac_has_win32_sleep=no
19970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19971 if test x"$ac_has_win32_sleep" = x"yes"; then
19973 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19977 $as_echo "$ac_has_win32_sleep" >&6; }
19982 CXXFLAGS="$ac_save_CXXFLAGS"
19983 LIBS="$ac_save_LIBS"
19984 ac_ext=c
19985 ac_cpp='$CPP $CPPFLAGS'
19986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19993 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19994 if test "x$ac_cv_header_locale_h" = x""yes; then :
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19997 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19998 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19999 $as_echo_n "(cached) " >&6
20000 else
20001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 /* end confdefs.h. */
20003 #include <locale.h>
20005 main ()
20007 return LC_MESSAGES
20009 return 0;
20011 _ACEOF
20012 if ac_fn_c_try_compile "$LINENO"; then :
20013 ac_cv_val_LC_MESSAGES=yes
20014 else
20015 ac_cv_val_LC_MESSAGES=no
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20020 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20021 if test $ac_cv_val_LC_MESSAGES = yes; then
20023 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20032 # For hardware_concurrency
20033 for ac_header in sys/sysinfo.h
20034 do :
20035 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20036 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20037 cat >>confdefs.h <<_ACEOF
20038 #define HAVE_SYS_SYSINFO_H 1
20039 _ACEOF
20043 done
20048 ac_ext=cpp
20049 ac_cpp='$CXXCPP $CPPFLAGS'
20050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20054 ac_save_CXXFLAGS="$CXXFLAGS"
20055 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20058 $as_echo_n "checking for get_nprocs... " >&6; }
20059 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20060 $as_echo_n "(cached) " >&6
20061 else
20063 if test x$gcc_no_link = xyes; then
20064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20065 /* end confdefs.h. */
20066 #include <sys/sysinfo.h>
20068 main ()
20070 int n = get_nprocs();
20072 return 0;
20074 _ACEOF
20075 if ac_fn_cxx_try_compile "$LINENO"; then :
20076 glibcxx_cv_GET_NPROCS=yes
20077 else
20078 glibcxx_cv_GET_NPROCS=no
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20081 else
20082 if test x$gcc_no_link = xyes; then
20083 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <sys/sysinfo.h>
20089 main ()
20091 int n = get_nprocs();
20093 return 0;
20095 _ACEOF
20096 if ac_fn_cxx_try_link "$LINENO"; then :
20097 glibcxx_cv_GET_NPROCS=yes
20098 else
20099 glibcxx_cv_GET_NPROCS=no
20101 rm -f core conftest.err conftest.$ac_objext \
20102 conftest$ac_exeext conftest.$ac_ext
20107 if test $glibcxx_cv_GET_NPROCS = yes; then
20109 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20113 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20115 CXXFLAGS="$ac_save_CXXFLAGS"
20116 ac_ext=c
20117 ac_cpp='$CPP $CPPFLAGS'
20118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20123 for ac_header in unistd.h
20124 do :
20125 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20126 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20127 cat >>confdefs.h <<_ACEOF
20128 #define HAVE_UNISTD_H 1
20129 _ACEOF
20133 done
20138 ac_ext=cpp
20139 ac_cpp='$CXXCPP $CPPFLAGS'
20140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20144 ac_save_CXXFLAGS="$CXXFLAGS"
20145 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20148 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20149 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20150 $as_echo_n "(cached) " >&6
20151 else
20153 if test x$gcc_no_link = xyes; then
20154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20155 /* end confdefs.h. */
20156 #include <unistd.h>
20158 main ()
20160 int n = sysconf(_SC_NPROCESSORS_ONLN);
20162 return 0;
20164 _ACEOF
20165 if ac_fn_cxx_try_compile "$LINENO"; then :
20166 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20167 else
20168 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20171 else
20172 if test x$gcc_no_link = xyes; then
20173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20177 #include <unistd.h>
20179 main ()
20181 int n = sysconf(_SC_NPROCESSORS_ONLN);
20183 return 0;
20185 _ACEOF
20186 if ac_fn_cxx_try_link "$LINENO"; then :
20187 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20188 else
20189 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20191 rm -f core conftest.err conftest.$ac_objext \
20192 conftest$ac_exeext conftest.$ac_ext
20197 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20199 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20203 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20205 CXXFLAGS="$ac_save_CXXFLAGS"
20206 ac_ext=c
20207 ac_cpp='$CPP $CPPFLAGS'
20208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20216 ac_ext=cpp
20217 ac_cpp='$CXXCPP $CPPFLAGS'
20218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20222 ac_save_CXXFLAGS="$CXXFLAGS"
20223 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20226 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20227 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20228 $as_echo_n "(cached) " >&6
20229 else
20231 if test x$gcc_no_link = xyes; then
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h. */
20234 #include <unistd.h>
20236 main ()
20238 int n = sysconf(_SC_NPROC_ONLN);
20240 return 0;
20242 _ACEOF
20243 if ac_fn_cxx_try_compile "$LINENO"; then :
20244 glibcxx_cv_SC_NPROC_ONLN=yes
20245 else
20246 glibcxx_cv_SC_NPROC_ONLN=no
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 else
20250 if test x$gcc_no_link = xyes; then
20251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20255 #include <unistd.h>
20257 main ()
20259 int n = sysconf(_SC_NPROC_ONLN);
20261 return 0;
20263 _ACEOF
20264 if ac_fn_cxx_try_link "$LINENO"; then :
20265 glibcxx_cv_SC_NPROC_ONLN=yes
20266 else
20267 glibcxx_cv_SC_NPROC_ONLN=no
20269 rm -f core conftest.err conftest.$ac_objext \
20270 conftest$ac_exeext conftest.$ac_ext
20275 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20277 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20281 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20283 CXXFLAGS="$ac_save_CXXFLAGS"
20284 ac_ext=c
20285 ac_cpp='$CPP $CPPFLAGS'
20286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20294 ac_ext=cpp
20295 ac_cpp='$CXXCPP $CPPFLAGS'
20296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20300 ac_save_CXXFLAGS="$CXXFLAGS"
20301 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20304 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20305 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20306 $as_echo_n "(cached) " >&6
20307 else
20309 if test x$gcc_no_link = xyes; then
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20312 #include <pthread.h>
20314 main ()
20316 int n = pthread_num_processors_np();
20318 return 0;
20320 _ACEOF
20321 if ac_fn_cxx_try_compile "$LINENO"; then :
20322 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20323 else
20324 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327 else
20328 if test x$gcc_no_link = xyes; then
20329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20332 /* end confdefs.h. */
20333 #include <pthread.h>
20335 main ()
20337 int n = pthread_num_processors_np();
20339 return 0;
20341 _ACEOF
20342 if ac_fn_cxx_try_link "$LINENO"; then :
20343 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20344 else
20345 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20347 rm -f core conftest.err conftest.$ac_objext \
20348 conftest$ac_exeext conftest.$ac_ext
20353 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20355 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20359 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20361 CXXFLAGS="$ac_save_CXXFLAGS"
20362 ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20372 ac_ext=cpp
20373 ac_cpp='$CXXCPP $CPPFLAGS'
20374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20378 ac_save_CXXFLAGS="$CXXFLAGS"
20379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20382 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20383 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20384 $as_echo_n "(cached) " >&6
20385 else
20387 if test x$gcc_no_link = xyes; then
20388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20389 /* end confdefs.h. */
20391 #include <stddef.h>
20392 #include <sys/sysctl.h>
20395 main ()
20398 int count;
20399 size_t size = sizeof(count);
20400 int mib[] = { CTL_HW, HW_NCPU };
20401 sysctl(mib, 2, &count, &size, NULL, 0);
20404 return 0;
20406 _ACEOF
20407 if ac_fn_cxx_try_compile "$LINENO"; then :
20408 glibcxx_cv_SYSCTL_HW_NCPU=yes
20409 else
20410 glibcxx_cv_SYSCTL_HW_NCPU=no
20412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20413 else
20414 if test x$gcc_no_link = xyes; then
20415 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20418 /* end confdefs.h. */
20420 #include <stddef.h>
20421 #include <sys/sysctl.h>
20424 main ()
20427 int count;
20428 size_t size = sizeof(count);
20429 int mib[] = { CTL_HW, HW_NCPU };
20430 sysctl(mib, 2, &count, &size, NULL, 0);
20433 return 0;
20435 _ACEOF
20436 if ac_fn_cxx_try_link "$LINENO"; then :
20437 glibcxx_cv_SYSCTL_HW_NCPU=yes
20438 else
20439 glibcxx_cv_SYSCTL_HW_NCPU=no
20441 rm -f core conftest.err conftest.$ac_objext \
20442 conftest$ac_exeext conftest.$ac_ext
20447 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20449 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20453 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20455 CXXFLAGS="$ac_save_CXXFLAGS"
20456 ac_ext=c
20457 ac_cpp='$CPP $CPPFLAGS'
20458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20465 $as_echo "for suitable sys/sdt.h" >&6; }
20466 # Note that this test has to be run with the C language.
20467 # Otherwise, sdt.h will try to include some headers from
20468 # libstdc++ itself.
20470 ac_ext=c
20471 ac_cpp='$CPP $CPPFLAGS'
20472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20476 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20477 $as_echo_n "(cached) " >&6
20478 else
20480 # Because we have to run the test in C, we use grep rather
20481 # than the compiler to check for the bug. The bug is that
20482 # were strings without trailing whitespace, causing g++
20483 # to look for operator"". The pattern searches for the fixed
20484 # output.
20485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20488 #include <sys/sdt.h>
20489 int f() { STAP_PROBE(hi, bob); }
20491 _ACEOF
20492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20493 $EGREP " \",\" " >/dev/null 2>&1; then :
20494 glibcxx_cv_sys_sdt_h=yes
20495 else
20496 glibcxx_cv_sys_sdt_h=no
20498 rm -f conftest*
20503 ac_ext=c
20504 ac_cpp='$CPP $CPPFLAGS'
20505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20509 if test $glibcxx_cv_sys_sdt_h = yes; then
20511 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20515 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20518 # Check for available headers.
20519 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20520 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20521 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20522 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20523 wchar.h wctype.h
20524 do :
20525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20526 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20527 eval as_val=\$$as_ac_Header
20528 if test "x$as_val" = x""yes; then :
20529 cat >>confdefs.h <<_ACEOF
20530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20531 _ACEOF
20535 done
20538 # Only do link tests if native. Else, hardcode.
20539 if $GLIBCXX_IS_NATIVE; then
20541 # We can do more elaborate tests that assume a working linker.
20542 CANADIAN=no
20546 # Check whether --with-gnu-ld was given.
20547 if test "${with_gnu_ld+set}" = set; then :
20548 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20549 else
20550 with_gnu_ld=no
20553 ac_prog=ld
20554 if test "$GCC" = yes; then
20555 # Check if gcc -print-prog-name=ld gives a path.
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20557 $as_echo_n "checking for ld used by $CC... " >&6; }
20558 case $host in
20559 *-*-mingw*)
20560 # gcc leaves a trailing carriage return which upsets mingw
20561 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20563 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20564 esac
20565 case $ac_prog in
20566 # Accept absolute paths.
20567 [\\/]* | ?:[\\/]*)
20568 re_direlt='/[^/][^/]*/\.\./'
20569 # Canonicalize the pathname of ld
20570 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20571 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20572 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20573 done
20574 test -z "$LD" && LD="$ac_prog"
20577 # If it fails, then pretend we aren't using GCC.
20578 ac_prog=ld
20581 # If it is relative, then search for the first ld in PATH.
20582 with_gnu_ld=unknown
20584 esac
20585 elif test "$with_gnu_ld" = yes; then
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20587 $as_echo_n "checking for GNU ld... " >&6; }
20588 else
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20590 $as_echo_n "checking for non-GNU ld... " >&6; }
20592 if test "${lt_cv_path_LD+set}" = set; then :
20593 $as_echo_n "(cached) " >&6
20594 else
20595 if test -z "$LD"; then
20596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20597 for ac_dir in $PATH; do
20598 IFS="$lt_save_ifs"
20599 test -z "$ac_dir" && ac_dir=.
20600 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20601 lt_cv_path_LD="$ac_dir/$ac_prog"
20602 # Check to see if the program is GNU ld. I'd rather use --version,
20603 # but apparently some variants of GNU ld only accept -v.
20604 # Break only if it was the GNU/non-GNU ld that we prefer.
20605 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20606 *GNU* | *'with BFD'*)
20607 test "$with_gnu_ld" != no && break
20610 test "$with_gnu_ld" != yes && break
20612 esac
20614 done
20615 IFS="$lt_save_ifs"
20616 else
20617 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20621 LD="$lt_cv_path_LD"
20622 if test -n "$LD"; then
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20624 $as_echo "$LD" >&6; }
20625 else
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20627 $as_echo "no" >&6; }
20629 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20631 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20632 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20633 $as_echo_n "(cached) " >&6
20634 else
20635 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20636 case `$LD -v 2>&1 </dev/null` in
20637 *GNU* | *'with BFD'*)
20638 lt_cv_prog_gnu_ld=yes
20641 lt_cv_prog_gnu_ld=no
20643 esac
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20646 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20647 with_gnu_ld=$lt_cv_prog_gnu_ld
20655 # If we're not using GNU ld, then there's no point in even trying these
20656 # tests. Check for that first. We should have already tested for gld
20657 # by now (in libtool), but require it now just to be safe...
20658 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20659 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20663 # The name set by libtool depends on the version of libtool. Shame on us
20664 # for depending on an impl detail, but c'est la vie. Older versions used
20665 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20666 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20667 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20668 # set (hence we're using an older libtool), then set it.
20669 if test x${with_gnu_ld+set} != xset; then
20670 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20671 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20672 with_gnu_ld=no
20673 else
20674 with_gnu_ld=$ac_cv_prog_gnu_ld
20678 # Start by getting the version number. I think the libtool test already
20679 # does some of this, but throws away the result.
20680 glibcxx_ld_is_gold=no
20681 if test x"$with_gnu_ld" = x"yes"; then
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20683 $as_echo_n "checking for ld version... " >&6; }
20685 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20686 glibcxx_ld_is_gold=yes
20688 ldver=`$LD --version 2>/dev/null |
20689 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'`
20691 glibcxx_gnu_ld_version=`echo $ldver | \
20692 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20694 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20697 # Set --gc-sections.
20698 glibcxx_have_gc_sections=no
20699 if test "$glibcxx_ld_is_gold" = "yes"; then
20700 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20701 glibcxx_have_gc_sections=yes
20703 else
20704 glibcxx_gcsections_min_ld=21602
20705 if test x"$with_gnu_ld" = x"yes" &&
20706 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20707 glibcxx_have_gc_sections=yes
20710 if test "$glibcxx_have_gc_sections" = "yes"; then
20711 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20712 # NB: This flag only works reliably after 2.16.1. Configure tests
20713 # for this are difficult, so hard wire a value that should work.
20715 ac_test_CFLAGS="${CFLAGS+set}"
20716 ac_save_CFLAGS="$CFLAGS"
20717 CFLAGS='-Wl,--gc-sections'
20719 # Check for -Wl,--gc-sections
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20721 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20722 if test x$gcc_no_link = xyes; then
20723 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20727 int one(void) { return 1; }
20728 int two(void) { return 2; }
20731 main ()
20733 two();
20735 return 0;
20737 _ACEOF
20738 if ac_fn_c_try_link "$LINENO"; then :
20739 ac_gcsections=yes
20740 else
20741 ac_gcsections=no
20743 rm -f core conftest.err conftest.$ac_objext \
20744 conftest$ac_exeext conftest.$ac_ext
20745 if test "$ac_gcsections" = "yes"; then
20746 rm -f conftest.c
20747 touch conftest.c
20748 if $CC -c conftest.c; then
20749 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20750 grep "Warning: gc-sections option ignored" > /dev/null; then
20751 ac_gcsections=no
20754 rm -f conftest.c conftest.o conftest
20756 if test "$ac_gcsections" = "yes"; then
20757 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20760 $as_echo "$ac_gcsections" >&6; }
20762 if test "$ac_test_CFLAGS" = set; then
20763 CFLAGS="$ac_save_CFLAGS"
20764 else
20765 # this is the suspicious part
20766 CFLAGS=''
20770 # Set -z,relro.
20771 # Note this is only for shared objects.
20772 ac_ld_relro=no
20773 if test x"$with_gnu_ld" = x"yes"; then
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20775 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20776 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20777 if test -n "$cxx_z_relo"; then
20778 OPT_LDFLAGS="-Wl,-z,relro"
20779 ac_ld_relro=yes
20781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20782 $as_echo "$ac_ld_relro" >&6; }
20785 # Set linker optimization flags.
20786 if test x"$with_gnu_ld" = x"yes"; then
20787 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20794 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20795 ac_save_CXXFLAGS="$CXXFLAGS"
20796 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20799 $as_echo_n "checking for sin in -lm... " >&6; }
20800 if test "${ac_cv_lib_m_sin+set}" = set; then :
20801 $as_echo_n "(cached) " >&6
20802 else
20803 ac_check_lib_save_LIBS=$LIBS
20804 LIBS="-lm $LIBS"
20805 if test x$gcc_no_link = xyes; then
20806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20811 /* Override any GCC internal prototype to avoid an error.
20812 Use char because int might match the return type of a GCC
20813 builtin and then its argument prototype would still apply. */
20814 #ifdef __cplusplus
20815 extern "C"
20816 #endif
20817 char sin ();
20819 main ()
20821 return sin ();
20823 return 0;
20825 _ACEOF
20826 if ac_fn_c_try_link "$LINENO"; then :
20827 ac_cv_lib_m_sin=yes
20828 else
20829 ac_cv_lib_m_sin=no
20831 rm -f core conftest.err conftest.$ac_objext \
20832 conftest$ac_exeext conftest.$ac_ext
20833 LIBS=$ac_check_lib_save_LIBS
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20836 $as_echo "$ac_cv_lib_m_sin" >&6; }
20837 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20838 libm="-lm"
20841 ac_save_LIBS="$LIBS"
20842 LIBS="$LIBS $libm"
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20847 $as_echo_n "checking for isinf declaration... " >&6; }
20848 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20849 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20850 $as_echo_n "(cached) " >&6
20851 else
20854 ac_ext=cpp
20855 ac_cpp='$CXXCPP $CPPFLAGS'
20856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h. */
20862 #include <math.h>
20863 #ifdef HAVE_IEEEFP_H
20864 #include <ieeefp.h>
20865 #endif
20868 main ()
20870 isinf(0);
20872 return 0;
20874 _ACEOF
20875 if ac_fn_cxx_try_compile "$LINENO"; then :
20876 glibcxx_cv_func_isinf_use=yes
20877 else
20878 glibcxx_cv_func_isinf_use=no
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20892 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20894 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20895 for ac_func in isinf
20896 do :
20897 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20898 if test "x$ac_cv_func_isinf" = x""yes; then :
20899 cat >>confdefs.h <<_ACEOF
20900 #define HAVE_ISINF 1
20901 _ACEOF
20904 done
20906 else
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20909 $as_echo_n "checking for _isinf declaration... " >&6; }
20910 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20911 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20912 $as_echo_n "(cached) " >&6
20913 else
20916 ac_ext=cpp
20917 ac_cpp='$CXXCPP $CPPFLAGS'
20918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20924 #include <math.h>
20925 #ifdef HAVE_IEEEFP_H
20926 #include <ieeefp.h>
20927 #endif
20930 main ()
20932 _isinf(0);
20934 return 0;
20936 _ACEOF
20937 if ac_fn_cxx_try_compile "$LINENO"; then :
20938 glibcxx_cv_func__isinf_use=yes
20939 else
20940 glibcxx_cv_func__isinf_use=no
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20954 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20956 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20957 for ac_func in _isinf
20958 do :
20959 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20960 if test "x$ac_cv_func__isinf" = x""yes; then :
20961 cat >>confdefs.h <<_ACEOF
20962 #define HAVE__ISINF 1
20963 _ACEOF
20966 done
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20976 $as_echo_n "checking for isnan declaration... " >&6; }
20977 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20978 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20979 $as_echo_n "(cached) " >&6
20980 else
20983 ac_ext=cpp
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 #include <math.h>
20992 #ifdef HAVE_IEEEFP_H
20993 #include <ieeefp.h>
20994 #endif
20997 main ()
20999 isnan(0);
21001 return 0;
21003 _ACEOF
21004 if ac_fn_cxx_try_compile "$LINENO"; then :
21005 glibcxx_cv_func_isnan_use=yes
21006 else
21007 glibcxx_cv_func_isnan_use=no
21009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 ac_ext=c
21011 ac_cpp='$CPP $CPPFLAGS'
21012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21021 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21023 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21024 for ac_func in isnan
21025 do :
21026 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21027 if test "x$ac_cv_func_isnan" = x""yes; then :
21028 cat >>confdefs.h <<_ACEOF
21029 #define HAVE_ISNAN 1
21030 _ACEOF
21033 done
21035 else
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21038 $as_echo_n "checking for _isnan declaration... " >&6; }
21039 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21040 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21041 $as_echo_n "(cached) " >&6
21042 else
21045 ac_ext=cpp
21046 ac_cpp='$CXXCPP $CPPFLAGS'
21047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21053 #include <math.h>
21054 #ifdef HAVE_IEEEFP_H
21055 #include <ieeefp.h>
21056 #endif
21059 main ()
21061 _isnan(0);
21063 return 0;
21065 _ACEOF
21066 if ac_fn_cxx_try_compile "$LINENO"; then :
21067 glibcxx_cv_func__isnan_use=yes
21068 else
21069 glibcxx_cv_func__isnan_use=no
21071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072 ac_ext=c
21073 ac_cpp='$CPP $CPPFLAGS'
21074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21083 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21085 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21086 for ac_func in _isnan
21087 do :
21088 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21089 if test "x$ac_cv_func__isnan" = x""yes; then :
21090 cat >>confdefs.h <<_ACEOF
21091 #define HAVE__ISNAN 1
21092 _ACEOF
21095 done
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21105 $as_echo_n "checking for finite declaration... " >&6; }
21106 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21107 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21108 $as_echo_n "(cached) " >&6
21109 else
21112 ac_ext=cpp
21113 ac_cpp='$CXXCPP $CPPFLAGS'
21114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21119 /* end confdefs.h. */
21120 #include <math.h>
21121 #ifdef HAVE_IEEEFP_H
21122 #include <ieeefp.h>
21123 #endif
21126 main ()
21128 finite(0);
21130 return 0;
21132 _ACEOF
21133 if ac_fn_cxx_try_compile "$LINENO"; then :
21134 glibcxx_cv_func_finite_use=yes
21135 else
21136 glibcxx_cv_func_finite_use=no
21138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21139 ac_ext=c
21140 ac_cpp='$CPP $CPPFLAGS'
21141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21150 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21152 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21153 for ac_func in finite
21154 do :
21155 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21156 if test "x$ac_cv_func_finite" = x""yes; then :
21157 cat >>confdefs.h <<_ACEOF
21158 #define HAVE_FINITE 1
21159 _ACEOF
21162 done
21164 else
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21167 $as_echo_n "checking for _finite declaration... " >&6; }
21168 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21169 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21170 $as_echo_n "(cached) " >&6
21171 else
21174 ac_ext=cpp
21175 ac_cpp='$CXXCPP $CPPFLAGS'
21176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181 /* end confdefs.h. */
21182 #include <math.h>
21183 #ifdef HAVE_IEEEFP_H
21184 #include <ieeefp.h>
21185 #endif
21188 main ()
21190 _finite(0);
21192 return 0;
21194 _ACEOF
21195 if ac_fn_cxx_try_compile "$LINENO"; then :
21196 glibcxx_cv_func__finite_use=yes
21197 else
21198 glibcxx_cv_func__finite_use=no
21200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21201 ac_ext=c
21202 ac_cpp='$CPP $CPPFLAGS'
21203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21212 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21214 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21215 for ac_func in _finite
21216 do :
21217 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21218 if test "x$ac_cv_func__finite" = x""yes; then :
21219 cat >>confdefs.h <<_ACEOF
21220 #define HAVE__FINITE 1
21221 _ACEOF
21224 done
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21234 $as_echo_n "checking for sincos declaration... " >&6; }
21235 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21236 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21237 $as_echo_n "(cached) " >&6
21238 else
21241 ac_ext=cpp
21242 ac_cpp='$CXXCPP $CPPFLAGS'
21243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #include <math.h>
21251 main ()
21253 sincos(0, 0, 0);
21255 return 0;
21257 _ACEOF
21258 if ac_fn_cxx_try_compile "$LINENO"; then :
21259 glibcxx_cv_func_sincos_use=yes
21260 else
21261 glibcxx_cv_func_sincos_use=no
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21264 ac_ext=c
21265 ac_cpp='$CPP $CPPFLAGS'
21266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21275 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21277 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21278 for ac_func in sincos
21279 do :
21280 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21281 if test "x$ac_cv_func_sincos" = x""yes; then :
21282 cat >>confdefs.h <<_ACEOF
21283 #define HAVE_SINCOS 1
21284 _ACEOF
21287 done
21289 else
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21292 $as_echo_n "checking for _sincos declaration... " >&6; }
21293 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21294 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21295 $as_echo_n "(cached) " >&6
21296 else
21299 ac_ext=cpp
21300 ac_cpp='$CXXCPP $CPPFLAGS'
21301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307 #include <math.h>
21309 main ()
21311 _sincos(0, 0, 0);
21313 return 0;
21315 _ACEOF
21316 if ac_fn_cxx_try_compile "$LINENO"; then :
21317 glibcxx_cv_func__sincos_use=yes
21318 else
21319 glibcxx_cv_func__sincos_use=no
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322 ac_ext=c
21323 ac_cpp='$CPP $CPPFLAGS'
21324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21333 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21335 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21336 for ac_func in _sincos
21337 do :
21338 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21339 if test "x$ac_cv_func__sincos" = x""yes; then :
21340 cat >>confdefs.h <<_ACEOF
21341 #define HAVE__SINCOS 1
21342 _ACEOF
21345 done
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21355 $as_echo_n "checking for fpclass declaration... " >&6; }
21356 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21357 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21358 $as_echo_n "(cached) " >&6
21359 else
21362 ac_ext=cpp
21363 ac_cpp='$CXXCPP $CPPFLAGS'
21364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21370 #include <math.h>
21371 #ifdef HAVE_IEEEFP_H
21372 #include <ieeefp.h>
21373 #endif
21376 main ()
21378 fpclass(0);
21380 return 0;
21382 _ACEOF
21383 if ac_fn_cxx_try_compile "$LINENO"; then :
21384 glibcxx_cv_func_fpclass_use=yes
21385 else
21386 glibcxx_cv_func_fpclass_use=no
21388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21389 ac_ext=c
21390 ac_cpp='$CPP $CPPFLAGS'
21391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21400 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21402 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21403 for ac_func in fpclass
21404 do :
21405 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21406 if test "x$ac_cv_func_fpclass" = x""yes; then :
21407 cat >>confdefs.h <<_ACEOF
21408 #define HAVE_FPCLASS 1
21409 _ACEOF
21412 done
21414 else
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21417 $as_echo_n "checking for _fpclass declaration... " >&6; }
21418 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21419 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21420 $as_echo_n "(cached) " >&6
21421 else
21424 ac_ext=cpp
21425 ac_cpp='$CXXCPP $CPPFLAGS'
21426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21431 /* end confdefs.h. */
21432 #include <math.h>
21433 #ifdef HAVE_IEEEFP_H
21434 #include <ieeefp.h>
21435 #endif
21438 main ()
21440 _fpclass(0);
21442 return 0;
21444 _ACEOF
21445 if ac_fn_cxx_try_compile "$LINENO"; then :
21446 glibcxx_cv_func__fpclass_use=yes
21447 else
21448 glibcxx_cv_func__fpclass_use=no
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 ac_ext=c
21452 ac_cpp='$CPP $CPPFLAGS'
21453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21462 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21464 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21465 for ac_func in _fpclass
21466 do :
21467 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21468 if test "x$ac_cv_func__fpclass" = x""yes; then :
21469 cat >>confdefs.h <<_ACEOF
21470 #define HAVE__FPCLASS 1
21471 _ACEOF
21474 done
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21484 $as_echo_n "checking for qfpclass declaration... " >&6; }
21485 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21486 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21487 $as_echo_n "(cached) " >&6
21488 else
21491 ac_ext=cpp
21492 ac_cpp='$CXXCPP $CPPFLAGS'
21493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21498 /* end confdefs.h. */
21499 #include <math.h>
21500 #ifdef HAVE_IEEEFP_H
21501 #include <ieeefp.h>
21502 #endif
21505 main ()
21507 qfpclass(0);
21509 return 0;
21511 _ACEOF
21512 if ac_fn_cxx_try_compile "$LINENO"; then :
21513 glibcxx_cv_func_qfpclass_use=yes
21514 else
21515 glibcxx_cv_func_qfpclass_use=no
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 ac_ext=c
21519 ac_cpp='$CPP $CPPFLAGS'
21520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21529 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21531 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21532 for ac_func in qfpclass
21533 do :
21534 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21535 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21536 cat >>confdefs.h <<_ACEOF
21537 #define HAVE_QFPCLASS 1
21538 _ACEOF
21541 done
21543 else
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21546 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21547 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21548 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21549 $as_echo_n "(cached) " >&6
21550 else
21553 ac_ext=cpp
21554 ac_cpp='$CXXCPP $CPPFLAGS'
21555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21560 /* end confdefs.h. */
21561 #include <math.h>
21562 #ifdef HAVE_IEEEFP_H
21563 #include <ieeefp.h>
21564 #endif
21567 main ()
21569 _qfpclass(0);
21571 return 0;
21573 _ACEOF
21574 if ac_fn_cxx_try_compile "$LINENO"; then :
21575 glibcxx_cv_func__qfpclass_use=yes
21576 else
21577 glibcxx_cv_func__qfpclass_use=no
21579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21580 ac_ext=c
21581 ac_cpp='$CPP $CPPFLAGS'
21582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21591 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21593 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21594 for ac_func in _qfpclass
21595 do :
21596 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21597 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21598 cat >>confdefs.h <<_ACEOF
21599 #define HAVE__QFPCLASS 1
21600 _ACEOF
21603 done
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21613 $as_echo_n "checking for hypot declaration... " >&6; }
21614 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21615 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21616 $as_echo_n "(cached) " >&6
21617 else
21620 ac_ext=cpp
21621 ac_cpp='$CXXCPP $CPPFLAGS'
21622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h. */
21628 #include <math.h>
21630 main ()
21632 hypot(0, 0);
21634 return 0;
21636 _ACEOF
21637 if ac_fn_cxx_try_compile "$LINENO"; then :
21638 glibcxx_cv_func_hypot_use=yes
21639 else
21640 glibcxx_cv_func_hypot_use=no
21642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21643 ac_ext=c
21644 ac_cpp='$CPP $CPPFLAGS'
21645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21654 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21656 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21657 for ac_func in hypot
21658 do :
21659 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21660 if test "x$ac_cv_func_hypot" = x""yes; then :
21661 cat >>confdefs.h <<_ACEOF
21662 #define HAVE_HYPOT 1
21663 _ACEOF
21666 done
21668 else
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21671 $as_echo_n "checking for _hypot declaration... " >&6; }
21672 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21673 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21674 $as_echo_n "(cached) " >&6
21675 else
21678 ac_ext=cpp
21679 ac_cpp='$CXXCPP $CPPFLAGS'
21680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21685 /* end confdefs.h. */
21686 #include <math.h>
21688 main ()
21690 _hypot(0, 0);
21692 return 0;
21694 _ACEOF
21695 if ac_fn_cxx_try_compile "$LINENO"; then :
21696 glibcxx_cv_func__hypot_use=yes
21697 else
21698 glibcxx_cv_func__hypot_use=no
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21701 ac_ext=c
21702 ac_cpp='$CPP $CPPFLAGS'
21703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21712 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21714 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21715 for ac_func in _hypot
21716 do :
21717 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21718 if test "x$ac_cv_func__hypot" = x""yes; then :
21719 cat >>confdefs.h <<_ACEOF
21720 #define HAVE__HYPOT 1
21721 _ACEOF
21724 done
21733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21734 $as_echo_n "checking for float trig functions... " >&6; }
21735 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21740 ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <math.h>
21750 main ()
21752 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21754 return 0;
21756 _ACEOF
21757 if ac_fn_cxx_try_compile "$LINENO"; then :
21758 glibcxx_cv_func_float_trig_use=yes
21759 else
21760 glibcxx_cv_func_float_trig_use=no
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763 ac_ext=c
21764 ac_cpp='$CPP $CPPFLAGS'
21765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21772 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21773 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21774 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21775 do :
21776 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21777 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21778 eval as_val=\$$as_ac_var
21779 if test "x$as_val" = x""yes; then :
21780 cat >>confdefs.h <<_ACEOF
21781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21782 _ACEOF
21785 done
21787 else
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21789 $as_echo_n "checking for _float trig functions... " >&6; }
21790 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21791 $as_echo_n "(cached) " >&6
21792 else
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h. */
21803 #include <math.h>
21805 main ()
21807 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21809 return 0;
21811 _ACEOF
21812 if ac_fn_cxx_try_compile "$LINENO"; then :
21813 glibcxx_cv_func__float_trig_use=yes
21814 else
21815 glibcxx_cv_func__float_trig_use=no
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818 ac_ext=c
21819 ac_cpp='$CPP $CPPFLAGS'
21820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21827 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21828 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21829 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21830 do :
21831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21833 eval as_val=\$$as_ac_var
21834 if test "x$as_val" = x""yes; then :
21835 cat >>confdefs.h <<_ACEOF
21836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21837 _ACEOF
21840 done
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21850 $as_echo_n "checking for float round functions... " >&6; }
21851 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21852 $as_echo_n "(cached) " >&6
21853 else
21856 ac_ext=cpp
21857 ac_cpp='$CXXCPP $CPPFLAGS'
21858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h. */
21864 #include <math.h>
21866 main ()
21868 ceilf (0); floorf (0);
21870 return 0;
21872 _ACEOF
21873 if ac_fn_cxx_try_compile "$LINENO"; then :
21874 glibcxx_cv_func_float_round_use=yes
21875 else
21876 glibcxx_cv_func_float_round_use=no
21878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 ac_ext=c
21880 ac_cpp='$CPP $CPPFLAGS'
21881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21888 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21889 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21890 for ac_func in ceilf floorf
21891 do :
21892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21894 eval as_val=\$$as_ac_var
21895 if test "x$as_val" = x""yes; then :
21896 cat >>confdefs.h <<_ACEOF
21897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21898 _ACEOF
21901 done
21903 else
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21905 $as_echo_n "checking for _float round functions... " >&6; }
21906 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21911 ac_ext=cpp
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h. */
21919 #include <math.h>
21921 main ()
21923 _ceilf (0); _floorf (0);
21925 return 0;
21927 _ACEOF
21928 if ac_fn_cxx_try_compile "$LINENO"; then :
21929 glibcxx_cv_func__float_round_use=yes
21930 else
21931 glibcxx_cv_func__float_round_use=no
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 ac_ext=c
21935 ac_cpp='$CPP $CPPFLAGS'
21936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21943 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21944 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21945 for ac_func in _ceilf _floorf
21946 do :
21947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21949 eval as_val=\$$as_ac_var
21950 if test "x$as_val" = x""yes; then :
21951 cat >>confdefs.h <<_ACEOF
21952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21953 _ACEOF
21956 done
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21967 $as_echo_n "checking for expf declaration... " >&6; }
21968 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21969 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21970 $as_echo_n "(cached) " >&6
21971 else
21974 ac_ext=cpp
21975 ac_cpp='$CXXCPP $CPPFLAGS'
21976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982 #include <math.h>
21983 #ifdef HAVE_IEEEFP_H
21984 #include <ieeefp.h>
21985 #endif
21988 main ()
21990 expf(0);
21992 return 0;
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 glibcxx_cv_func_expf_use=yes
21997 else
21998 glibcxx_cv_func_expf_use=no
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001 ac_ext=c
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22012 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22014 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22015 for ac_func in expf
22016 do :
22017 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22018 if test "x$ac_cv_func_expf" = x""yes; then :
22019 cat >>confdefs.h <<_ACEOF
22020 #define HAVE_EXPF 1
22021 _ACEOF
22024 done
22026 else
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22029 $as_echo_n "checking for _expf declaration... " >&6; }
22030 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22031 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22032 $as_echo_n "(cached) " >&6
22033 else
22036 ac_ext=cpp
22037 ac_cpp='$CXXCPP $CPPFLAGS'
22038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22043 /* end confdefs.h. */
22044 #include <math.h>
22045 #ifdef HAVE_IEEEFP_H
22046 #include <ieeefp.h>
22047 #endif
22050 main ()
22052 _expf(0);
22054 return 0;
22056 _ACEOF
22057 if ac_fn_cxx_try_compile "$LINENO"; then :
22058 glibcxx_cv_func__expf_use=yes
22059 else
22060 glibcxx_cv_func__expf_use=no
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 ac_ext=c
22064 ac_cpp='$CPP $CPPFLAGS'
22065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22074 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22076 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22077 for ac_func in _expf
22078 do :
22079 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22080 if test "x$ac_cv_func__expf" = x""yes; then :
22081 cat >>confdefs.h <<_ACEOF
22082 #define HAVE__EXPF 1
22083 _ACEOF
22086 done
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22096 $as_echo_n "checking for isnanf declaration... " >&6; }
22097 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22098 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22100 else
22103 ac_ext=cpp
22104 ac_cpp='$CXXCPP $CPPFLAGS'
22105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22110 /* end confdefs.h. */
22111 #include <math.h>
22112 #ifdef HAVE_IEEEFP_H
22113 #include <ieeefp.h>
22114 #endif
22117 main ()
22119 isnanf(0);
22121 return 0;
22123 _ACEOF
22124 if ac_fn_cxx_try_compile "$LINENO"; then :
22125 glibcxx_cv_func_isnanf_use=yes
22126 else
22127 glibcxx_cv_func_isnanf_use=no
22129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22130 ac_ext=c
22131 ac_cpp='$CPP $CPPFLAGS'
22132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22141 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22143 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22144 for ac_func in isnanf
22145 do :
22146 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22147 if test "x$ac_cv_func_isnanf" = x""yes; then :
22148 cat >>confdefs.h <<_ACEOF
22149 #define HAVE_ISNANF 1
22150 _ACEOF
22153 done
22155 else
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22158 $as_echo_n "checking for _isnanf declaration... " >&6; }
22159 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22160 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22161 $as_echo_n "(cached) " >&6
22162 else
22165 ac_ext=cpp
22166 ac_cpp='$CXXCPP $CPPFLAGS'
22167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22172 /* end confdefs.h. */
22173 #include <math.h>
22174 #ifdef HAVE_IEEEFP_H
22175 #include <ieeefp.h>
22176 #endif
22179 main ()
22181 _isnanf(0);
22183 return 0;
22185 _ACEOF
22186 if ac_fn_cxx_try_compile "$LINENO"; then :
22187 glibcxx_cv_func__isnanf_use=yes
22188 else
22189 glibcxx_cv_func__isnanf_use=no
22191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22192 ac_ext=c
22193 ac_cpp='$CPP $CPPFLAGS'
22194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22203 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22205 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22206 for ac_func in _isnanf
22207 do :
22208 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22209 if test "x$ac_cv_func__isnanf" = x""yes; then :
22210 cat >>confdefs.h <<_ACEOF
22211 #define HAVE__ISNANF 1
22212 _ACEOF
22215 done
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22225 $as_echo_n "checking for isinff declaration... " >&6; }
22226 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22227 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22228 $as_echo_n "(cached) " >&6
22229 else
22232 ac_ext=cpp
22233 ac_cpp='$CXXCPP $CPPFLAGS'
22234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h. */
22240 #include <math.h>
22241 #ifdef HAVE_IEEEFP_H
22242 #include <ieeefp.h>
22243 #endif
22246 main ()
22248 isinff(0);
22250 return 0;
22252 _ACEOF
22253 if ac_fn_cxx_try_compile "$LINENO"; then :
22254 glibcxx_cv_func_isinff_use=yes
22255 else
22256 glibcxx_cv_func_isinff_use=no
22258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22259 ac_ext=c
22260 ac_cpp='$CPP $CPPFLAGS'
22261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22270 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22272 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22273 for ac_func in isinff
22274 do :
22275 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22276 if test "x$ac_cv_func_isinff" = x""yes; then :
22277 cat >>confdefs.h <<_ACEOF
22278 #define HAVE_ISINFF 1
22279 _ACEOF
22282 done
22284 else
22286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22287 $as_echo_n "checking for _isinff declaration... " >&6; }
22288 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22289 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22290 $as_echo_n "(cached) " >&6
22291 else
22294 ac_ext=cpp
22295 ac_cpp='$CXXCPP $CPPFLAGS'
22296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22301 /* end confdefs.h. */
22302 #include <math.h>
22303 #ifdef HAVE_IEEEFP_H
22304 #include <ieeefp.h>
22305 #endif
22308 main ()
22310 _isinff(0);
22312 return 0;
22314 _ACEOF
22315 if ac_fn_cxx_try_compile "$LINENO"; then :
22316 glibcxx_cv_func__isinff_use=yes
22317 else
22318 glibcxx_cv_func__isinff_use=no
22320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22321 ac_ext=c
22322 ac_cpp='$CPP $CPPFLAGS'
22323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22332 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22334 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22335 for ac_func in _isinff
22336 do :
22337 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22338 if test "x$ac_cv_func__isinff" = x""yes; then :
22339 cat >>confdefs.h <<_ACEOF
22340 #define HAVE__ISINFF 1
22341 _ACEOF
22344 done
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22354 $as_echo_n "checking for atan2f declaration... " >&6; }
22355 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22356 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22357 $as_echo_n "(cached) " >&6
22358 else
22361 ac_ext=cpp
22362 ac_cpp='$CXXCPP $CPPFLAGS'
22363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22368 /* end confdefs.h. */
22369 #include <math.h>
22371 main ()
22373 atan2f(0, 0);
22375 return 0;
22377 _ACEOF
22378 if ac_fn_cxx_try_compile "$LINENO"; then :
22379 glibcxx_cv_func_atan2f_use=yes
22380 else
22381 glibcxx_cv_func_atan2f_use=no
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22384 ac_ext=c
22385 ac_cpp='$CPP $CPPFLAGS'
22386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22395 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22397 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22398 for ac_func in atan2f
22399 do :
22400 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22401 if test "x$ac_cv_func_atan2f" = x""yes; then :
22402 cat >>confdefs.h <<_ACEOF
22403 #define HAVE_ATAN2F 1
22404 _ACEOF
22407 done
22409 else
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22412 $as_echo_n "checking for _atan2f declaration... " >&6; }
22413 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22414 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22415 $as_echo_n "(cached) " >&6
22416 else
22419 ac_ext=cpp
22420 ac_cpp='$CXXCPP $CPPFLAGS'
22421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h. */
22427 #include <math.h>
22429 main ()
22431 _atan2f(0, 0);
22433 return 0;
22435 _ACEOF
22436 if ac_fn_cxx_try_compile "$LINENO"; then :
22437 glibcxx_cv_func__atan2f_use=yes
22438 else
22439 glibcxx_cv_func__atan2f_use=no
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22442 ac_ext=c
22443 ac_cpp='$CPP $CPPFLAGS'
22444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22453 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22455 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22456 for ac_func in _atan2f
22457 do :
22458 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22459 if test "x$ac_cv_func__atan2f" = x""yes; then :
22460 cat >>confdefs.h <<_ACEOF
22461 #define HAVE__ATAN2F 1
22462 _ACEOF
22465 done
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22475 $as_echo_n "checking for fabsf declaration... " >&6; }
22476 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22477 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22478 $as_echo_n "(cached) " >&6
22479 else
22482 ac_ext=cpp
22483 ac_cpp='$CXXCPP $CPPFLAGS'
22484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22489 /* end confdefs.h. */
22490 #include <math.h>
22491 #ifdef HAVE_IEEEFP_H
22492 #include <ieeefp.h>
22493 #endif
22496 main ()
22498 fabsf(0);
22500 return 0;
22502 _ACEOF
22503 if ac_fn_cxx_try_compile "$LINENO"; then :
22504 glibcxx_cv_func_fabsf_use=yes
22505 else
22506 glibcxx_cv_func_fabsf_use=no
22508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 ac_ext=c
22510 ac_cpp='$CPP $CPPFLAGS'
22511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22520 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22522 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22523 for ac_func in fabsf
22524 do :
22525 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22526 if test "x$ac_cv_func_fabsf" = x""yes; then :
22527 cat >>confdefs.h <<_ACEOF
22528 #define HAVE_FABSF 1
22529 _ACEOF
22532 done
22534 else
22536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22537 $as_echo_n "checking for _fabsf declaration... " >&6; }
22538 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22539 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22540 $as_echo_n "(cached) " >&6
22541 else
22544 ac_ext=cpp
22545 ac_cpp='$CXXCPP $CPPFLAGS'
22546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22551 /* end confdefs.h. */
22552 #include <math.h>
22553 #ifdef HAVE_IEEEFP_H
22554 #include <ieeefp.h>
22555 #endif
22558 main ()
22560 _fabsf(0);
22562 return 0;
22564 _ACEOF
22565 if ac_fn_cxx_try_compile "$LINENO"; then :
22566 glibcxx_cv_func__fabsf_use=yes
22567 else
22568 glibcxx_cv_func__fabsf_use=no
22570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22571 ac_ext=c
22572 ac_cpp='$CPP $CPPFLAGS'
22573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22582 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22584 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22585 for ac_func in _fabsf
22586 do :
22587 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22588 if test "x$ac_cv_func__fabsf" = x""yes; then :
22589 cat >>confdefs.h <<_ACEOF
22590 #define HAVE__FABSF 1
22591 _ACEOF
22594 done
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22604 $as_echo_n "checking for fmodf declaration... " >&6; }
22605 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22606 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22607 $as_echo_n "(cached) " >&6
22608 else
22611 ac_ext=cpp
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h. */
22619 #include <math.h>
22621 main ()
22623 fmodf(0, 0);
22625 return 0;
22627 _ACEOF
22628 if ac_fn_cxx_try_compile "$LINENO"; then :
22629 glibcxx_cv_func_fmodf_use=yes
22630 else
22631 glibcxx_cv_func_fmodf_use=no
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634 ac_ext=c
22635 ac_cpp='$CPP $CPPFLAGS'
22636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22645 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22647 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22648 for ac_func in fmodf
22649 do :
22650 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22651 if test "x$ac_cv_func_fmodf" = x""yes; then :
22652 cat >>confdefs.h <<_ACEOF
22653 #define HAVE_FMODF 1
22654 _ACEOF
22657 done
22659 else
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22662 $as_echo_n "checking for _fmodf declaration... " >&6; }
22663 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22664 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22665 $as_echo_n "(cached) " >&6
22666 else
22669 ac_ext=cpp
22670 ac_cpp='$CXXCPP $CPPFLAGS'
22671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22676 /* end confdefs.h. */
22677 #include <math.h>
22679 main ()
22681 _fmodf(0, 0);
22683 return 0;
22685 _ACEOF
22686 if ac_fn_cxx_try_compile "$LINENO"; then :
22687 glibcxx_cv_func__fmodf_use=yes
22688 else
22689 glibcxx_cv_func__fmodf_use=no
22691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22692 ac_ext=c
22693 ac_cpp='$CPP $CPPFLAGS'
22694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22703 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22705 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22706 for ac_func in _fmodf
22707 do :
22708 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22709 if test "x$ac_cv_func__fmodf" = x""yes; then :
22710 cat >>confdefs.h <<_ACEOF
22711 #define HAVE__FMODF 1
22712 _ACEOF
22715 done
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22725 $as_echo_n "checking for frexpf declaration... " >&6; }
22726 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22727 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22728 $as_echo_n "(cached) " >&6
22729 else
22732 ac_ext=cpp
22733 ac_cpp='$CXXCPP $CPPFLAGS'
22734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22739 /* end confdefs.h. */
22740 #include <math.h>
22742 main ()
22744 frexpf(0, 0);
22746 return 0;
22748 _ACEOF
22749 if ac_fn_cxx_try_compile "$LINENO"; then :
22750 glibcxx_cv_func_frexpf_use=yes
22751 else
22752 glibcxx_cv_func_frexpf_use=no
22754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755 ac_ext=c
22756 ac_cpp='$CPP $CPPFLAGS'
22757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22766 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22768 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22769 for ac_func in frexpf
22770 do :
22771 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22772 if test "x$ac_cv_func_frexpf" = x""yes; then :
22773 cat >>confdefs.h <<_ACEOF
22774 #define HAVE_FREXPF 1
22775 _ACEOF
22778 done
22780 else
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22783 $as_echo_n "checking for _frexpf declaration... " >&6; }
22784 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22785 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22786 $as_echo_n "(cached) " >&6
22787 else
22790 ac_ext=cpp
22791 ac_cpp='$CXXCPP $CPPFLAGS'
22792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22797 /* end confdefs.h. */
22798 #include <math.h>
22800 main ()
22802 _frexpf(0, 0);
22804 return 0;
22806 _ACEOF
22807 if ac_fn_cxx_try_compile "$LINENO"; then :
22808 glibcxx_cv_func__frexpf_use=yes
22809 else
22810 glibcxx_cv_func__frexpf_use=no
22812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22813 ac_ext=c
22814 ac_cpp='$CPP $CPPFLAGS'
22815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22824 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22826 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22827 for ac_func in _frexpf
22828 do :
22829 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22830 if test "x$ac_cv_func__frexpf" = x""yes; then :
22831 cat >>confdefs.h <<_ACEOF
22832 #define HAVE__FREXPF 1
22833 _ACEOF
22836 done
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22846 $as_echo_n "checking for hypotf declaration... " >&6; }
22847 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22848 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22849 $as_echo_n "(cached) " >&6
22850 else
22853 ac_ext=cpp
22854 ac_cpp='$CXXCPP $CPPFLAGS'
22855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22861 #include <math.h>
22863 main ()
22865 hypotf(0, 0);
22867 return 0;
22869 _ACEOF
22870 if ac_fn_cxx_try_compile "$LINENO"; then :
22871 glibcxx_cv_func_hypotf_use=yes
22872 else
22873 glibcxx_cv_func_hypotf_use=no
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876 ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22887 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22889 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22890 for ac_func in hypotf
22891 do :
22892 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22893 if test "x$ac_cv_func_hypotf" = x""yes; then :
22894 cat >>confdefs.h <<_ACEOF
22895 #define HAVE_HYPOTF 1
22896 _ACEOF
22899 done
22901 else
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22904 $as_echo_n "checking for _hypotf declaration... " >&6; }
22905 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22906 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22907 $as_echo_n "(cached) " >&6
22908 else
22911 ac_ext=cpp
22912 ac_cpp='$CXXCPP $CPPFLAGS'
22913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22919 #include <math.h>
22921 main ()
22923 _hypotf(0, 0);
22925 return 0;
22927 _ACEOF
22928 if ac_fn_cxx_try_compile "$LINENO"; then :
22929 glibcxx_cv_func__hypotf_use=yes
22930 else
22931 glibcxx_cv_func__hypotf_use=no
22933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22934 ac_ext=c
22935 ac_cpp='$CPP $CPPFLAGS'
22936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22945 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22947 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22948 for ac_func in _hypotf
22949 do :
22950 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22951 if test "x$ac_cv_func__hypotf" = x""yes; then :
22952 cat >>confdefs.h <<_ACEOF
22953 #define HAVE__HYPOTF 1
22954 _ACEOF
22957 done
22966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22967 $as_echo_n "checking for ldexpf declaration... " >&6; }
22968 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22969 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22970 $as_echo_n "(cached) " >&6
22971 else
22974 ac_ext=cpp
22975 ac_cpp='$CXXCPP $CPPFLAGS'
22976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h. */
22982 #include <math.h>
22984 main ()
22986 ldexpf(0, 0);
22988 return 0;
22990 _ACEOF
22991 if ac_fn_cxx_try_compile "$LINENO"; then :
22992 glibcxx_cv_func_ldexpf_use=yes
22993 else
22994 glibcxx_cv_func_ldexpf_use=no
22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23008 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23010 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23011 for ac_func in ldexpf
23012 do :
23013 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23014 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE_LDEXPF 1
23017 _ACEOF
23020 done
23022 else
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23025 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23026 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23027 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23028 $as_echo_n "(cached) " >&6
23029 else
23032 ac_ext=cpp
23033 ac_cpp='$CXXCPP $CPPFLAGS'
23034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h. */
23040 #include <math.h>
23042 main ()
23044 _ldexpf(0, 0);
23046 return 0;
23048 _ACEOF
23049 if ac_fn_cxx_try_compile "$LINENO"; then :
23050 glibcxx_cv_func__ldexpf_use=yes
23051 else
23052 glibcxx_cv_func__ldexpf_use=no
23054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23055 ac_ext=c
23056 ac_cpp='$CPP $CPPFLAGS'
23057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23066 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23068 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23069 for ac_func in _ldexpf
23070 do :
23071 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23072 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23073 cat >>confdefs.h <<_ACEOF
23074 #define HAVE__LDEXPF 1
23075 _ACEOF
23078 done
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23088 $as_echo_n "checking for logf declaration... " >&6; }
23089 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23090 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23091 $as_echo_n "(cached) " >&6
23092 else
23095 ac_ext=cpp
23096 ac_cpp='$CXXCPP $CPPFLAGS'
23097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23102 /* end confdefs.h. */
23103 #include <math.h>
23104 #ifdef HAVE_IEEEFP_H
23105 #include <ieeefp.h>
23106 #endif
23109 main ()
23111 logf(0);
23113 return 0;
23115 _ACEOF
23116 if ac_fn_cxx_try_compile "$LINENO"; then :
23117 glibcxx_cv_func_logf_use=yes
23118 else
23119 glibcxx_cv_func_logf_use=no
23121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122 ac_ext=c
23123 ac_cpp='$CPP $CPPFLAGS'
23124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23133 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23135 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23136 for ac_func in logf
23137 do :
23138 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23139 if test "x$ac_cv_func_logf" = x""yes; then :
23140 cat >>confdefs.h <<_ACEOF
23141 #define HAVE_LOGF 1
23142 _ACEOF
23145 done
23147 else
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23150 $as_echo_n "checking for _logf declaration... " >&6; }
23151 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23152 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23153 $as_echo_n "(cached) " >&6
23154 else
23157 ac_ext=cpp
23158 ac_cpp='$CXXCPP $CPPFLAGS'
23159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23164 /* end confdefs.h. */
23165 #include <math.h>
23166 #ifdef HAVE_IEEEFP_H
23167 #include <ieeefp.h>
23168 #endif
23171 main ()
23173 _logf(0);
23175 return 0;
23177 _ACEOF
23178 if ac_fn_cxx_try_compile "$LINENO"; then :
23179 glibcxx_cv_func__logf_use=yes
23180 else
23181 glibcxx_cv_func__logf_use=no
23183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23184 ac_ext=c
23185 ac_cpp='$CPP $CPPFLAGS'
23186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23195 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23197 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23198 for ac_func in _logf
23199 do :
23200 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23201 if test "x$ac_cv_func__logf" = x""yes; then :
23202 cat >>confdefs.h <<_ACEOF
23203 #define HAVE__LOGF 1
23204 _ACEOF
23207 done
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23217 $as_echo_n "checking for log10f declaration... " >&6; }
23218 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23219 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23220 $as_echo_n "(cached) " >&6
23221 else
23224 ac_ext=cpp
23225 ac_cpp='$CXXCPP $CPPFLAGS'
23226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 /* end confdefs.h. */
23232 #include <math.h>
23233 #ifdef HAVE_IEEEFP_H
23234 #include <ieeefp.h>
23235 #endif
23238 main ()
23240 log10f(0);
23242 return 0;
23244 _ACEOF
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246 glibcxx_cv_func_log10f_use=yes
23247 else
23248 glibcxx_cv_func_log10f_use=no
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23262 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23264 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23265 for ac_func in log10f
23266 do :
23267 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23268 if test "x$ac_cv_func_log10f" = x""yes; then :
23269 cat >>confdefs.h <<_ACEOF
23270 #define HAVE_LOG10F 1
23271 _ACEOF
23274 done
23276 else
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23279 $as_echo_n "checking for _log10f declaration... " >&6; }
23280 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23281 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23282 $as_echo_n "(cached) " >&6
23283 else
23286 ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23294 #include <math.h>
23295 #ifdef HAVE_IEEEFP_H
23296 #include <ieeefp.h>
23297 #endif
23300 main ()
23302 _log10f(0);
23304 return 0;
23306 _ACEOF
23307 if ac_fn_cxx_try_compile "$LINENO"; then :
23308 glibcxx_cv_func__log10f_use=yes
23309 else
23310 glibcxx_cv_func__log10f_use=no
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313 ac_ext=c
23314 ac_cpp='$CPP $CPPFLAGS'
23315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23324 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23326 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23327 for ac_func in _log10f
23328 do :
23329 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23330 if test "x$ac_cv_func__log10f" = x""yes; then :
23331 cat >>confdefs.h <<_ACEOF
23332 #define HAVE__LOG10F 1
23333 _ACEOF
23336 done
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23346 $as_echo_n "checking for modff declaration... " >&6; }
23347 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23348 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23349 $as_echo_n "(cached) " >&6
23350 else
23353 ac_ext=cpp
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h. */
23361 #include <math.h>
23363 main ()
23365 modff(0, 0);
23367 return 0;
23369 _ACEOF
23370 if ac_fn_cxx_try_compile "$LINENO"; then :
23371 glibcxx_cv_func_modff_use=yes
23372 else
23373 glibcxx_cv_func_modff_use=no
23375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23376 ac_ext=c
23377 ac_cpp='$CPP $CPPFLAGS'
23378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23387 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23389 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23390 for ac_func in modff
23391 do :
23392 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23393 if test "x$ac_cv_func_modff" = x""yes; then :
23394 cat >>confdefs.h <<_ACEOF
23395 #define HAVE_MODFF 1
23396 _ACEOF
23399 done
23401 else
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23404 $as_echo_n "checking for _modff declaration... " >&6; }
23405 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23406 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23407 $as_echo_n "(cached) " >&6
23408 else
23411 ac_ext=cpp
23412 ac_cpp='$CXXCPP $CPPFLAGS'
23413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h. */
23419 #include <math.h>
23421 main ()
23423 _modff(0, 0);
23425 return 0;
23427 _ACEOF
23428 if ac_fn_cxx_try_compile "$LINENO"; then :
23429 glibcxx_cv_func__modff_use=yes
23430 else
23431 glibcxx_cv_func__modff_use=no
23433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23434 ac_ext=c
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23445 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23447 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23448 for ac_func in _modff
23449 do :
23450 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23451 if test "x$ac_cv_func__modff" = x""yes; then :
23452 cat >>confdefs.h <<_ACEOF
23453 #define HAVE__MODFF 1
23454 _ACEOF
23457 done
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23467 $as_echo_n "checking for modf declaration... " >&6; }
23468 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23469 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23470 $as_echo_n "(cached) " >&6
23471 else
23474 ac_ext=cpp
23475 ac_cpp='$CXXCPP $CPPFLAGS'
23476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h. */
23482 #include <math.h>
23484 main ()
23486 modf(0, 0);
23488 return 0;
23490 _ACEOF
23491 if ac_fn_cxx_try_compile "$LINENO"; then :
23492 glibcxx_cv_func_modf_use=yes
23493 else
23494 glibcxx_cv_func_modf_use=no
23496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23497 ac_ext=c
23498 ac_cpp='$CPP $CPPFLAGS'
23499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23508 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23510 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23511 for ac_func in modf
23512 do :
23513 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23514 if test "x$ac_cv_func_modf" = x""yes; then :
23515 cat >>confdefs.h <<_ACEOF
23516 #define HAVE_MODF 1
23517 _ACEOF
23520 done
23522 else
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23525 $as_echo_n "checking for _modf declaration... " >&6; }
23526 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23527 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23528 $as_echo_n "(cached) " >&6
23529 else
23532 ac_ext=cpp
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23539 /* end confdefs.h. */
23540 #include <math.h>
23542 main ()
23544 _modf(0, 0);
23546 return 0;
23548 _ACEOF
23549 if ac_fn_cxx_try_compile "$LINENO"; then :
23550 glibcxx_cv_func__modf_use=yes
23551 else
23552 glibcxx_cv_func__modf_use=no
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 ac_ext=c
23556 ac_cpp='$CPP $CPPFLAGS'
23557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23566 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23568 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23569 for ac_func in _modf
23570 do :
23571 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23572 if test "x$ac_cv_func__modf" = x""yes; then :
23573 cat >>confdefs.h <<_ACEOF
23574 #define HAVE__MODF 1
23575 _ACEOF
23578 done
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23588 $as_echo_n "checking for powf declaration... " >&6; }
23589 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23590 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23591 $as_echo_n "(cached) " >&6
23592 else
23595 ac_ext=cpp
23596 ac_cpp='$CXXCPP $CPPFLAGS'
23597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23602 /* end confdefs.h. */
23603 #include <math.h>
23605 main ()
23607 powf(0, 0);
23609 return 0;
23611 _ACEOF
23612 if ac_fn_cxx_try_compile "$LINENO"; then :
23613 glibcxx_cv_func_powf_use=yes
23614 else
23615 glibcxx_cv_func_powf_use=no
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 ac_ext=c
23619 ac_cpp='$CPP $CPPFLAGS'
23620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23629 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23631 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23632 for ac_func in powf
23633 do :
23634 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23635 if test "x$ac_cv_func_powf" = x""yes; then :
23636 cat >>confdefs.h <<_ACEOF
23637 #define HAVE_POWF 1
23638 _ACEOF
23641 done
23643 else
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23646 $as_echo_n "checking for _powf declaration... " >&6; }
23647 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23648 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23649 $as_echo_n "(cached) " >&6
23650 else
23653 ac_ext=cpp
23654 ac_cpp='$CXXCPP $CPPFLAGS'
23655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23660 /* end confdefs.h. */
23661 #include <math.h>
23663 main ()
23665 _powf(0, 0);
23667 return 0;
23669 _ACEOF
23670 if ac_fn_cxx_try_compile "$LINENO"; then :
23671 glibcxx_cv_func__powf_use=yes
23672 else
23673 glibcxx_cv_func__powf_use=no
23675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676 ac_ext=c
23677 ac_cpp='$CPP $CPPFLAGS'
23678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23687 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23689 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23690 for ac_func in _powf
23691 do :
23692 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23693 if test "x$ac_cv_func__powf" = x""yes; then :
23694 cat >>confdefs.h <<_ACEOF
23695 #define HAVE__POWF 1
23696 _ACEOF
23699 done
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23709 $as_echo_n "checking for sqrtf declaration... " >&6; }
23710 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23711 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23713 else
23716 ac_ext=cpp
23717 ac_cpp='$CXXCPP $CPPFLAGS'
23718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23723 /* end confdefs.h. */
23724 #include <math.h>
23725 #ifdef HAVE_IEEEFP_H
23726 #include <ieeefp.h>
23727 #endif
23730 main ()
23732 sqrtf(0);
23734 return 0;
23736 _ACEOF
23737 if ac_fn_cxx_try_compile "$LINENO"; then :
23738 glibcxx_cv_func_sqrtf_use=yes
23739 else
23740 glibcxx_cv_func_sqrtf_use=no
23742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23743 ac_ext=c
23744 ac_cpp='$CPP $CPPFLAGS'
23745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23754 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23756 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23757 for ac_func in sqrtf
23758 do :
23759 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23760 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23761 cat >>confdefs.h <<_ACEOF
23762 #define HAVE_SQRTF 1
23763 _ACEOF
23766 done
23768 else
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23771 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23772 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23773 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23774 $as_echo_n "(cached) " >&6
23775 else
23778 ac_ext=cpp
23779 ac_cpp='$CXXCPP $CPPFLAGS'
23780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23785 /* end confdefs.h. */
23786 #include <math.h>
23787 #ifdef HAVE_IEEEFP_H
23788 #include <ieeefp.h>
23789 #endif
23792 main ()
23794 _sqrtf(0);
23796 return 0;
23798 _ACEOF
23799 if ac_fn_cxx_try_compile "$LINENO"; then :
23800 glibcxx_cv_func__sqrtf_use=yes
23801 else
23802 glibcxx_cv_func__sqrtf_use=no
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805 ac_ext=c
23806 ac_cpp='$CPP $CPPFLAGS'
23807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23816 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23818 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23819 for ac_func in _sqrtf
23820 do :
23821 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23822 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23823 cat >>confdefs.h <<_ACEOF
23824 #define HAVE__SQRTF 1
23825 _ACEOF
23828 done
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23838 $as_echo_n "checking for sincosf declaration... " >&6; }
23839 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23840 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23841 $as_echo_n "(cached) " >&6
23842 else
23845 ac_ext=cpp
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23852 /* end confdefs.h. */
23853 #include <math.h>
23855 main ()
23857 sincosf(0, 0, 0);
23859 return 0;
23861 _ACEOF
23862 if ac_fn_cxx_try_compile "$LINENO"; then :
23863 glibcxx_cv_func_sincosf_use=yes
23864 else
23865 glibcxx_cv_func_sincosf_use=no
23867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23868 ac_ext=c
23869 ac_cpp='$CPP $CPPFLAGS'
23870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23879 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23881 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23882 for ac_func in sincosf
23883 do :
23884 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23885 if test "x$ac_cv_func_sincosf" = x""yes; then :
23886 cat >>confdefs.h <<_ACEOF
23887 #define HAVE_SINCOSF 1
23888 _ACEOF
23891 done
23893 else
23895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23896 $as_echo_n "checking for _sincosf declaration... " >&6; }
23897 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23898 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23899 $as_echo_n "(cached) " >&6
23900 else
23903 ac_ext=cpp
23904 ac_cpp='$CXXCPP $CPPFLAGS'
23905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h. */
23911 #include <math.h>
23913 main ()
23915 _sincosf(0, 0, 0);
23917 return 0;
23919 _ACEOF
23920 if ac_fn_cxx_try_compile "$LINENO"; then :
23921 glibcxx_cv_func__sincosf_use=yes
23922 else
23923 glibcxx_cv_func__sincosf_use=no
23925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23926 ac_ext=c
23927 ac_cpp='$CPP $CPPFLAGS'
23928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23937 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23939 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23940 for ac_func in _sincosf
23941 do :
23942 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23943 if test "x$ac_cv_func__sincosf" = x""yes; then :
23944 cat >>confdefs.h <<_ACEOF
23945 #define HAVE__SINCOSF 1
23946 _ACEOF
23949 done
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23959 $as_echo_n "checking for finitef declaration... " >&6; }
23960 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23961 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23962 $as_echo_n "(cached) " >&6
23963 else
23966 ac_ext=cpp
23967 ac_cpp='$CXXCPP $CPPFLAGS'
23968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23973 /* end confdefs.h. */
23974 #include <math.h>
23975 #ifdef HAVE_IEEEFP_H
23976 #include <ieeefp.h>
23977 #endif
23980 main ()
23982 finitef(0);
23984 return 0;
23986 _ACEOF
23987 if ac_fn_cxx_try_compile "$LINENO"; then :
23988 glibcxx_cv_func_finitef_use=yes
23989 else
23990 glibcxx_cv_func_finitef_use=no
23992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23993 ac_ext=c
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24004 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24006 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24007 for ac_func in finitef
24008 do :
24009 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24010 if test "x$ac_cv_func_finitef" = x""yes; then :
24011 cat >>confdefs.h <<_ACEOF
24012 #define HAVE_FINITEF 1
24013 _ACEOF
24016 done
24018 else
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24021 $as_echo_n "checking for _finitef declaration... " >&6; }
24022 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24023 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24024 $as_echo_n "(cached) " >&6
24025 else
24028 ac_ext=cpp
24029 ac_cpp='$CXXCPP $CPPFLAGS'
24030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24035 /* end confdefs.h. */
24036 #include <math.h>
24037 #ifdef HAVE_IEEEFP_H
24038 #include <ieeefp.h>
24039 #endif
24042 main ()
24044 _finitef(0);
24046 return 0;
24048 _ACEOF
24049 if ac_fn_cxx_try_compile "$LINENO"; then :
24050 glibcxx_cv_func__finitef_use=yes
24051 else
24052 glibcxx_cv_func__finitef_use=no
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055 ac_ext=c
24056 ac_cpp='$CPP $CPPFLAGS'
24057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24066 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24068 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24069 for ac_func in _finitef
24070 do :
24071 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24072 if test "x$ac_cv_func__finitef" = x""yes; then :
24073 cat >>confdefs.h <<_ACEOF
24074 #define HAVE__FINITEF 1
24075 _ACEOF
24078 done
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24088 $as_echo_n "checking for long double trig functions... " >&6; }
24089 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24090 $as_echo_n "(cached) " >&6
24091 else
24094 ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h. */
24102 #include <math.h>
24104 main ()
24106 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24108 return 0;
24110 _ACEOF
24111 if ac_fn_cxx_try_compile "$LINENO"; then :
24112 glibcxx_cv_func_long_double_trig_use=yes
24113 else
24114 glibcxx_cv_func_long_double_trig_use=no
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 ac_ext=c
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24126 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24127 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24128 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24129 do :
24130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24132 eval as_val=\$$as_ac_var
24133 if test "x$as_val" = x""yes; then :
24134 cat >>confdefs.h <<_ACEOF
24135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24136 _ACEOF
24139 done
24141 else
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24143 $as_echo_n "checking for _long double trig functions... " >&6; }
24144 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24145 $as_echo_n "(cached) " >&6
24146 else
24149 ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24157 #include <math.h>
24159 main ()
24161 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24163 return 0;
24165 _ACEOF
24166 if ac_fn_cxx_try_compile "$LINENO"; then :
24167 glibcxx_cv_func__long_double_trig_use=yes
24168 else
24169 glibcxx_cv_func__long_double_trig_use=no
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24181 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24182 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24183 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24184 do :
24185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24187 eval as_val=\$$as_ac_var
24188 if test "x$as_val" = x""yes; then :
24189 cat >>confdefs.h <<_ACEOF
24190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24191 _ACEOF
24194 done
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24204 $as_echo_n "checking for long double round functions... " >&6; }
24205 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24206 $as_echo_n "(cached) " >&6
24207 else
24210 ac_ext=cpp
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24217 /* end confdefs.h. */
24218 #include <math.h>
24220 main ()
24222 ceill (0); floorl (0);
24224 return 0;
24226 _ACEOF
24227 if ac_fn_cxx_try_compile "$LINENO"; then :
24228 glibcxx_cv_func_long_double_round_use=yes
24229 else
24230 glibcxx_cv_func_long_double_round_use=no
24232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24233 ac_ext=c
24234 ac_cpp='$CPP $CPPFLAGS'
24235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24242 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24243 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24244 for ac_func in ceill floorl
24245 do :
24246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24248 eval as_val=\$$as_ac_var
24249 if test "x$as_val" = x""yes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24252 _ACEOF
24255 done
24257 else
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24259 $as_echo_n "checking for _long double round functions... " >&6; }
24260 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24265 ac_ext=cpp
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24273 #include <math.h>
24275 main ()
24277 _ceill (0); _floorl (0);
24279 return 0;
24281 _ACEOF
24282 if ac_fn_cxx_try_compile "$LINENO"; then :
24283 glibcxx_cv_func__long_double_round_use=yes
24284 else
24285 glibcxx_cv_func__long_double_round_use=no
24287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 ac_ext=c
24289 ac_cpp='$CPP $CPPFLAGS'
24290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24297 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24298 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24299 for ac_func in _ceill _floorl
24300 do :
24301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24303 eval as_val=\$$as_ac_var
24304 if test "x$as_val" = x""yes; then :
24305 cat >>confdefs.h <<_ACEOF
24306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24307 _ACEOF
24310 done
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24321 $as_echo_n "checking for isnanl declaration... " >&6; }
24322 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24323 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24324 $as_echo_n "(cached) " >&6
24325 else
24328 ac_ext=cpp
24329 ac_cpp='$CXXCPP $CPPFLAGS'
24330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h. */
24336 #include <math.h>
24337 #ifdef HAVE_IEEEFP_H
24338 #include <ieeefp.h>
24339 #endif
24342 main ()
24344 isnanl(0);
24346 return 0;
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350 glibcxx_cv_func_isnanl_use=yes
24351 else
24352 glibcxx_cv_func_isnanl_use=no
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355 ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24366 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24368 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24369 for ac_func in isnanl
24370 do :
24371 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24372 if test "x$ac_cv_func_isnanl" = x""yes; then :
24373 cat >>confdefs.h <<_ACEOF
24374 #define HAVE_ISNANL 1
24375 _ACEOF
24378 done
24380 else
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24383 $as_echo_n "checking for _isnanl declaration... " >&6; }
24384 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24385 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24386 $as_echo_n "(cached) " >&6
24387 else
24390 ac_ext=cpp
24391 ac_cpp='$CXXCPP $CPPFLAGS'
24392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24397 /* end confdefs.h. */
24398 #include <math.h>
24399 #ifdef HAVE_IEEEFP_H
24400 #include <ieeefp.h>
24401 #endif
24404 main ()
24406 _isnanl(0);
24408 return 0;
24410 _ACEOF
24411 if ac_fn_cxx_try_compile "$LINENO"; then :
24412 glibcxx_cv_func__isnanl_use=yes
24413 else
24414 glibcxx_cv_func__isnanl_use=no
24416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24417 ac_ext=c
24418 ac_cpp='$CPP $CPPFLAGS'
24419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24428 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24430 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24431 for ac_func in _isnanl
24432 do :
24433 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24434 if test "x$ac_cv_func__isnanl" = x""yes; then :
24435 cat >>confdefs.h <<_ACEOF
24436 #define HAVE__ISNANL 1
24437 _ACEOF
24440 done
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24450 $as_echo_n "checking for isinfl declaration... " >&6; }
24451 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24452 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24453 $as_echo_n "(cached) " >&6
24454 else
24457 ac_ext=cpp
24458 ac_cpp='$CXXCPP $CPPFLAGS'
24459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24465 #include <math.h>
24466 #ifdef HAVE_IEEEFP_H
24467 #include <ieeefp.h>
24468 #endif
24471 main ()
24473 isinfl(0);
24475 return 0;
24477 _ACEOF
24478 if ac_fn_cxx_try_compile "$LINENO"; then :
24479 glibcxx_cv_func_isinfl_use=yes
24480 else
24481 glibcxx_cv_func_isinfl_use=no
24483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24484 ac_ext=c
24485 ac_cpp='$CPP $CPPFLAGS'
24486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24495 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24497 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24498 for ac_func in isinfl
24499 do :
24500 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24501 if test "x$ac_cv_func_isinfl" = x""yes; then :
24502 cat >>confdefs.h <<_ACEOF
24503 #define HAVE_ISINFL 1
24504 _ACEOF
24507 done
24509 else
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24512 $as_echo_n "checking for _isinfl declaration... " >&6; }
24513 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24514 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24515 $as_echo_n "(cached) " >&6
24516 else
24519 ac_ext=cpp
24520 ac_cpp='$CXXCPP $CPPFLAGS'
24521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24526 /* end confdefs.h. */
24527 #include <math.h>
24528 #ifdef HAVE_IEEEFP_H
24529 #include <ieeefp.h>
24530 #endif
24533 main ()
24535 _isinfl(0);
24537 return 0;
24539 _ACEOF
24540 if ac_fn_cxx_try_compile "$LINENO"; then :
24541 glibcxx_cv_func__isinfl_use=yes
24542 else
24543 glibcxx_cv_func__isinfl_use=no
24545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24546 ac_ext=c
24547 ac_cpp='$CPP $CPPFLAGS'
24548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24557 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24559 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24560 for ac_func in _isinfl
24561 do :
24562 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24563 if test "x$ac_cv_func__isinfl" = x""yes; then :
24564 cat >>confdefs.h <<_ACEOF
24565 #define HAVE__ISINFL 1
24566 _ACEOF
24569 done
24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24579 $as_echo_n "checking for atan2l declaration... " >&6; }
24580 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24581 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24582 $as_echo_n "(cached) " >&6
24583 else
24586 ac_ext=cpp
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24593 /* end confdefs.h. */
24594 #include <math.h>
24596 main ()
24598 atan2l(0, 0);
24600 return 0;
24602 _ACEOF
24603 if ac_fn_cxx_try_compile "$LINENO"; then :
24604 glibcxx_cv_func_atan2l_use=yes
24605 else
24606 glibcxx_cv_func_atan2l_use=no
24608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24609 ac_ext=c
24610 ac_cpp='$CPP $CPPFLAGS'
24611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24620 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24622 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24623 for ac_func in atan2l
24624 do :
24625 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24626 if test "x$ac_cv_func_atan2l" = x""yes; then :
24627 cat >>confdefs.h <<_ACEOF
24628 #define HAVE_ATAN2L 1
24629 _ACEOF
24632 done
24634 else
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24637 $as_echo_n "checking for _atan2l declaration... " >&6; }
24638 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24639 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24640 $as_echo_n "(cached) " >&6
24641 else
24644 ac_ext=cpp
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24652 #include <math.h>
24654 main ()
24656 _atan2l(0, 0);
24658 return 0;
24660 _ACEOF
24661 if ac_fn_cxx_try_compile "$LINENO"; then :
24662 glibcxx_cv_func__atan2l_use=yes
24663 else
24664 glibcxx_cv_func__atan2l_use=no
24666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24667 ac_ext=c
24668 ac_cpp='$CPP $CPPFLAGS'
24669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24678 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24680 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24681 for ac_func in _atan2l
24682 do :
24683 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24684 if test "x$ac_cv_func__atan2l" = x""yes; then :
24685 cat >>confdefs.h <<_ACEOF
24686 #define HAVE__ATAN2L 1
24687 _ACEOF
24690 done
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24700 $as_echo_n "checking for expl declaration... " >&6; }
24701 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24702 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24703 $as_echo_n "(cached) " >&6
24704 else
24707 ac_ext=cpp
24708 ac_cpp='$CXXCPP $CPPFLAGS'
24709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24714 /* end confdefs.h. */
24715 #include <math.h>
24716 #ifdef HAVE_IEEEFP_H
24717 #include <ieeefp.h>
24718 #endif
24721 main ()
24723 expl(0);
24725 return 0;
24727 _ACEOF
24728 if ac_fn_cxx_try_compile "$LINENO"; then :
24729 glibcxx_cv_func_expl_use=yes
24730 else
24731 glibcxx_cv_func_expl_use=no
24733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734 ac_ext=c
24735 ac_cpp='$CPP $CPPFLAGS'
24736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24745 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24747 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24748 for ac_func in expl
24749 do :
24750 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24751 if test "x$ac_cv_func_expl" = x""yes; then :
24752 cat >>confdefs.h <<_ACEOF
24753 #define HAVE_EXPL 1
24754 _ACEOF
24757 done
24759 else
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24762 $as_echo_n "checking for _expl declaration... " >&6; }
24763 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24764 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24765 $as_echo_n "(cached) " >&6
24766 else
24769 ac_ext=cpp
24770 ac_cpp='$CXXCPP $CPPFLAGS'
24771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24776 /* end confdefs.h. */
24777 #include <math.h>
24778 #ifdef HAVE_IEEEFP_H
24779 #include <ieeefp.h>
24780 #endif
24783 main ()
24785 _expl(0);
24787 return 0;
24789 _ACEOF
24790 if ac_fn_cxx_try_compile "$LINENO"; then :
24791 glibcxx_cv_func__expl_use=yes
24792 else
24793 glibcxx_cv_func__expl_use=no
24795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24796 ac_ext=c
24797 ac_cpp='$CPP $CPPFLAGS'
24798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24807 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24809 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24810 for ac_func in _expl
24811 do :
24812 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24813 if test "x$ac_cv_func__expl" = x""yes; then :
24814 cat >>confdefs.h <<_ACEOF
24815 #define HAVE__EXPL 1
24816 _ACEOF
24819 done
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24829 $as_echo_n "checking for fabsl declaration... " >&6; }
24830 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24831 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24832 $as_echo_n "(cached) " >&6
24833 else
24836 ac_ext=cpp
24837 ac_cpp='$CXXCPP $CPPFLAGS'
24838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24844 #include <math.h>
24845 #ifdef HAVE_IEEEFP_H
24846 #include <ieeefp.h>
24847 #endif
24850 main ()
24852 fabsl(0);
24854 return 0;
24856 _ACEOF
24857 if ac_fn_cxx_try_compile "$LINENO"; then :
24858 glibcxx_cv_func_fabsl_use=yes
24859 else
24860 glibcxx_cv_func_fabsl_use=no
24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 ac_ext=c
24864 ac_cpp='$CPP $CPPFLAGS'
24865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24874 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24876 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24877 for ac_func in fabsl
24878 do :
24879 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24880 if test "x$ac_cv_func_fabsl" = x""yes; then :
24881 cat >>confdefs.h <<_ACEOF
24882 #define HAVE_FABSL 1
24883 _ACEOF
24886 done
24888 else
24890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24891 $as_echo_n "checking for _fabsl declaration... " >&6; }
24892 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24893 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24894 $as_echo_n "(cached) " >&6
24895 else
24898 ac_ext=cpp
24899 ac_cpp='$CXXCPP $CPPFLAGS'
24900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24905 /* end confdefs.h. */
24906 #include <math.h>
24907 #ifdef HAVE_IEEEFP_H
24908 #include <ieeefp.h>
24909 #endif
24912 main ()
24914 _fabsl(0);
24916 return 0;
24918 _ACEOF
24919 if ac_fn_cxx_try_compile "$LINENO"; then :
24920 glibcxx_cv_func__fabsl_use=yes
24921 else
24922 glibcxx_cv_func__fabsl_use=no
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925 ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24936 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24938 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24939 for ac_func in _fabsl
24940 do :
24941 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24942 if test "x$ac_cv_func__fabsl" = x""yes; then :
24943 cat >>confdefs.h <<_ACEOF
24944 #define HAVE__FABSL 1
24945 _ACEOF
24948 done
24957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24958 $as_echo_n "checking for fmodl declaration... " >&6; }
24959 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24960 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24961 $as_echo_n "(cached) " >&6
24962 else
24965 ac_ext=cpp
24966 ac_cpp='$CXXCPP $CPPFLAGS'
24967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24972 /* end confdefs.h. */
24973 #include <math.h>
24975 main ()
24977 fmodl(0, 0);
24979 return 0;
24981 _ACEOF
24982 if ac_fn_cxx_try_compile "$LINENO"; then :
24983 glibcxx_cv_func_fmodl_use=yes
24984 else
24985 glibcxx_cv_func_fmodl_use=no
24987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24988 ac_ext=c
24989 ac_cpp='$CPP $CPPFLAGS'
24990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24999 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25001 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25002 for ac_func in fmodl
25003 do :
25004 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25005 if test "x$ac_cv_func_fmodl" = x""yes; then :
25006 cat >>confdefs.h <<_ACEOF
25007 #define HAVE_FMODL 1
25008 _ACEOF
25011 done
25013 else
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25016 $as_echo_n "checking for _fmodl declaration... " >&6; }
25017 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25018 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25019 $as_echo_n "(cached) " >&6
25020 else
25023 ac_ext=cpp
25024 ac_cpp='$CXXCPP $CPPFLAGS'
25025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25030 /* end confdefs.h. */
25031 #include <math.h>
25033 main ()
25035 _fmodl(0, 0);
25037 return 0;
25039 _ACEOF
25040 if ac_fn_cxx_try_compile "$LINENO"; then :
25041 glibcxx_cv_func__fmodl_use=yes
25042 else
25043 glibcxx_cv_func__fmodl_use=no
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 ac_ext=c
25047 ac_cpp='$CPP $CPPFLAGS'
25048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25057 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25059 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25060 for ac_func in _fmodl
25061 do :
25062 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25063 if test "x$ac_cv_func__fmodl" = x""yes; then :
25064 cat >>confdefs.h <<_ACEOF
25065 #define HAVE__FMODL 1
25066 _ACEOF
25069 done
25078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25079 $as_echo_n "checking for frexpl declaration... " >&6; }
25080 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25081 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25082 $as_echo_n "(cached) " >&6
25083 else
25086 ac_ext=cpp
25087 ac_cpp='$CXXCPP $CPPFLAGS'
25088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25094 #include <math.h>
25096 main ()
25098 frexpl(0, 0);
25100 return 0;
25102 _ACEOF
25103 if ac_fn_cxx_try_compile "$LINENO"; then :
25104 glibcxx_cv_func_frexpl_use=yes
25105 else
25106 glibcxx_cv_func_frexpl_use=no
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 ac_ext=c
25110 ac_cpp='$CPP $CPPFLAGS'
25111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25120 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25122 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25123 for ac_func in frexpl
25124 do :
25125 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25126 if test "x$ac_cv_func_frexpl" = x""yes; then :
25127 cat >>confdefs.h <<_ACEOF
25128 #define HAVE_FREXPL 1
25129 _ACEOF
25132 done
25134 else
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25137 $as_echo_n "checking for _frexpl declaration... " >&6; }
25138 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25139 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25140 $as_echo_n "(cached) " >&6
25141 else
25144 ac_ext=cpp
25145 ac_cpp='$CXXCPP $CPPFLAGS'
25146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25151 /* end confdefs.h. */
25152 #include <math.h>
25154 main ()
25156 _frexpl(0, 0);
25158 return 0;
25160 _ACEOF
25161 if ac_fn_cxx_try_compile "$LINENO"; then :
25162 glibcxx_cv_func__frexpl_use=yes
25163 else
25164 glibcxx_cv_func__frexpl_use=no
25166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25167 ac_ext=c
25168 ac_cpp='$CPP $CPPFLAGS'
25169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25178 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25180 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25181 for ac_func in _frexpl
25182 do :
25183 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25184 if test "x$ac_cv_func__frexpl" = x""yes; then :
25185 cat >>confdefs.h <<_ACEOF
25186 #define HAVE__FREXPL 1
25187 _ACEOF
25190 done
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25200 $as_echo_n "checking for hypotl declaration... " >&6; }
25201 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25202 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25203 $as_echo_n "(cached) " >&6
25204 else
25207 ac_ext=cpp
25208 ac_cpp='$CXXCPP $CPPFLAGS'
25209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25214 /* end confdefs.h. */
25215 #include <math.h>
25217 main ()
25219 hypotl(0, 0);
25221 return 0;
25223 _ACEOF
25224 if ac_fn_cxx_try_compile "$LINENO"; then :
25225 glibcxx_cv_func_hypotl_use=yes
25226 else
25227 glibcxx_cv_func_hypotl_use=no
25229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25230 ac_ext=c
25231 ac_cpp='$CPP $CPPFLAGS'
25232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25241 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25243 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25244 for ac_func in hypotl
25245 do :
25246 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25247 if test "x$ac_cv_func_hypotl" = x""yes; then :
25248 cat >>confdefs.h <<_ACEOF
25249 #define HAVE_HYPOTL 1
25250 _ACEOF
25253 done
25255 else
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25258 $as_echo_n "checking for _hypotl declaration... " >&6; }
25259 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25260 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25261 $as_echo_n "(cached) " >&6
25262 else
25265 ac_ext=cpp
25266 ac_cpp='$CXXCPP $CPPFLAGS'
25267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25272 /* end confdefs.h. */
25273 #include <math.h>
25275 main ()
25277 _hypotl(0, 0);
25279 return 0;
25281 _ACEOF
25282 if ac_fn_cxx_try_compile "$LINENO"; then :
25283 glibcxx_cv_func__hypotl_use=yes
25284 else
25285 glibcxx_cv_func__hypotl_use=no
25287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25288 ac_ext=c
25289 ac_cpp='$CPP $CPPFLAGS'
25290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25299 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25301 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25302 for ac_func in _hypotl
25303 do :
25304 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25305 if test "x$ac_cv_func__hypotl" = x""yes; then :
25306 cat >>confdefs.h <<_ACEOF
25307 #define HAVE__HYPOTL 1
25308 _ACEOF
25311 done
25320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25321 $as_echo_n "checking for ldexpl declaration... " >&6; }
25322 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25323 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25324 $as_echo_n "(cached) " >&6
25325 else
25328 ac_ext=cpp
25329 ac_cpp='$CXXCPP $CPPFLAGS'
25330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25335 /* end confdefs.h. */
25336 #include <math.h>
25338 main ()
25340 ldexpl(0, 0);
25342 return 0;
25344 _ACEOF
25345 if ac_fn_cxx_try_compile "$LINENO"; then :
25346 glibcxx_cv_func_ldexpl_use=yes
25347 else
25348 glibcxx_cv_func_ldexpl_use=no
25350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25351 ac_ext=c
25352 ac_cpp='$CPP $CPPFLAGS'
25353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25362 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25364 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25365 for ac_func in ldexpl
25366 do :
25367 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25368 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25369 cat >>confdefs.h <<_ACEOF
25370 #define HAVE_LDEXPL 1
25371 _ACEOF
25374 done
25376 else
25378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25379 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25380 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25381 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25382 $as_echo_n "(cached) " >&6
25383 else
25386 ac_ext=cpp
25387 ac_cpp='$CXXCPP $CPPFLAGS'
25388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25393 /* end confdefs.h. */
25394 #include <math.h>
25396 main ()
25398 _ldexpl(0, 0);
25400 return 0;
25402 _ACEOF
25403 if ac_fn_cxx_try_compile "$LINENO"; then :
25404 glibcxx_cv_func__ldexpl_use=yes
25405 else
25406 glibcxx_cv_func__ldexpl_use=no
25408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25409 ac_ext=c
25410 ac_cpp='$CPP $CPPFLAGS'
25411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25420 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25422 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25423 for ac_func in _ldexpl
25424 do :
25425 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25426 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25427 cat >>confdefs.h <<_ACEOF
25428 #define HAVE__LDEXPL 1
25429 _ACEOF
25432 done
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25442 $as_echo_n "checking for logl declaration... " >&6; }
25443 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25444 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25445 $as_echo_n "(cached) " >&6
25446 else
25449 ac_ext=cpp
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h. */
25457 #include <math.h>
25458 #ifdef HAVE_IEEEFP_H
25459 #include <ieeefp.h>
25460 #endif
25463 main ()
25465 logl(0);
25467 return 0;
25469 _ACEOF
25470 if ac_fn_cxx_try_compile "$LINENO"; then :
25471 glibcxx_cv_func_logl_use=yes
25472 else
25473 glibcxx_cv_func_logl_use=no
25475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25476 ac_ext=c
25477 ac_cpp='$CPP $CPPFLAGS'
25478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25487 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25489 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25490 for ac_func in logl
25491 do :
25492 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25493 if test "x$ac_cv_func_logl" = x""yes; then :
25494 cat >>confdefs.h <<_ACEOF
25495 #define HAVE_LOGL 1
25496 _ACEOF
25499 done
25501 else
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25504 $as_echo_n "checking for _logl declaration... " >&6; }
25505 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25506 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25507 $as_echo_n "(cached) " >&6
25508 else
25511 ac_ext=cpp
25512 ac_cpp='$CXXCPP $CPPFLAGS'
25513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25518 /* end confdefs.h. */
25519 #include <math.h>
25520 #ifdef HAVE_IEEEFP_H
25521 #include <ieeefp.h>
25522 #endif
25525 main ()
25527 _logl(0);
25529 return 0;
25531 _ACEOF
25532 if ac_fn_cxx_try_compile "$LINENO"; then :
25533 glibcxx_cv_func__logl_use=yes
25534 else
25535 glibcxx_cv_func__logl_use=no
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538 ac_ext=c
25539 ac_cpp='$CPP $CPPFLAGS'
25540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25549 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25551 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25552 for ac_func in _logl
25553 do :
25554 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25555 if test "x$ac_cv_func__logl" = x""yes; then :
25556 cat >>confdefs.h <<_ACEOF
25557 #define HAVE__LOGL 1
25558 _ACEOF
25561 done
25570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25571 $as_echo_n "checking for log10l declaration... " >&6; }
25572 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25573 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25574 $as_echo_n "(cached) " >&6
25575 else
25578 ac_ext=cpp
25579 ac_cpp='$CXXCPP $CPPFLAGS'
25580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25585 /* end confdefs.h. */
25586 #include <math.h>
25587 #ifdef HAVE_IEEEFP_H
25588 #include <ieeefp.h>
25589 #endif
25592 main ()
25594 log10l(0);
25596 return 0;
25598 _ACEOF
25599 if ac_fn_cxx_try_compile "$LINENO"; then :
25600 glibcxx_cv_func_log10l_use=yes
25601 else
25602 glibcxx_cv_func_log10l_use=no
25604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25605 ac_ext=c
25606 ac_cpp='$CPP $CPPFLAGS'
25607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25616 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25618 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25619 for ac_func in log10l
25620 do :
25621 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25622 if test "x$ac_cv_func_log10l" = x""yes; then :
25623 cat >>confdefs.h <<_ACEOF
25624 #define HAVE_LOG10L 1
25625 _ACEOF
25628 done
25630 else
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25633 $as_echo_n "checking for _log10l declaration... " >&6; }
25634 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25635 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25636 $as_echo_n "(cached) " >&6
25637 else
25640 ac_ext=cpp
25641 ac_cpp='$CXXCPP $CPPFLAGS'
25642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25647 /* end confdefs.h. */
25648 #include <math.h>
25649 #ifdef HAVE_IEEEFP_H
25650 #include <ieeefp.h>
25651 #endif
25654 main ()
25656 _log10l(0);
25658 return 0;
25660 _ACEOF
25661 if ac_fn_cxx_try_compile "$LINENO"; then :
25662 glibcxx_cv_func__log10l_use=yes
25663 else
25664 glibcxx_cv_func__log10l_use=no
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25667 ac_ext=c
25668 ac_cpp='$CPP $CPPFLAGS'
25669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25678 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25680 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25681 for ac_func in _log10l
25682 do :
25683 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25684 if test "x$ac_cv_func__log10l" = x""yes; then :
25685 cat >>confdefs.h <<_ACEOF
25686 #define HAVE__LOG10L 1
25687 _ACEOF
25690 done
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25700 $as_echo_n "checking for modfl declaration... " >&6; }
25701 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25702 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25703 $as_echo_n "(cached) " >&6
25704 else
25707 ac_ext=cpp
25708 ac_cpp='$CXXCPP $CPPFLAGS'
25709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25714 /* end confdefs.h. */
25715 #include <math.h>
25717 main ()
25719 modfl(0, 0);
25721 return 0;
25723 _ACEOF
25724 if ac_fn_cxx_try_compile "$LINENO"; then :
25725 glibcxx_cv_func_modfl_use=yes
25726 else
25727 glibcxx_cv_func_modfl_use=no
25729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25730 ac_ext=c
25731 ac_cpp='$CPP $CPPFLAGS'
25732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25741 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25743 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25744 for ac_func in modfl
25745 do :
25746 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25747 if test "x$ac_cv_func_modfl" = x""yes; then :
25748 cat >>confdefs.h <<_ACEOF
25749 #define HAVE_MODFL 1
25750 _ACEOF
25753 done
25755 else
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25758 $as_echo_n "checking for _modfl declaration... " >&6; }
25759 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25760 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25761 $as_echo_n "(cached) " >&6
25762 else
25765 ac_ext=cpp
25766 ac_cpp='$CXXCPP $CPPFLAGS'
25767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25772 /* end confdefs.h. */
25773 #include <math.h>
25775 main ()
25777 _modfl(0, 0);
25779 return 0;
25781 _ACEOF
25782 if ac_fn_cxx_try_compile "$LINENO"; then :
25783 glibcxx_cv_func__modfl_use=yes
25784 else
25785 glibcxx_cv_func__modfl_use=no
25787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25788 ac_ext=c
25789 ac_cpp='$CPP $CPPFLAGS'
25790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25799 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25801 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25802 for ac_func in _modfl
25803 do :
25804 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25805 if test "x$ac_cv_func__modfl" = x""yes; then :
25806 cat >>confdefs.h <<_ACEOF
25807 #define HAVE__MODFL 1
25808 _ACEOF
25811 done
25820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25821 $as_echo_n "checking for powl declaration... " >&6; }
25822 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25823 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25824 $as_echo_n "(cached) " >&6
25825 else
25828 ac_ext=cpp
25829 ac_cpp='$CXXCPP $CPPFLAGS'
25830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25835 /* end confdefs.h. */
25836 #include <math.h>
25838 main ()
25840 powl(0, 0);
25842 return 0;
25844 _ACEOF
25845 if ac_fn_cxx_try_compile "$LINENO"; then :
25846 glibcxx_cv_func_powl_use=yes
25847 else
25848 glibcxx_cv_func_powl_use=no
25850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25851 ac_ext=c
25852 ac_cpp='$CPP $CPPFLAGS'
25853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25862 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25864 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25865 for ac_func in powl
25866 do :
25867 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25868 if test "x$ac_cv_func_powl" = x""yes; then :
25869 cat >>confdefs.h <<_ACEOF
25870 #define HAVE_POWL 1
25871 _ACEOF
25874 done
25876 else
25878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25879 $as_echo_n "checking for _powl declaration... " >&6; }
25880 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25881 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25882 $as_echo_n "(cached) " >&6
25883 else
25886 ac_ext=cpp
25887 ac_cpp='$CXXCPP $CPPFLAGS'
25888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25893 /* end confdefs.h. */
25894 #include <math.h>
25896 main ()
25898 _powl(0, 0);
25900 return 0;
25902 _ACEOF
25903 if ac_fn_cxx_try_compile "$LINENO"; then :
25904 glibcxx_cv_func__powl_use=yes
25905 else
25906 glibcxx_cv_func__powl_use=no
25908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25909 ac_ext=c
25910 ac_cpp='$CPP $CPPFLAGS'
25911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25920 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25922 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25923 for ac_func in _powl
25924 do :
25925 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25926 if test "x$ac_cv_func__powl" = x""yes; then :
25927 cat >>confdefs.h <<_ACEOF
25928 #define HAVE__POWL 1
25929 _ACEOF
25932 done
25941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25942 $as_echo_n "checking for sqrtl declaration... " >&6; }
25943 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25944 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25945 $as_echo_n "(cached) " >&6
25946 else
25949 ac_ext=cpp
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25957 #include <math.h>
25958 #ifdef HAVE_IEEEFP_H
25959 #include <ieeefp.h>
25960 #endif
25963 main ()
25965 sqrtl(0);
25967 return 0;
25969 _ACEOF
25970 if ac_fn_cxx_try_compile "$LINENO"; then :
25971 glibcxx_cv_func_sqrtl_use=yes
25972 else
25973 glibcxx_cv_func_sqrtl_use=no
25975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25976 ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25987 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25989 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25990 for ac_func in sqrtl
25991 do :
25992 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25993 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25994 cat >>confdefs.h <<_ACEOF
25995 #define HAVE_SQRTL 1
25996 _ACEOF
25999 done
26001 else
26003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26004 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26005 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26006 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26007 $as_echo_n "(cached) " >&6
26008 else
26011 ac_ext=cpp
26012 ac_cpp='$CXXCPP $CPPFLAGS'
26013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26018 /* end confdefs.h. */
26019 #include <math.h>
26020 #ifdef HAVE_IEEEFP_H
26021 #include <ieeefp.h>
26022 #endif
26025 main ()
26027 _sqrtl(0);
26029 return 0;
26031 _ACEOF
26032 if ac_fn_cxx_try_compile "$LINENO"; then :
26033 glibcxx_cv_func__sqrtl_use=yes
26034 else
26035 glibcxx_cv_func__sqrtl_use=no
26037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26038 ac_ext=c
26039 ac_cpp='$CPP $CPPFLAGS'
26040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26049 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26051 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26052 for ac_func in _sqrtl
26053 do :
26054 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26055 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26056 cat >>confdefs.h <<_ACEOF
26057 #define HAVE__SQRTL 1
26058 _ACEOF
26061 done
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26071 $as_echo_n "checking for sincosl declaration... " >&6; }
26072 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26073 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26074 $as_echo_n "(cached) " >&6
26075 else
26078 ac_ext=cpp
26079 ac_cpp='$CXXCPP $CPPFLAGS'
26080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26085 /* end confdefs.h. */
26086 #include <math.h>
26088 main ()
26090 sincosl(0, 0, 0);
26092 return 0;
26094 _ACEOF
26095 if ac_fn_cxx_try_compile "$LINENO"; then :
26096 glibcxx_cv_func_sincosl_use=yes
26097 else
26098 glibcxx_cv_func_sincosl_use=no
26100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26101 ac_ext=c
26102 ac_cpp='$CPP $CPPFLAGS'
26103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26112 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26114 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26115 for ac_func in sincosl
26116 do :
26117 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26118 if test "x$ac_cv_func_sincosl" = x""yes; then :
26119 cat >>confdefs.h <<_ACEOF
26120 #define HAVE_SINCOSL 1
26121 _ACEOF
26124 done
26126 else
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26129 $as_echo_n "checking for _sincosl declaration... " >&6; }
26130 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26131 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26132 $as_echo_n "(cached) " >&6
26133 else
26136 ac_ext=cpp
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26143 /* end confdefs.h. */
26144 #include <math.h>
26146 main ()
26148 _sincosl(0, 0, 0);
26150 return 0;
26152 _ACEOF
26153 if ac_fn_cxx_try_compile "$LINENO"; then :
26154 glibcxx_cv_func__sincosl_use=yes
26155 else
26156 glibcxx_cv_func__sincosl_use=no
26158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26159 ac_ext=c
26160 ac_cpp='$CPP $CPPFLAGS'
26161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26170 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26172 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26173 for ac_func in _sincosl
26174 do :
26175 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26176 if test "x$ac_cv_func__sincosl" = x""yes; then :
26177 cat >>confdefs.h <<_ACEOF
26178 #define HAVE__SINCOSL 1
26179 _ACEOF
26182 done
26191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26192 $as_echo_n "checking for finitel declaration... " >&6; }
26193 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26194 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26195 $as_echo_n "(cached) " >&6
26196 else
26199 ac_ext=cpp
26200 ac_cpp='$CXXCPP $CPPFLAGS'
26201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26206 /* end confdefs.h. */
26207 #include <math.h>
26208 #ifdef HAVE_IEEEFP_H
26209 #include <ieeefp.h>
26210 #endif
26213 main ()
26215 finitel(0);
26217 return 0;
26219 _ACEOF
26220 if ac_fn_cxx_try_compile "$LINENO"; then :
26221 glibcxx_cv_func_finitel_use=yes
26222 else
26223 glibcxx_cv_func_finitel_use=no
26225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26226 ac_ext=c
26227 ac_cpp='$CPP $CPPFLAGS'
26228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26237 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26239 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26240 for ac_func in finitel
26241 do :
26242 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26243 if test "x$ac_cv_func_finitel" = x""yes; then :
26244 cat >>confdefs.h <<_ACEOF
26245 #define HAVE_FINITEL 1
26246 _ACEOF
26249 done
26251 else
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26254 $as_echo_n "checking for _finitel declaration... " >&6; }
26255 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26256 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26257 $as_echo_n "(cached) " >&6
26258 else
26261 ac_ext=cpp
26262 ac_cpp='$CXXCPP $CPPFLAGS'
26263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26268 /* end confdefs.h. */
26269 #include <math.h>
26270 #ifdef HAVE_IEEEFP_H
26271 #include <ieeefp.h>
26272 #endif
26275 main ()
26277 _finitel(0);
26279 return 0;
26281 _ACEOF
26282 if ac_fn_cxx_try_compile "$LINENO"; then :
26283 glibcxx_cv_func__finitel_use=yes
26284 else
26285 glibcxx_cv_func__finitel_use=no
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288 ac_ext=c
26289 ac_cpp='$CPP $CPPFLAGS'
26290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26299 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26301 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26302 for ac_func in _finitel
26303 do :
26304 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26305 if test "x$ac_cv_func__finitel" = x""yes; then :
26306 cat >>confdefs.h <<_ACEOF
26307 #define HAVE__FINITEL 1
26308 _ACEOF
26311 done
26319 LIBS="$ac_save_LIBS"
26320 CXXFLAGS="$ac_save_CXXFLAGS"
26323 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26324 ac_save_CXXFLAGS="$CXXFLAGS"
26325 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26329 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26330 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26331 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26332 $as_echo_n "(cached) " >&6
26333 else
26336 ac_ext=cpp
26337 ac_cpp='$CXXCPP $CPPFLAGS'
26338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26343 /* end confdefs.h. */
26344 #include <stdlib.h>
26346 main ()
26348 at_quick_exit(0);
26350 return 0;
26352 _ACEOF
26353 if ac_fn_cxx_try_compile "$LINENO"; then :
26354 glibcxx_cv_func_at_quick_exit_use=yes
26355 else
26356 glibcxx_cv_func_at_quick_exit_use=no
26358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26359 ac_ext=c
26360 ac_cpp='$CPP $CPPFLAGS'
26361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26370 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26371 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26372 for ac_func in at_quick_exit
26373 do :
26374 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26375 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26376 cat >>confdefs.h <<_ACEOF
26377 #define HAVE_AT_QUICK_EXIT 1
26378 _ACEOF
26381 done
26386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26387 $as_echo_n "checking for quick_exit declaration... " >&6; }
26388 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26389 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26390 $as_echo_n "(cached) " >&6
26391 else
26394 ac_ext=cpp
26395 ac_cpp='$CXXCPP $CPPFLAGS'
26396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 /* end confdefs.h. */
26402 #include <stdlib.h>
26404 main ()
26406 quick_exit(0);
26408 return 0;
26410 _ACEOF
26411 if ac_fn_cxx_try_compile "$LINENO"; then :
26412 glibcxx_cv_func_quick_exit_use=yes
26413 else
26414 glibcxx_cv_func_quick_exit_use=no
26416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417 ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26428 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26429 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26430 for ac_func in quick_exit
26431 do :
26432 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26433 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26434 cat >>confdefs.h <<_ACEOF
26435 #define HAVE_QUICK_EXIT 1
26436 _ACEOF
26439 done
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26445 $as_echo_n "checking for strtold declaration... " >&6; }
26446 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26447 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26448 $as_echo_n "(cached) " >&6
26449 else
26452 ac_ext=cpp
26453 ac_cpp='$CXXCPP $CPPFLAGS'
26454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h. */
26460 #include <stdlib.h>
26462 main ()
26464 strtold(0, 0);
26466 return 0;
26468 _ACEOF
26469 if ac_fn_cxx_try_compile "$LINENO"; then :
26470 glibcxx_cv_func_strtold_use=yes
26471 else
26472 glibcxx_cv_func_strtold_use=no
26474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26475 ac_ext=c
26476 ac_cpp='$CPP $CPPFLAGS'
26477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26486 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26487 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26488 for ac_func in strtold
26489 do :
26490 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26491 if test "x$ac_cv_func_strtold" = x""yes; then :
26492 cat >>confdefs.h <<_ACEOF
26493 #define HAVE_STRTOLD 1
26494 _ACEOF
26497 done
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26505 $as_echo_n "checking for strtof declaration... " >&6; }
26506 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26507 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26508 $as_echo_n "(cached) " >&6
26509 else
26512 ac_ext=cpp
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26519 /* end confdefs.h. */
26520 #include <stdlib.h>
26522 main ()
26524 strtof(0, 0);
26526 return 0;
26528 _ACEOF
26529 if ac_fn_cxx_try_compile "$LINENO"; then :
26530 glibcxx_cv_func_strtof_use=yes
26531 else
26532 glibcxx_cv_func_strtof_use=no
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535 ac_ext=c
26536 ac_cpp='$CPP $CPPFLAGS'
26537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26546 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26547 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26548 for ac_func in strtof
26549 do :
26550 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26551 if test "x$ac_cv_func_strtof" = x""yes; then :
26552 cat >>confdefs.h <<_ACEOF
26553 #define HAVE_STRTOF 1
26554 _ACEOF
26557 done
26564 CXXFLAGS="$ac_save_CXXFLAGS"
26567 # For /dev/random and /dev/urandom for TR1.
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26571 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26572 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26573 $as_echo_n "(cached) " >&6
26574 else
26576 if test -r /dev/random && test -r /dev/urandom; then
26577 ## For MSys environment the test above is detect as false-positive
26578 ## on mingw-targets. So disable it explicit for them.
26579 case ${target_os} in
26580 *mingw*) glibcxx_cv_random_tr1=no ;;
26581 *) glibcxx_cv_random_tr1=yes ;;
26582 esac
26583 else
26584 glibcxx_cv_random_tr1=no;
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26590 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26592 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26594 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26600 # For TLS support.
26603 # Check whether --enable-tls was given.
26604 if test "${enable_tls+set}" = set; then :
26605 enableval=$enable_tls;
26606 case "$enableval" in
26607 yes|no) ;;
26608 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26609 esac
26611 else
26612 enable_tls=yes
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26617 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26618 if test "${gcc_cv_have_tls+set}" = set; then :
26619 $as_echo_n "(cached) " >&6
26620 else
26622 if test "$cross_compiling" = yes; then :
26623 if test x$gcc_no_link = xyes; then
26624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26627 /* end confdefs.h. */
26628 __thread int a; int b; int main() { return a = b; }
26629 _ACEOF
26630 if ac_fn_c_try_link "$LINENO"; then :
26631 chktls_save_LDFLAGS="$LDFLAGS"
26632 case $host in
26633 *-*-linux*)
26634 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26636 esac
26637 chktls_save_CFLAGS="$CFLAGS"
26638 CFLAGS="-fPIC $CFLAGS"
26639 if test x$gcc_no_link = xyes; then
26640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643 /* end confdefs.h. */
26644 int f() { return 0; }
26645 _ACEOF
26646 if ac_fn_c_try_link "$LINENO"; then :
26647 if test x$gcc_no_link = xyes; then
26648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26651 /* end confdefs.h. */
26652 __thread int a; int b; int f() { return a = b; }
26653 _ACEOF
26654 if ac_fn_c_try_link "$LINENO"; then :
26655 gcc_cv_have_tls=yes
26656 else
26657 gcc_cv_have_tls=no
26659 rm -f core conftest.err conftest.$ac_objext \
26660 conftest$ac_exeext conftest.$ac_ext
26661 else
26662 gcc_cv_have_tls=yes
26664 rm -f core conftest.err conftest.$ac_objext \
26665 conftest$ac_exeext conftest.$ac_ext
26666 CFLAGS="$chktls_save_CFLAGS"
26667 LDFLAGS="$chktls_save_LDFLAGS"
26668 else
26669 gcc_cv_have_tls=no
26671 rm -f core conftest.err conftest.$ac_objext \
26672 conftest$ac_exeext conftest.$ac_ext
26675 else
26676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26677 /* end confdefs.h. */
26678 __thread int a; int b; int main() { return a = b; }
26679 _ACEOF
26680 if ac_fn_c_try_run "$LINENO"; then :
26681 chktls_save_LDFLAGS="$LDFLAGS"
26682 LDFLAGS="-static $LDFLAGS"
26683 if test x$gcc_no_link = xyes; then
26684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26687 /* end confdefs.h. */
26688 int main() { return 0; }
26689 _ACEOF
26690 if ac_fn_c_try_link "$LINENO"; then :
26691 if test "$cross_compiling" = yes; then :
26692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26694 as_fn_error "cannot run test program while cross compiling
26695 See \`config.log' for more details." "$LINENO" 5; }
26696 else
26697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26699 __thread int a; int b; int main() { return a = b; }
26700 _ACEOF
26701 if ac_fn_c_try_run "$LINENO"; then :
26702 gcc_cv_have_tls=yes
26703 else
26704 gcc_cv_have_tls=no
26706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26707 conftest.$ac_objext conftest.beam conftest.$ac_ext
26710 else
26711 gcc_cv_have_tls=yes
26713 rm -f core conftest.err conftest.$ac_objext \
26714 conftest$ac_exeext conftest.$ac_ext
26715 LDFLAGS="$chktls_save_LDFLAGS"
26716 if test $gcc_cv_have_tls = yes; then
26717 chktls_save_CFLAGS="$CFLAGS"
26718 thread_CFLAGS=failed
26719 for flag in '' '-pthread' '-lpthread'; do
26720 CFLAGS="$flag $chktls_save_CFLAGS"
26721 if test x$gcc_no_link = xyes; then
26722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26725 /* end confdefs.h. */
26726 #include <pthread.h>
26727 void *g(void *d) { return NULL; }
26729 main ()
26731 pthread_t t; pthread_create(&t,NULL,g,NULL);
26733 return 0;
26735 _ACEOF
26736 if ac_fn_c_try_link "$LINENO"; then :
26737 thread_CFLAGS="$flag"
26739 rm -f core conftest.err conftest.$ac_objext \
26740 conftest$ac_exeext conftest.$ac_ext
26741 if test "X$thread_CFLAGS" != Xfailed; then
26742 break
26744 done
26745 CFLAGS="$chktls_save_CFLAGS"
26746 if test "X$thread_CFLAGS" != Xfailed; then
26747 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26748 if test "$cross_compiling" = yes; then :
26749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26751 as_fn_error "cannot run test program while cross compiling
26752 See \`config.log' for more details." "$LINENO" 5; }
26753 else
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26756 #include <pthread.h>
26757 __thread int a;
26758 static int *volatile a_in_other_thread;
26759 static void *
26760 thread_func (void *arg)
26762 a_in_other_thread = &a;
26763 return (void *)0;
26766 main ()
26768 pthread_t thread;
26769 void *thread_retval;
26770 int *volatile a_in_main_thread;
26771 a_in_main_thread = &a;
26772 if (pthread_create (&thread, (pthread_attr_t *)0,
26773 thread_func, (void *)0))
26774 return 0;
26775 if (pthread_join (thread, &thread_retval))
26776 return 0;
26777 return (a_in_other_thread == a_in_main_thread);
26779 return 0;
26781 _ACEOF
26782 if ac_fn_c_try_run "$LINENO"; then :
26783 gcc_cv_have_tls=yes
26784 else
26785 gcc_cv_have_tls=no
26787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26788 conftest.$ac_objext conftest.beam conftest.$ac_ext
26791 CFLAGS="$chktls_save_CFLAGS"
26794 else
26795 gcc_cv_have_tls=no
26797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26798 conftest.$ac_objext conftest.beam conftest.$ac_ext
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26803 $as_echo "$gcc_cv_have_tls" >&6; }
26804 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26806 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26810 for ac_func in __cxa_thread_atexit_impl
26811 do :
26812 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26813 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26814 cat >>confdefs.h <<_ACEOF
26815 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26816 _ACEOF
26819 done
26822 # For iconv support.
26824 if test "X$prefix" = "XNONE"; then
26825 acl_final_prefix="$ac_default_prefix"
26826 else
26827 acl_final_prefix="$prefix"
26829 if test "X$exec_prefix" = "XNONE"; then
26830 acl_final_exec_prefix='${prefix}'
26831 else
26832 acl_final_exec_prefix="$exec_prefix"
26834 acl_save_prefix="$prefix"
26835 prefix="$acl_final_prefix"
26836 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26837 prefix="$acl_save_prefix"
26840 # Check whether --with-gnu-ld was given.
26841 if test "${with_gnu_ld+set}" = set; then :
26842 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26843 else
26844 with_gnu_ld=no
26847 # Prepare PATH_SEPARATOR.
26848 # The user is always right.
26849 if test "${PATH_SEPARATOR+set}" != set; then
26850 echo "#! /bin/sh" >conf$$.sh
26851 echo "exit 0" >>conf$$.sh
26852 chmod +x conf$$.sh
26853 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26854 PATH_SEPARATOR=';'
26855 else
26856 PATH_SEPARATOR=:
26858 rm -f conf$$.sh
26860 ac_prog=ld
26861 if test "$GCC" = yes; then
26862 # Check if gcc -print-prog-name=ld gives a path.
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26864 $as_echo_n "checking for ld used by GCC... " >&6; }
26865 case $host in
26866 *-*-mingw*)
26867 # gcc leaves a trailing carriage return which upsets mingw
26868 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26870 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26871 esac
26872 case $ac_prog in
26873 # Accept absolute paths.
26874 [\\/]* | [A-Za-z]:[\\/]*)
26875 re_direlt='/[^/][^/]*/\.\./'
26876 # Canonicalize the path of ld
26877 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26878 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26879 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26880 done
26881 test -z "$LD" && LD="$ac_prog"
26884 # If it fails, then pretend we aren't using GCC.
26885 ac_prog=ld
26888 # If it is relative, then search for the first ld in PATH.
26889 with_gnu_ld=unknown
26891 esac
26892 elif test "$with_gnu_ld" = yes; then
26893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26894 $as_echo_n "checking for GNU ld... " >&6; }
26895 else
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26897 $as_echo_n "checking for non-GNU ld... " >&6; }
26899 if test "${acl_cv_path_LD+set}" = set; then :
26900 $as_echo_n "(cached) " >&6
26901 else
26902 if test -z "$LD"; then
26903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26904 for ac_dir in $PATH; do
26905 test -z "$ac_dir" && ac_dir=.
26906 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26907 acl_cv_path_LD="$ac_dir/$ac_prog"
26908 # Check to see if the program is GNU ld. I'd rather use --version,
26909 # but apparently some GNU ld's only accept -v.
26910 # Break only if it was the GNU/non-GNU ld that we prefer.
26911 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26912 test "$with_gnu_ld" != no && break
26913 else
26914 test "$with_gnu_ld" != yes && break
26917 done
26918 IFS="$ac_save_ifs"
26919 else
26920 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26924 LD="$acl_cv_path_LD"
26925 if test -n "$LD"; then
26926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26927 $as_echo "$LD" >&6; }
26928 else
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26930 $as_echo "no" >&6; }
26932 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26934 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26935 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26938 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26939 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26940 acl_cv_prog_gnu_ld=yes
26941 else
26942 acl_cv_prog_gnu_ld=no
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26946 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26947 with_gnu_ld=$acl_cv_prog_gnu_ld
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26952 $as_echo_n "checking for shared library run path origin... " >&6; }
26953 if test "${acl_cv_rpath+set}" = set; then :
26954 $as_echo_n "(cached) " >&6
26955 else
26957 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26958 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26959 . ./conftest.sh
26960 rm -f ./conftest.sh
26961 acl_cv_rpath=done
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26965 $as_echo "$acl_cv_rpath" >&6; }
26966 wl="$acl_cv_wl"
26967 libext="$acl_cv_libext"
26968 shlibext="$acl_cv_shlibext"
26969 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26970 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26971 hardcode_direct="$acl_cv_hardcode_direct"
26972 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26973 # Check whether --enable-rpath was given.
26974 if test "${enable_rpath+set}" = set; then :
26975 enableval=$enable_rpath; :
26976 else
26977 enable_rpath=yes
26987 use_additional=yes
26989 acl_save_prefix="$prefix"
26990 prefix="$acl_final_prefix"
26991 acl_save_exec_prefix="$exec_prefix"
26992 exec_prefix="$acl_final_exec_prefix"
26994 eval additional_includedir=\"$includedir\"
26995 eval additional_libdir=\"$libdir\"
26997 exec_prefix="$acl_save_exec_prefix"
26998 prefix="$acl_save_prefix"
27001 # Check whether --with-libiconv-prefix was given.
27002 if test "${with_libiconv_prefix+set}" = set; then :
27003 withval=$with_libiconv_prefix;
27004 if test "X$withval" = "Xno"; then
27005 use_additional=no
27006 else
27007 if test "X$withval" = "X"; then
27009 acl_save_prefix="$prefix"
27010 prefix="$acl_final_prefix"
27011 acl_save_exec_prefix="$exec_prefix"
27012 exec_prefix="$acl_final_exec_prefix"
27014 eval additional_includedir=\"$includedir\"
27015 eval additional_libdir=\"$libdir\"
27017 exec_prefix="$acl_save_exec_prefix"
27018 prefix="$acl_save_prefix"
27020 else
27021 additional_includedir="$withval/include"
27022 additional_libdir="$withval/lib"
27028 LIBICONV=
27029 LTLIBICONV=
27030 INCICONV=
27031 rpathdirs=
27032 ltrpathdirs=
27033 names_already_handled=
27034 names_next_round='iconv '
27035 while test -n "$names_next_round"; do
27036 names_this_round="$names_next_round"
27037 names_next_round=
27038 for name in $names_this_round; do
27039 already_handled=
27040 for n in $names_already_handled; do
27041 if test "$n" = "$name"; then
27042 already_handled=yes
27043 break
27045 done
27046 if test -z "$already_handled"; then
27047 names_already_handled="$names_already_handled $name"
27048 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27049 eval value=\"\$HAVE_LIB$uppername\"
27050 if test -n "$value"; then
27051 if test "$value" = yes; then
27052 eval value=\"\$LIB$uppername\"
27053 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27054 eval value=\"\$LTLIB$uppername\"
27055 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27056 else
27059 else
27060 found_dir=
27061 found_la=
27062 found_so=
27063 found_a=
27064 if test $use_additional = yes; then
27065 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27066 found_dir="$additional_libdir"
27067 found_so="$additional_libdir/lib$name.$shlibext"
27068 if test -f "$additional_libdir/lib$name.la"; then
27069 found_la="$additional_libdir/lib$name.la"
27071 else
27072 if test -f "$additional_libdir/lib$name.$libext"; then
27073 found_dir="$additional_libdir"
27074 found_a="$additional_libdir/lib$name.$libext"
27075 if test -f "$additional_libdir/lib$name.la"; then
27076 found_la="$additional_libdir/lib$name.la"
27081 if test "X$found_dir" = "X"; then
27082 for x in $LDFLAGS $LTLIBICONV; do
27084 acl_save_prefix="$prefix"
27085 prefix="$acl_final_prefix"
27086 acl_save_exec_prefix="$exec_prefix"
27087 exec_prefix="$acl_final_exec_prefix"
27088 eval x=\"$x\"
27089 exec_prefix="$acl_save_exec_prefix"
27090 prefix="$acl_save_prefix"
27092 case "$x" in
27093 -L*)
27094 dir=`echo "X$x" | sed -e 's/^X-L//'`
27095 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27096 found_dir="$dir"
27097 found_so="$dir/lib$name.$shlibext"
27098 if test -f "$dir/lib$name.la"; then
27099 found_la="$dir/lib$name.la"
27101 else
27102 if test -f "$dir/lib$name.$libext"; then
27103 found_dir="$dir"
27104 found_a="$dir/lib$name.$libext"
27105 if test -f "$dir/lib$name.la"; then
27106 found_la="$dir/lib$name.la"
27111 esac
27112 if test "X$found_dir" != "X"; then
27113 break
27115 done
27117 if test "X$found_dir" != "X"; then
27118 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27119 if test "X$found_so" != "X"; then
27120 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27121 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27122 else
27123 haveit=
27124 for x in $ltrpathdirs; do
27125 if test "X$x" = "X$found_dir"; then
27126 haveit=yes
27127 break
27129 done
27130 if test -z "$haveit"; then
27131 ltrpathdirs="$ltrpathdirs $found_dir"
27133 if test "$hardcode_direct" = yes; then
27134 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27135 else
27136 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27137 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27138 haveit=
27139 for x in $rpathdirs; do
27140 if test "X$x" = "X$found_dir"; then
27141 haveit=yes
27142 break
27144 done
27145 if test -z "$haveit"; then
27146 rpathdirs="$rpathdirs $found_dir"
27148 else
27149 haveit=
27150 for x in $LDFLAGS $LIBICONV; do
27152 acl_save_prefix="$prefix"
27153 prefix="$acl_final_prefix"
27154 acl_save_exec_prefix="$exec_prefix"
27155 exec_prefix="$acl_final_exec_prefix"
27156 eval x=\"$x\"
27157 exec_prefix="$acl_save_exec_prefix"
27158 prefix="$acl_save_prefix"
27160 if test "X$x" = "X-L$found_dir"; then
27161 haveit=yes
27162 break
27164 done
27165 if test -z "$haveit"; then
27166 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27168 if test "$hardcode_minus_L" != no; then
27169 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27170 else
27171 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27176 else
27177 if test "X$found_a" != "X"; then
27178 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27179 else
27180 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27183 additional_includedir=
27184 case "$found_dir" in
27185 */lib | */lib/)
27186 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27187 additional_includedir="$basedir/include"
27189 esac
27190 if test "X$additional_includedir" != "X"; then
27191 if test "X$additional_includedir" != "X/usr/include"; then
27192 haveit=
27193 if test "X$additional_includedir" = "X/usr/local/include"; then
27194 if test -n "$GCC"; then
27195 case $host_os in
27196 linux*) haveit=yes;;
27197 esac
27200 if test -z "$haveit"; then
27201 for x in $CPPFLAGS $INCICONV; do
27203 acl_save_prefix="$prefix"
27204 prefix="$acl_final_prefix"
27205 acl_save_exec_prefix="$exec_prefix"
27206 exec_prefix="$acl_final_exec_prefix"
27207 eval x=\"$x\"
27208 exec_prefix="$acl_save_exec_prefix"
27209 prefix="$acl_save_prefix"
27211 if test "X$x" = "X-I$additional_includedir"; then
27212 haveit=yes
27213 break
27215 done
27216 if test -z "$haveit"; then
27217 if test -d "$additional_includedir"; then
27218 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27224 if test -n "$found_la"; then
27225 save_libdir="$libdir"
27226 case "$found_la" in
27227 */* | *\\*) . "$found_la" ;;
27228 *) . "./$found_la" ;;
27229 esac
27230 libdir="$save_libdir"
27231 for dep in $dependency_libs; do
27232 case "$dep" in
27233 -L*)
27234 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27235 if test "X$additional_libdir" != "X/usr/lib"; then
27236 haveit=
27237 if test "X$additional_libdir" = "X/usr/local/lib"; then
27238 if test -n "$GCC"; then
27239 case $host_os in
27240 linux*) haveit=yes;;
27241 esac
27244 if test -z "$haveit"; then
27245 haveit=
27246 for x in $LDFLAGS $LIBICONV; do
27248 acl_save_prefix="$prefix"
27249 prefix="$acl_final_prefix"
27250 acl_save_exec_prefix="$exec_prefix"
27251 exec_prefix="$acl_final_exec_prefix"
27252 eval x=\"$x\"
27253 exec_prefix="$acl_save_exec_prefix"
27254 prefix="$acl_save_prefix"
27256 if test "X$x" = "X-L$additional_libdir"; then
27257 haveit=yes
27258 break
27260 done
27261 if test -z "$haveit"; then
27262 if test -d "$additional_libdir"; then
27263 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27266 haveit=
27267 for x in $LDFLAGS $LTLIBICONV; do
27269 acl_save_prefix="$prefix"
27270 prefix="$acl_final_prefix"
27271 acl_save_exec_prefix="$exec_prefix"
27272 exec_prefix="$acl_final_exec_prefix"
27273 eval x=\"$x\"
27274 exec_prefix="$acl_save_exec_prefix"
27275 prefix="$acl_save_prefix"
27277 if test "X$x" = "X-L$additional_libdir"; then
27278 haveit=yes
27279 break
27281 done
27282 if test -z "$haveit"; then
27283 if test -d "$additional_libdir"; then
27284 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27290 -R*)
27291 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27292 if test "$enable_rpath" != no; then
27293 haveit=
27294 for x in $rpathdirs; do
27295 if test "X$x" = "X$dir"; then
27296 haveit=yes
27297 break
27299 done
27300 if test -z "$haveit"; then
27301 rpathdirs="$rpathdirs $dir"
27303 haveit=
27304 for x in $ltrpathdirs; do
27305 if test "X$x" = "X$dir"; then
27306 haveit=yes
27307 break
27309 done
27310 if test -z "$haveit"; then
27311 ltrpathdirs="$ltrpathdirs $dir"
27315 -l*)
27316 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27318 *.la)
27319 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27322 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27323 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27325 esac
27326 done
27328 else
27329 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27330 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27334 done
27335 done
27336 if test "X$rpathdirs" != "X"; then
27337 if test -n "$hardcode_libdir_separator"; then
27338 alldirs=
27339 for found_dir in $rpathdirs; do
27340 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27341 done
27342 acl_save_libdir="$libdir"
27343 libdir="$alldirs"
27344 eval flag=\"$hardcode_libdir_flag_spec\"
27345 libdir="$acl_save_libdir"
27346 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27347 else
27348 for found_dir in $rpathdirs; do
27349 acl_save_libdir="$libdir"
27350 libdir="$found_dir"
27351 eval flag=\"$hardcode_libdir_flag_spec\"
27352 libdir="$acl_save_libdir"
27353 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27354 done
27357 if test "X$ltrpathdirs" != "X"; then
27358 for found_dir in $ltrpathdirs; do
27359 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27360 done
27369 am_save_CPPFLAGS="$CPPFLAGS"
27371 for element in $INCICONV; do
27372 haveit=
27373 for x in $CPPFLAGS; do
27375 acl_save_prefix="$prefix"
27376 prefix="$acl_final_prefix"
27377 acl_save_exec_prefix="$exec_prefix"
27378 exec_prefix="$acl_final_exec_prefix"
27379 eval x=\"$x\"
27380 exec_prefix="$acl_save_exec_prefix"
27381 prefix="$acl_save_prefix"
27383 if test "X$x" = "X$element"; then
27384 haveit=yes
27385 break
27387 done
27388 if test -z "$haveit"; then
27389 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27391 done
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27395 $as_echo_n "checking for iconv... " >&6; }
27396 if test "${am_cv_func_iconv+set}" = set; then :
27397 $as_echo_n "(cached) " >&6
27398 else
27400 am_cv_func_iconv="no, consider installing GNU libiconv"
27401 am_cv_lib_iconv=no
27402 if test x$gcc_no_link = xyes; then
27403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27406 /* end confdefs.h. */
27407 #include <stdlib.h>
27408 #include <iconv.h>
27410 main ()
27412 iconv_t cd = iconv_open("","");
27413 iconv(cd,NULL,NULL,NULL,NULL);
27414 iconv_close(cd);
27416 return 0;
27418 _ACEOF
27419 if ac_fn_c_try_link "$LINENO"; then :
27420 am_cv_func_iconv=yes
27422 rm -f core conftest.err conftest.$ac_objext \
27423 conftest$ac_exeext conftest.$ac_ext
27424 if test "$am_cv_func_iconv" != yes; then
27425 am_save_LIBS="$LIBS"
27426 LIBS="$LIBS $LIBICONV"
27427 if test x$gcc_no_link = xyes; then
27428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27431 /* end confdefs.h. */
27432 #include <stdlib.h>
27433 #include <iconv.h>
27435 main ()
27437 iconv_t cd = iconv_open("","");
27438 iconv(cd,NULL,NULL,NULL,NULL);
27439 iconv_close(cd);
27441 return 0;
27443 _ACEOF
27444 if ac_fn_c_try_link "$LINENO"; then :
27445 am_cv_lib_iconv=yes
27446 am_cv_func_iconv=yes
27448 rm -f core conftest.err conftest.$ac_objext \
27449 conftest$ac_exeext conftest.$ac_ext
27450 LIBS="$am_save_LIBS"
27454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27455 $as_echo "$am_cv_func_iconv" >&6; }
27456 if test "$am_cv_func_iconv" = yes; then
27458 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27461 if test "$am_cv_lib_iconv" = yes; then
27462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27463 $as_echo_n "checking how to link with libiconv... " >&6; }
27464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27465 $as_echo "$LIBICONV" >&6; }
27466 else
27467 CPPFLAGS="$am_save_CPPFLAGS"
27468 LIBICONV=
27469 LTLIBICONV=
27474 if test "$am_cv_func_iconv" = yes; then
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27476 $as_echo_n "checking for iconv declaration... " >&6; }
27477 if test "${am_cv_proto_iconv+set}" = set; then :
27478 $as_echo_n "(cached) " >&6
27479 else
27481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27482 /* end confdefs.h. */
27484 #include <stdlib.h>
27485 #include <iconv.h>
27486 extern
27487 #ifdef __cplusplus
27489 #endif
27490 #if defined(__STDC__) || defined(__cplusplus)
27491 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27492 #else
27493 size_t iconv();
27494 #endif
27497 main ()
27501 return 0;
27503 _ACEOF
27504 if ac_fn_c_try_compile "$LINENO"; then :
27505 am_cv_proto_iconv_arg1=""
27506 else
27507 am_cv_proto_iconv_arg1="const"
27509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27510 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);"
27513 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27515 }$am_cv_proto_iconv" >&5
27516 $as_echo "${ac_t:-
27517 }$am_cv_proto_iconv" >&6; }
27519 cat >>confdefs.h <<_ACEOF
27520 #define ICONV_CONST $am_cv_proto_iconv_arg1
27521 _ACEOF
27526 else
27528 # This lets us hard-code the functionality we know we'll have in the cross
27529 # target environment. "Let" is a sugar-coated word placed on an especially
27530 # dull and tedious hack, actually.
27532 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27533 # that involve linking, can't be used:
27534 # "cannot open sim-crt0.o"
27535 # "cannot open crt0.o"
27536 # etc. All this is because there currently exists no unified, consistent
27537 # way for top level CC information to be passed down to target directories:
27538 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27539 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27540 # crosses can be removed.
27542 # If Canadian cross, then don't pick up tools from the build directory.
27543 # Used only in GLIBCXX_EXPORT_INCLUDES.
27544 if test -n "$with_cross_host" &&
27545 test x"$build_alias" != x"$with_cross_host" &&
27546 test x"$build" != x"$target";
27547 then
27548 CANADIAN=yes
27549 else
27550 CANADIAN=no
27553 # Construct crosses by hand, eliminating bits that need ld...
27554 # GLIBCXX_CHECK_MATH_SUPPORT
27556 # First, test for "known" system libraries. We may be using newlib even
27557 # on a hosted environment.
27558 if test "x${with_newlib}" = "xyes"; then
27559 os_include_dir="os/newlib"
27560 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27563 # GLIBCXX_CHECK_STDLIB_SUPPORT
27564 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27567 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27569 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27571 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27573 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27575 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27577 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27579 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27581 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27583 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27585 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27587 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27589 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27591 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27593 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27595 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27597 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27599 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27601 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27603 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27605 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27607 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27609 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27612 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27614 else
27616 # Base decisions on target environment.
27617 case "${host}" in
27618 arm*-*-symbianelf*)
27619 # This is a freestanding configuration; there is nothing to do here.
27622 mips*-sde-elf*)
27623 # These definitions are for the SDE C library rather than newlib.
27624 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27627 # All these tests are for C++; save the language and the compiler flags.
27628 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27629 # found in GLIBCXX_CONFIGURE.
27631 ac_ext=cpp
27632 ac_cpp='$CXXCPP $CPPFLAGS'
27633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27638 ac_save_CXXFLAGS="$CXXFLAGS"
27640 # Check for maintainer-mode bits.
27641 if test x"$USE_MAINTAINER_MODE" = xno; then
27642 WERROR=''
27643 else
27644 WERROR='-Werror'
27647 # Check for -ffunction-sections -fdata-sections
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27649 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27650 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27652 /* end confdefs.h. */
27653 int foo; void bar() { };
27655 main ()
27659 return 0;
27661 _ACEOF
27662 if ac_fn_cxx_try_compile "$LINENO"; then :
27663 ac_fdsections=yes
27664 else
27665 ac_fdsections=no
27667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27668 if test "$ac_test_CXXFLAGS" = set; then
27669 CXXFLAGS="$ac_save_CXXFLAGS"
27670 else
27671 # this is the suspicious part
27672 CXXFLAGS=''
27674 if test x"$ac_fdsections" = x"yes"; then
27675 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27678 $as_echo "$ac_fdsections" >&6; }
27680 ac_ext=c
27681 ac_cpp='$CPP $CPPFLAGS'
27682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27690 # If we're not using GNU ld, then there's no point in even trying these
27691 # tests. Check for that first. We should have already tested for gld
27692 # by now (in libtool), but require it now just to be safe...
27693 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27694 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27698 # The name set by libtool depends on the version of libtool. Shame on us
27699 # for depending on an impl detail, but c'est la vie. Older versions used
27700 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27701 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27702 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27703 # set (hence we're using an older libtool), then set it.
27704 if test x${with_gnu_ld+set} != xset; then
27705 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27706 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27707 with_gnu_ld=no
27708 else
27709 with_gnu_ld=$ac_cv_prog_gnu_ld
27713 # Start by getting the version number. I think the libtool test already
27714 # does some of this, but throws away the result.
27715 glibcxx_ld_is_gold=no
27716 if test x"$with_gnu_ld" = x"yes"; then
27717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27718 $as_echo_n "checking for ld version... " >&6; }
27720 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27721 glibcxx_ld_is_gold=yes
27723 ldver=`$LD --version 2>/dev/null |
27724 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'`
27726 glibcxx_gnu_ld_version=`echo $ldver | \
27727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27732 # Set --gc-sections.
27733 glibcxx_have_gc_sections=no
27734 if test "$glibcxx_ld_is_gold" = "yes"; then
27735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27736 glibcxx_have_gc_sections=yes
27738 else
27739 glibcxx_gcsections_min_ld=21602
27740 if test x"$with_gnu_ld" = x"yes" &&
27741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27742 glibcxx_have_gc_sections=yes
27745 if test "$glibcxx_have_gc_sections" = "yes"; then
27746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27747 # NB: This flag only works reliably after 2.16.1. Configure tests
27748 # for this are difficult, so hard wire a value that should work.
27750 ac_test_CFLAGS="${CFLAGS+set}"
27751 ac_save_CFLAGS="$CFLAGS"
27752 CFLAGS='-Wl,--gc-sections'
27754 # Check for -Wl,--gc-sections
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27757 if test x$gcc_no_link = xyes; then
27758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27761 /* end confdefs.h. */
27762 int one(void) { return 1; }
27763 int two(void) { return 2; }
27766 main ()
27768 two();
27770 return 0;
27772 _ACEOF
27773 if ac_fn_c_try_link "$LINENO"; then :
27774 ac_gcsections=yes
27775 else
27776 ac_gcsections=no
27778 rm -f core conftest.err conftest.$ac_objext \
27779 conftest$ac_exeext conftest.$ac_ext
27780 if test "$ac_gcsections" = "yes"; then
27781 rm -f conftest.c
27782 touch conftest.c
27783 if $CC -c conftest.c; then
27784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27785 grep "Warning: gc-sections option ignored" > /dev/null; then
27786 ac_gcsections=no
27789 rm -f conftest.c conftest.o conftest
27791 if test "$ac_gcsections" = "yes"; then
27792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27795 $as_echo "$ac_gcsections" >&6; }
27797 if test "$ac_test_CFLAGS" = set; then
27798 CFLAGS="$ac_save_CFLAGS"
27799 else
27800 # this is the suspicious part
27801 CFLAGS=''
27805 # Set -z,relro.
27806 # Note this is only for shared objects.
27807 ac_ld_relro=no
27808 if test x"$with_gnu_ld" = x"yes"; then
27809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27810 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27811 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27812 if test -n "$cxx_z_relo"; then
27813 OPT_LDFLAGS="-Wl,-z,relro"
27814 ac_ld_relro=yes
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27817 $as_echo "$ac_ld_relro" >&6; }
27820 # Set linker optimization flags.
27821 if test x"$with_gnu_ld" = x"yes"; then
27822 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27830 ac_save_CXXFLAGS="$CXXFLAGS"
27831 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27834 $as_echo_n "checking for sin in -lm... " >&6; }
27835 if test "${ac_cv_lib_m_sin+set}" = set; then :
27836 $as_echo_n "(cached) " >&6
27837 else
27838 ac_check_lib_save_LIBS=$LIBS
27839 LIBS="-lm $LIBS"
27840 if test x$gcc_no_link = xyes; then
27841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27844 /* end confdefs.h. */
27846 /* Override any GCC internal prototype to avoid an error.
27847 Use char because int might match the return type of a GCC
27848 builtin and then its argument prototype would still apply. */
27849 #ifdef __cplusplus
27850 extern "C"
27851 #endif
27852 char sin ();
27854 main ()
27856 return sin ();
27858 return 0;
27860 _ACEOF
27861 if ac_fn_c_try_link "$LINENO"; then :
27862 ac_cv_lib_m_sin=yes
27863 else
27864 ac_cv_lib_m_sin=no
27866 rm -f core conftest.err conftest.$ac_objext \
27867 conftest$ac_exeext conftest.$ac_ext
27868 LIBS=$ac_check_lib_save_LIBS
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27871 $as_echo "$ac_cv_lib_m_sin" >&6; }
27872 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27873 libm="-lm"
27876 ac_save_LIBS="$LIBS"
27877 LIBS="$LIBS $libm"
27881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27882 $as_echo_n "checking for isinf declaration... " >&6; }
27883 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27884 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27885 $as_echo_n "(cached) " >&6
27886 else
27889 ac_ext=cpp
27890 ac_cpp='$CXXCPP $CPPFLAGS'
27891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27896 /* end confdefs.h. */
27897 #include <math.h>
27898 #ifdef HAVE_IEEEFP_H
27899 #include <ieeefp.h>
27900 #endif
27903 main ()
27905 isinf(0);
27907 return 0;
27909 _ACEOF
27910 if ac_fn_cxx_try_compile "$LINENO"; then :
27911 glibcxx_cv_func_isinf_use=yes
27912 else
27913 glibcxx_cv_func_isinf_use=no
27915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27916 ac_ext=c
27917 ac_cpp='$CPP $CPPFLAGS'
27918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27927 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27929 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27930 for ac_func in isinf
27931 do :
27932 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27933 if test "x$ac_cv_func_isinf" = x""yes; then :
27934 cat >>confdefs.h <<_ACEOF
27935 #define HAVE_ISINF 1
27936 _ACEOF
27939 done
27941 else
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27944 $as_echo_n "checking for _isinf declaration... " >&6; }
27945 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27946 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27947 $as_echo_n "(cached) " >&6
27948 else
27951 ac_ext=cpp
27952 ac_cpp='$CXXCPP $CPPFLAGS'
27953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27958 /* end confdefs.h. */
27959 #include <math.h>
27960 #ifdef HAVE_IEEEFP_H
27961 #include <ieeefp.h>
27962 #endif
27965 main ()
27967 _isinf(0);
27969 return 0;
27971 _ACEOF
27972 if ac_fn_cxx_try_compile "$LINENO"; then :
27973 glibcxx_cv_func__isinf_use=yes
27974 else
27975 glibcxx_cv_func__isinf_use=no
27977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27978 ac_ext=c
27979 ac_cpp='$CPP $CPPFLAGS'
27980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27989 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27991 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27992 for ac_func in _isinf
27993 do :
27994 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27995 if test "x$ac_cv_func__isinf" = x""yes; then :
27996 cat >>confdefs.h <<_ACEOF
27997 #define HAVE__ISINF 1
27998 _ACEOF
28001 done
28010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28011 $as_echo_n "checking for isnan declaration... " >&6; }
28012 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28013 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28014 $as_echo_n "(cached) " >&6
28015 else
28018 ac_ext=cpp
28019 ac_cpp='$CXXCPP $CPPFLAGS'
28020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28025 /* end confdefs.h. */
28026 #include <math.h>
28027 #ifdef HAVE_IEEEFP_H
28028 #include <ieeefp.h>
28029 #endif
28032 main ()
28034 isnan(0);
28036 return 0;
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040 glibcxx_cv_func_isnan_use=yes
28041 else
28042 glibcxx_cv_func_isnan_use=no
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045 ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28056 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28058 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28059 for ac_func in isnan
28060 do :
28061 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28062 if test "x$ac_cv_func_isnan" = x""yes; then :
28063 cat >>confdefs.h <<_ACEOF
28064 #define HAVE_ISNAN 1
28065 _ACEOF
28068 done
28070 else
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28073 $as_echo_n "checking for _isnan declaration... " >&6; }
28074 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28075 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28076 $as_echo_n "(cached) " >&6
28077 else
28080 ac_ext=cpp
28081 ac_cpp='$CXXCPP $CPPFLAGS'
28082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28088 #include <math.h>
28089 #ifdef HAVE_IEEEFP_H
28090 #include <ieeefp.h>
28091 #endif
28094 main ()
28096 _isnan(0);
28098 return 0;
28100 _ACEOF
28101 if ac_fn_cxx_try_compile "$LINENO"; then :
28102 glibcxx_cv_func__isnan_use=yes
28103 else
28104 glibcxx_cv_func__isnan_use=no
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107 ac_ext=c
28108 ac_cpp='$CPP $CPPFLAGS'
28109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28118 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28120 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28121 for ac_func in _isnan
28122 do :
28123 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28124 if test "x$ac_cv_func__isnan" = x""yes; then :
28125 cat >>confdefs.h <<_ACEOF
28126 #define HAVE__ISNAN 1
28127 _ACEOF
28130 done
28139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28140 $as_echo_n "checking for finite declaration... " >&6; }
28141 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28142 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28143 $as_echo_n "(cached) " >&6
28144 else
28147 ac_ext=cpp
28148 ac_cpp='$CXXCPP $CPPFLAGS'
28149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28154 /* end confdefs.h. */
28155 #include <math.h>
28156 #ifdef HAVE_IEEEFP_H
28157 #include <ieeefp.h>
28158 #endif
28161 main ()
28163 finite(0);
28165 return 0;
28167 _ACEOF
28168 if ac_fn_cxx_try_compile "$LINENO"; then :
28169 glibcxx_cv_func_finite_use=yes
28170 else
28171 glibcxx_cv_func_finite_use=no
28173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28174 ac_ext=c
28175 ac_cpp='$CPP $CPPFLAGS'
28176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28185 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28187 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28188 for ac_func in finite
28189 do :
28190 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28191 if test "x$ac_cv_func_finite" = x""yes; then :
28192 cat >>confdefs.h <<_ACEOF
28193 #define HAVE_FINITE 1
28194 _ACEOF
28197 done
28199 else
28201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28202 $as_echo_n "checking for _finite declaration... " >&6; }
28203 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28204 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28205 $as_echo_n "(cached) " >&6
28206 else
28209 ac_ext=cpp
28210 ac_cpp='$CXXCPP $CPPFLAGS'
28211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28217 #include <math.h>
28218 #ifdef HAVE_IEEEFP_H
28219 #include <ieeefp.h>
28220 #endif
28223 main ()
28225 _finite(0);
28227 return 0;
28229 _ACEOF
28230 if ac_fn_cxx_try_compile "$LINENO"; then :
28231 glibcxx_cv_func__finite_use=yes
28232 else
28233 glibcxx_cv_func__finite_use=no
28235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28236 ac_ext=c
28237 ac_cpp='$CPP $CPPFLAGS'
28238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28247 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28249 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28250 for ac_func in _finite
28251 do :
28252 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28253 if test "x$ac_cv_func__finite" = x""yes; then :
28254 cat >>confdefs.h <<_ACEOF
28255 #define HAVE__FINITE 1
28256 _ACEOF
28259 done
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28269 $as_echo_n "checking for sincos declaration... " >&6; }
28270 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28271 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28272 $as_echo_n "(cached) " >&6
28273 else
28276 ac_ext=cpp
28277 ac_cpp='$CXXCPP $CPPFLAGS'
28278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28283 /* end confdefs.h. */
28284 #include <math.h>
28286 main ()
28288 sincos(0, 0, 0);
28290 return 0;
28292 _ACEOF
28293 if ac_fn_cxx_try_compile "$LINENO"; then :
28294 glibcxx_cv_func_sincos_use=yes
28295 else
28296 glibcxx_cv_func_sincos_use=no
28298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299 ac_ext=c
28300 ac_cpp='$CPP $CPPFLAGS'
28301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28310 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28312 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28313 for ac_func in sincos
28314 do :
28315 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28316 if test "x$ac_cv_func_sincos" = x""yes; then :
28317 cat >>confdefs.h <<_ACEOF
28318 #define HAVE_SINCOS 1
28319 _ACEOF
28322 done
28324 else
28326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28327 $as_echo_n "checking for _sincos declaration... " >&6; }
28328 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28329 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28330 $as_echo_n "(cached) " >&6
28331 else
28334 ac_ext=cpp
28335 ac_cpp='$CXXCPP $CPPFLAGS'
28336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28341 /* end confdefs.h. */
28342 #include <math.h>
28344 main ()
28346 _sincos(0, 0, 0);
28348 return 0;
28350 _ACEOF
28351 if ac_fn_cxx_try_compile "$LINENO"; then :
28352 glibcxx_cv_func__sincos_use=yes
28353 else
28354 glibcxx_cv_func__sincos_use=no
28356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28357 ac_ext=c
28358 ac_cpp='$CPP $CPPFLAGS'
28359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28368 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28370 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28371 for ac_func in _sincos
28372 do :
28373 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28374 if test "x$ac_cv_func__sincos" = x""yes; then :
28375 cat >>confdefs.h <<_ACEOF
28376 #define HAVE__SINCOS 1
28377 _ACEOF
28380 done
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28390 $as_echo_n "checking for fpclass declaration... " >&6; }
28391 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28392 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28393 $as_echo_n "(cached) " >&6
28394 else
28397 ac_ext=cpp
28398 ac_cpp='$CXXCPP $CPPFLAGS'
28399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28404 /* end confdefs.h. */
28405 #include <math.h>
28406 #ifdef HAVE_IEEEFP_H
28407 #include <ieeefp.h>
28408 #endif
28411 main ()
28413 fpclass(0);
28415 return 0;
28417 _ACEOF
28418 if ac_fn_cxx_try_compile "$LINENO"; then :
28419 glibcxx_cv_func_fpclass_use=yes
28420 else
28421 glibcxx_cv_func_fpclass_use=no
28423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28424 ac_ext=c
28425 ac_cpp='$CPP $CPPFLAGS'
28426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28435 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28437 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28438 for ac_func in fpclass
28439 do :
28440 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28441 if test "x$ac_cv_func_fpclass" = x""yes; then :
28442 cat >>confdefs.h <<_ACEOF
28443 #define HAVE_FPCLASS 1
28444 _ACEOF
28447 done
28449 else
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28452 $as_echo_n "checking for _fpclass declaration... " >&6; }
28453 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28454 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28455 $as_echo_n "(cached) " >&6
28456 else
28459 ac_ext=cpp
28460 ac_cpp='$CXXCPP $CPPFLAGS'
28461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28466 /* end confdefs.h. */
28467 #include <math.h>
28468 #ifdef HAVE_IEEEFP_H
28469 #include <ieeefp.h>
28470 #endif
28473 main ()
28475 _fpclass(0);
28477 return 0;
28479 _ACEOF
28480 if ac_fn_cxx_try_compile "$LINENO"; then :
28481 glibcxx_cv_func__fpclass_use=yes
28482 else
28483 glibcxx_cv_func__fpclass_use=no
28485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28486 ac_ext=c
28487 ac_cpp='$CPP $CPPFLAGS'
28488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28497 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28499 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28500 for ac_func in _fpclass
28501 do :
28502 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28503 if test "x$ac_cv_func__fpclass" = x""yes; then :
28504 cat >>confdefs.h <<_ACEOF
28505 #define HAVE__FPCLASS 1
28506 _ACEOF
28509 done
28518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28519 $as_echo_n "checking for qfpclass declaration... " >&6; }
28520 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28521 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28522 $as_echo_n "(cached) " >&6
28523 else
28526 ac_ext=cpp
28527 ac_cpp='$CXXCPP $CPPFLAGS'
28528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28533 /* end confdefs.h. */
28534 #include <math.h>
28535 #ifdef HAVE_IEEEFP_H
28536 #include <ieeefp.h>
28537 #endif
28540 main ()
28542 qfpclass(0);
28544 return 0;
28546 _ACEOF
28547 if ac_fn_cxx_try_compile "$LINENO"; then :
28548 glibcxx_cv_func_qfpclass_use=yes
28549 else
28550 glibcxx_cv_func_qfpclass_use=no
28552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28553 ac_ext=c
28554 ac_cpp='$CPP $CPPFLAGS'
28555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28564 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28566 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28567 for ac_func in qfpclass
28568 do :
28569 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28570 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28571 cat >>confdefs.h <<_ACEOF
28572 #define HAVE_QFPCLASS 1
28573 _ACEOF
28576 done
28578 else
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28581 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28582 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28583 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28584 $as_echo_n "(cached) " >&6
28585 else
28588 ac_ext=cpp
28589 ac_cpp='$CXXCPP $CPPFLAGS'
28590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28595 /* end confdefs.h. */
28596 #include <math.h>
28597 #ifdef HAVE_IEEEFP_H
28598 #include <ieeefp.h>
28599 #endif
28602 main ()
28604 _qfpclass(0);
28606 return 0;
28608 _ACEOF
28609 if ac_fn_cxx_try_compile "$LINENO"; then :
28610 glibcxx_cv_func__qfpclass_use=yes
28611 else
28612 glibcxx_cv_func__qfpclass_use=no
28614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28615 ac_ext=c
28616 ac_cpp='$CPP $CPPFLAGS'
28617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28626 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28628 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28629 for ac_func in _qfpclass
28630 do :
28631 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28632 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28633 cat >>confdefs.h <<_ACEOF
28634 #define HAVE__QFPCLASS 1
28635 _ACEOF
28638 done
28647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28648 $as_echo_n "checking for hypot declaration... " >&6; }
28649 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28650 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28651 $as_echo_n "(cached) " >&6
28652 else
28655 ac_ext=cpp
28656 ac_cpp='$CXXCPP $CPPFLAGS'
28657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28662 /* end confdefs.h. */
28663 #include <math.h>
28665 main ()
28667 hypot(0, 0);
28669 return 0;
28671 _ACEOF
28672 if ac_fn_cxx_try_compile "$LINENO"; then :
28673 glibcxx_cv_func_hypot_use=yes
28674 else
28675 glibcxx_cv_func_hypot_use=no
28677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28678 ac_ext=c
28679 ac_cpp='$CPP $CPPFLAGS'
28680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28689 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28691 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28692 for ac_func in hypot
28693 do :
28694 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28695 if test "x$ac_cv_func_hypot" = x""yes; then :
28696 cat >>confdefs.h <<_ACEOF
28697 #define HAVE_HYPOT 1
28698 _ACEOF
28701 done
28703 else
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28706 $as_echo_n "checking for _hypot declaration... " >&6; }
28707 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28708 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28709 $as_echo_n "(cached) " >&6
28710 else
28713 ac_ext=cpp
28714 ac_cpp='$CXXCPP $CPPFLAGS'
28715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28720 /* end confdefs.h. */
28721 #include <math.h>
28723 main ()
28725 _hypot(0, 0);
28727 return 0;
28729 _ACEOF
28730 if ac_fn_cxx_try_compile "$LINENO"; then :
28731 glibcxx_cv_func__hypot_use=yes
28732 else
28733 glibcxx_cv_func__hypot_use=no
28735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28736 ac_ext=c
28737 ac_cpp='$CPP $CPPFLAGS'
28738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28747 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28749 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28750 for ac_func in _hypot
28751 do :
28752 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28753 if test "x$ac_cv_func__hypot" = x""yes; then :
28754 cat >>confdefs.h <<_ACEOF
28755 #define HAVE__HYPOT 1
28756 _ACEOF
28759 done
28768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28769 $as_echo_n "checking for float trig functions... " >&6; }
28770 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28771 $as_echo_n "(cached) " >&6
28772 else
28775 ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28783 #include <math.h>
28785 main ()
28787 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28789 return 0;
28791 _ACEOF
28792 if ac_fn_cxx_try_compile "$LINENO"; then :
28793 glibcxx_cv_func_float_trig_use=yes
28794 else
28795 glibcxx_cv_func_float_trig_use=no
28797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28798 ac_ext=c
28799 ac_cpp='$CPP $CPPFLAGS'
28800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28807 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28808 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28809 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28810 do :
28811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28813 eval as_val=\$$as_ac_var
28814 if test "x$as_val" = x""yes; then :
28815 cat >>confdefs.h <<_ACEOF
28816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28817 _ACEOF
28820 done
28822 else
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28824 $as_echo_n "checking for _float trig functions... " >&6; }
28825 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28826 $as_echo_n "(cached) " >&6
28827 else
28830 ac_ext=cpp
28831 ac_cpp='$CXXCPP $CPPFLAGS'
28832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28838 #include <math.h>
28840 main ()
28842 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28844 return 0;
28846 _ACEOF
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848 glibcxx_cv_func__float_trig_use=yes
28849 else
28850 glibcxx_cv_func__float_trig_use=no
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853 ac_ext=c
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28862 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28863 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28864 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28865 do :
28866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28868 eval as_val=\$$as_ac_var
28869 if test "x$as_val" = x""yes; then :
28870 cat >>confdefs.h <<_ACEOF
28871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28872 _ACEOF
28875 done
28884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28885 $as_echo_n "checking for float round functions... " >&6; }
28886 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28887 $as_echo_n "(cached) " >&6
28888 else
28891 ac_ext=cpp
28892 ac_cpp='$CXXCPP $CPPFLAGS'
28893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28898 /* end confdefs.h. */
28899 #include <math.h>
28901 main ()
28903 ceilf (0); floorf (0);
28905 return 0;
28907 _ACEOF
28908 if ac_fn_cxx_try_compile "$LINENO"; then :
28909 glibcxx_cv_func_float_round_use=yes
28910 else
28911 glibcxx_cv_func_float_round_use=no
28913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28914 ac_ext=c
28915 ac_cpp='$CPP $CPPFLAGS'
28916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28923 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28924 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28925 for ac_func in ceilf floorf
28926 do :
28927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28929 eval as_val=\$$as_ac_var
28930 if test "x$as_val" = x""yes; then :
28931 cat >>confdefs.h <<_ACEOF
28932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28933 _ACEOF
28936 done
28938 else
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28940 $as_echo_n "checking for _float round functions... " >&6; }
28941 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28942 $as_echo_n "(cached) " >&6
28943 else
28946 ac_ext=cpp
28947 ac_cpp='$CXXCPP $CPPFLAGS'
28948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h. */
28954 #include <math.h>
28956 main ()
28958 _ceilf (0); _floorf (0);
28960 return 0;
28962 _ACEOF
28963 if ac_fn_cxx_try_compile "$LINENO"; then :
28964 glibcxx_cv_func__float_round_use=yes
28965 else
28966 glibcxx_cv_func__float_round_use=no
28968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28969 ac_ext=c
28970 ac_cpp='$CPP $CPPFLAGS'
28971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28978 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28979 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28980 for ac_func in _ceilf _floorf
28981 do :
28982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28984 eval as_val=\$$as_ac_var
28985 if test "x$as_val" = x""yes; then :
28986 cat >>confdefs.h <<_ACEOF
28987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28988 _ACEOF
28991 done
29001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29002 $as_echo_n "checking for expf declaration... " >&6; }
29003 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29004 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29005 $as_echo_n "(cached) " >&6
29006 else
29009 ac_ext=cpp
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29016 /* end confdefs.h. */
29017 #include <math.h>
29018 #ifdef HAVE_IEEEFP_H
29019 #include <ieeefp.h>
29020 #endif
29023 main ()
29025 expf(0);
29027 return 0;
29029 _ACEOF
29030 if ac_fn_cxx_try_compile "$LINENO"; then :
29031 glibcxx_cv_func_expf_use=yes
29032 else
29033 glibcxx_cv_func_expf_use=no
29035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036 ac_ext=c
29037 ac_cpp='$CPP $CPPFLAGS'
29038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29047 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29049 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29050 for ac_func in expf
29051 do :
29052 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29053 if test "x$ac_cv_func_expf" = x""yes; then :
29054 cat >>confdefs.h <<_ACEOF
29055 #define HAVE_EXPF 1
29056 _ACEOF
29059 done
29061 else
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29064 $as_echo_n "checking for _expf declaration... " >&6; }
29065 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29066 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29067 $as_echo_n "(cached) " >&6
29068 else
29071 ac_ext=cpp
29072 ac_cpp='$CXXCPP $CPPFLAGS'
29073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29078 /* end confdefs.h. */
29079 #include <math.h>
29080 #ifdef HAVE_IEEEFP_H
29081 #include <ieeefp.h>
29082 #endif
29085 main ()
29087 _expf(0);
29089 return 0;
29091 _ACEOF
29092 if ac_fn_cxx_try_compile "$LINENO"; then :
29093 glibcxx_cv_func__expf_use=yes
29094 else
29095 glibcxx_cv_func__expf_use=no
29097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29098 ac_ext=c
29099 ac_cpp='$CPP $CPPFLAGS'
29100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29109 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29111 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29112 for ac_func in _expf
29113 do :
29114 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29115 if test "x$ac_cv_func__expf" = x""yes; then :
29116 cat >>confdefs.h <<_ACEOF
29117 #define HAVE__EXPF 1
29118 _ACEOF
29121 done
29130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29131 $as_echo_n "checking for isnanf declaration... " >&6; }
29132 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29133 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29134 $as_echo_n "(cached) " >&6
29135 else
29138 ac_ext=cpp
29139 ac_cpp='$CXXCPP $CPPFLAGS'
29140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29146 #include <math.h>
29147 #ifdef HAVE_IEEEFP_H
29148 #include <ieeefp.h>
29149 #endif
29152 main ()
29154 isnanf(0);
29156 return 0;
29158 _ACEOF
29159 if ac_fn_cxx_try_compile "$LINENO"; then :
29160 glibcxx_cv_func_isnanf_use=yes
29161 else
29162 glibcxx_cv_func_isnanf_use=no
29164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29165 ac_ext=c
29166 ac_cpp='$CPP $CPPFLAGS'
29167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29176 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29178 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29179 for ac_func in isnanf
29180 do :
29181 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29182 if test "x$ac_cv_func_isnanf" = x""yes; then :
29183 cat >>confdefs.h <<_ACEOF
29184 #define HAVE_ISNANF 1
29185 _ACEOF
29188 done
29190 else
29192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29193 $as_echo_n "checking for _isnanf declaration... " >&6; }
29194 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29195 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29196 $as_echo_n "(cached) " >&6
29197 else
29200 ac_ext=cpp
29201 ac_cpp='$CXXCPP $CPPFLAGS'
29202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29207 /* end confdefs.h. */
29208 #include <math.h>
29209 #ifdef HAVE_IEEEFP_H
29210 #include <ieeefp.h>
29211 #endif
29214 main ()
29216 _isnanf(0);
29218 return 0;
29220 _ACEOF
29221 if ac_fn_cxx_try_compile "$LINENO"; then :
29222 glibcxx_cv_func__isnanf_use=yes
29223 else
29224 glibcxx_cv_func__isnanf_use=no
29226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29227 ac_ext=c
29228 ac_cpp='$CPP $CPPFLAGS'
29229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29238 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29240 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29241 for ac_func in _isnanf
29242 do :
29243 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29244 if test "x$ac_cv_func__isnanf" = x""yes; then :
29245 cat >>confdefs.h <<_ACEOF
29246 #define HAVE__ISNANF 1
29247 _ACEOF
29250 done
29259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29260 $as_echo_n "checking for isinff declaration... " >&6; }
29261 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29262 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29263 $as_echo_n "(cached) " >&6
29264 else
29267 ac_ext=cpp
29268 ac_cpp='$CXXCPP $CPPFLAGS'
29269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29274 /* end confdefs.h. */
29275 #include <math.h>
29276 #ifdef HAVE_IEEEFP_H
29277 #include <ieeefp.h>
29278 #endif
29281 main ()
29283 isinff(0);
29285 return 0;
29287 _ACEOF
29288 if ac_fn_cxx_try_compile "$LINENO"; then :
29289 glibcxx_cv_func_isinff_use=yes
29290 else
29291 glibcxx_cv_func_isinff_use=no
29293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29294 ac_ext=c
29295 ac_cpp='$CPP $CPPFLAGS'
29296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29305 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29307 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29308 for ac_func in isinff
29309 do :
29310 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29311 if test "x$ac_cv_func_isinff" = x""yes; then :
29312 cat >>confdefs.h <<_ACEOF
29313 #define HAVE_ISINFF 1
29314 _ACEOF
29317 done
29319 else
29321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29322 $as_echo_n "checking for _isinff declaration... " >&6; }
29323 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29324 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29325 $as_echo_n "(cached) " >&6
29326 else
29329 ac_ext=cpp
29330 ac_cpp='$CXXCPP $CPPFLAGS'
29331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29336 /* end confdefs.h. */
29337 #include <math.h>
29338 #ifdef HAVE_IEEEFP_H
29339 #include <ieeefp.h>
29340 #endif
29343 main ()
29345 _isinff(0);
29347 return 0;
29349 _ACEOF
29350 if ac_fn_cxx_try_compile "$LINENO"; then :
29351 glibcxx_cv_func__isinff_use=yes
29352 else
29353 glibcxx_cv_func__isinff_use=no
29355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29356 ac_ext=c
29357 ac_cpp='$CPP $CPPFLAGS'
29358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29367 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29369 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29370 for ac_func in _isinff
29371 do :
29372 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29373 if test "x$ac_cv_func__isinff" = x""yes; then :
29374 cat >>confdefs.h <<_ACEOF
29375 #define HAVE__ISINFF 1
29376 _ACEOF
29379 done
29388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29389 $as_echo_n "checking for atan2f declaration... " >&6; }
29390 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29391 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29392 $as_echo_n "(cached) " >&6
29393 else
29396 ac_ext=cpp
29397 ac_cpp='$CXXCPP $CPPFLAGS'
29398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29403 /* end confdefs.h. */
29404 #include <math.h>
29406 main ()
29408 atan2f(0, 0);
29410 return 0;
29412 _ACEOF
29413 if ac_fn_cxx_try_compile "$LINENO"; then :
29414 glibcxx_cv_func_atan2f_use=yes
29415 else
29416 glibcxx_cv_func_atan2f_use=no
29418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29419 ac_ext=c
29420 ac_cpp='$CPP $CPPFLAGS'
29421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29430 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29432 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29433 for ac_func in atan2f
29434 do :
29435 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29436 if test "x$ac_cv_func_atan2f" = x""yes; then :
29437 cat >>confdefs.h <<_ACEOF
29438 #define HAVE_ATAN2F 1
29439 _ACEOF
29442 done
29444 else
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29447 $as_echo_n "checking for _atan2f declaration... " >&6; }
29448 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29449 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29450 $as_echo_n "(cached) " >&6
29451 else
29454 ac_ext=cpp
29455 ac_cpp='$CXXCPP $CPPFLAGS'
29456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29461 /* end confdefs.h. */
29462 #include <math.h>
29464 main ()
29466 _atan2f(0, 0);
29468 return 0;
29470 _ACEOF
29471 if ac_fn_cxx_try_compile "$LINENO"; then :
29472 glibcxx_cv_func__atan2f_use=yes
29473 else
29474 glibcxx_cv_func__atan2f_use=no
29476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29477 ac_ext=c
29478 ac_cpp='$CPP $CPPFLAGS'
29479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29488 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29490 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29491 for ac_func in _atan2f
29492 do :
29493 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29494 if test "x$ac_cv_func__atan2f" = x""yes; then :
29495 cat >>confdefs.h <<_ACEOF
29496 #define HAVE__ATAN2F 1
29497 _ACEOF
29500 done
29509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29510 $as_echo_n "checking for fabsf declaration... " >&6; }
29511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29513 $as_echo_n "(cached) " >&6
29514 else
29517 ac_ext=cpp
29518 ac_cpp='$CXXCPP $CPPFLAGS'
29519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29524 /* end confdefs.h. */
29525 #include <math.h>
29526 #ifdef HAVE_IEEEFP_H
29527 #include <ieeefp.h>
29528 #endif
29531 main ()
29533 fabsf(0);
29535 return 0;
29537 _ACEOF
29538 if ac_fn_cxx_try_compile "$LINENO"; then :
29539 glibcxx_cv_func_fabsf_use=yes
29540 else
29541 glibcxx_cv_func_fabsf_use=no
29543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29544 ac_ext=c
29545 ac_cpp='$CPP $CPPFLAGS'
29546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29555 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29557 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29558 for ac_func in fabsf
29559 do :
29560 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29561 if test "x$ac_cv_func_fabsf" = x""yes; then :
29562 cat >>confdefs.h <<_ACEOF
29563 #define HAVE_FABSF 1
29564 _ACEOF
29567 done
29569 else
29571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29572 $as_echo_n "checking for _fabsf declaration... " >&6; }
29573 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29574 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29575 $as_echo_n "(cached) " >&6
29576 else
29579 ac_ext=cpp
29580 ac_cpp='$CXXCPP $CPPFLAGS'
29581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29586 /* end confdefs.h. */
29587 #include <math.h>
29588 #ifdef HAVE_IEEEFP_H
29589 #include <ieeefp.h>
29590 #endif
29593 main ()
29595 _fabsf(0);
29597 return 0;
29599 _ACEOF
29600 if ac_fn_cxx_try_compile "$LINENO"; then :
29601 glibcxx_cv_func__fabsf_use=yes
29602 else
29603 glibcxx_cv_func__fabsf_use=no
29605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29606 ac_ext=c
29607 ac_cpp='$CPP $CPPFLAGS'
29608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29617 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29619 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29620 for ac_func in _fabsf
29621 do :
29622 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29623 if test "x$ac_cv_func__fabsf" = x""yes; then :
29624 cat >>confdefs.h <<_ACEOF
29625 #define HAVE__FABSF 1
29626 _ACEOF
29629 done
29638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29639 $as_echo_n "checking for fmodf declaration... " >&6; }
29640 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29641 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29642 $as_echo_n "(cached) " >&6
29643 else
29646 ac_ext=cpp
29647 ac_cpp='$CXXCPP $CPPFLAGS'
29648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29653 /* end confdefs.h. */
29654 #include <math.h>
29656 main ()
29658 fmodf(0, 0);
29660 return 0;
29662 _ACEOF
29663 if ac_fn_cxx_try_compile "$LINENO"; then :
29664 glibcxx_cv_func_fmodf_use=yes
29665 else
29666 glibcxx_cv_func_fmodf_use=no
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669 ac_ext=c
29670 ac_cpp='$CPP $CPPFLAGS'
29671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29680 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29682 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29683 for ac_func in fmodf
29684 do :
29685 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29686 if test "x$ac_cv_func_fmodf" = x""yes; then :
29687 cat >>confdefs.h <<_ACEOF
29688 #define HAVE_FMODF 1
29689 _ACEOF
29692 done
29694 else
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29697 $as_echo_n "checking for _fmodf declaration... " >&6; }
29698 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29699 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29700 $as_echo_n "(cached) " >&6
29701 else
29704 ac_ext=cpp
29705 ac_cpp='$CXXCPP $CPPFLAGS'
29706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h. */
29712 #include <math.h>
29714 main ()
29716 _fmodf(0, 0);
29718 return 0;
29720 _ACEOF
29721 if ac_fn_cxx_try_compile "$LINENO"; then :
29722 glibcxx_cv_func__fmodf_use=yes
29723 else
29724 glibcxx_cv_func__fmodf_use=no
29726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29727 ac_ext=c
29728 ac_cpp='$CPP $CPPFLAGS'
29729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29738 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29740 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29741 for ac_func in _fmodf
29742 do :
29743 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29744 if test "x$ac_cv_func__fmodf" = x""yes; then :
29745 cat >>confdefs.h <<_ACEOF
29746 #define HAVE__FMODF 1
29747 _ACEOF
29750 done
29759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29760 $as_echo_n "checking for frexpf declaration... " >&6; }
29761 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29762 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29763 $as_echo_n "(cached) " >&6
29764 else
29767 ac_ext=cpp
29768 ac_cpp='$CXXCPP $CPPFLAGS'
29769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29774 /* end confdefs.h. */
29775 #include <math.h>
29777 main ()
29779 frexpf(0, 0);
29781 return 0;
29783 _ACEOF
29784 if ac_fn_cxx_try_compile "$LINENO"; then :
29785 glibcxx_cv_func_frexpf_use=yes
29786 else
29787 glibcxx_cv_func_frexpf_use=no
29789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29790 ac_ext=c
29791 ac_cpp='$CPP $CPPFLAGS'
29792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29801 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29803 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29804 for ac_func in frexpf
29805 do :
29806 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29807 if test "x$ac_cv_func_frexpf" = x""yes; then :
29808 cat >>confdefs.h <<_ACEOF
29809 #define HAVE_FREXPF 1
29810 _ACEOF
29813 done
29815 else
29817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29818 $as_echo_n "checking for _frexpf declaration... " >&6; }
29819 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29820 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29821 $as_echo_n "(cached) " >&6
29822 else
29825 ac_ext=cpp
29826 ac_cpp='$CXXCPP $CPPFLAGS'
29827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29832 /* end confdefs.h. */
29833 #include <math.h>
29835 main ()
29837 _frexpf(0, 0);
29839 return 0;
29841 _ACEOF
29842 if ac_fn_cxx_try_compile "$LINENO"; then :
29843 glibcxx_cv_func__frexpf_use=yes
29844 else
29845 glibcxx_cv_func__frexpf_use=no
29847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29848 ac_ext=c
29849 ac_cpp='$CPP $CPPFLAGS'
29850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29859 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29861 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29862 for ac_func in _frexpf
29863 do :
29864 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29865 if test "x$ac_cv_func__frexpf" = x""yes; then :
29866 cat >>confdefs.h <<_ACEOF
29867 #define HAVE__FREXPF 1
29868 _ACEOF
29871 done
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29881 $as_echo_n "checking for hypotf declaration... " >&6; }
29882 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29883 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29884 $as_echo_n "(cached) " >&6
29885 else
29888 ac_ext=cpp
29889 ac_cpp='$CXXCPP $CPPFLAGS'
29890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29895 /* end confdefs.h. */
29896 #include <math.h>
29898 main ()
29900 hypotf(0, 0);
29902 return 0;
29904 _ACEOF
29905 if ac_fn_cxx_try_compile "$LINENO"; then :
29906 glibcxx_cv_func_hypotf_use=yes
29907 else
29908 glibcxx_cv_func_hypotf_use=no
29910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29911 ac_ext=c
29912 ac_cpp='$CPP $CPPFLAGS'
29913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29922 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29924 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29925 for ac_func in hypotf
29926 do :
29927 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29928 if test "x$ac_cv_func_hypotf" = x""yes; then :
29929 cat >>confdefs.h <<_ACEOF
29930 #define HAVE_HYPOTF 1
29931 _ACEOF
29934 done
29936 else
29938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29939 $as_echo_n "checking for _hypotf declaration... " >&6; }
29940 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29941 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29942 $as_echo_n "(cached) " >&6
29943 else
29946 ac_ext=cpp
29947 ac_cpp='$CXXCPP $CPPFLAGS'
29948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29953 /* end confdefs.h. */
29954 #include <math.h>
29956 main ()
29958 _hypotf(0, 0);
29960 return 0;
29962 _ACEOF
29963 if ac_fn_cxx_try_compile "$LINENO"; then :
29964 glibcxx_cv_func__hypotf_use=yes
29965 else
29966 glibcxx_cv_func__hypotf_use=no
29968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29969 ac_ext=c
29970 ac_cpp='$CPP $CPPFLAGS'
29971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29980 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29982 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29983 for ac_func in _hypotf
29984 do :
29985 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29986 if test "x$ac_cv_func__hypotf" = x""yes; then :
29987 cat >>confdefs.h <<_ACEOF
29988 #define HAVE__HYPOTF 1
29989 _ACEOF
29992 done
30001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30002 $as_echo_n "checking for ldexpf declaration... " >&6; }
30003 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30004 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30005 $as_echo_n "(cached) " >&6
30006 else
30009 ac_ext=cpp
30010 ac_cpp='$CXXCPP $CPPFLAGS'
30011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30016 /* end confdefs.h. */
30017 #include <math.h>
30019 main ()
30021 ldexpf(0, 0);
30023 return 0;
30025 _ACEOF
30026 if ac_fn_cxx_try_compile "$LINENO"; then :
30027 glibcxx_cv_func_ldexpf_use=yes
30028 else
30029 glibcxx_cv_func_ldexpf_use=no
30031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30032 ac_ext=c
30033 ac_cpp='$CPP $CPPFLAGS'
30034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30043 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30045 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30046 for ac_func in ldexpf
30047 do :
30048 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30049 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30050 cat >>confdefs.h <<_ACEOF
30051 #define HAVE_LDEXPF 1
30052 _ACEOF
30055 done
30057 else
30059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30060 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30061 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30062 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30063 $as_echo_n "(cached) " >&6
30064 else
30067 ac_ext=cpp
30068 ac_cpp='$CXXCPP $CPPFLAGS'
30069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30074 /* end confdefs.h. */
30075 #include <math.h>
30077 main ()
30079 _ldexpf(0, 0);
30081 return 0;
30083 _ACEOF
30084 if ac_fn_cxx_try_compile "$LINENO"; then :
30085 glibcxx_cv_func__ldexpf_use=yes
30086 else
30087 glibcxx_cv_func__ldexpf_use=no
30089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30090 ac_ext=c
30091 ac_cpp='$CPP $CPPFLAGS'
30092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30101 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30103 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30104 for ac_func in _ldexpf
30105 do :
30106 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30107 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30108 cat >>confdefs.h <<_ACEOF
30109 #define HAVE__LDEXPF 1
30110 _ACEOF
30113 done
30122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30123 $as_echo_n "checking for logf declaration... " >&6; }
30124 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30125 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30126 $as_echo_n "(cached) " >&6
30127 else
30130 ac_ext=cpp
30131 ac_cpp='$CXXCPP $CPPFLAGS'
30132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30137 /* end confdefs.h. */
30138 #include <math.h>
30139 #ifdef HAVE_IEEEFP_H
30140 #include <ieeefp.h>
30141 #endif
30144 main ()
30146 logf(0);
30148 return 0;
30150 _ACEOF
30151 if ac_fn_cxx_try_compile "$LINENO"; then :
30152 glibcxx_cv_func_logf_use=yes
30153 else
30154 glibcxx_cv_func_logf_use=no
30156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30157 ac_ext=c
30158 ac_cpp='$CPP $CPPFLAGS'
30159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30168 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30170 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30171 for ac_func in logf
30172 do :
30173 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30174 if test "x$ac_cv_func_logf" = x""yes; then :
30175 cat >>confdefs.h <<_ACEOF
30176 #define HAVE_LOGF 1
30177 _ACEOF
30180 done
30182 else
30184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30185 $as_echo_n "checking for _logf declaration... " >&6; }
30186 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30187 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30188 $as_echo_n "(cached) " >&6
30189 else
30192 ac_ext=cpp
30193 ac_cpp='$CXXCPP $CPPFLAGS'
30194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30199 /* end confdefs.h. */
30200 #include <math.h>
30201 #ifdef HAVE_IEEEFP_H
30202 #include <ieeefp.h>
30203 #endif
30206 main ()
30208 _logf(0);
30210 return 0;
30212 _ACEOF
30213 if ac_fn_cxx_try_compile "$LINENO"; then :
30214 glibcxx_cv_func__logf_use=yes
30215 else
30216 glibcxx_cv_func__logf_use=no
30218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30219 ac_ext=c
30220 ac_cpp='$CPP $CPPFLAGS'
30221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30230 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30232 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30233 for ac_func in _logf
30234 do :
30235 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30236 if test "x$ac_cv_func__logf" = x""yes; then :
30237 cat >>confdefs.h <<_ACEOF
30238 #define HAVE__LOGF 1
30239 _ACEOF
30242 done
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30252 $as_echo_n "checking for log10f declaration... " >&6; }
30253 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30254 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30255 $as_echo_n "(cached) " >&6
30256 else
30259 ac_ext=cpp
30260 ac_cpp='$CXXCPP $CPPFLAGS'
30261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30266 /* end confdefs.h. */
30267 #include <math.h>
30268 #ifdef HAVE_IEEEFP_H
30269 #include <ieeefp.h>
30270 #endif
30273 main ()
30275 log10f(0);
30277 return 0;
30279 _ACEOF
30280 if ac_fn_cxx_try_compile "$LINENO"; then :
30281 glibcxx_cv_func_log10f_use=yes
30282 else
30283 glibcxx_cv_func_log10f_use=no
30285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30286 ac_ext=c
30287 ac_cpp='$CPP $CPPFLAGS'
30288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30297 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30299 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30300 for ac_func in log10f
30301 do :
30302 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30303 if test "x$ac_cv_func_log10f" = x""yes; then :
30304 cat >>confdefs.h <<_ACEOF
30305 #define HAVE_LOG10F 1
30306 _ACEOF
30309 done
30311 else
30313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30314 $as_echo_n "checking for _log10f declaration... " >&6; }
30315 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30316 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30317 $as_echo_n "(cached) " >&6
30318 else
30321 ac_ext=cpp
30322 ac_cpp='$CXXCPP $CPPFLAGS'
30323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30328 /* end confdefs.h. */
30329 #include <math.h>
30330 #ifdef HAVE_IEEEFP_H
30331 #include <ieeefp.h>
30332 #endif
30335 main ()
30337 _log10f(0);
30339 return 0;
30341 _ACEOF
30342 if ac_fn_cxx_try_compile "$LINENO"; then :
30343 glibcxx_cv_func__log10f_use=yes
30344 else
30345 glibcxx_cv_func__log10f_use=no
30347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30348 ac_ext=c
30349 ac_cpp='$CPP $CPPFLAGS'
30350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30359 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30361 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30362 for ac_func in _log10f
30363 do :
30364 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30365 if test "x$ac_cv_func__log10f" = x""yes; then :
30366 cat >>confdefs.h <<_ACEOF
30367 #define HAVE__LOG10F 1
30368 _ACEOF
30371 done
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30381 $as_echo_n "checking for modff declaration... " >&6; }
30382 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30383 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30384 $as_echo_n "(cached) " >&6
30385 else
30388 ac_ext=cpp
30389 ac_cpp='$CXXCPP $CPPFLAGS'
30390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30395 /* end confdefs.h. */
30396 #include <math.h>
30398 main ()
30400 modff(0, 0);
30402 return 0;
30404 _ACEOF
30405 if ac_fn_cxx_try_compile "$LINENO"; then :
30406 glibcxx_cv_func_modff_use=yes
30407 else
30408 glibcxx_cv_func_modff_use=no
30410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30411 ac_ext=c
30412 ac_cpp='$CPP $CPPFLAGS'
30413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30422 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30424 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30425 for ac_func in modff
30426 do :
30427 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30428 if test "x$ac_cv_func_modff" = x""yes; then :
30429 cat >>confdefs.h <<_ACEOF
30430 #define HAVE_MODFF 1
30431 _ACEOF
30434 done
30436 else
30438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30439 $as_echo_n "checking for _modff declaration... " >&6; }
30440 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30441 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30442 $as_echo_n "(cached) " >&6
30443 else
30446 ac_ext=cpp
30447 ac_cpp='$CXXCPP $CPPFLAGS'
30448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h. */
30454 #include <math.h>
30456 main ()
30458 _modff(0, 0);
30460 return 0;
30462 _ACEOF
30463 if ac_fn_cxx_try_compile "$LINENO"; then :
30464 glibcxx_cv_func__modff_use=yes
30465 else
30466 glibcxx_cv_func__modff_use=no
30468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30469 ac_ext=c
30470 ac_cpp='$CPP $CPPFLAGS'
30471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30480 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30482 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30483 for ac_func in _modff
30484 do :
30485 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30486 if test "x$ac_cv_func__modff" = x""yes; then :
30487 cat >>confdefs.h <<_ACEOF
30488 #define HAVE__MODFF 1
30489 _ACEOF
30492 done
30501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30502 $as_echo_n "checking for modf declaration... " >&6; }
30503 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30504 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30505 $as_echo_n "(cached) " >&6
30506 else
30509 ac_ext=cpp
30510 ac_cpp='$CXXCPP $CPPFLAGS'
30511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30516 /* end confdefs.h. */
30517 #include <math.h>
30519 main ()
30521 modf(0, 0);
30523 return 0;
30525 _ACEOF
30526 if ac_fn_cxx_try_compile "$LINENO"; then :
30527 glibcxx_cv_func_modf_use=yes
30528 else
30529 glibcxx_cv_func_modf_use=no
30531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30532 ac_ext=c
30533 ac_cpp='$CPP $CPPFLAGS'
30534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30543 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30545 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30546 for ac_func in modf
30547 do :
30548 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30549 if test "x$ac_cv_func_modf" = x""yes; then :
30550 cat >>confdefs.h <<_ACEOF
30551 #define HAVE_MODF 1
30552 _ACEOF
30555 done
30557 else
30559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30560 $as_echo_n "checking for _modf declaration... " >&6; }
30561 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30562 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30563 $as_echo_n "(cached) " >&6
30564 else
30567 ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30575 #include <math.h>
30577 main ()
30579 _modf(0, 0);
30581 return 0;
30583 _ACEOF
30584 if ac_fn_cxx_try_compile "$LINENO"; then :
30585 glibcxx_cv_func__modf_use=yes
30586 else
30587 glibcxx_cv_func__modf_use=no
30589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30590 ac_ext=c
30591 ac_cpp='$CPP $CPPFLAGS'
30592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30601 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30603 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30604 for ac_func in _modf
30605 do :
30606 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30607 if test "x$ac_cv_func__modf" = x""yes; then :
30608 cat >>confdefs.h <<_ACEOF
30609 #define HAVE__MODF 1
30610 _ACEOF
30613 done
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30623 $as_echo_n "checking for powf declaration... " >&6; }
30624 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30625 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30626 $as_echo_n "(cached) " >&6
30627 else
30630 ac_ext=cpp
30631 ac_cpp='$CXXCPP $CPPFLAGS'
30632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h. */
30638 #include <math.h>
30640 main ()
30642 powf(0, 0);
30644 return 0;
30646 _ACEOF
30647 if ac_fn_cxx_try_compile "$LINENO"; then :
30648 glibcxx_cv_func_powf_use=yes
30649 else
30650 glibcxx_cv_func_powf_use=no
30652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30653 ac_ext=c
30654 ac_cpp='$CPP $CPPFLAGS'
30655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30664 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30666 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30667 for ac_func in powf
30668 do :
30669 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30670 if test "x$ac_cv_func_powf" = x""yes; then :
30671 cat >>confdefs.h <<_ACEOF
30672 #define HAVE_POWF 1
30673 _ACEOF
30676 done
30678 else
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30681 $as_echo_n "checking for _powf declaration... " >&6; }
30682 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30683 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30684 $as_echo_n "(cached) " >&6
30685 else
30688 ac_ext=cpp
30689 ac_cpp='$CXXCPP $CPPFLAGS'
30690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30695 /* end confdefs.h. */
30696 #include <math.h>
30698 main ()
30700 _powf(0, 0);
30702 return 0;
30704 _ACEOF
30705 if ac_fn_cxx_try_compile "$LINENO"; then :
30706 glibcxx_cv_func__powf_use=yes
30707 else
30708 glibcxx_cv_func__powf_use=no
30710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 ac_ext=c
30712 ac_cpp='$CPP $CPPFLAGS'
30713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30722 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30724 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30725 for ac_func in _powf
30726 do :
30727 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30728 if test "x$ac_cv_func__powf" = x""yes; then :
30729 cat >>confdefs.h <<_ACEOF
30730 #define HAVE__POWF 1
30731 _ACEOF
30734 done
30743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30744 $as_echo_n "checking for sqrtf declaration... " >&6; }
30745 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30746 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30747 $as_echo_n "(cached) " >&6
30748 else
30751 ac_ext=cpp
30752 ac_cpp='$CXXCPP $CPPFLAGS'
30753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30758 /* end confdefs.h. */
30759 #include <math.h>
30760 #ifdef HAVE_IEEEFP_H
30761 #include <ieeefp.h>
30762 #endif
30765 main ()
30767 sqrtf(0);
30769 return 0;
30771 _ACEOF
30772 if ac_fn_cxx_try_compile "$LINENO"; then :
30773 glibcxx_cv_func_sqrtf_use=yes
30774 else
30775 glibcxx_cv_func_sqrtf_use=no
30777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30778 ac_ext=c
30779 ac_cpp='$CPP $CPPFLAGS'
30780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30789 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30791 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30792 for ac_func in sqrtf
30793 do :
30794 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30795 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30796 cat >>confdefs.h <<_ACEOF
30797 #define HAVE_SQRTF 1
30798 _ACEOF
30801 done
30803 else
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30806 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30807 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30808 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30809 $as_echo_n "(cached) " >&6
30810 else
30813 ac_ext=cpp
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30820 /* end confdefs.h. */
30821 #include <math.h>
30822 #ifdef HAVE_IEEEFP_H
30823 #include <ieeefp.h>
30824 #endif
30827 main ()
30829 _sqrtf(0);
30831 return 0;
30833 _ACEOF
30834 if ac_fn_cxx_try_compile "$LINENO"; then :
30835 glibcxx_cv_func__sqrtf_use=yes
30836 else
30837 glibcxx_cv_func__sqrtf_use=no
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840 ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30851 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30853 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30854 for ac_func in _sqrtf
30855 do :
30856 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30857 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30858 cat >>confdefs.h <<_ACEOF
30859 #define HAVE__SQRTF 1
30860 _ACEOF
30863 done
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30873 $as_echo_n "checking for sincosf declaration... " >&6; }
30874 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30875 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30876 $as_echo_n "(cached) " >&6
30877 else
30880 ac_ext=cpp
30881 ac_cpp='$CXXCPP $CPPFLAGS'
30882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30887 /* end confdefs.h. */
30888 #include <math.h>
30890 main ()
30892 sincosf(0, 0, 0);
30894 return 0;
30896 _ACEOF
30897 if ac_fn_cxx_try_compile "$LINENO"; then :
30898 glibcxx_cv_func_sincosf_use=yes
30899 else
30900 glibcxx_cv_func_sincosf_use=no
30902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30903 ac_ext=c
30904 ac_cpp='$CPP $CPPFLAGS'
30905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30914 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30916 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30917 for ac_func in sincosf
30918 do :
30919 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30920 if test "x$ac_cv_func_sincosf" = x""yes; then :
30921 cat >>confdefs.h <<_ACEOF
30922 #define HAVE_SINCOSF 1
30923 _ACEOF
30926 done
30928 else
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30931 $as_echo_n "checking for _sincosf declaration... " >&6; }
30932 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30933 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30934 $as_echo_n "(cached) " >&6
30935 else
30938 ac_ext=cpp
30939 ac_cpp='$CXXCPP $CPPFLAGS'
30940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30945 /* end confdefs.h. */
30946 #include <math.h>
30948 main ()
30950 _sincosf(0, 0, 0);
30952 return 0;
30954 _ACEOF
30955 if ac_fn_cxx_try_compile "$LINENO"; then :
30956 glibcxx_cv_func__sincosf_use=yes
30957 else
30958 glibcxx_cv_func__sincosf_use=no
30960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30961 ac_ext=c
30962 ac_cpp='$CPP $CPPFLAGS'
30963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30972 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30974 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30975 for ac_func in _sincosf
30976 do :
30977 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30978 if test "x$ac_cv_func__sincosf" = x""yes; then :
30979 cat >>confdefs.h <<_ACEOF
30980 #define HAVE__SINCOSF 1
30981 _ACEOF
30984 done
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30994 $as_echo_n "checking for finitef declaration... " >&6; }
30995 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30996 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30997 $as_echo_n "(cached) " >&6
30998 else
31001 ac_ext=cpp
31002 ac_cpp='$CXXCPP $CPPFLAGS'
31003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31008 /* end confdefs.h. */
31009 #include <math.h>
31010 #ifdef HAVE_IEEEFP_H
31011 #include <ieeefp.h>
31012 #endif
31015 main ()
31017 finitef(0);
31019 return 0;
31021 _ACEOF
31022 if ac_fn_cxx_try_compile "$LINENO"; then :
31023 glibcxx_cv_func_finitef_use=yes
31024 else
31025 glibcxx_cv_func_finitef_use=no
31027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31028 ac_ext=c
31029 ac_cpp='$CPP $CPPFLAGS'
31030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31039 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31041 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31042 for ac_func in finitef
31043 do :
31044 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31045 if test "x$ac_cv_func_finitef" = x""yes; then :
31046 cat >>confdefs.h <<_ACEOF
31047 #define HAVE_FINITEF 1
31048 _ACEOF
31051 done
31053 else
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31056 $as_echo_n "checking for _finitef declaration... " >&6; }
31057 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31058 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31059 $as_echo_n "(cached) " >&6
31060 else
31063 ac_ext=cpp
31064 ac_cpp='$CXXCPP $CPPFLAGS'
31065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31070 /* end confdefs.h. */
31071 #include <math.h>
31072 #ifdef HAVE_IEEEFP_H
31073 #include <ieeefp.h>
31074 #endif
31077 main ()
31079 _finitef(0);
31081 return 0;
31083 _ACEOF
31084 if ac_fn_cxx_try_compile "$LINENO"; then :
31085 glibcxx_cv_func__finitef_use=yes
31086 else
31087 glibcxx_cv_func__finitef_use=no
31089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31090 ac_ext=c
31091 ac_cpp='$CPP $CPPFLAGS'
31092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31101 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31103 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31104 for ac_func in _finitef
31105 do :
31106 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31107 if test "x$ac_cv_func__finitef" = x""yes; then :
31108 cat >>confdefs.h <<_ACEOF
31109 #define HAVE__FINITEF 1
31110 _ACEOF
31113 done
31122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31123 $as_echo_n "checking for long double trig functions... " >&6; }
31124 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31125 $as_echo_n "(cached) " >&6
31126 else
31129 ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31137 #include <math.h>
31139 main ()
31141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31143 return 0;
31145 _ACEOF
31146 if ac_fn_cxx_try_compile "$LINENO"; then :
31147 glibcxx_cv_func_long_double_trig_use=yes
31148 else
31149 glibcxx_cv_func_long_double_trig_use=no
31151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31152 ac_ext=c
31153 ac_cpp='$CPP $CPPFLAGS'
31154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31161 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31162 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31163 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31164 do :
31165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31167 eval as_val=\$$as_ac_var
31168 if test "x$as_val" = x""yes; then :
31169 cat >>confdefs.h <<_ACEOF
31170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31171 _ACEOF
31174 done
31176 else
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31178 $as_echo_n "checking for _long double trig functions... " >&6; }
31179 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31180 $as_echo_n "(cached) " >&6
31181 else
31184 ac_ext=cpp
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31191 /* end confdefs.h. */
31192 #include <math.h>
31194 main ()
31196 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31198 return 0;
31200 _ACEOF
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202 glibcxx_cv_func__long_double_trig_use=yes
31203 else
31204 glibcxx_cv_func__long_double_trig_use=no
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207 ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31216 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31217 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31218 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31219 do :
31220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31222 eval as_val=\$$as_ac_var
31223 if test "x$as_val" = x""yes; then :
31224 cat >>confdefs.h <<_ACEOF
31225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31226 _ACEOF
31229 done
31238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31239 $as_echo_n "checking for long double round functions... " >&6; }
31240 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31241 $as_echo_n "(cached) " >&6
31242 else
31245 ac_ext=cpp
31246 ac_cpp='$CXXCPP $CPPFLAGS'
31247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31252 /* end confdefs.h. */
31253 #include <math.h>
31255 main ()
31257 ceill (0); floorl (0);
31259 return 0;
31261 _ACEOF
31262 if ac_fn_cxx_try_compile "$LINENO"; then :
31263 glibcxx_cv_func_long_double_round_use=yes
31264 else
31265 glibcxx_cv_func_long_double_round_use=no
31267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31268 ac_ext=c
31269 ac_cpp='$CPP $CPPFLAGS'
31270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31277 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31278 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31279 for ac_func in ceill floorl
31280 do :
31281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31283 eval as_val=\$$as_ac_var
31284 if test "x$as_val" = x""yes; then :
31285 cat >>confdefs.h <<_ACEOF
31286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31287 _ACEOF
31290 done
31292 else
31293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31294 $as_echo_n "checking for _long double round functions... " >&6; }
31295 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31296 $as_echo_n "(cached) " >&6
31297 else
31300 ac_ext=cpp
31301 ac_cpp='$CXXCPP $CPPFLAGS'
31302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h. */
31308 #include <math.h>
31310 main ()
31312 _ceill (0); _floorl (0);
31314 return 0;
31316 _ACEOF
31317 if ac_fn_cxx_try_compile "$LINENO"; then :
31318 glibcxx_cv_func__long_double_round_use=yes
31319 else
31320 glibcxx_cv_func__long_double_round_use=no
31322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323 ac_ext=c
31324 ac_cpp='$CPP $CPPFLAGS'
31325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31333 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31334 for ac_func in _ceill _floorl
31335 do :
31336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31338 eval as_val=\$$as_ac_var
31339 if test "x$as_val" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31342 _ACEOF
31345 done
31355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31356 $as_echo_n "checking for isnanl declaration... " >&6; }
31357 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31358 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31359 $as_echo_n "(cached) " >&6
31360 else
31363 ac_ext=cpp
31364 ac_cpp='$CXXCPP $CPPFLAGS'
31365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h. */
31371 #include <math.h>
31372 #ifdef HAVE_IEEEFP_H
31373 #include <ieeefp.h>
31374 #endif
31377 main ()
31379 isnanl(0);
31381 return 0;
31383 _ACEOF
31384 if ac_fn_cxx_try_compile "$LINENO"; then :
31385 glibcxx_cv_func_isnanl_use=yes
31386 else
31387 glibcxx_cv_func_isnanl_use=no
31389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31390 ac_ext=c
31391 ac_cpp='$CPP $CPPFLAGS'
31392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31401 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31403 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31404 for ac_func in isnanl
31405 do :
31406 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31407 if test "x$ac_cv_func_isnanl" = x""yes; then :
31408 cat >>confdefs.h <<_ACEOF
31409 #define HAVE_ISNANL 1
31410 _ACEOF
31413 done
31415 else
31417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31418 $as_echo_n "checking for _isnanl declaration... " >&6; }
31419 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31420 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31421 $as_echo_n "(cached) " >&6
31422 else
31425 ac_ext=cpp
31426 ac_cpp='$CXXCPP $CPPFLAGS'
31427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31432 /* end confdefs.h. */
31433 #include <math.h>
31434 #ifdef HAVE_IEEEFP_H
31435 #include <ieeefp.h>
31436 #endif
31439 main ()
31441 _isnanl(0);
31443 return 0;
31445 _ACEOF
31446 if ac_fn_cxx_try_compile "$LINENO"; then :
31447 glibcxx_cv_func__isnanl_use=yes
31448 else
31449 glibcxx_cv_func__isnanl_use=no
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31452 ac_ext=c
31453 ac_cpp='$CPP $CPPFLAGS'
31454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31463 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31465 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31466 for ac_func in _isnanl
31467 do :
31468 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31469 if test "x$ac_cv_func__isnanl" = x""yes; then :
31470 cat >>confdefs.h <<_ACEOF
31471 #define HAVE__ISNANL 1
31472 _ACEOF
31475 done
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31485 $as_echo_n "checking for isinfl declaration... " >&6; }
31486 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31487 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31488 $as_echo_n "(cached) " >&6
31489 else
31492 ac_ext=cpp
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 /* end confdefs.h. */
31500 #include <math.h>
31501 #ifdef HAVE_IEEEFP_H
31502 #include <ieeefp.h>
31503 #endif
31506 main ()
31508 isinfl(0);
31510 return 0;
31512 _ACEOF
31513 if ac_fn_cxx_try_compile "$LINENO"; then :
31514 glibcxx_cv_func_isinfl_use=yes
31515 else
31516 glibcxx_cv_func_isinfl_use=no
31518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31519 ac_ext=c
31520 ac_cpp='$CPP $CPPFLAGS'
31521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31530 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31532 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31533 for ac_func in isinfl
31534 do :
31535 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31536 if test "x$ac_cv_func_isinfl" = x""yes; then :
31537 cat >>confdefs.h <<_ACEOF
31538 #define HAVE_ISINFL 1
31539 _ACEOF
31542 done
31544 else
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31547 $as_echo_n "checking for _isinfl declaration... " >&6; }
31548 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31549 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31550 $as_echo_n "(cached) " >&6
31551 else
31554 ac_ext=cpp
31555 ac_cpp='$CXXCPP $CPPFLAGS'
31556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31561 /* end confdefs.h. */
31562 #include <math.h>
31563 #ifdef HAVE_IEEEFP_H
31564 #include <ieeefp.h>
31565 #endif
31568 main ()
31570 _isinfl(0);
31572 return 0;
31574 _ACEOF
31575 if ac_fn_cxx_try_compile "$LINENO"; then :
31576 glibcxx_cv_func__isinfl_use=yes
31577 else
31578 glibcxx_cv_func__isinfl_use=no
31580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31581 ac_ext=c
31582 ac_cpp='$CPP $CPPFLAGS'
31583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31592 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31594 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31595 for ac_func in _isinfl
31596 do :
31597 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31598 if test "x$ac_cv_func__isinfl" = x""yes; then :
31599 cat >>confdefs.h <<_ACEOF
31600 #define HAVE__ISINFL 1
31601 _ACEOF
31604 done
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31614 $as_echo_n "checking for atan2l declaration... " >&6; }
31615 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31616 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31617 $as_echo_n "(cached) " >&6
31618 else
31621 ac_ext=cpp
31622 ac_cpp='$CXXCPP $CPPFLAGS'
31623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31628 /* end confdefs.h. */
31629 #include <math.h>
31631 main ()
31633 atan2l(0, 0);
31635 return 0;
31637 _ACEOF
31638 if ac_fn_cxx_try_compile "$LINENO"; then :
31639 glibcxx_cv_func_atan2l_use=yes
31640 else
31641 glibcxx_cv_func_atan2l_use=no
31643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31644 ac_ext=c
31645 ac_cpp='$CPP $CPPFLAGS'
31646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31655 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31657 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31658 for ac_func in atan2l
31659 do :
31660 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31661 if test "x$ac_cv_func_atan2l" = x""yes; then :
31662 cat >>confdefs.h <<_ACEOF
31663 #define HAVE_ATAN2L 1
31664 _ACEOF
31667 done
31669 else
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31672 $as_echo_n "checking for _atan2l declaration... " >&6; }
31673 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31674 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31675 $as_echo_n "(cached) " >&6
31676 else
31679 ac_ext=cpp
31680 ac_cpp='$CXXCPP $CPPFLAGS'
31681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31686 /* end confdefs.h. */
31687 #include <math.h>
31689 main ()
31691 _atan2l(0, 0);
31693 return 0;
31695 _ACEOF
31696 if ac_fn_cxx_try_compile "$LINENO"; then :
31697 glibcxx_cv_func__atan2l_use=yes
31698 else
31699 glibcxx_cv_func__atan2l_use=no
31701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31702 ac_ext=c
31703 ac_cpp='$CPP $CPPFLAGS'
31704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31713 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31715 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31716 for ac_func in _atan2l
31717 do :
31718 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31719 if test "x$ac_cv_func__atan2l" = x""yes; then :
31720 cat >>confdefs.h <<_ACEOF
31721 #define HAVE__ATAN2L 1
31722 _ACEOF
31725 done
31734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31735 $as_echo_n "checking for expl declaration... " >&6; }
31736 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31737 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31738 $as_echo_n "(cached) " >&6
31739 else
31742 ac_ext=cpp
31743 ac_cpp='$CXXCPP $CPPFLAGS'
31744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h. */
31750 #include <math.h>
31751 #ifdef HAVE_IEEEFP_H
31752 #include <ieeefp.h>
31753 #endif
31756 main ()
31758 expl(0);
31760 return 0;
31762 _ACEOF
31763 if ac_fn_cxx_try_compile "$LINENO"; then :
31764 glibcxx_cv_func_expl_use=yes
31765 else
31766 glibcxx_cv_func_expl_use=no
31768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31769 ac_ext=c
31770 ac_cpp='$CPP $CPPFLAGS'
31771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31780 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31782 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31783 for ac_func in expl
31784 do :
31785 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31786 if test "x$ac_cv_func_expl" = x""yes; then :
31787 cat >>confdefs.h <<_ACEOF
31788 #define HAVE_EXPL 1
31789 _ACEOF
31792 done
31794 else
31796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31797 $as_echo_n "checking for _expl declaration... " >&6; }
31798 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31799 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31800 $as_echo_n "(cached) " >&6
31801 else
31804 ac_ext=cpp
31805 ac_cpp='$CXXCPP $CPPFLAGS'
31806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31811 /* end confdefs.h. */
31812 #include <math.h>
31813 #ifdef HAVE_IEEEFP_H
31814 #include <ieeefp.h>
31815 #endif
31818 main ()
31820 _expl(0);
31822 return 0;
31824 _ACEOF
31825 if ac_fn_cxx_try_compile "$LINENO"; then :
31826 glibcxx_cv_func__expl_use=yes
31827 else
31828 glibcxx_cv_func__expl_use=no
31830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31831 ac_ext=c
31832 ac_cpp='$CPP $CPPFLAGS'
31833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31842 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31844 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31845 for ac_func in _expl
31846 do :
31847 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31848 if test "x$ac_cv_func__expl" = x""yes; then :
31849 cat >>confdefs.h <<_ACEOF
31850 #define HAVE__EXPL 1
31851 _ACEOF
31854 done
31863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31864 $as_echo_n "checking for fabsl declaration... " >&6; }
31865 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31866 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31867 $as_echo_n "(cached) " >&6
31868 else
31871 ac_ext=cpp
31872 ac_cpp='$CXXCPP $CPPFLAGS'
31873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31878 /* end confdefs.h. */
31879 #include <math.h>
31880 #ifdef HAVE_IEEEFP_H
31881 #include <ieeefp.h>
31882 #endif
31885 main ()
31887 fabsl(0);
31889 return 0;
31891 _ACEOF
31892 if ac_fn_cxx_try_compile "$LINENO"; then :
31893 glibcxx_cv_func_fabsl_use=yes
31894 else
31895 glibcxx_cv_func_fabsl_use=no
31897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31898 ac_ext=c
31899 ac_cpp='$CPP $CPPFLAGS'
31900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31909 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31911 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31912 for ac_func in fabsl
31913 do :
31914 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31915 if test "x$ac_cv_func_fabsl" = x""yes; then :
31916 cat >>confdefs.h <<_ACEOF
31917 #define HAVE_FABSL 1
31918 _ACEOF
31921 done
31923 else
31925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31926 $as_echo_n "checking for _fabsl declaration... " >&6; }
31927 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31928 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31929 $as_echo_n "(cached) " >&6
31930 else
31933 ac_ext=cpp
31934 ac_cpp='$CXXCPP $CPPFLAGS'
31935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31940 /* end confdefs.h. */
31941 #include <math.h>
31942 #ifdef HAVE_IEEEFP_H
31943 #include <ieeefp.h>
31944 #endif
31947 main ()
31949 _fabsl(0);
31951 return 0;
31953 _ACEOF
31954 if ac_fn_cxx_try_compile "$LINENO"; then :
31955 glibcxx_cv_func__fabsl_use=yes
31956 else
31957 glibcxx_cv_func__fabsl_use=no
31959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31960 ac_ext=c
31961 ac_cpp='$CPP $CPPFLAGS'
31962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31971 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31973 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31974 for ac_func in _fabsl
31975 do :
31976 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31977 if test "x$ac_cv_func__fabsl" = x""yes; then :
31978 cat >>confdefs.h <<_ACEOF
31979 #define HAVE__FABSL 1
31980 _ACEOF
31983 done
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31993 $as_echo_n "checking for fmodl declaration... " >&6; }
31994 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31995 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31996 $as_echo_n "(cached) " >&6
31997 else
32000 ac_ext=cpp
32001 ac_cpp='$CXXCPP $CPPFLAGS'
32002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32007 /* end confdefs.h. */
32008 #include <math.h>
32010 main ()
32012 fmodl(0, 0);
32014 return 0;
32016 _ACEOF
32017 if ac_fn_cxx_try_compile "$LINENO"; then :
32018 glibcxx_cv_func_fmodl_use=yes
32019 else
32020 glibcxx_cv_func_fmodl_use=no
32022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32023 ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32034 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32036 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32037 for ac_func in fmodl
32038 do :
32039 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32040 if test "x$ac_cv_func_fmodl" = x""yes; then :
32041 cat >>confdefs.h <<_ACEOF
32042 #define HAVE_FMODL 1
32043 _ACEOF
32046 done
32048 else
32050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32051 $as_echo_n "checking for _fmodl declaration... " >&6; }
32052 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32053 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32054 $as_echo_n "(cached) " >&6
32055 else
32058 ac_ext=cpp
32059 ac_cpp='$CXXCPP $CPPFLAGS'
32060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32065 /* end confdefs.h. */
32066 #include <math.h>
32068 main ()
32070 _fmodl(0, 0);
32072 return 0;
32074 _ACEOF
32075 if ac_fn_cxx_try_compile "$LINENO"; then :
32076 glibcxx_cv_func__fmodl_use=yes
32077 else
32078 glibcxx_cv_func__fmodl_use=no
32080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32081 ac_ext=c
32082 ac_cpp='$CPP $CPPFLAGS'
32083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32092 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32094 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32095 for ac_func in _fmodl
32096 do :
32097 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32098 if test "x$ac_cv_func__fmodl" = x""yes; then :
32099 cat >>confdefs.h <<_ACEOF
32100 #define HAVE__FMODL 1
32101 _ACEOF
32104 done
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32114 $as_echo_n "checking for frexpl declaration... " >&6; }
32115 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32116 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32117 $as_echo_n "(cached) " >&6
32118 else
32121 ac_ext=cpp
32122 ac_cpp='$CXXCPP $CPPFLAGS'
32123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32128 /* end confdefs.h. */
32129 #include <math.h>
32131 main ()
32133 frexpl(0, 0);
32135 return 0;
32137 _ACEOF
32138 if ac_fn_cxx_try_compile "$LINENO"; then :
32139 glibcxx_cv_func_frexpl_use=yes
32140 else
32141 glibcxx_cv_func_frexpl_use=no
32143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32144 ac_ext=c
32145 ac_cpp='$CPP $CPPFLAGS'
32146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32155 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32157 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32158 for ac_func in frexpl
32159 do :
32160 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32161 if test "x$ac_cv_func_frexpl" = x""yes; then :
32162 cat >>confdefs.h <<_ACEOF
32163 #define HAVE_FREXPL 1
32164 _ACEOF
32167 done
32169 else
32171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32172 $as_echo_n "checking for _frexpl declaration... " >&6; }
32173 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32174 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32175 $as_echo_n "(cached) " >&6
32176 else
32179 ac_ext=cpp
32180 ac_cpp='$CXXCPP $CPPFLAGS'
32181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32186 /* end confdefs.h. */
32187 #include <math.h>
32189 main ()
32191 _frexpl(0, 0);
32193 return 0;
32195 _ACEOF
32196 if ac_fn_cxx_try_compile "$LINENO"; then :
32197 glibcxx_cv_func__frexpl_use=yes
32198 else
32199 glibcxx_cv_func__frexpl_use=no
32201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32202 ac_ext=c
32203 ac_cpp='$CPP $CPPFLAGS'
32204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32213 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32215 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32216 for ac_func in _frexpl
32217 do :
32218 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32219 if test "x$ac_cv_func__frexpl" = x""yes; then :
32220 cat >>confdefs.h <<_ACEOF
32221 #define HAVE__FREXPL 1
32222 _ACEOF
32225 done
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32235 $as_echo_n "checking for hypotl declaration... " >&6; }
32236 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32237 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32238 $as_echo_n "(cached) " >&6
32239 else
32242 ac_ext=cpp
32243 ac_cpp='$CXXCPP $CPPFLAGS'
32244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32249 /* end confdefs.h. */
32250 #include <math.h>
32252 main ()
32254 hypotl(0, 0);
32256 return 0;
32258 _ACEOF
32259 if ac_fn_cxx_try_compile "$LINENO"; then :
32260 glibcxx_cv_func_hypotl_use=yes
32261 else
32262 glibcxx_cv_func_hypotl_use=no
32264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32265 ac_ext=c
32266 ac_cpp='$CPP $CPPFLAGS'
32267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32276 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32278 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32279 for ac_func in hypotl
32280 do :
32281 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32282 if test "x$ac_cv_func_hypotl" = x""yes; then :
32283 cat >>confdefs.h <<_ACEOF
32284 #define HAVE_HYPOTL 1
32285 _ACEOF
32288 done
32290 else
32292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32293 $as_echo_n "checking for _hypotl declaration... " >&6; }
32294 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32295 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32296 $as_echo_n "(cached) " >&6
32297 else
32300 ac_ext=cpp
32301 ac_cpp='$CXXCPP $CPPFLAGS'
32302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32307 /* end confdefs.h. */
32308 #include <math.h>
32310 main ()
32312 _hypotl(0, 0);
32314 return 0;
32316 _ACEOF
32317 if ac_fn_cxx_try_compile "$LINENO"; then :
32318 glibcxx_cv_func__hypotl_use=yes
32319 else
32320 glibcxx_cv_func__hypotl_use=no
32322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32323 ac_ext=c
32324 ac_cpp='$CPP $CPPFLAGS'
32325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32334 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32336 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32337 for ac_func in _hypotl
32338 do :
32339 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32340 if test "x$ac_cv_func__hypotl" = x""yes; then :
32341 cat >>confdefs.h <<_ACEOF
32342 #define HAVE__HYPOTL 1
32343 _ACEOF
32346 done
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32356 $as_echo_n "checking for ldexpl declaration... " >&6; }
32357 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32358 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32359 $as_echo_n "(cached) " >&6
32360 else
32363 ac_ext=cpp
32364 ac_cpp='$CXXCPP $CPPFLAGS'
32365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32370 /* end confdefs.h. */
32371 #include <math.h>
32373 main ()
32375 ldexpl(0, 0);
32377 return 0;
32379 _ACEOF
32380 if ac_fn_cxx_try_compile "$LINENO"; then :
32381 glibcxx_cv_func_ldexpl_use=yes
32382 else
32383 glibcxx_cv_func_ldexpl_use=no
32385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32386 ac_ext=c
32387 ac_cpp='$CPP $CPPFLAGS'
32388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32397 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32399 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32400 for ac_func in ldexpl
32401 do :
32402 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32403 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32404 cat >>confdefs.h <<_ACEOF
32405 #define HAVE_LDEXPL 1
32406 _ACEOF
32409 done
32411 else
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32414 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32415 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32416 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32417 $as_echo_n "(cached) " >&6
32418 else
32421 ac_ext=cpp
32422 ac_cpp='$CXXCPP $CPPFLAGS'
32423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32428 /* end confdefs.h. */
32429 #include <math.h>
32431 main ()
32433 _ldexpl(0, 0);
32435 return 0;
32437 _ACEOF
32438 if ac_fn_cxx_try_compile "$LINENO"; then :
32439 glibcxx_cv_func__ldexpl_use=yes
32440 else
32441 glibcxx_cv_func__ldexpl_use=no
32443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32444 ac_ext=c
32445 ac_cpp='$CPP $CPPFLAGS'
32446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32455 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32457 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32458 for ac_func in _ldexpl
32459 do :
32460 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32461 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32462 cat >>confdefs.h <<_ACEOF
32463 #define HAVE__LDEXPL 1
32464 _ACEOF
32467 done
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32477 $as_echo_n "checking for logl declaration... " >&6; }
32478 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32479 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32480 $as_echo_n "(cached) " >&6
32481 else
32484 ac_ext=cpp
32485 ac_cpp='$CXXCPP $CPPFLAGS'
32486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32491 /* end confdefs.h. */
32492 #include <math.h>
32493 #ifdef HAVE_IEEEFP_H
32494 #include <ieeefp.h>
32495 #endif
32498 main ()
32500 logl(0);
32502 return 0;
32504 _ACEOF
32505 if ac_fn_cxx_try_compile "$LINENO"; then :
32506 glibcxx_cv_func_logl_use=yes
32507 else
32508 glibcxx_cv_func_logl_use=no
32510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32511 ac_ext=c
32512 ac_cpp='$CPP $CPPFLAGS'
32513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32522 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32524 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32525 for ac_func in logl
32526 do :
32527 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32528 if test "x$ac_cv_func_logl" = x""yes; then :
32529 cat >>confdefs.h <<_ACEOF
32530 #define HAVE_LOGL 1
32531 _ACEOF
32534 done
32536 else
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32539 $as_echo_n "checking for _logl declaration... " >&6; }
32540 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32541 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32542 $as_echo_n "(cached) " >&6
32543 else
32546 ac_ext=cpp
32547 ac_cpp='$CXXCPP $CPPFLAGS'
32548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32553 /* end confdefs.h. */
32554 #include <math.h>
32555 #ifdef HAVE_IEEEFP_H
32556 #include <ieeefp.h>
32557 #endif
32560 main ()
32562 _logl(0);
32564 return 0;
32566 _ACEOF
32567 if ac_fn_cxx_try_compile "$LINENO"; then :
32568 glibcxx_cv_func__logl_use=yes
32569 else
32570 glibcxx_cv_func__logl_use=no
32572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32573 ac_ext=c
32574 ac_cpp='$CPP $CPPFLAGS'
32575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32584 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32586 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32587 for ac_func in _logl
32588 do :
32589 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32590 if test "x$ac_cv_func__logl" = x""yes; then :
32591 cat >>confdefs.h <<_ACEOF
32592 #define HAVE__LOGL 1
32593 _ACEOF
32596 done
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32606 $as_echo_n "checking for log10l declaration... " >&6; }
32607 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32608 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32609 $as_echo_n "(cached) " >&6
32610 else
32613 ac_ext=cpp
32614 ac_cpp='$CXXCPP $CPPFLAGS'
32615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32620 /* end confdefs.h. */
32621 #include <math.h>
32622 #ifdef HAVE_IEEEFP_H
32623 #include <ieeefp.h>
32624 #endif
32627 main ()
32629 log10l(0);
32631 return 0;
32633 _ACEOF
32634 if ac_fn_cxx_try_compile "$LINENO"; then :
32635 glibcxx_cv_func_log10l_use=yes
32636 else
32637 glibcxx_cv_func_log10l_use=no
32639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32640 ac_ext=c
32641 ac_cpp='$CPP $CPPFLAGS'
32642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32651 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32654 for ac_func in log10l
32655 do :
32656 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32657 if test "x$ac_cv_func_log10l" = x""yes; then :
32658 cat >>confdefs.h <<_ACEOF
32659 #define HAVE_LOG10L 1
32660 _ACEOF
32663 done
32665 else
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32668 $as_echo_n "checking for _log10l declaration... " >&6; }
32669 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32670 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32671 $as_echo_n "(cached) " >&6
32672 else
32675 ac_ext=cpp
32676 ac_cpp='$CXXCPP $CPPFLAGS'
32677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32682 /* end confdefs.h. */
32683 #include <math.h>
32684 #ifdef HAVE_IEEEFP_H
32685 #include <ieeefp.h>
32686 #endif
32689 main ()
32691 _log10l(0);
32693 return 0;
32695 _ACEOF
32696 if ac_fn_cxx_try_compile "$LINENO"; then :
32697 glibcxx_cv_func__log10l_use=yes
32698 else
32699 glibcxx_cv_func__log10l_use=no
32701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32702 ac_ext=c
32703 ac_cpp='$CPP $CPPFLAGS'
32704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32713 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32715 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32716 for ac_func in _log10l
32717 do :
32718 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32719 if test "x$ac_cv_func__log10l" = x""yes; then :
32720 cat >>confdefs.h <<_ACEOF
32721 #define HAVE__LOG10L 1
32722 _ACEOF
32725 done
32734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32735 $as_echo_n "checking for modfl declaration... " >&6; }
32736 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32737 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32738 $as_echo_n "(cached) " >&6
32739 else
32742 ac_ext=cpp
32743 ac_cpp='$CXXCPP $CPPFLAGS'
32744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32749 /* end confdefs.h. */
32750 #include <math.h>
32752 main ()
32754 modfl(0, 0);
32756 return 0;
32758 _ACEOF
32759 if ac_fn_cxx_try_compile "$LINENO"; then :
32760 glibcxx_cv_func_modfl_use=yes
32761 else
32762 glibcxx_cv_func_modfl_use=no
32764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32765 ac_ext=c
32766 ac_cpp='$CPP $CPPFLAGS'
32767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32776 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32778 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32779 for ac_func in modfl
32780 do :
32781 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32782 if test "x$ac_cv_func_modfl" = x""yes; then :
32783 cat >>confdefs.h <<_ACEOF
32784 #define HAVE_MODFL 1
32785 _ACEOF
32788 done
32790 else
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32793 $as_echo_n "checking for _modfl declaration... " >&6; }
32794 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32795 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32796 $as_echo_n "(cached) " >&6
32797 else
32800 ac_ext=cpp
32801 ac_cpp='$CXXCPP $CPPFLAGS'
32802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32807 /* end confdefs.h. */
32808 #include <math.h>
32810 main ()
32812 _modfl(0, 0);
32814 return 0;
32816 _ACEOF
32817 if ac_fn_cxx_try_compile "$LINENO"; then :
32818 glibcxx_cv_func__modfl_use=yes
32819 else
32820 glibcxx_cv_func__modfl_use=no
32822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32823 ac_ext=c
32824 ac_cpp='$CPP $CPPFLAGS'
32825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32834 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32836 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32837 for ac_func in _modfl
32838 do :
32839 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32840 if test "x$ac_cv_func__modfl" = x""yes; then :
32841 cat >>confdefs.h <<_ACEOF
32842 #define HAVE__MODFL 1
32843 _ACEOF
32846 done
32855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32856 $as_echo_n "checking for powl declaration... " >&6; }
32857 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32858 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32859 $as_echo_n "(cached) " >&6
32860 else
32863 ac_ext=cpp
32864 ac_cpp='$CXXCPP $CPPFLAGS'
32865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32870 /* end confdefs.h. */
32871 #include <math.h>
32873 main ()
32875 powl(0, 0);
32877 return 0;
32879 _ACEOF
32880 if ac_fn_cxx_try_compile "$LINENO"; then :
32881 glibcxx_cv_func_powl_use=yes
32882 else
32883 glibcxx_cv_func_powl_use=no
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32886 ac_ext=c
32887 ac_cpp='$CPP $CPPFLAGS'
32888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32897 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32899 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32900 for ac_func in powl
32901 do :
32902 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32903 if test "x$ac_cv_func_powl" = x""yes; then :
32904 cat >>confdefs.h <<_ACEOF
32905 #define HAVE_POWL 1
32906 _ACEOF
32909 done
32911 else
32913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32914 $as_echo_n "checking for _powl declaration... " >&6; }
32915 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32916 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32917 $as_echo_n "(cached) " >&6
32918 else
32921 ac_ext=cpp
32922 ac_cpp='$CXXCPP $CPPFLAGS'
32923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32928 /* end confdefs.h. */
32929 #include <math.h>
32931 main ()
32933 _powl(0, 0);
32935 return 0;
32937 _ACEOF
32938 if ac_fn_cxx_try_compile "$LINENO"; then :
32939 glibcxx_cv_func__powl_use=yes
32940 else
32941 glibcxx_cv_func__powl_use=no
32943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32944 ac_ext=c
32945 ac_cpp='$CPP $CPPFLAGS'
32946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32955 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32957 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32958 for ac_func in _powl
32959 do :
32960 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32961 if test "x$ac_cv_func__powl" = x""yes; then :
32962 cat >>confdefs.h <<_ACEOF
32963 #define HAVE__POWL 1
32964 _ACEOF
32967 done
32976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32977 $as_echo_n "checking for sqrtl declaration... " >&6; }
32978 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32979 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32980 $as_echo_n "(cached) " >&6
32981 else
32984 ac_ext=cpp
32985 ac_cpp='$CXXCPP $CPPFLAGS'
32986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32991 /* end confdefs.h. */
32992 #include <math.h>
32993 #ifdef HAVE_IEEEFP_H
32994 #include <ieeefp.h>
32995 #endif
32998 main ()
33000 sqrtl(0);
33002 return 0;
33004 _ACEOF
33005 if ac_fn_cxx_try_compile "$LINENO"; then :
33006 glibcxx_cv_func_sqrtl_use=yes
33007 else
33008 glibcxx_cv_func_sqrtl_use=no
33010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33011 ac_ext=c
33012 ac_cpp='$CPP $CPPFLAGS'
33013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33022 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33024 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33025 for ac_func in sqrtl
33026 do :
33027 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33028 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33029 cat >>confdefs.h <<_ACEOF
33030 #define HAVE_SQRTL 1
33031 _ACEOF
33034 done
33036 else
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33039 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33040 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33041 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33042 $as_echo_n "(cached) " >&6
33043 else
33046 ac_ext=cpp
33047 ac_cpp='$CXXCPP $CPPFLAGS'
33048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33053 /* end confdefs.h. */
33054 #include <math.h>
33055 #ifdef HAVE_IEEEFP_H
33056 #include <ieeefp.h>
33057 #endif
33060 main ()
33062 _sqrtl(0);
33064 return 0;
33066 _ACEOF
33067 if ac_fn_cxx_try_compile "$LINENO"; then :
33068 glibcxx_cv_func__sqrtl_use=yes
33069 else
33070 glibcxx_cv_func__sqrtl_use=no
33072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33073 ac_ext=c
33074 ac_cpp='$CPP $CPPFLAGS'
33075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33084 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33086 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33087 for ac_func in _sqrtl
33088 do :
33089 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33090 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33091 cat >>confdefs.h <<_ACEOF
33092 #define HAVE__SQRTL 1
33093 _ACEOF
33096 done
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33106 $as_echo_n "checking for sincosl declaration... " >&6; }
33107 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33108 if test "${glibcxx_cv_func_sincosl_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 <math.h>
33123 main ()
33125 sincosl(0, 0, 0);
33127 return 0;
33129 _ACEOF
33130 if ac_fn_cxx_try_compile "$LINENO"; then :
33131 glibcxx_cv_func_sincosl_use=yes
33132 else
33133 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
33147 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33149 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33150 for ac_func in sincosl
33151 do :
33152 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33153 if test "x$ac_cv_func_sincosl" = x""yes; then :
33154 cat >>confdefs.h <<_ACEOF
33155 #define HAVE_SINCOSL 1
33156 _ACEOF
33159 done
33161 else
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33164 $as_echo_n "checking for _sincosl declaration... " >&6; }
33165 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33166 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33167 $as_echo_n "(cached) " >&6
33168 else
33171 ac_ext=cpp
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33178 /* end confdefs.h. */
33179 #include <math.h>
33181 main ()
33183 _sincosl(0, 0, 0);
33185 return 0;
33187 _ACEOF
33188 if ac_fn_cxx_try_compile "$LINENO"; then :
33189 glibcxx_cv_func__sincosl_use=yes
33190 else
33191 glibcxx_cv_func__sincosl_use=no
33193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33194 ac_ext=c
33195 ac_cpp='$CPP $CPPFLAGS'
33196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33205 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33207 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33208 for ac_func in _sincosl
33209 do :
33210 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33211 if test "x$ac_cv_func__sincosl" = x""yes; then :
33212 cat >>confdefs.h <<_ACEOF
33213 #define HAVE__SINCOSL 1
33214 _ACEOF
33217 done
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33227 $as_echo_n "checking for finitel declaration... " >&6; }
33228 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33229 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33230 $as_echo_n "(cached) " >&6
33231 else
33234 ac_ext=cpp
33235 ac_cpp='$CXXCPP $CPPFLAGS'
33236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33241 /* end confdefs.h. */
33242 #include <math.h>
33243 #ifdef HAVE_IEEEFP_H
33244 #include <ieeefp.h>
33245 #endif
33248 main ()
33250 finitel(0);
33252 return 0;
33254 _ACEOF
33255 if ac_fn_cxx_try_compile "$LINENO"; then :
33256 glibcxx_cv_func_finitel_use=yes
33257 else
33258 glibcxx_cv_func_finitel_use=no
33260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33261 ac_ext=c
33262 ac_cpp='$CPP $CPPFLAGS'
33263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33272 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33274 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33275 for ac_func in finitel
33276 do :
33277 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33278 if test "x$ac_cv_func_finitel" = x""yes; then :
33279 cat >>confdefs.h <<_ACEOF
33280 #define HAVE_FINITEL 1
33281 _ACEOF
33284 done
33286 else
33288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33289 $as_echo_n "checking for _finitel declaration... " >&6; }
33290 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33291 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33292 $as_echo_n "(cached) " >&6
33293 else
33296 ac_ext=cpp
33297 ac_cpp='$CXXCPP $CPPFLAGS'
33298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33303 /* end confdefs.h. */
33304 #include <math.h>
33305 #ifdef HAVE_IEEEFP_H
33306 #include <ieeefp.h>
33307 #endif
33310 main ()
33312 _finitel(0);
33314 return 0;
33316 _ACEOF
33317 if ac_fn_cxx_try_compile "$LINENO"; then :
33318 glibcxx_cv_func__finitel_use=yes
33319 else
33320 glibcxx_cv_func__finitel_use=no
33322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33323 ac_ext=c
33324 ac_cpp='$CPP $CPPFLAGS'
33325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33334 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33336 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33337 for ac_func in _finitel
33338 do :
33339 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33340 if test "x$ac_cv_func__finitel" = x""yes; then :
33341 cat >>confdefs.h <<_ACEOF
33342 #define HAVE__FINITEL 1
33343 _ACEOF
33346 done
33354 LIBS="$ac_save_LIBS"
33355 CXXFLAGS="$ac_save_CXXFLAGS"
33358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33359 ac_save_CXXFLAGS="$CXXFLAGS"
33360 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33364 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33365 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33366 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33367 $as_echo_n "(cached) " >&6
33368 else
33371 ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h. */
33379 #include <stdlib.h>
33381 main ()
33383 at_quick_exit(0);
33385 return 0;
33387 _ACEOF
33388 if ac_fn_cxx_try_compile "$LINENO"; then :
33389 glibcxx_cv_func_at_quick_exit_use=yes
33390 else
33391 glibcxx_cv_func_at_quick_exit_use=no
33393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33394 ac_ext=c
33395 ac_cpp='$CPP $CPPFLAGS'
33396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33405 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33406 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33407 for ac_func in at_quick_exit
33408 do :
33409 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33410 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33411 cat >>confdefs.h <<_ACEOF
33412 #define HAVE_AT_QUICK_EXIT 1
33413 _ACEOF
33416 done
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33422 $as_echo_n "checking for quick_exit declaration... " >&6; }
33423 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33424 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33425 $as_echo_n "(cached) " >&6
33426 else
33429 ac_ext=cpp
33430 ac_cpp='$CXXCPP $CPPFLAGS'
33431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33436 /* end confdefs.h. */
33437 #include <stdlib.h>
33439 main ()
33441 quick_exit(0);
33443 return 0;
33445 _ACEOF
33446 if ac_fn_cxx_try_compile "$LINENO"; then :
33447 glibcxx_cv_func_quick_exit_use=yes
33448 else
33449 glibcxx_cv_func_quick_exit_use=no
33451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33452 ac_ext=c
33453 ac_cpp='$CPP $CPPFLAGS'
33454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33463 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33464 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33465 for ac_func in quick_exit
33466 do :
33467 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33468 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33469 cat >>confdefs.h <<_ACEOF
33470 #define HAVE_QUICK_EXIT 1
33471 _ACEOF
33474 done
33479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33480 $as_echo_n "checking for strtold declaration... " >&6; }
33481 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33482 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33483 $as_echo_n "(cached) " >&6
33484 else
33487 ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h. */
33495 #include <stdlib.h>
33497 main ()
33499 strtold(0, 0);
33501 return 0;
33503 _ACEOF
33504 if ac_fn_cxx_try_compile "$LINENO"; then :
33505 glibcxx_cv_func_strtold_use=yes
33506 else
33507 glibcxx_cv_func_strtold_use=no
33509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33510 ac_ext=c
33511 ac_cpp='$CPP $CPPFLAGS'
33512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33521 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33522 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33523 for ac_func in strtold
33524 do :
33525 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33526 if test "x$ac_cv_func_strtold" = x""yes; then :
33527 cat >>confdefs.h <<_ACEOF
33528 #define HAVE_STRTOLD 1
33529 _ACEOF
33532 done
33539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33540 $as_echo_n "checking for strtof declaration... " >&6; }
33541 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33542 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33543 $as_echo_n "(cached) " >&6
33544 else
33547 ac_ext=cpp
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33554 /* end confdefs.h. */
33555 #include <stdlib.h>
33557 main ()
33559 strtof(0, 0);
33561 return 0;
33563 _ACEOF
33564 if ac_fn_cxx_try_compile "$LINENO"; then :
33565 glibcxx_cv_func_strtof_use=yes
33566 else
33567 glibcxx_cv_func_strtof_use=no
33569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33570 ac_ext=c
33571 ac_cpp='$CPP $CPPFLAGS'
33572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33581 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33582 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33583 for ac_func in strtof
33584 do :
33585 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33586 if test "x$ac_cv_func_strtof" = x""yes; then :
33587 cat >>confdefs.h <<_ACEOF
33588 #define HAVE_STRTOF 1
33589 _ACEOF
33592 done
33599 CXXFLAGS="$ac_save_CXXFLAGS"
33602 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33604 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33606 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33608 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33611 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33613 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33615 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33619 *-aix*)
33621 # If we're not using GNU ld, then there's no point in even trying these
33622 # tests. Check for that first. We should have already tested for gld
33623 # by now (in libtool), but require it now just to be safe...
33624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33629 # The name set by libtool depends on the version of libtool. Shame on us
33630 # for depending on an impl detail, but c'est la vie. Older versions used
33631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33634 # set (hence we're using an older libtool), then set it.
33635 if test x${with_gnu_ld+set} != xset; then
33636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33638 with_gnu_ld=no
33639 else
33640 with_gnu_ld=$ac_cv_prog_gnu_ld
33644 # Start by getting the version number. I think the libtool test already
33645 # does some of this, but throws away the result.
33646 glibcxx_ld_is_gold=no
33647 if test x"$with_gnu_ld" = x"yes"; then
33648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33649 $as_echo_n "checking for ld version... " >&6; }
33651 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33652 glibcxx_ld_is_gold=yes
33654 ldver=`$LD --version 2>/dev/null |
33655 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'`
33657 glibcxx_gnu_ld_version=`echo $ldver | \
33658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33660 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33663 # Set --gc-sections.
33664 glibcxx_have_gc_sections=no
33665 if test "$glibcxx_ld_is_gold" = "yes"; then
33666 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33667 glibcxx_have_gc_sections=yes
33669 else
33670 glibcxx_gcsections_min_ld=21602
33671 if test x"$with_gnu_ld" = x"yes" &&
33672 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33673 glibcxx_have_gc_sections=yes
33676 if test "$glibcxx_have_gc_sections" = "yes"; then
33677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33678 # NB: This flag only works reliably after 2.16.1. Configure tests
33679 # for this are difficult, so hard wire a value that should work.
33681 ac_test_CFLAGS="${CFLAGS+set}"
33682 ac_save_CFLAGS="$CFLAGS"
33683 CFLAGS='-Wl,--gc-sections'
33685 # Check for -Wl,--gc-sections
33686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33687 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33688 if test x$gcc_no_link = xyes; then
33689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33692 /* end confdefs.h. */
33693 int one(void) { return 1; }
33694 int two(void) { return 2; }
33697 main ()
33699 two();
33701 return 0;
33703 _ACEOF
33704 if ac_fn_c_try_link "$LINENO"; then :
33705 ac_gcsections=yes
33706 else
33707 ac_gcsections=no
33709 rm -f core conftest.err conftest.$ac_objext \
33710 conftest$ac_exeext conftest.$ac_ext
33711 if test "$ac_gcsections" = "yes"; then
33712 rm -f conftest.c
33713 touch conftest.c
33714 if $CC -c conftest.c; then
33715 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33716 grep "Warning: gc-sections option ignored" > /dev/null; then
33717 ac_gcsections=no
33720 rm -f conftest.c conftest.o conftest
33722 if test "$ac_gcsections" = "yes"; then
33723 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33726 $as_echo "$ac_gcsections" >&6; }
33728 if test "$ac_test_CFLAGS" = set; then
33729 CFLAGS="$ac_save_CFLAGS"
33730 else
33731 # this is the suspicious part
33732 CFLAGS=''
33736 # Set -z,relro.
33737 # Note this is only for shared objects.
33738 ac_ld_relro=no
33739 if test x"$with_gnu_ld" = x"yes"; then
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33741 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33742 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33743 if test -n "$cxx_z_relo"; then
33744 OPT_LDFLAGS="-Wl,-z,relro"
33745 ac_ld_relro=yes
33747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33748 $as_echo "$ac_ld_relro" >&6; }
33751 # Set linker optimization flags.
33752 if test x"$with_gnu_ld" = x"yes"; then
33753 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33761 ac_save_CXXFLAGS="$CXXFLAGS"
33762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33765 $as_echo_n "checking for sin in -lm... " >&6; }
33766 if test "${ac_cv_lib_m_sin+set}" = set; then :
33767 $as_echo_n "(cached) " >&6
33768 else
33769 ac_check_lib_save_LIBS=$LIBS
33770 LIBS="-lm $LIBS"
33771 if test x$gcc_no_link = xyes; then
33772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33775 /* end confdefs.h. */
33777 /* Override any GCC internal prototype to avoid an error.
33778 Use char because int might match the return type of a GCC
33779 builtin and then its argument prototype would still apply. */
33780 #ifdef __cplusplus
33781 extern "C"
33782 #endif
33783 char sin ();
33785 main ()
33787 return sin ();
33789 return 0;
33791 _ACEOF
33792 if ac_fn_c_try_link "$LINENO"; then :
33793 ac_cv_lib_m_sin=yes
33794 else
33795 ac_cv_lib_m_sin=no
33797 rm -f core conftest.err conftest.$ac_objext \
33798 conftest$ac_exeext conftest.$ac_ext
33799 LIBS=$ac_check_lib_save_LIBS
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33802 $as_echo "$ac_cv_lib_m_sin" >&6; }
33803 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33804 libm="-lm"
33807 ac_save_LIBS="$LIBS"
33808 LIBS="$LIBS $libm"
33812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33813 $as_echo_n "checking for isinf declaration... " >&6; }
33814 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33815 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33816 $as_echo_n "(cached) " >&6
33817 else
33820 ac_ext=cpp
33821 ac_cpp='$CXXCPP $CPPFLAGS'
33822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33827 /* end confdefs.h. */
33828 #include <math.h>
33829 #ifdef HAVE_IEEEFP_H
33830 #include <ieeefp.h>
33831 #endif
33834 main ()
33836 isinf(0);
33838 return 0;
33840 _ACEOF
33841 if ac_fn_cxx_try_compile "$LINENO"; then :
33842 glibcxx_cv_func_isinf_use=yes
33843 else
33844 glibcxx_cv_func_isinf_use=no
33846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33847 ac_ext=c
33848 ac_cpp='$CPP $CPPFLAGS'
33849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33858 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33860 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33861 for ac_func in isinf
33862 do :
33863 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33864 if test "x$ac_cv_func_isinf" = x""yes; then :
33865 cat >>confdefs.h <<_ACEOF
33866 #define HAVE_ISINF 1
33867 _ACEOF
33870 done
33872 else
33874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33875 $as_echo_n "checking for _isinf declaration... " >&6; }
33876 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33877 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33878 $as_echo_n "(cached) " >&6
33879 else
33882 ac_ext=cpp
33883 ac_cpp='$CXXCPP $CPPFLAGS'
33884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33889 /* end confdefs.h. */
33890 #include <math.h>
33891 #ifdef HAVE_IEEEFP_H
33892 #include <ieeefp.h>
33893 #endif
33896 main ()
33898 _isinf(0);
33900 return 0;
33902 _ACEOF
33903 if ac_fn_cxx_try_compile "$LINENO"; then :
33904 glibcxx_cv_func__isinf_use=yes
33905 else
33906 glibcxx_cv_func__isinf_use=no
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909 ac_ext=c
33910 ac_cpp='$CPP $CPPFLAGS'
33911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33920 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33922 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33923 for ac_func in _isinf
33924 do :
33925 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33926 if test "x$ac_cv_func__isinf" = x""yes; then :
33927 cat >>confdefs.h <<_ACEOF
33928 #define HAVE__ISINF 1
33929 _ACEOF
33932 done
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33942 $as_echo_n "checking for isnan declaration... " >&6; }
33943 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33944 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33945 $as_echo_n "(cached) " >&6
33946 else
33949 ac_ext=cpp
33950 ac_cpp='$CXXCPP $CPPFLAGS'
33951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33956 /* end confdefs.h. */
33957 #include <math.h>
33958 #ifdef HAVE_IEEEFP_H
33959 #include <ieeefp.h>
33960 #endif
33963 main ()
33965 isnan(0);
33967 return 0;
33969 _ACEOF
33970 if ac_fn_cxx_try_compile "$LINENO"; then :
33971 glibcxx_cv_func_isnan_use=yes
33972 else
33973 glibcxx_cv_func_isnan_use=no
33975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33976 ac_ext=c
33977 ac_cpp='$CPP $CPPFLAGS'
33978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33987 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33989 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33990 for ac_func in isnan
33991 do :
33992 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33993 if test "x$ac_cv_func_isnan" = x""yes; then :
33994 cat >>confdefs.h <<_ACEOF
33995 #define HAVE_ISNAN 1
33996 _ACEOF
33999 done
34001 else
34003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34004 $as_echo_n "checking for _isnan declaration... " >&6; }
34005 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34006 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34007 $as_echo_n "(cached) " >&6
34008 else
34011 ac_ext=cpp
34012 ac_cpp='$CXXCPP $CPPFLAGS'
34013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34018 /* end confdefs.h. */
34019 #include <math.h>
34020 #ifdef HAVE_IEEEFP_H
34021 #include <ieeefp.h>
34022 #endif
34025 main ()
34027 _isnan(0);
34029 return 0;
34031 _ACEOF
34032 if ac_fn_cxx_try_compile "$LINENO"; then :
34033 glibcxx_cv_func__isnan_use=yes
34034 else
34035 glibcxx_cv_func__isnan_use=no
34037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34038 ac_ext=c
34039 ac_cpp='$CPP $CPPFLAGS'
34040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34049 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34051 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34052 for ac_func in _isnan
34053 do :
34054 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34055 if test "x$ac_cv_func__isnan" = x""yes; then :
34056 cat >>confdefs.h <<_ACEOF
34057 #define HAVE__ISNAN 1
34058 _ACEOF
34061 done
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34071 $as_echo_n "checking for finite declaration... " >&6; }
34072 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34073 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34074 $as_echo_n "(cached) " >&6
34075 else
34078 ac_ext=cpp
34079 ac_cpp='$CXXCPP $CPPFLAGS'
34080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34085 /* end confdefs.h. */
34086 #include <math.h>
34087 #ifdef HAVE_IEEEFP_H
34088 #include <ieeefp.h>
34089 #endif
34092 main ()
34094 finite(0);
34096 return 0;
34098 _ACEOF
34099 if ac_fn_cxx_try_compile "$LINENO"; then :
34100 glibcxx_cv_func_finite_use=yes
34101 else
34102 glibcxx_cv_func_finite_use=no
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34105 ac_ext=c
34106 ac_cpp='$CPP $CPPFLAGS'
34107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34116 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34118 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34119 for ac_func in finite
34120 do :
34121 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34122 if test "x$ac_cv_func_finite" = x""yes; then :
34123 cat >>confdefs.h <<_ACEOF
34124 #define HAVE_FINITE 1
34125 _ACEOF
34128 done
34130 else
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34133 $as_echo_n "checking for _finite declaration... " >&6; }
34134 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34135 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34136 $as_echo_n "(cached) " >&6
34137 else
34140 ac_ext=cpp
34141 ac_cpp='$CXXCPP $CPPFLAGS'
34142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34147 /* end confdefs.h. */
34148 #include <math.h>
34149 #ifdef HAVE_IEEEFP_H
34150 #include <ieeefp.h>
34151 #endif
34154 main ()
34156 _finite(0);
34158 return 0;
34160 _ACEOF
34161 if ac_fn_cxx_try_compile "$LINENO"; then :
34162 glibcxx_cv_func__finite_use=yes
34163 else
34164 glibcxx_cv_func__finite_use=no
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34167 ac_ext=c
34168 ac_cpp='$CPP $CPPFLAGS'
34169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34178 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34180 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34181 for ac_func in _finite
34182 do :
34183 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34184 if test "x$ac_cv_func__finite" = x""yes; then :
34185 cat >>confdefs.h <<_ACEOF
34186 #define HAVE__FINITE 1
34187 _ACEOF
34190 done
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34200 $as_echo_n "checking for sincos declaration... " >&6; }
34201 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34202 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34203 $as_echo_n "(cached) " >&6
34204 else
34207 ac_ext=cpp
34208 ac_cpp='$CXXCPP $CPPFLAGS'
34209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34214 /* end confdefs.h. */
34215 #include <math.h>
34217 main ()
34219 sincos(0, 0, 0);
34221 return 0;
34223 _ACEOF
34224 if ac_fn_cxx_try_compile "$LINENO"; then :
34225 glibcxx_cv_func_sincos_use=yes
34226 else
34227 glibcxx_cv_func_sincos_use=no
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34230 ac_ext=c
34231 ac_cpp='$CPP $CPPFLAGS'
34232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34241 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34243 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34244 for ac_func in sincos
34245 do :
34246 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34247 if test "x$ac_cv_func_sincos" = x""yes; then :
34248 cat >>confdefs.h <<_ACEOF
34249 #define HAVE_SINCOS 1
34250 _ACEOF
34253 done
34255 else
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34258 $as_echo_n "checking for _sincos declaration... " >&6; }
34259 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34260 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34261 $as_echo_n "(cached) " >&6
34262 else
34265 ac_ext=cpp
34266 ac_cpp='$CXXCPP $CPPFLAGS'
34267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34272 /* end confdefs.h. */
34273 #include <math.h>
34275 main ()
34277 _sincos(0, 0, 0);
34279 return 0;
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283 glibcxx_cv_func__sincos_use=yes
34284 else
34285 glibcxx_cv_func__sincos_use=no
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34299 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34301 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34302 for ac_func in _sincos
34303 do :
34304 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34305 if test "x$ac_cv_func__sincos" = x""yes; then :
34306 cat >>confdefs.h <<_ACEOF
34307 #define HAVE__SINCOS 1
34308 _ACEOF
34311 done
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34321 $as_echo_n "checking for fpclass declaration... " >&6; }
34322 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34323 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34324 $as_echo_n "(cached) " >&6
34325 else
34328 ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h. */
34336 #include <math.h>
34337 #ifdef HAVE_IEEEFP_H
34338 #include <ieeefp.h>
34339 #endif
34342 main ()
34344 fpclass(0);
34346 return 0;
34348 _ACEOF
34349 if ac_fn_cxx_try_compile "$LINENO"; then :
34350 glibcxx_cv_func_fpclass_use=yes
34351 else
34352 glibcxx_cv_func_fpclass_use=no
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355 ac_ext=c
34356 ac_cpp='$CPP $CPPFLAGS'
34357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34366 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34368 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34369 for ac_func in fpclass
34370 do :
34371 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34372 if test "x$ac_cv_func_fpclass" = x""yes; then :
34373 cat >>confdefs.h <<_ACEOF
34374 #define HAVE_FPCLASS 1
34375 _ACEOF
34378 done
34380 else
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34383 $as_echo_n "checking for _fpclass declaration... " >&6; }
34384 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34385 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34386 $as_echo_n "(cached) " >&6
34387 else
34390 ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34398 #include <math.h>
34399 #ifdef HAVE_IEEEFP_H
34400 #include <ieeefp.h>
34401 #endif
34404 main ()
34406 _fpclass(0);
34408 return 0;
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412 glibcxx_cv_func__fpclass_use=yes
34413 else
34414 glibcxx_cv_func__fpclass_use=no
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417 ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34428 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34430 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34431 for ac_func in _fpclass
34432 do :
34433 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34434 if test "x$ac_cv_func__fpclass" = x""yes; then :
34435 cat >>confdefs.h <<_ACEOF
34436 #define HAVE__FPCLASS 1
34437 _ACEOF
34440 done
34449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34450 $as_echo_n "checking for qfpclass declaration... " >&6; }
34451 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34452 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34453 $as_echo_n "(cached) " >&6
34454 else
34457 ac_ext=cpp
34458 ac_cpp='$CXXCPP $CPPFLAGS'
34459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34464 /* end confdefs.h. */
34465 #include <math.h>
34466 #ifdef HAVE_IEEEFP_H
34467 #include <ieeefp.h>
34468 #endif
34471 main ()
34473 qfpclass(0);
34475 return 0;
34477 _ACEOF
34478 if ac_fn_cxx_try_compile "$LINENO"; then :
34479 glibcxx_cv_func_qfpclass_use=yes
34480 else
34481 glibcxx_cv_func_qfpclass_use=no
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484 ac_ext=c
34485 ac_cpp='$CPP $CPPFLAGS'
34486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34495 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34497 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34498 for ac_func in qfpclass
34499 do :
34500 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34501 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34502 cat >>confdefs.h <<_ACEOF
34503 #define HAVE_QFPCLASS 1
34504 _ACEOF
34507 done
34509 else
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34512 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34513 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34514 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34515 $as_echo_n "(cached) " >&6
34516 else
34519 ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h. */
34527 #include <math.h>
34528 #ifdef HAVE_IEEEFP_H
34529 #include <ieeefp.h>
34530 #endif
34533 main ()
34535 _qfpclass(0);
34537 return 0;
34539 _ACEOF
34540 if ac_fn_cxx_try_compile "$LINENO"; then :
34541 glibcxx_cv_func__qfpclass_use=yes
34542 else
34543 glibcxx_cv_func__qfpclass_use=no
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 ac_ext=c
34547 ac_cpp='$CPP $CPPFLAGS'
34548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34557 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34559 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34560 for ac_func in _qfpclass
34561 do :
34562 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34563 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34564 cat >>confdefs.h <<_ACEOF
34565 #define HAVE__QFPCLASS 1
34566 _ACEOF
34569 done
34578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34579 $as_echo_n "checking for hypot declaration... " >&6; }
34580 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34581 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34582 $as_echo_n "(cached) " >&6
34583 else
34586 ac_ext=cpp
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34593 /* end confdefs.h. */
34594 #include <math.h>
34596 main ()
34598 hypot(0, 0);
34600 return 0;
34602 _ACEOF
34603 if ac_fn_cxx_try_compile "$LINENO"; then :
34604 glibcxx_cv_func_hypot_use=yes
34605 else
34606 glibcxx_cv_func_hypot_use=no
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609 ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34620 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34622 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34623 for ac_func in hypot
34624 do :
34625 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34626 if test "x$ac_cv_func_hypot" = x""yes; then :
34627 cat >>confdefs.h <<_ACEOF
34628 #define HAVE_HYPOT 1
34629 _ACEOF
34632 done
34634 else
34636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34637 $as_echo_n "checking for _hypot declaration... " >&6; }
34638 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34639 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34640 $as_echo_n "(cached) " >&6
34641 else
34644 ac_ext=cpp
34645 ac_cpp='$CXXCPP $CPPFLAGS'
34646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34651 /* end confdefs.h. */
34652 #include <math.h>
34654 main ()
34656 _hypot(0, 0);
34658 return 0;
34660 _ACEOF
34661 if ac_fn_cxx_try_compile "$LINENO"; then :
34662 glibcxx_cv_func__hypot_use=yes
34663 else
34664 glibcxx_cv_func__hypot_use=no
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667 ac_ext=c
34668 ac_cpp='$CPP $CPPFLAGS'
34669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34678 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34680 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34681 for ac_func in _hypot
34682 do :
34683 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34684 if test "x$ac_cv_func__hypot" = x""yes; then :
34685 cat >>confdefs.h <<_ACEOF
34686 #define HAVE__HYPOT 1
34687 _ACEOF
34690 done
34699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34700 $as_echo_n "checking for float trig functions... " >&6; }
34701 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34702 $as_echo_n "(cached) " >&6
34703 else
34706 ac_ext=cpp
34707 ac_cpp='$CXXCPP $CPPFLAGS'
34708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34713 /* end confdefs.h. */
34714 #include <math.h>
34716 main ()
34718 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34720 return 0;
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724 glibcxx_cv_func_float_trig_use=yes
34725 else
34726 glibcxx_cv_func_float_trig_use=no
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729 ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34738 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34739 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34740 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34741 do :
34742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34744 eval as_val=\$$as_ac_var
34745 if test "x$as_val" = x""yes; then :
34746 cat >>confdefs.h <<_ACEOF
34747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34748 _ACEOF
34751 done
34753 else
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34755 $as_echo_n "checking for _float trig functions... " >&6; }
34756 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34757 $as_echo_n "(cached) " >&6
34758 else
34761 ac_ext=cpp
34762 ac_cpp='$CXXCPP $CPPFLAGS'
34763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34768 /* end confdefs.h. */
34769 #include <math.h>
34771 main ()
34773 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34775 return 0;
34777 _ACEOF
34778 if ac_fn_cxx_try_compile "$LINENO"; then :
34779 glibcxx_cv_func__float_trig_use=yes
34780 else
34781 glibcxx_cv_func__float_trig_use=no
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34793 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34794 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34795 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34796 do :
34797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34799 eval as_val=\$$as_ac_var
34800 if test "x$as_val" = x""yes; then :
34801 cat >>confdefs.h <<_ACEOF
34802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 _ACEOF
34806 done
34815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34816 $as_echo_n "checking for float round functions... " >&6; }
34817 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34818 $as_echo_n "(cached) " >&6
34819 else
34822 ac_ext=cpp
34823 ac_cpp='$CXXCPP $CPPFLAGS'
34824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34829 /* end confdefs.h. */
34830 #include <math.h>
34832 main ()
34834 ceilf (0); floorf (0);
34836 return 0;
34838 _ACEOF
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840 glibcxx_cv_func_float_round_use=yes
34841 else
34842 glibcxx_cv_func_float_round_use=no
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34845 ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34854 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34855 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34856 for ac_func in ceilf floorf
34857 do :
34858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34860 eval as_val=\$$as_ac_var
34861 if test "x$as_val" = x""yes; then :
34862 cat >>confdefs.h <<_ACEOF
34863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34864 _ACEOF
34867 done
34869 else
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34871 $as_echo_n "checking for _float round functions... " >&6; }
34872 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34887 main ()
34889 _ceilf (0); _floorf (0);
34891 return 0;
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func__float_round_use=yes
34896 else
34897 glibcxx_cv_func__float_round_use=no
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34909 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34910 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34911 for ac_func in _ceilf _floorf
34912 do :
34913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34915 eval as_val=\$$as_ac_var
34916 if test "x$as_val" = x""yes; then :
34917 cat >>confdefs.h <<_ACEOF
34918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 _ACEOF
34922 done
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34933 $as_echo_n "checking for expf declaration... " >&6; }
34934 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34935 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34936 $as_echo_n "(cached) " >&6
34937 else
34940 ac_ext=cpp
34941 ac_cpp='$CXXCPP $CPPFLAGS'
34942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h. */
34948 #include <math.h>
34949 #ifdef HAVE_IEEEFP_H
34950 #include <ieeefp.h>
34951 #endif
34954 main ()
34956 expf(0);
34958 return 0;
34960 _ACEOF
34961 if ac_fn_cxx_try_compile "$LINENO"; then :
34962 glibcxx_cv_func_expf_use=yes
34963 else
34964 glibcxx_cv_func_expf_use=no
34966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34967 ac_ext=c
34968 ac_cpp='$CPP $CPPFLAGS'
34969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34978 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34980 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34981 for ac_func in expf
34982 do :
34983 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34984 if test "x$ac_cv_func_expf" = x""yes; then :
34985 cat >>confdefs.h <<_ACEOF
34986 #define HAVE_EXPF 1
34987 _ACEOF
34990 done
34992 else
34994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34995 $as_echo_n "checking for _expf declaration... " >&6; }
34996 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34997 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34998 $as_echo_n "(cached) " >&6
34999 else
35002 ac_ext=cpp
35003 ac_cpp='$CXXCPP $CPPFLAGS'
35004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35009 /* end confdefs.h. */
35010 #include <math.h>
35011 #ifdef HAVE_IEEEFP_H
35012 #include <ieeefp.h>
35013 #endif
35016 main ()
35018 _expf(0);
35020 return 0;
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 glibcxx_cv_func__expf_use=yes
35025 else
35026 glibcxx_cv_func__expf_use=no
35028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35029 ac_ext=c
35030 ac_cpp='$CPP $CPPFLAGS'
35031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35040 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35042 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35043 for ac_func in _expf
35044 do :
35045 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35046 if test "x$ac_cv_func__expf" = x""yes; then :
35047 cat >>confdefs.h <<_ACEOF
35048 #define HAVE__EXPF 1
35049 _ACEOF
35052 done
35061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35062 $as_echo_n "checking for isnanf declaration... " >&6; }
35063 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35064 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35065 $as_echo_n "(cached) " >&6
35066 else
35069 ac_ext=cpp
35070 ac_cpp='$CXXCPP $CPPFLAGS'
35071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35076 /* end confdefs.h. */
35077 #include <math.h>
35078 #ifdef HAVE_IEEEFP_H
35079 #include <ieeefp.h>
35080 #endif
35083 main ()
35085 isnanf(0);
35087 return 0;
35089 _ACEOF
35090 if ac_fn_cxx_try_compile "$LINENO"; then :
35091 glibcxx_cv_func_isnanf_use=yes
35092 else
35093 glibcxx_cv_func_isnanf_use=no
35095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35096 ac_ext=c
35097 ac_cpp='$CPP $CPPFLAGS'
35098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35107 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35109 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35110 for ac_func in isnanf
35111 do :
35112 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35113 if test "x$ac_cv_func_isnanf" = x""yes; then :
35114 cat >>confdefs.h <<_ACEOF
35115 #define HAVE_ISNANF 1
35116 _ACEOF
35119 done
35121 else
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35124 $as_echo_n "checking for _isnanf declaration... " >&6; }
35125 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35126 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35127 $as_echo_n "(cached) " >&6
35128 else
35131 ac_ext=cpp
35132 ac_cpp='$CXXCPP $CPPFLAGS'
35133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35138 /* end confdefs.h. */
35139 #include <math.h>
35140 #ifdef HAVE_IEEEFP_H
35141 #include <ieeefp.h>
35142 #endif
35145 main ()
35147 _isnanf(0);
35149 return 0;
35151 _ACEOF
35152 if ac_fn_cxx_try_compile "$LINENO"; then :
35153 glibcxx_cv_func__isnanf_use=yes
35154 else
35155 glibcxx_cv_func__isnanf_use=no
35157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35158 ac_ext=c
35159 ac_cpp='$CPP $CPPFLAGS'
35160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35169 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35171 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35172 for ac_func in _isnanf
35173 do :
35174 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35175 if test "x$ac_cv_func__isnanf" = x""yes; then :
35176 cat >>confdefs.h <<_ACEOF
35177 #define HAVE__ISNANF 1
35178 _ACEOF
35181 done
35190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35191 $as_echo_n "checking for isinff declaration... " >&6; }
35192 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35193 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35194 $as_echo_n "(cached) " >&6
35195 else
35198 ac_ext=cpp
35199 ac_cpp='$CXXCPP $CPPFLAGS'
35200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35205 /* end confdefs.h. */
35206 #include <math.h>
35207 #ifdef HAVE_IEEEFP_H
35208 #include <ieeefp.h>
35209 #endif
35212 main ()
35214 isinff(0);
35216 return 0;
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220 glibcxx_cv_func_isinff_use=yes
35221 else
35222 glibcxx_cv_func_isinff_use=no
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35236 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35238 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35239 for ac_func in isinff
35240 do :
35241 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35242 if test "x$ac_cv_func_isinff" = x""yes; then :
35243 cat >>confdefs.h <<_ACEOF
35244 #define HAVE_ISINFF 1
35245 _ACEOF
35248 done
35250 else
35252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35253 $as_echo_n "checking for _isinff declaration... " >&6; }
35254 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35255 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35256 $as_echo_n "(cached) " >&6
35257 else
35260 ac_ext=cpp
35261 ac_cpp='$CXXCPP $CPPFLAGS'
35262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35267 /* end confdefs.h. */
35268 #include <math.h>
35269 #ifdef HAVE_IEEEFP_H
35270 #include <ieeefp.h>
35271 #endif
35274 main ()
35276 _isinff(0);
35278 return 0;
35280 _ACEOF
35281 if ac_fn_cxx_try_compile "$LINENO"; then :
35282 glibcxx_cv_func__isinff_use=yes
35283 else
35284 glibcxx_cv_func__isinff_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__isinff_use" >&5
35298 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35300 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35301 for ac_func in _isinff
35302 do :
35303 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35304 if test "x$ac_cv_func__isinff" = x""yes; then :
35305 cat >>confdefs.h <<_ACEOF
35306 #define HAVE__ISINFF 1
35307 _ACEOF
35310 done
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35320 $as_echo_n "checking for atan2f declaration... " >&6; }
35321 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35322 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35323 $as_echo_n "(cached) " >&6
35324 else
35327 ac_ext=cpp
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35334 /* end confdefs.h. */
35335 #include <math.h>
35337 main ()
35339 atan2f(0, 0);
35341 return 0;
35343 _ACEOF
35344 if ac_fn_cxx_try_compile "$LINENO"; then :
35345 glibcxx_cv_func_atan2f_use=yes
35346 else
35347 glibcxx_cv_func_atan2f_use=no
35349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35350 ac_ext=c
35351 ac_cpp='$CPP $CPPFLAGS'
35352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35361 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35363 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35364 for ac_func in atan2f
35365 do :
35366 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35367 if test "x$ac_cv_func_atan2f" = x""yes; then :
35368 cat >>confdefs.h <<_ACEOF
35369 #define HAVE_ATAN2F 1
35370 _ACEOF
35373 done
35375 else
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35378 $as_echo_n "checking for _atan2f declaration... " >&6; }
35379 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35380 if test "${glibcxx_cv_func__atan2f_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 _atan2f(0, 0);
35399 return 0;
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func__atan2f_use=yes
35404 else
35405 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
35419 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35421 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35422 for ac_func in _atan2f
35423 do :
35424 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35425 if test "x$ac_cv_func__atan2f" = x""yes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE__ATAN2F 1
35428 _ACEOF
35431 done
35440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35441 $as_echo_n "checking for fabsf declaration... " >&6; }
35442 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35443 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35444 $as_echo_n "(cached) " >&6
35445 else
35448 ac_ext=cpp
35449 ac_cpp='$CXXCPP $CPPFLAGS'
35450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35455 /* end confdefs.h. */
35456 #include <math.h>
35457 #ifdef HAVE_IEEEFP_H
35458 #include <ieeefp.h>
35459 #endif
35462 main ()
35464 fabsf(0);
35466 return 0;
35468 _ACEOF
35469 if ac_fn_cxx_try_compile "$LINENO"; then :
35470 glibcxx_cv_func_fabsf_use=yes
35471 else
35472 glibcxx_cv_func_fabsf_use=no
35474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35475 ac_ext=c
35476 ac_cpp='$CPP $CPPFLAGS'
35477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35486 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35488 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35489 for ac_func in fabsf
35490 do :
35491 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35492 if test "x$ac_cv_func_fabsf" = x""yes; then :
35493 cat >>confdefs.h <<_ACEOF
35494 #define HAVE_FABSF 1
35495 _ACEOF
35498 done
35500 else
35502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35503 $as_echo_n "checking for _fabsf declaration... " >&6; }
35504 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35505 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35506 $as_echo_n "(cached) " >&6
35507 else
35510 ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h. */
35518 #include <math.h>
35519 #ifdef HAVE_IEEEFP_H
35520 #include <ieeefp.h>
35521 #endif
35524 main ()
35526 _fabsf(0);
35528 return 0;
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532 glibcxx_cv_func__fabsf_use=yes
35533 else
35534 glibcxx_cv_func__fabsf_use=no
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537 ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35548 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35550 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35551 for ac_func in _fabsf
35552 do :
35553 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35554 if test "x$ac_cv_func__fabsf" = x""yes; then :
35555 cat >>confdefs.h <<_ACEOF
35556 #define HAVE__FABSF 1
35557 _ACEOF
35560 done
35569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35570 $as_echo_n "checking for fmodf declaration... " >&6; }
35571 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35572 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35573 $as_echo_n "(cached) " >&6
35574 else
35577 ac_ext=cpp
35578 ac_cpp='$CXXCPP $CPPFLAGS'
35579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35584 /* end confdefs.h. */
35585 #include <math.h>
35587 main ()
35589 fmodf(0, 0);
35591 return 0;
35593 _ACEOF
35594 if ac_fn_cxx_try_compile "$LINENO"; then :
35595 glibcxx_cv_func_fmodf_use=yes
35596 else
35597 glibcxx_cv_func_fmodf_use=no
35599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35600 ac_ext=c
35601 ac_cpp='$CPP $CPPFLAGS'
35602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35611 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35613 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35614 for ac_func in fmodf
35615 do :
35616 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35617 if test "x$ac_cv_func_fmodf" = x""yes; then :
35618 cat >>confdefs.h <<_ACEOF
35619 #define HAVE_FMODF 1
35620 _ACEOF
35623 done
35625 else
35627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35628 $as_echo_n "checking for _fmodf declaration... " >&6; }
35629 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35630 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35631 $as_echo_n "(cached) " >&6
35632 else
35635 ac_ext=cpp
35636 ac_cpp='$CXXCPP $CPPFLAGS'
35637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35642 /* end confdefs.h. */
35643 #include <math.h>
35645 main ()
35647 _fmodf(0, 0);
35649 return 0;
35651 _ACEOF
35652 if ac_fn_cxx_try_compile "$LINENO"; then :
35653 glibcxx_cv_func__fmodf_use=yes
35654 else
35655 glibcxx_cv_func__fmodf_use=no
35657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35658 ac_ext=c
35659 ac_cpp='$CPP $CPPFLAGS'
35660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35669 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35671 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35672 for ac_func in _fmodf
35673 do :
35674 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35675 if test "x$ac_cv_func__fmodf" = x""yes; then :
35676 cat >>confdefs.h <<_ACEOF
35677 #define HAVE__FMODF 1
35678 _ACEOF
35681 done
35690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35691 $as_echo_n "checking for frexpf declaration... " >&6; }
35692 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35693 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35694 $as_echo_n "(cached) " >&6
35695 else
35698 ac_ext=cpp
35699 ac_cpp='$CXXCPP $CPPFLAGS'
35700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35705 /* end confdefs.h. */
35706 #include <math.h>
35708 main ()
35710 frexpf(0, 0);
35712 return 0;
35714 _ACEOF
35715 if ac_fn_cxx_try_compile "$LINENO"; then :
35716 glibcxx_cv_func_frexpf_use=yes
35717 else
35718 glibcxx_cv_func_frexpf_use=no
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721 ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35732 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35734 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35735 for ac_func in frexpf
35736 do :
35737 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35738 if test "x$ac_cv_func_frexpf" = x""yes; then :
35739 cat >>confdefs.h <<_ACEOF
35740 #define HAVE_FREXPF 1
35741 _ACEOF
35744 done
35746 else
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35749 $as_echo_n "checking for _frexpf declaration... " >&6; }
35750 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35751 if test "${glibcxx_cv_func__frexpf_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>
35766 main ()
35768 _frexpf(0, 0);
35770 return 0;
35772 _ACEOF
35773 if ac_fn_cxx_try_compile "$LINENO"; then :
35774 glibcxx_cv_func__frexpf_use=yes
35775 else
35776 glibcxx_cv_func__frexpf_use=no
35778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35779 ac_ext=c
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35790 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35792 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35793 for ac_func in _frexpf
35794 do :
35795 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35796 if test "x$ac_cv_func__frexpf" = x""yes; then :
35797 cat >>confdefs.h <<_ACEOF
35798 #define HAVE__FREXPF 1
35799 _ACEOF
35802 done
35811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35812 $as_echo_n "checking for hypotf declaration... " >&6; }
35813 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35814 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35815 $as_echo_n "(cached) " >&6
35816 else
35819 ac_ext=cpp
35820 ac_cpp='$CXXCPP $CPPFLAGS'
35821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35826 /* end confdefs.h. */
35827 #include <math.h>
35829 main ()
35831 hypotf(0, 0);
35833 return 0;
35835 _ACEOF
35836 if ac_fn_cxx_try_compile "$LINENO"; then :
35837 glibcxx_cv_func_hypotf_use=yes
35838 else
35839 glibcxx_cv_func_hypotf_use=no
35841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35842 ac_ext=c
35843 ac_cpp='$CPP $CPPFLAGS'
35844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35853 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35855 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35856 for ac_func in hypotf
35857 do :
35858 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35859 if test "x$ac_cv_func_hypotf" = x""yes; then :
35860 cat >>confdefs.h <<_ACEOF
35861 #define HAVE_HYPOTF 1
35862 _ACEOF
35865 done
35867 else
35869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35870 $as_echo_n "checking for _hypotf declaration... " >&6; }
35871 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35872 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35873 $as_echo_n "(cached) " >&6
35874 else
35877 ac_ext=cpp
35878 ac_cpp='$CXXCPP $CPPFLAGS'
35879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35884 /* end confdefs.h. */
35885 #include <math.h>
35887 main ()
35889 _hypotf(0, 0);
35891 return 0;
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895 glibcxx_cv_func__hypotf_use=yes
35896 else
35897 glibcxx_cv_func__hypotf_use=no
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35911 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35913 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35914 for ac_func in _hypotf
35915 do :
35916 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35917 if test "x$ac_cv_func__hypotf" = x""yes; then :
35918 cat >>confdefs.h <<_ACEOF
35919 #define HAVE__HYPOTF 1
35920 _ACEOF
35923 done
35932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35933 $as_echo_n "checking for ldexpf declaration... " >&6; }
35934 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35935 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35936 $as_echo_n "(cached) " >&6
35937 else
35940 ac_ext=cpp
35941 ac_cpp='$CXXCPP $CPPFLAGS'
35942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35947 /* end confdefs.h. */
35948 #include <math.h>
35950 main ()
35952 ldexpf(0, 0);
35954 return 0;
35956 _ACEOF
35957 if ac_fn_cxx_try_compile "$LINENO"; then :
35958 glibcxx_cv_func_ldexpf_use=yes
35959 else
35960 glibcxx_cv_func_ldexpf_use=no
35962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35963 ac_ext=c
35964 ac_cpp='$CPP $CPPFLAGS'
35965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35974 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35976 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35977 for ac_func in ldexpf
35978 do :
35979 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35980 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35981 cat >>confdefs.h <<_ACEOF
35982 #define HAVE_LDEXPF 1
35983 _ACEOF
35986 done
35988 else
35990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35991 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35992 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35993 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35994 $as_echo_n "(cached) " >&6
35995 else
35998 ac_ext=cpp
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36005 /* end confdefs.h. */
36006 #include <math.h>
36008 main ()
36010 _ldexpf(0, 0);
36012 return 0;
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016 glibcxx_cv_func__ldexpf_use=yes
36017 else
36018 glibcxx_cv_func__ldexpf_use=no
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36032 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36034 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36035 for ac_func in _ldexpf
36036 do :
36037 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36038 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define HAVE__LDEXPF 1
36041 _ACEOF
36044 done
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36054 $as_echo_n "checking for logf declaration... " >&6; }
36055 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36056 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36057 $as_echo_n "(cached) " >&6
36058 else
36061 ac_ext=cpp
36062 ac_cpp='$CXXCPP $CPPFLAGS'
36063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36068 /* end confdefs.h. */
36069 #include <math.h>
36070 #ifdef HAVE_IEEEFP_H
36071 #include <ieeefp.h>
36072 #endif
36075 main ()
36077 logf(0);
36079 return 0;
36081 _ACEOF
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083 glibcxx_cv_func_logf_use=yes
36084 else
36085 glibcxx_cv_func_logf_use=no
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36099 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36101 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36102 for ac_func in logf
36103 do :
36104 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36105 if test "x$ac_cv_func_logf" = x""yes; then :
36106 cat >>confdefs.h <<_ACEOF
36107 #define HAVE_LOGF 1
36108 _ACEOF
36111 done
36113 else
36115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36116 $as_echo_n "checking for _logf declaration... " >&6; }
36117 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36118 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36119 $as_echo_n "(cached) " >&6
36120 else
36123 ac_ext=cpp
36124 ac_cpp='$CXXCPP $CPPFLAGS'
36125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36130 /* end confdefs.h. */
36131 #include <math.h>
36132 #ifdef HAVE_IEEEFP_H
36133 #include <ieeefp.h>
36134 #endif
36137 main ()
36139 _logf(0);
36141 return 0;
36143 _ACEOF
36144 if ac_fn_cxx_try_compile "$LINENO"; then :
36145 glibcxx_cv_func__logf_use=yes
36146 else
36147 glibcxx_cv_func__logf_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__logf_use" >&5
36161 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36163 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36164 for ac_func in _logf
36165 do :
36166 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36167 if test "x$ac_cv_func__logf" = x""yes; then :
36168 cat >>confdefs.h <<_ACEOF
36169 #define HAVE__LOGF 1
36170 _ACEOF
36173 done
36182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36183 $as_echo_n "checking for log10f declaration... " >&6; }
36184 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36185 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36186 $as_echo_n "(cached) " >&6
36187 else
36190 ac_ext=cpp
36191 ac_cpp='$CXXCPP $CPPFLAGS'
36192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36197 /* end confdefs.h. */
36198 #include <math.h>
36199 #ifdef HAVE_IEEEFP_H
36200 #include <ieeefp.h>
36201 #endif
36204 main ()
36206 log10f(0);
36208 return 0;
36210 _ACEOF
36211 if ac_fn_cxx_try_compile "$LINENO"; then :
36212 glibcxx_cv_func_log10f_use=yes
36213 else
36214 glibcxx_cv_func_log10f_use=no
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217 ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36228 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36230 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36231 for ac_func in log10f
36232 do :
36233 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36234 if test "x$ac_cv_func_log10f" = x""yes; then :
36235 cat >>confdefs.h <<_ACEOF
36236 #define HAVE_LOG10F 1
36237 _ACEOF
36240 done
36242 else
36244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36245 $as_echo_n "checking for _log10f declaration... " >&6; }
36246 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36247 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36248 $as_echo_n "(cached) " >&6
36249 else
36252 ac_ext=cpp
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36259 /* end confdefs.h. */
36260 #include <math.h>
36261 #ifdef HAVE_IEEEFP_H
36262 #include <ieeefp.h>
36263 #endif
36266 main ()
36268 _log10f(0);
36270 return 0;
36272 _ACEOF
36273 if ac_fn_cxx_try_compile "$LINENO"; then :
36274 glibcxx_cv_func__log10f_use=yes
36275 else
36276 glibcxx_cv_func__log10f_use=no
36278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36279 ac_ext=c
36280 ac_cpp='$CPP $CPPFLAGS'
36281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36290 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36292 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36293 for ac_func in _log10f
36294 do :
36295 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36296 if test "x$ac_cv_func__log10f" = x""yes; then :
36297 cat >>confdefs.h <<_ACEOF
36298 #define HAVE__LOG10F 1
36299 _ACEOF
36302 done
36311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36312 $as_echo_n "checking for modff declaration... " >&6; }
36313 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36314 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36315 $as_echo_n "(cached) " >&6
36316 else
36319 ac_ext=cpp
36320 ac_cpp='$CXXCPP $CPPFLAGS'
36321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36326 /* end confdefs.h. */
36327 #include <math.h>
36329 main ()
36331 modff(0, 0);
36333 return 0;
36335 _ACEOF
36336 if ac_fn_cxx_try_compile "$LINENO"; then :
36337 glibcxx_cv_func_modff_use=yes
36338 else
36339 glibcxx_cv_func_modff_use=no
36341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342 ac_ext=c
36343 ac_cpp='$CPP $CPPFLAGS'
36344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36353 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36355 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36356 for ac_func in modff
36357 do :
36358 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36359 if test "x$ac_cv_func_modff" = x""yes; then :
36360 cat >>confdefs.h <<_ACEOF
36361 #define HAVE_MODFF 1
36362 _ACEOF
36365 done
36367 else
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36370 $as_echo_n "checking for _modff declaration... " >&6; }
36371 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36372 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
36391 return 0;
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func__modff_use=yes
36396 else
36397 glibcxx_cv_func__modff_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__modff_use" >&5
36411 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36413 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36414 for ac_func in _modff
36415 do :
36416 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36417 if test "x$ac_cv_func__modff" = x""yes; then :
36418 cat >>confdefs.h <<_ACEOF
36419 #define HAVE__MODFF 1
36420 _ACEOF
36423 done
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36433 $as_echo_n "checking for modf declaration... " >&6; }
36434 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36435 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36436 $as_echo_n "(cached) " >&6
36437 else
36440 ac_ext=cpp
36441 ac_cpp='$CXXCPP $CPPFLAGS'
36442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36447 /* end confdefs.h. */
36448 #include <math.h>
36450 main ()
36452 modf(0, 0);
36454 return 0;
36456 _ACEOF
36457 if ac_fn_cxx_try_compile "$LINENO"; then :
36458 glibcxx_cv_func_modf_use=yes
36459 else
36460 glibcxx_cv_func_modf_use=no
36462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36463 ac_ext=c
36464 ac_cpp='$CPP $CPPFLAGS'
36465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36474 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36476 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36477 for ac_func in modf
36478 do :
36479 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36480 if test "x$ac_cv_func_modf" = x""yes; then :
36481 cat >>confdefs.h <<_ACEOF
36482 #define HAVE_MODF 1
36483 _ACEOF
36486 done
36488 else
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36491 $as_echo_n "checking for _modf declaration... " >&6; }
36492 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36493 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36494 $as_echo_n "(cached) " >&6
36495 else
36498 ac_ext=cpp
36499 ac_cpp='$CXXCPP $CPPFLAGS'
36500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36505 /* end confdefs.h. */
36506 #include <math.h>
36508 main ()
36510 _modf(0, 0);
36512 return 0;
36514 _ACEOF
36515 if ac_fn_cxx_try_compile "$LINENO"; then :
36516 glibcxx_cv_func__modf_use=yes
36517 else
36518 glibcxx_cv_func__modf_use=no
36520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36521 ac_ext=c
36522 ac_cpp='$CPP $CPPFLAGS'
36523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36532 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36534 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36535 for ac_func in _modf
36536 do :
36537 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36538 if test "x$ac_cv_func__modf" = x""yes; then :
36539 cat >>confdefs.h <<_ACEOF
36540 #define HAVE__MODF 1
36541 _ACEOF
36544 done
36553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36554 $as_echo_n "checking for powf declaration... " >&6; }
36555 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36556 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36557 $as_echo_n "(cached) " >&6
36558 else
36561 ac_ext=cpp
36562 ac_cpp='$CXXCPP $CPPFLAGS'
36563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36568 /* end confdefs.h. */
36569 #include <math.h>
36571 main ()
36573 powf(0, 0);
36575 return 0;
36577 _ACEOF
36578 if ac_fn_cxx_try_compile "$LINENO"; then :
36579 glibcxx_cv_func_powf_use=yes
36580 else
36581 glibcxx_cv_func_powf_use=no
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36584 ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36595 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36597 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36598 for ac_func in powf
36599 do :
36600 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36601 if test "x$ac_cv_func_powf" = x""yes; then :
36602 cat >>confdefs.h <<_ACEOF
36603 #define HAVE_POWF 1
36604 _ACEOF
36607 done
36609 else
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36612 $as_echo_n "checking for _powf declaration... " >&6; }
36613 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36614 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36615 $as_echo_n "(cached) " >&6
36616 else
36619 ac_ext=cpp
36620 ac_cpp='$CXXCPP $CPPFLAGS'
36621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 /* end confdefs.h. */
36627 #include <math.h>
36629 main ()
36631 _powf(0, 0);
36633 return 0;
36635 _ACEOF
36636 if ac_fn_cxx_try_compile "$LINENO"; then :
36637 glibcxx_cv_func__powf_use=yes
36638 else
36639 glibcxx_cv_func__powf_use=no
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642 ac_ext=c
36643 ac_cpp='$CPP $CPPFLAGS'
36644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36653 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36655 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36656 for ac_func in _powf
36657 do :
36658 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36659 if test "x$ac_cv_func__powf" = x""yes; then :
36660 cat >>confdefs.h <<_ACEOF
36661 #define HAVE__POWF 1
36662 _ACEOF
36665 done
36674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36675 $as_echo_n "checking for sqrtf declaration... " >&6; }
36676 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36677 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36678 $as_echo_n "(cached) " >&6
36679 else
36682 ac_ext=cpp
36683 ac_cpp='$CXXCPP $CPPFLAGS'
36684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36689 /* end confdefs.h. */
36690 #include <math.h>
36691 #ifdef HAVE_IEEEFP_H
36692 #include <ieeefp.h>
36693 #endif
36696 main ()
36698 sqrtf(0);
36700 return 0;
36702 _ACEOF
36703 if ac_fn_cxx_try_compile "$LINENO"; then :
36704 glibcxx_cv_func_sqrtf_use=yes
36705 else
36706 glibcxx_cv_func_sqrtf_use=no
36708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36709 ac_ext=c
36710 ac_cpp='$CPP $CPPFLAGS'
36711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36720 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36722 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36723 for ac_func in sqrtf
36724 do :
36725 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36726 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36727 cat >>confdefs.h <<_ACEOF
36728 #define HAVE_SQRTF 1
36729 _ACEOF
36732 done
36734 else
36736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36737 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36738 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36739 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36740 $as_echo_n "(cached) " >&6
36741 else
36744 ac_ext=cpp
36745 ac_cpp='$CXXCPP $CPPFLAGS'
36746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36751 /* end confdefs.h. */
36752 #include <math.h>
36753 #ifdef HAVE_IEEEFP_H
36754 #include <ieeefp.h>
36755 #endif
36758 main ()
36760 _sqrtf(0);
36762 return 0;
36764 _ACEOF
36765 if ac_fn_cxx_try_compile "$LINENO"; then :
36766 glibcxx_cv_func__sqrtf_use=yes
36767 else
36768 glibcxx_cv_func__sqrtf_use=no
36770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36771 ac_ext=c
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36782 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36784 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36785 for ac_func in _sqrtf
36786 do :
36787 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36788 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36789 cat >>confdefs.h <<_ACEOF
36790 #define HAVE__SQRTF 1
36791 _ACEOF
36794 done
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36804 $as_echo_n "checking for sincosf declaration... " >&6; }
36805 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36806 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36807 $as_echo_n "(cached) " >&6
36808 else
36811 ac_ext=cpp
36812 ac_cpp='$CXXCPP $CPPFLAGS'
36813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36818 /* end confdefs.h. */
36819 #include <math.h>
36821 main ()
36823 sincosf(0, 0, 0);
36825 return 0;
36827 _ACEOF
36828 if ac_fn_cxx_try_compile "$LINENO"; then :
36829 glibcxx_cv_func_sincosf_use=yes
36830 else
36831 glibcxx_cv_func_sincosf_use=no
36833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36834 ac_ext=c
36835 ac_cpp='$CPP $CPPFLAGS'
36836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36845 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36847 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36848 for ac_func in sincosf
36849 do :
36850 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36851 if test "x$ac_cv_func_sincosf" = x""yes; then :
36852 cat >>confdefs.h <<_ACEOF
36853 #define HAVE_SINCOSF 1
36854 _ACEOF
36857 done
36859 else
36861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36862 $as_echo_n "checking for _sincosf declaration... " >&6; }
36863 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36864 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36865 $as_echo_n "(cached) " >&6
36866 else
36869 ac_ext=cpp
36870 ac_cpp='$CXXCPP $CPPFLAGS'
36871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36876 /* end confdefs.h. */
36877 #include <math.h>
36879 main ()
36881 _sincosf(0, 0, 0);
36883 return 0;
36885 _ACEOF
36886 if ac_fn_cxx_try_compile "$LINENO"; then :
36887 glibcxx_cv_func__sincosf_use=yes
36888 else
36889 glibcxx_cv_func__sincosf_use=no
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892 ac_ext=c
36893 ac_cpp='$CPP $CPPFLAGS'
36894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36903 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36905 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36906 for ac_func in _sincosf
36907 do :
36908 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36909 if test "x$ac_cv_func__sincosf" = x""yes; then :
36910 cat >>confdefs.h <<_ACEOF
36911 #define HAVE__SINCOSF 1
36912 _ACEOF
36915 done
36924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36925 $as_echo_n "checking for finitef declaration... " >&6; }
36926 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36927 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36928 $as_echo_n "(cached) " >&6
36929 else
36932 ac_ext=cpp
36933 ac_cpp='$CXXCPP $CPPFLAGS'
36934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36939 /* end confdefs.h. */
36940 #include <math.h>
36941 #ifdef HAVE_IEEEFP_H
36942 #include <ieeefp.h>
36943 #endif
36946 main ()
36948 finitef(0);
36950 return 0;
36952 _ACEOF
36953 if ac_fn_cxx_try_compile "$LINENO"; then :
36954 glibcxx_cv_func_finitef_use=yes
36955 else
36956 glibcxx_cv_func_finitef_use=no
36958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36959 ac_ext=c
36960 ac_cpp='$CPP $CPPFLAGS'
36961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36970 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36972 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36973 for ac_func in finitef
36974 do :
36975 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36976 if test "x$ac_cv_func_finitef" = x""yes; then :
36977 cat >>confdefs.h <<_ACEOF
36978 #define HAVE_FINITEF 1
36979 _ACEOF
36982 done
36984 else
36986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36987 $as_echo_n "checking for _finitef declaration... " >&6; }
36988 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36989 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36990 $as_echo_n "(cached) " >&6
36991 else
36994 ac_ext=cpp
36995 ac_cpp='$CXXCPP $CPPFLAGS'
36996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37001 /* end confdefs.h. */
37002 #include <math.h>
37003 #ifdef HAVE_IEEEFP_H
37004 #include <ieeefp.h>
37005 #endif
37008 main ()
37010 _finitef(0);
37012 return 0;
37014 _ACEOF
37015 if ac_fn_cxx_try_compile "$LINENO"; then :
37016 glibcxx_cv_func__finitef_use=yes
37017 else
37018 glibcxx_cv_func__finitef_use=no
37020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021 ac_ext=c
37022 ac_cpp='$CPP $CPPFLAGS'
37023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37032 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37034 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37035 for ac_func in _finitef
37036 do :
37037 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37038 if test "x$ac_cv_func__finitef" = x""yes; then :
37039 cat >>confdefs.h <<_ACEOF
37040 #define HAVE__FINITEF 1
37041 _ACEOF
37044 done
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37054 $as_echo_n "checking for long double trig functions... " >&6; }
37055 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37056 $as_echo_n "(cached) " >&6
37057 else
37060 ac_ext=cpp
37061 ac_cpp='$CXXCPP $CPPFLAGS'
37062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37067 /* end confdefs.h. */
37068 #include <math.h>
37070 main ()
37072 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37074 return 0;
37076 _ACEOF
37077 if ac_fn_cxx_try_compile "$LINENO"; then :
37078 glibcxx_cv_func_long_double_trig_use=yes
37079 else
37080 glibcxx_cv_func_long_double_trig_use=no
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083 ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37092 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37093 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37094 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37095 do :
37096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37098 eval as_val=\$$as_ac_var
37099 if test "x$as_val" = x""yes; then :
37100 cat >>confdefs.h <<_ACEOF
37101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37102 _ACEOF
37105 done
37107 else
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37109 $as_echo_n "checking for _long double trig functions... " >&6; }
37110 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37111 $as_echo_n "(cached) " >&6
37112 else
37115 ac_ext=cpp
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122 /* end confdefs.h. */
37123 #include <math.h>
37125 main ()
37127 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37129 return 0;
37131 _ACEOF
37132 if ac_fn_cxx_try_compile "$LINENO"; then :
37133 glibcxx_cv_func__long_double_trig_use=yes
37134 else
37135 glibcxx_cv_func__long_double_trig_use=no
37137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138 ac_ext=c
37139 ac_cpp='$CPP $CPPFLAGS'
37140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37147 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37148 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37149 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37150 do :
37151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37153 eval as_val=\$$as_ac_var
37154 if test "x$as_val" = x""yes; then :
37155 cat >>confdefs.h <<_ACEOF
37156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37157 _ACEOF
37160 done
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37170 $as_echo_n "checking for long double round functions... " >&6; }
37171 if test "${glibcxx_cv_func_long_double_round_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 ceill (0); floorl (0);
37190 return 0;
37192 _ACEOF
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194 glibcxx_cv_func_long_double_round_use=yes
37195 else
37196 glibcxx_cv_func_long_double_round_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
37207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37208 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37209 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37210 for ac_func in ceill floorl
37211 do :
37212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37214 eval as_val=\$$as_ac_var
37215 if test "x$as_val" = x""yes; then :
37216 cat >>confdefs.h <<_ACEOF
37217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37218 _ACEOF
37221 done
37223 else
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37225 $as_echo_n "checking for _long double round functions... " >&6; }
37226 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37227 $as_echo_n "(cached) " >&6
37228 else
37231 ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <math.h>
37241 main ()
37243 _ceill (0); _floorl (0);
37245 return 0;
37247 _ACEOF
37248 if ac_fn_cxx_try_compile "$LINENO"; then :
37249 glibcxx_cv_func__long_double_round_use=yes
37250 else
37251 glibcxx_cv_func__long_double_round_use=no
37253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37254 ac_ext=c
37255 ac_cpp='$CPP $CPPFLAGS'
37256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37263 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37264 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37265 for ac_func in _ceill _floorl
37266 do :
37267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37269 eval as_val=\$$as_ac_var
37270 if test "x$as_val" = x""yes; then :
37271 cat >>confdefs.h <<_ACEOF
37272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37273 _ACEOF
37276 done
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37287 $as_echo_n "checking for isnanl declaration... " >&6; }
37288 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37289 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37290 $as_echo_n "(cached) " >&6
37291 else
37294 ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h. */
37302 #include <math.h>
37303 #ifdef HAVE_IEEEFP_H
37304 #include <ieeefp.h>
37305 #endif
37308 main ()
37310 isnanl(0);
37312 return 0;
37314 _ACEOF
37315 if ac_fn_cxx_try_compile "$LINENO"; then :
37316 glibcxx_cv_func_isnanl_use=yes
37317 else
37318 glibcxx_cv_func_isnanl_use=no
37320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37321 ac_ext=c
37322 ac_cpp='$CPP $CPPFLAGS'
37323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37332 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37334 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37335 for ac_func in isnanl
37336 do :
37337 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37338 if test "x$ac_cv_func_isnanl" = x""yes; then :
37339 cat >>confdefs.h <<_ACEOF
37340 #define HAVE_ISNANL 1
37341 _ACEOF
37344 done
37346 else
37348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37349 $as_echo_n "checking for _isnanl declaration... " >&6; }
37350 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37351 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37352 $as_echo_n "(cached) " >&6
37353 else
37356 ac_ext=cpp
37357 ac_cpp='$CXXCPP $CPPFLAGS'
37358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37363 /* end confdefs.h. */
37364 #include <math.h>
37365 #ifdef HAVE_IEEEFP_H
37366 #include <ieeefp.h>
37367 #endif
37370 main ()
37372 _isnanl(0);
37374 return 0;
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378 glibcxx_cv_func__isnanl_use=yes
37379 else
37380 glibcxx_cv_func__isnanl_use=no
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383 ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37394 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37396 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37397 for ac_func in _isnanl
37398 do :
37399 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37400 if test "x$ac_cv_func__isnanl" = x""yes; then :
37401 cat >>confdefs.h <<_ACEOF
37402 #define HAVE__ISNANL 1
37403 _ACEOF
37406 done
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37416 $as_echo_n "checking for isinfl declaration... " >&6; }
37417 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37418 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37419 $as_echo_n "(cached) " >&6
37420 else
37423 ac_ext=cpp
37424 ac_cpp='$CXXCPP $CPPFLAGS'
37425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37430 /* end confdefs.h. */
37431 #include <math.h>
37432 #ifdef HAVE_IEEEFP_H
37433 #include <ieeefp.h>
37434 #endif
37437 main ()
37439 isinfl(0);
37441 return 0;
37443 _ACEOF
37444 if ac_fn_cxx_try_compile "$LINENO"; then :
37445 glibcxx_cv_func_isinfl_use=yes
37446 else
37447 glibcxx_cv_func_isinfl_use=no
37449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37450 ac_ext=c
37451 ac_cpp='$CPP $CPPFLAGS'
37452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37461 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37463 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37464 for ac_func in isinfl
37465 do :
37466 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37467 if test "x$ac_cv_func_isinfl" = x""yes; then :
37468 cat >>confdefs.h <<_ACEOF
37469 #define HAVE_ISINFL 1
37470 _ACEOF
37473 done
37475 else
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37478 $as_echo_n "checking for _isinfl declaration... " >&6; }
37479 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37480 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37481 $as_echo_n "(cached) " >&6
37482 else
37485 ac_ext=cpp
37486 ac_cpp='$CXXCPP $CPPFLAGS'
37487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37492 /* end confdefs.h. */
37493 #include <math.h>
37494 #ifdef HAVE_IEEEFP_H
37495 #include <ieeefp.h>
37496 #endif
37499 main ()
37501 _isinfl(0);
37503 return 0;
37505 _ACEOF
37506 if ac_fn_cxx_try_compile "$LINENO"; then :
37507 glibcxx_cv_func__isinfl_use=yes
37508 else
37509 glibcxx_cv_func__isinfl_use=no
37511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37512 ac_ext=c
37513 ac_cpp='$CPP $CPPFLAGS'
37514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37523 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37525 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37526 for ac_func in _isinfl
37527 do :
37528 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37529 if test "x$ac_cv_func__isinfl" = x""yes; then :
37530 cat >>confdefs.h <<_ACEOF
37531 #define HAVE__ISINFL 1
37532 _ACEOF
37535 done
37544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37545 $as_echo_n "checking for atan2l declaration... " >&6; }
37546 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37547 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37548 $as_echo_n "(cached) " >&6
37549 else
37552 ac_ext=cpp
37553 ac_cpp='$CXXCPP $CPPFLAGS'
37554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37559 /* end confdefs.h. */
37560 #include <math.h>
37562 main ()
37564 atan2l(0, 0);
37566 return 0;
37568 _ACEOF
37569 if ac_fn_cxx_try_compile "$LINENO"; then :
37570 glibcxx_cv_func_atan2l_use=yes
37571 else
37572 glibcxx_cv_func_atan2l_use=no
37574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37575 ac_ext=c
37576 ac_cpp='$CPP $CPPFLAGS'
37577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37586 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37588 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37589 for ac_func in atan2l
37590 do :
37591 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37592 if test "x$ac_cv_func_atan2l" = x""yes; then :
37593 cat >>confdefs.h <<_ACEOF
37594 #define HAVE_ATAN2L 1
37595 _ACEOF
37598 done
37600 else
37602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37603 $as_echo_n "checking for _atan2l declaration... " >&6; }
37604 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37605 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37606 $as_echo_n "(cached) " >&6
37607 else
37610 ac_ext=cpp
37611 ac_cpp='$CXXCPP $CPPFLAGS'
37612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37617 /* end confdefs.h. */
37618 #include <math.h>
37620 main ()
37622 _atan2l(0, 0);
37624 return 0;
37626 _ACEOF
37627 if ac_fn_cxx_try_compile "$LINENO"; then :
37628 glibcxx_cv_func__atan2l_use=yes
37629 else
37630 glibcxx_cv_func__atan2l_use=no
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633 ac_ext=c
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37644 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37646 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37647 for ac_func in _atan2l
37648 do :
37649 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37650 if test "x$ac_cv_func__atan2l" = x""yes; then :
37651 cat >>confdefs.h <<_ACEOF
37652 #define HAVE__ATAN2L 1
37653 _ACEOF
37656 done
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37666 $as_echo_n "checking for expl declaration... " >&6; }
37667 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37668 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37669 $as_echo_n "(cached) " >&6
37670 else
37673 ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h. */
37681 #include <math.h>
37682 #ifdef HAVE_IEEEFP_H
37683 #include <ieeefp.h>
37684 #endif
37687 main ()
37689 expl(0);
37691 return 0;
37693 _ACEOF
37694 if ac_fn_cxx_try_compile "$LINENO"; then :
37695 glibcxx_cv_func_expl_use=yes
37696 else
37697 glibcxx_cv_func_expl_use=no
37699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 ac_ext=c
37701 ac_cpp='$CPP $CPPFLAGS'
37702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37711 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37713 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37714 for ac_func in expl
37715 do :
37716 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37717 if test "x$ac_cv_func_expl" = x""yes; then :
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE_EXPL 1
37720 _ACEOF
37723 done
37725 else
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37728 $as_echo_n "checking for _expl declaration... " >&6; }
37729 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37730 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37731 $as_echo_n "(cached) " >&6
37732 else
37735 ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h. */
37743 #include <math.h>
37744 #ifdef HAVE_IEEEFP_H
37745 #include <ieeefp.h>
37746 #endif
37749 main ()
37751 _expl(0);
37753 return 0;
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757 glibcxx_cv_func__expl_use=yes
37758 else
37759 glibcxx_cv_func__expl_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__expl_use" >&5
37773 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37775 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37776 for ac_func in _expl
37777 do :
37778 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37779 if test "x$ac_cv_func__expl" = x""yes; then :
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE__EXPL 1
37782 _ACEOF
37785 done
37794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37795 $as_echo_n "checking for fabsl declaration... " >&6; }
37796 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37797 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37798 $as_echo_n "(cached) " >&6
37799 else
37802 ac_ext=cpp
37803 ac_cpp='$CXXCPP $CPPFLAGS'
37804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37809 /* end confdefs.h. */
37810 #include <math.h>
37811 #ifdef HAVE_IEEEFP_H
37812 #include <ieeefp.h>
37813 #endif
37816 main ()
37818 fabsl(0);
37820 return 0;
37822 _ACEOF
37823 if ac_fn_cxx_try_compile "$LINENO"; then :
37824 glibcxx_cv_func_fabsl_use=yes
37825 else
37826 glibcxx_cv_func_fabsl_use=no
37828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37829 ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37840 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37842 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37843 for ac_func in fabsl
37844 do :
37845 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37846 if test "x$ac_cv_func_fabsl" = x""yes; then :
37847 cat >>confdefs.h <<_ACEOF
37848 #define HAVE_FABSL 1
37849 _ACEOF
37852 done
37854 else
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37857 $as_echo_n "checking for _fabsl declaration... " >&6; }
37858 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37859 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37860 $as_echo_n "(cached) " >&6
37861 else
37864 ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h. */
37872 #include <math.h>
37873 #ifdef HAVE_IEEEFP_H
37874 #include <ieeefp.h>
37875 #endif
37878 main ()
37880 _fabsl(0);
37882 return 0;
37884 _ACEOF
37885 if ac_fn_cxx_try_compile "$LINENO"; then :
37886 glibcxx_cv_func__fabsl_use=yes
37887 else
37888 glibcxx_cv_func__fabsl_use=no
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891 ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37902 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37904 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37905 for ac_func in _fabsl
37906 do :
37907 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37908 if test "x$ac_cv_func__fabsl" = x""yes; then :
37909 cat >>confdefs.h <<_ACEOF
37910 #define HAVE__FABSL 1
37911 _ACEOF
37914 done
37923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37924 $as_echo_n "checking for fmodl declaration... " >&6; }
37925 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37926 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37927 $as_echo_n "(cached) " >&6
37928 else
37931 ac_ext=cpp
37932 ac_cpp='$CXXCPP $CPPFLAGS'
37933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37938 /* end confdefs.h. */
37939 #include <math.h>
37941 main ()
37943 fmodl(0, 0);
37945 return 0;
37947 _ACEOF
37948 if ac_fn_cxx_try_compile "$LINENO"; then :
37949 glibcxx_cv_func_fmodl_use=yes
37950 else
37951 glibcxx_cv_func_fmodl_use=no
37953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37954 ac_ext=c
37955 ac_cpp='$CPP $CPPFLAGS'
37956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37965 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37967 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37968 for ac_func in fmodl
37969 do :
37970 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37971 if test "x$ac_cv_func_fmodl" = x""yes; then :
37972 cat >>confdefs.h <<_ACEOF
37973 #define HAVE_FMODL 1
37974 _ACEOF
37977 done
37979 else
37981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37982 $as_echo_n "checking for _fmodl declaration... " >&6; }
37983 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37984 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37985 $as_echo_n "(cached) " >&6
37986 else
37989 ac_ext=cpp
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37996 /* end confdefs.h. */
37997 #include <math.h>
37999 main ()
38001 _fmodl(0, 0);
38003 return 0;
38005 _ACEOF
38006 if ac_fn_cxx_try_compile "$LINENO"; then :
38007 glibcxx_cv_func__fmodl_use=yes
38008 else
38009 glibcxx_cv_func__fmodl_use=no
38011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012 ac_ext=c
38013 ac_cpp='$CPP $CPPFLAGS'
38014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38023 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38025 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38026 for ac_func in _fmodl
38027 do :
38028 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38029 if test "x$ac_cv_func__fmodl" = x""yes; then :
38030 cat >>confdefs.h <<_ACEOF
38031 #define HAVE__FMODL 1
38032 _ACEOF
38035 done
38044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38045 $as_echo_n "checking for frexpl declaration... " >&6; }
38046 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38047 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38048 $as_echo_n "(cached) " >&6
38049 else
38052 ac_ext=cpp
38053 ac_cpp='$CXXCPP $CPPFLAGS'
38054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38059 /* end confdefs.h. */
38060 #include <math.h>
38062 main ()
38064 frexpl(0, 0);
38066 return 0;
38068 _ACEOF
38069 if ac_fn_cxx_try_compile "$LINENO"; then :
38070 glibcxx_cv_func_frexpl_use=yes
38071 else
38072 glibcxx_cv_func_frexpl_use=no
38074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38075 ac_ext=c
38076 ac_cpp='$CPP $CPPFLAGS'
38077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38086 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38088 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38089 for ac_func in frexpl
38090 do :
38091 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38092 if test "x$ac_cv_func_frexpl" = x""yes; then :
38093 cat >>confdefs.h <<_ACEOF
38094 #define HAVE_FREXPL 1
38095 _ACEOF
38098 done
38100 else
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38103 $as_echo_n "checking for _frexpl declaration... " >&6; }
38104 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38105 if test "${glibcxx_cv_func__frexpl_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>
38120 main ()
38122 _frexpl(0, 0);
38124 return 0;
38126 _ACEOF
38127 if ac_fn_cxx_try_compile "$LINENO"; then :
38128 glibcxx_cv_func__frexpl_use=yes
38129 else
38130 glibcxx_cv_func__frexpl_use=no
38132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38133 ac_ext=c
38134 ac_cpp='$CPP $CPPFLAGS'
38135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38144 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38146 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38147 for ac_func in _frexpl
38148 do :
38149 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38150 if test "x$ac_cv_func__frexpl" = x""yes; then :
38151 cat >>confdefs.h <<_ACEOF
38152 #define HAVE__FREXPL 1
38153 _ACEOF
38156 done
38165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38166 $as_echo_n "checking for hypotl declaration... " >&6; }
38167 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38168 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38169 $as_echo_n "(cached) " >&6
38170 else
38173 ac_ext=cpp
38174 ac_cpp='$CXXCPP $CPPFLAGS'
38175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38180 /* end confdefs.h. */
38181 #include <math.h>
38183 main ()
38185 hypotl(0, 0);
38187 return 0;
38189 _ACEOF
38190 if ac_fn_cxx_try_compile "$LINENO"; then :
38191 glibcxx_cv_func_hypotl_use=yes
38192 else
38193 glibcxx_cv_func_hypotl_use=no
38195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38196 ac_ext=c
38197 ac_cpp='$CPP $CPPFLAGS'
38198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38207 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38209 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38210 for ac_func in hypotl
38211 do :
38212 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38213 if test "x$ac_cv_func_hypotl" = x""yes; then :
38214 cat >>confdefs.h <<_ACEOF
38215 #define HAVE_HYPOTL 1
38216 _ACEOF
38219 done
38221 else
38223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38224 $as_echo_n "checking for _hypotl declaration... " >&6; }
38225 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38226 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38227 $as_echo_n "(cached) " >&6
38228 else
38231 ac_ext=cpp
38232 ac_cpp='$CXXCPP $CPPFLAGS'
38233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38238 /* end confdefs.h. */
38239 #include <math.h>
38241 main ()
38243 _hypotl(0, 0);
38245 return 0;
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249 glibcxx_cv_func__hypotl_use=yes
38250 else
38251 glibcxx_cv_func__hypotl_use=no
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38265 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38267 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38268 for ac_func in _hypotl
38269 do :
38270 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38271 if test "x$ac_cv_func__hypotl" = x""yes; then :
38272 cat >>confdefs.h <<_ACEOF
38273 #define HAVE__HYPOTL 1
38274 _ACEOF
38277 done
38286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38287 $as_echo_n "checking for ldexpl declaration... " >&6; }
38288 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38289 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38290 $as_echo_n "(cached) " >&6
38291 else
38294 ac_ext=cpp
38295 ac_cpp='$CXXCPP $CPPFLAGS'
38296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38301 /* end confdefs.h. */
38302 #include <math.h>
38304 main ()
38306 ldexpl(0, 0);
38308 return 0;
38310 _ACEOF
38311 if ac_fn_cxx_try_compile "$LINENO"; then :
38312 glibcxx_cv_func_ldexpl_use=yes
38313 else
38314 glibcxx_cv_func_ldexpl_use=no
38316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38317 ac_ext=c
38318 ac_cpp='$CPP $CPPFLAGS'
38319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38328 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38330 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38331 for ac_func in ldexpl
38332 do :
38333 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38334 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38335 cat >>confdefs.h <<_ACEOF
38336 #define HAVE_LDEXPL 1
38337 _ACEOF
38340 done
38342 else
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38345 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38346 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38347 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38348 $as_echo_n "(cached) " >&6
38349 else
38352 ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h. */
38360 #include <math.h>
38362 main ()
38364 _ldexpl(0, 0);
38366 return 0;
38368 _ACEOF
38369 if ac_fn_cxx_try_compile "$LINENO"; then :
38370 glibcxx_cv_func__ldexpl_use=yes
38371 else
38372 glibcxx_cv_func__ldexpl_use=no
38374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38375 ac_ext=c
38376 ac_cpp='$CPP $CPPFLAGS'
38377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38386 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38388 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38389 for ac_func in _ldexpl
38390 do :
38391 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38392 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38393 cat >>confdefs.h <<_ACEOF
38394 #define HAVE__LDEXPL 1
38395 _ACEOF
38398 done
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38408 $as_echo_n "checking for logl declaration... " >&6; }
38409 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38410 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38411 $as_echo_n "(cached) " >&6
38412 else
38415 ac_ext=cpp
38416 ac_cpp='$CXXCPP $CPPFLAGS'
38417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38422 /* end confdefs.h. */
38423 #include <math.h>
38424 #ifdef HAVE_IEEEFP_H
38425 #include <ieeefp.h>
38426 #endif
38429 main ()
38431 logl(0);
38433 return 0;
38435 _ACEOF
38436 if ac_fn_cxx_try_compile "$LINENO"; then :
38437 glibcxx_cv_func_logl_use=yes
38438 else
38439 glibcxx_cv_func_logl_use=no
38441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38442 ac_ext=c
38443 ac_cpp='$CPP $CPPFLAGS'
38444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38453 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38455 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38456 for ac_func in logl
38457 do :
38458 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38459 if test "x$ac_cv_func_logl" = x""yes; then :
38460 cat >>confdefs.h <<_ACEOF
38461 #define HAVE_LOGL 1
38462 _ACEOF
38465 done
38467 else
38469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38470 $as_echo_n "checking for _logl declaration... " >&6; }
38471 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38472 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38473 $as_echo_n "(cached) " >&6
38474 else
38477 ac_ext=cpp
38478 ac_cpp='$CXXCPP $CPPFLAGS'
38479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38484 /* end confdefs.h. */
38485 #include <math.h>
38486 #ifdef HAVE_IEEEFP_H
38487 #include <ieeefp.h>
38488 #endif
38491 main ()
38493 _logl(0);
38495 return 0;
38497 _ACEOF
38498 if ac_fn_cxx_try_compile "$LINENO"; then :
38499 glibcxx_cv_func__logl_use=yes
38500 else
38501 glibcxx_cv_func__logl_use=no
38503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38504 ac_ext=c
38505 ac_cpp='$CPP $CPPFLAGS'
38506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38515 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38517 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38518 for ac_func in _logl
38519 do :
38520 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38521 if test "x$ac_cv_func__logl" = x""yes; then :
38522 cat >>confdefs.h <<_ACEOF
38523 #define HAVE__LOGL 1
38524 _ACEOF
38527 done
38536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38537 $as_echo_n "checking for log10l declaration... " >&6; }
38538 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38539 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38540 $as_echo_n "(cached) " >&6
38541 else
38544 ac_ext=cpp
38545 ac_cpp='$CXXCPP $CPPFLAGS'
38546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38551 /* end confdefs.h. */
38552 #include <math.h>
38553 #ifdef HAVE_IEEEFP_H
38554 #include <ieeefp.h>
38555 #endif
38558 main ()
38560 log10l(0);
38562 return 0;
38564 _ACEOF
38565 if ac_fn_cxx_try_compile "$LINENO"; then :
38566 glibcxx_cv_func_log10l_use=yes
38567 else
38568 glibcxx_cv_func_log10l_use=no
38570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38571 ac_ext=c
38572 ac_cpp='$CPP $CPPFLAGS'
38573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38582 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38584 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38585 for ac_func in log10l
38586 do :
38587 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38588 if test "x$ac_cv_func_log10l" = x""yes; then :
38589 cat >>confdefs.h <<_ACEOF
38590 #define HAVE_LOG10L 1
38591 _ACEOF
38594 done
38596 else
38598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38599 $as_echo_n "checking for _log10l declaration... " >&6; }
38600 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38601 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38602 $as_echo_n "(cached) " >&6
38603 else
38606 ac_ext=cpp
38607 ac_cpp='$CXXCPP $CPPFLAGS'
38608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38613 /* end confdefs.h. */
38614 #include <math.h>
38615 #ifdef HAVE_IEEEFP_H
38616 #include <ieeefp.h>
38617 #endif
38620 main ()
38622 _log10l(0);
38624 return 0;
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628 glibcxx_cv_func__log10l_use=yes
38629 else
38630 glibcxx_cv_func__log10l_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__log10l_use" >&5
38644 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38646 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38647 for ac_func in _log10l
38648 do :
38649 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38650 if test "x$ac_cv_func__log10l" = x""yes; then :
38651 cat >>confdefs.h <<_ACEOF
38652 #define HAVE__LOG10L 1
38653 _ACEOF
38656 done
38665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38666 $as_echo_n "checking for modfl declaration... " >&6; }
38667 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38668 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38669 $as_echo_n "(cached) " >&6
38670 else
38673 ac_ext=cpp
38674 ac_cpp='$CXXCPP $CPPFLAGS'
38675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 /* end confdefs.h. */
38681 #include <math.h>
38683 main ()
38685 modfl(0, 0);
38687 return 0;
38689 _ACEOF
38690 if ac_fn_cxx_try_compile "$LINENO"; then :
38691 glibcxx_cv_func_modfl_use=yes
38692 else
38693 glibcxx_cv_func_modfl_use=no
38695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38696 ac_ext=c
38697 ac_cpp='$CPP $CPPFLAGS'
38698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38707 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38709 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38710 for ac_func in modfl
38711 do :
38712 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38713 if test "x$ac_cv_func_modfl" = x""yes; then :
38714 cat >>confdefs.h <<_ACEOF
38715 #define HAVE_MODFL 1
38716 _ACEOF
38719 done
38721 else
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38724 $as_echo_n "checking for _modfl declaration... " >&6; }
38725 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38726 if test "${glibcxx_cv_func__modfl_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>
38741 main ()
38743 _modfl(0, 0);
38745 return 0;
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749 glibcxx_cv_func__modfl_use=yes
38750 else
38751 glibcxx_cv_func__modfl_use=no
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754 ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38765 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38767 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38768 for ac_func in _modfl
38769 do :
38770 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38771 if test "x$ac_cv_func__modfl" = x""yes; then :
38772 cat >>confdefs.h <<_ACEOF
38773 #define HAVE__MODFL 1
38774 _ACEOF
38777 done
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38787 $as_echo_n "checking for powl declaration... " >&6; }
38788 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38789 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38790 $as_echo_n "(cached) " >&6
38791 else
38794 ac_ext=cpp
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h. */
38802 #include <math.h>
38804 main ()
38806 powl(0, 0);
38808 return 0;
38810 _ACEOF
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812 glibcxx_cv_func_powl_use=yes
38813 else
38814 glibcxx_cv_func_powl_use=no
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817 ac_ext=c
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38828 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38830 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38831 for ac_func in powl
38832 do :
38833 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38834 if test "x$ac_cv_func_powl" = x""yes; then :
38835 cat >>confdefs.h <<_ACEOF
38836 #define HAVE_POWL 1
38837 _ACEOF
38840 done
38842 else
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38845 $as_echo_n "checking for _powl declaration... " >&6; }
38846 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38847 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38848 $as_echo_n "(cached) " >&6
38849 else
38852 ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h. */
38860 #include <math.h>
38862 main ()
38864 _powl(0, 0);
38866 return 0;
38868 _ACEOF
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870 glibcxx_cv_func__powl_use=yes
38871 else
38872 glibcxx_cv_func__powl_use=no
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875 ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38886 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38888 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38889 for ac_func in _powl
38890 do :
38891 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38892 if test "x$ac_cv_func__powl" = x""yes; then :
38893 cat >>confdefs.h <<_ACEOF
38894 #define HAVE__POWL 1
38895 _ACEOF
38898 done
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38908 $as_echo_n "checking for sqrtl declaration... " >&6; }
38909 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38910 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38911 $as_echo_n "(cached) " >&6
38912 else
38915 ac_ext=cpp
38916 ac_cpp='$CXXCPP $CPPFLAGS'
38917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38922 /* end confdefs.h. */
38923 #include <math.h>
38924 #ifdef HAVE_IEEEFP_H
38925 #include <ieeefp.h>
38926 #endif
38929 main ()
38931 sqrtl(0);
38933 return 0;
38935 _ACEOF
38936 if ac_fn_cxx_try_compile "$LINENO"; then :
38937 glibcxx_cv_func_sqrtl_use=yes
38938 else
38939 glibcxx_cv_func_sqrtl_use=no
38941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38942 ac_ext=c
38943 ac_cpp='$CPP $CPPFLAGS'
38944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38953 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38955 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38956 for ac_func in sqrtl
38957 do :
38958 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38959 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38960 cat >>confdefs.h <<_ACEOF
38961 #define HAVE_SQRTL 1
38962 _ACEOF
38965 done
38967 else
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38970 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38971 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38972 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38973 $as_echo_n "(cached) " >&6
38974 else
38977 ac_ext=cpp
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h. */
38985 #include <math.h>
38986 #ifdef HAVE_IEEEFP_H
38987 #include <ieeefp.h>
38988 #endif
38991 main ()
38993 _sqrtl(0);
38995 return 0;
38997 _ACEOF
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999 glibcxx_cv_func__sqrtl_use=yes
39000 else
39001 glibcxx_cv_func__sqrtl_use=no
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39004 ac_ext=c
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39015 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39017 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39018 for ac_func in _sqrtl
39019 do :
39020 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39021 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39022 cat >>confdefs.h <<_ACEOF
39023 #define HAVE__SQRTL 1
39024 _ACEOF
39027 done
39036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39037 $as_echo_n "checking for sincosl declaration... " >&6; }
39038 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39039 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39040 $as_echo_n "(cached) " >&6
39041 else
39044 ac_ext=cpp
39045 ac_cpp='$CXXCPP $CPPFLAGS'
39046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39051 /* end confdefs.h. */
39052 #include <math.h>
39054 main ()
39056 sincosl(0, 0, 0);
39058 return 0;
39060 _ACEOF
39061 if ac_fn_cxx_try_compile "$LINENO"; then :
39062 glibcxx_cv_func_sincosl_use=yes
39063 else
39064 glibcxx_cv_func_sincosl_use=no
39066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39067 ac_ext=c
39068 ac_cpp='$CPP $CPPFLAGS'
39069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39078 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39080 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39081 for ac_func in sincosl
39082 do :
39083 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39084 if test "x$ac_cv_func_sincosl" = x""yes; then :
39085 cat >>confdefs.h <<_ACEOF
39086 #define HAVE_SINCOSL 1
39087 _ACEOF
39090 done
39092 else
39094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39095 $as_echo_n "checking for _sincosl declaration... " >&6; }
39096 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39097 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39098 $as_echo_n "(cached) " >&6
39099 else
39102 ac_ext=cpp
39103 ac_cpp='$CXXCPP $CPPFLAGS'
39104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39109 /* end confdefs.h. */
39110 #include <math.h>
39112 main ()
39114 _sincosl(0, 0, 0);
39116 return 0;
39118 _ACEOF
39119 if ac_fn_cxx_try_compile "$LINENO"; then :
39120 glibcxx_cv_func__sincosl_use=yes
39121 else
39122 glibcxx_cv_func__sincosl_use=no
39124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125 ac_ext=c
39126 ac_cpp='$CPP $CPPFLAGS'
39127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39136 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39138 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39139 for ac_func in _sincosl
39140 do :
39141 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39142 if test "x$ac_cv_func__sincosl" = x""yes; then :
39143 cat >>confdefs.h <<_ACEOF
39144 #define HAVE__SINCOSL 1
39145 _ACEOF
39148 done
39157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39158 $as_echo_n "checking for finitel declaration... " >&6; }
39159 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39160 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39161 $as_echo_n "(cached) " >&6
39162 else
39165 ac_ext=cpp
39166 ac_cpp='$CXXCPP $CPPFLAGS'
39167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39172 /* end confdefs.h. */
39173 #include <math.h>
39174 #ifdef HAVE_IEEEFP_H
39175 #include <ieeefp.h>
39176 #endif
39179 main ()
39181 finitel(0);
39183 return 0;
39185 _ACEOF
39186 if ac_fn_cxx_try_compile "$LINENO"; then :
39187 glibcxx_cv_func_finitel_use=yes
39188 else
39189 glibcxx_cv_func_finitel_use=no
39191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39192 ac_ext=c
39193 ac_cpp='$CPP $CPPFLAGS'
39194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39203 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39205 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39206 for ac_func in finitel
39207 do :
39208 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39209 if test "x$ac_cv_func_finitel" = x""yes; then :
39210 cat >>confdefs.h <<_ACEOF
39211 #define HAVE_FINITEL 1
39212 _ACEOF
39215 done
39217 else
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39220 $as_echo_n "checking for _finitel declaration... " >&6; }
39221 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39222 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39223 $as_echo_n "(cached) " >&6
39224 else
39227 ac_ext=cpp
39228 ac_cpp='$CXXCPP $CPPFLAGS'
39229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39234 /* end confdefs.h. */
39235 #include <math.h>
39236 #ifdef HAVE_IEEEFP_H
39237 #include <ieeefp.h>
39238 #endif
39241 main ()
39243 _finitel(0);
39245 return 0;
39247 _ACEOF
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249 glibcxx_cv_func__finitel_use=yes
39250 else
39251 glibcxx_cv_func__finitel_use=no
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39254 ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39265 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39267 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39268 for ac_func in _finitel
39269 do :
39270 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39271 if test "x$ac_cv_func__finitel" = x""yes; then :
39272 cat >>confdefs.h <<_ACEOF
39273 #define HAVE__FINITEL 1
39274 _ACEOF
39277 done
39285 LIBS="$ac_save_LIBS"
39286 CXXFLAGS="$ac_save_CXXFLAGS"
39289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39290 ac_save_CXXFLAGS="$CXXFLAGS"
39291 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39295 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39296 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39297 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <stdlib.h>
39312 main ()
39314 at_quick_exit(0);
39316 return 0;
39318 _ACEOF
39319 if ac_fn_cxx_try_compile "$LINENO"; then :
39320 glibcxx_cv_func_at_quick_exit_use=yes
39321 else
39322 glibcxx_cv_func_at_quick_exit_use=no
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39325 ac_ext=c
39326 ac_cpp='$CPP $CPPFLAGS'
39327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39336 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39337 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39338 for ac_func in at_quick_exit
39339 do :
39340 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39341 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39342 cat >>confdefs.h <<_ACEOF
39343 #define HAVE_AT_QUICK_EXIT 1
39344 _ACEOF
39347 done
39352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39353 $as_echo_n "checking for quick_exit declaration... " >&6; }
39354 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39355 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39356 $as_echo_n "(cached) " >&6
39357 else
39360 ac_ext=cpp
39361 ac_cpp='$CXXCPP $CPPFLAGS'
39362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39367 /* end confdefs.h. */
39368 #include <stdlib.h>
39370 main ()
39372 quick_exit(0);
39374 return 0;
39376 _ACEOF
39377 if ac_fn_cxx_try_compile "$LINENO"; then :
39378 glibcxx_cv_func_quick_exit_use=yes
39379 else
39380 glibcxx_cv_func_quick_exit_use=no
39382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39383 ac_ext=c
39384 ac_cpp='$CPP $CPPFLAGS'
39385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39394 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39395 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39396 for ac_func in quick_exit
39397 do :
39398 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39399 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39400 cat >>confdefs.h <<_ACEOF
39401 #define HAVE_QUICK_EXIT 1
39402 _ACEOF
39405 done
39410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39411 $as_echo_n "checking for strtold declaration... " >&6; }
39412 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39413 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39414 $as_echo_n "(cached) " >&6
39415 else
39418 ac_ext=cpp
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39425 /* end confdefs.h. */
39426 #include <stdlib.h>
39428 main ()
39430 strtold(0, 0);
39432 return 0;
39434 _ACEOF
39435 if ac_fn_cxx_try_compile "$LINENO"; then :
39436 glibcxx_cv_func_strtold_use=yes
39437 else
39438 glibcxx_cv_func_strtold_use=no
39440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39441 ac_ext=c
39442 ac_cpp='$CPP $CPPFLAGS'
39443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39452 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39453 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39454 for ac_func in strtold
39455 do :
39456 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39457 if test "x$ac_cv_func_strtold" = x""yes; then :
39458 cat >>confdefs.h <<_ACEOF
39459 #define HAVE_STRTOLD 1
39460 _ACEOF
39463 done
39470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39471 $as_echo_n "checking for strtof declaration... " >&6; }
39472 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39473 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39474 $as_echo_n "(cached) " >&6
39475 else
39478 ac_ext=cpp
39479 ac_cpp='$CXXCPP $CPPFLAGS'
39480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39485 /* end confdefs.h. */
39486 #include <stdlib.h>
39488 main ()
39490 strtof(0, 0);
39492 return 0;
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496 glibcxx_cv_func_strtof_use=yes
39497 else
39498 glibcxx_cv_func_strtof_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_strtof_use" >&5
39512 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39513 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39514 for ac_func in strtof
39515 do :
39516 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39517 if test "x$ac_cv_func_strtof" = x""yes; then :
39518 cat >>confdefs.h <<_ACEOF
39519 #define HAVE_STRTOF 1
39520 _ACEOF
39523 done
39530 CXXFLAGS="$ac_save_CXXFLAGS"
39532 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39534 # We don't yet support AIX's TLS ABI.
39535 #GCC_CHECK_TLS
39541 am_save_CPPFLAGS="$CPPFLAGS"
39543 for element in $INCICONV; do
39544 haveit=
39545 for x in $CPPFLAGS; do
39547 acl_save_prefix="$prefix"
39548 prefix="$acl_final_prefix"
39549 acl_save_exec_prefix="$exec_prefix"
39550 exec_prefix="$acl_final_exec_prefix"
39551 eval x=\"$x\"
39552 exec_prefix="$acl_save_exec_prefix"
39553 prefix="$acl_save_prefix"
39555 if test "X$x" = "X$element"; then
39556 haveit=yes
39557 break
39559 done
39560 if test -z "$haveit"; then
39561 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39563 done
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39567 $as_echo_n "checking for iconv... " >&6; }
39568 if test "${am_cv_func_iconv+set}" = set; then :
39569 $as_echo_n "(cached) " >&6
39570 else
39572 am_cv_func_iconv="no, consider installing GNU libiconv"
39573 am_cv_lib_iconv=no
39574 if test x$gcc_no_link = xyes; then
39575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39578 /* end confdefs.h. */
39579 #include <stdlib.h>
39580 #include <iconv.h>
39582 main ()
39584 iconv_t cd = iconv_open("","");
39585 iconv(cd,NULL,NULL,NULL,NULL);
39586 iconv_close(cd);
39588 return 0;
39590 _ACEOF
39591 if ac_fn_c_try_link "$LINENO"; then :
39592 am_cv_func_iconv=yes
39594 rm -f core conftest.err conftest.$ac_objext \
39595 conftest$ac_exeext conftest.$ac_ext
39596 if test "$am_cv_func_iconv" != yes; then
39597 am_save_LIBS="$LIBS"
39598 LIBS="$LIBS $LIBICONV"
39599 if test x$gcc_no_link = xyes; then
39600 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39603 /* end confdefs.h. */
39604 #include <stdlib.h>
39605 #include <iconv.h>
39607 main ()
39609 iconv_t cd = iconv_open("","");
39610 iconv(cd,NULL,NULL,NULL,NULL);
39611 iconv_close(cd);
39613 return 0;
39615 _ACEOF
39616 if ac_fn_c_try_link "$LINENO"; then :
39617 am_cv_lib_iconv=yes
39618 am_cv_func_iconv=yes
39620 rm -f core conftest.err conftest.$ac_objext \
39621 conftest$ac_exeext conftest.$ac_ext
39622 LIBS="$am_save_LIBS"
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39627 $as_echo "$am_cv_func_iconv" >&6; }
39628 if test "$am_cv_func_iconv" = yes; then
39630 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39633 if test "$am_cv_lib_iconv" = yes; then
39634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39635 $as_echo_n "checking how to link with libiconv... " >&6; }
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39637 $as_echo "$LIBICONV" >&6; }
39638 else
39639 CPPFLAGS="$am_save_CPPFLAGS"
39640 LIBICONV=
39641 LTLIBICONV=
39646 if test "$am_cv_func_iconv" = yes; then
39647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39648 $as_echo_n "checking for iconv declaration... " >&6; }
39649 if test "${am_cv_proto_iconv+set}" = set; then :
39650 $as_echo_n "(cached) " >&6
39651 else
39653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39654 /* end confdefs.h. */
39656 #include <stdlib.h>
39657 #include <iconv.h>
39658 extern
39659 #ifdef __cplusplus
39661 #endif
39662 #if defined(__STDC__) || defined(__cplusplus)
39663 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39664 #else
39665 size_t iconv();
39666 #endif
39669 main ()
39673 return 0;
39675 _ACEOF
39676 if ac_fn_c_try_compile "$LINENO"; then :
39677 am_cv_proto_iconv_arg1=""
39678 else
39679 am_cv_proto_iconv_arg1="const"
39681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39682 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);"
39685 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39687 }$am_cv_proto_iconv" >&5
39688 $as_echo "${ac_t:-
39689 }$am_cv_proto_iconv" >&6; }
39691 cat >>confdefs.h <<_ACEOF
39692 #define ICONV_CONST $am_cv_proto_iconv_arg1
39693 _ACEOF
39699 *-darwin*)
39700 # Darwin versions vary, but the linker should work in a cross environment,
39701 # so we just check for all the features here.
39702 # Check for available headers.
39704 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39707 ac_save_CXXFLAGS="$CXXFLAGS"
39708 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39711 $as_echo_n "checking for sin in -lm... " >&6; }
39712 if test "${ac_cv_lib_m_sin+set}" = set; then :
39713 $as_echo_n "(cached) " >&6
39714 else
39715 ac_check_lib_save_LIBS=$LIBS
39716 LIBS="-lm $LIBS"
39717 if test x$gcc_no_link = xyes; then
39718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39721 /* end confdefs.h. */
39723 /* Override any GCC internal prototype to avoid an error.
39724 Use char because int might match the return type of a GCC
39725 builtin and then its argument prototype would still apply. */
39726 #ifdef __cplusplus
39727 extern "C"
39728 #endif
39729 char sin ();
39731 main ()
39733 return sin ();
39735 return 0;
39737 _ACEOF
39738 if ac_fn_c_try_link "$LINENO"; then :
39739 ac_cv_lib_m_sin=yes
39740 else
39741 ac_cv_lib_m_sin=no
39743 rm -f core conftest.err conftest.$ac_objext \
39744 conftest$ac_exeext conftest.$ac_ext
39745 LIBS=$ac_check_lib_save_LIBS
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39748 $as_echo "$ac_cv_lib_m_sin" >&6; }
39749 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39750 libm="-lm"
39753 ac_save_LIBS="$LIBS"
39754 LIBS="$LIBS $libm"
39758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39759 $as_echo_n "checking for isinf declaration... " >&6; }
39760 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39761 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39762 $as_echo_n "(cached) " >&6
39763 else
39766 ac_ext=cpp
39767 ac_cpp='$CXXCPP $CPPFLAGS'
39768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39773 /* end confdefs.h. */
39774 #include <math.h>
39775 #ifdef HAVE_IEEEFP_H
39776 #include <ieeefp.h>
39777 #endif
39780 main ()
39782 isinf(0);
39784 return 0;
39786 _ACEOF
39787 if ac_fn_cxx_try_compile "$LINENO"; then :
39788 glibcxx_cv_func_isinf_use=yes
39789 else
39790 glibcxx_cv_func_isinf_use=no
39792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39793 ac_ext=c
39794 ac_cpp='$CPP $CPPFLAGS'
39795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39804 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39806 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39807 for ac_func in isinf
39808 do :
39809 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39810 if test "x$ac_cv_func_isinf" = x""yes; then :
39811 cat >>confdefs.h <<_ACEOF
39812 #define HAVE_ISINF 1
39813 _ACEOF
39816 done
39818 else
39820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39821 $as_echo_n "checking for _isinf declaration... " >&6; }
39822 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39823 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39824 $as_echo_n "(cached) " >&6
39825 else
39828 ac_ext=cpp
39829 ac_cpp='$CXXCPP $CPPFLAGS'
39830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39835 /* end confdefs.h. */
39836 #include <math.h>
39837 #ifdef HAVE_IEEEFP_H
39838 #include <ieeefp.h>
39839 #endif
39842 main ()
39844 _isinf(0);
39846 return 0;
39848 _ACEOF
39849 if ac_fn_cxx_try_compile "$LINENO"; then :
39850 glibcxx_cv_func__isinf_use=yes
39851 else
39852 glibcxx_cv_func__isinf_use=no
39854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39855 ac_ext=c
39856 ac_cpp='$CPP $CPPFLAGS'
39857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39866 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39868 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39869 for ac_func in _isinf
39870 do :
39871 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39872 if test "x$ac_cv_func__isinf" = x""yes; then :
39873 cat >>confdefs.h <<_ACEOF
39874 #define HAVE__ISINF 1
39875 _ACEOF
39878 done
39887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39888 $as_echo_n "checking for isnan declaration... " >&6; }
39889 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39890 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39891 $as_echo_n "(cached) " >&6
39892 else
39895 ac_ext=cpp
39896 ac_cpp='$CXXCPP $CPPFLAGS'
39897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39902 /* end confdefs.h. */
39903 #include <math.h>
39904 #ifdef HAVE_IEEEFP_H
39905 #include <ieeefp.h>
39906 #endif
39909 main ()
39911 isnan(0);
39913 return 0;
39915 _ACEOF
39916 if ac_fn_cxx_try_compile "$LINENO"; then :
39917 glibcxx_cv_func_isnan_use=yes
39918 else
39919 glibcxx_cv_func_isnan_use=no
39921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39922 ac_ext=c
39923 ac_cpp='$CPP $CPPFLAGS'
39924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39933 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39935 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39936 for ac_func in isnan
39937 do :
39938 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39939 if test "x$ac_cv_func_isnan" = x""yes; then :
39940 cat >>confdefs.h <<_ACEOF
39941 #define HAVE_ISNAN 1
39942 _ACEOF
39945 done
39947 else
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39950 $as_echo_n "checking for _isnan declaration... " >&6; }
39951 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39952 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39953 $as_echo_n "(cached) " >&6
39954 else
39957 ac_ext=cpp
39958 ac_cpp='$CXXCPP $CPPFLAGS'
39959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39964 /* end confdefs.h. */
39965 #include <math.h>
39966 #ifdef HAVE_IEEEFP_H
39967 #include <ieeefp.h>
39968 #endif
39971 main ()
39973 _isnan(0);
39975 return 0;
39977 _ACEOF
39978 if ac_fn_cxx_try_compile "$LINENO"; then :
39979 glibcxx_cv_func__isnan_use=yes
39980 else
39981 glibcxx_cv_func__isnan_use=no
39983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39984 ac_ext=c
39985 ac_cpp='$CPP $CPPFLAGS'
39986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39995 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39997 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39998 for ac_func in _isnan
39999 do :
40000 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40001 if test "x$ac_cv_func__isnan" = x""yes; then :
40002 cat >>confdefs.h <<_ACEOF
40003 #define HAVE__ISNAN 1
40004 _ACEOF
40007 done
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40017 $as_echo_n "checking for finite declaration... " >&6; }
40018 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40019 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40020 $as_echo_n "(cached) " >&6
40021 else
40024 ac_ext=cpp
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031 /* end confdefs.h. */
40032 #include <math.h>
40033 #ifdef HAVE_IEEEFP_H
40034 #include <ieeefp.h>
40035 #endif
40038 main ()
40040 finite(0);
40042 return 0;
40044 _ACEOF
40045 if ac_fn_cxx_try_compile "$LINENO"; then :
40046 glibcxx_cv_func_finite_use=yes
40047 else
40048 glibcxx_cv_func_finite_use=no
40050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40051 ac_ext=c
40052 ac_cpp='$CPP $CPPFLAGS'
40053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40062 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40064 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40065 for ac_func in finite
40066 do :
40067 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40068 if test "x$ac_cv_func_finite" = x""yes; then :
40069 cat >>confdefs.h <<_ACEOF
40070 #define HAVE_FINITE 1
40071 _ACEOF
40074 done
40076 else
40078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40079 $as_echo_n "checking for _finite declaration... " >&6; }
40080 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40081 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40082 $as_echo_n "(cached) " >&6
40083 else
40086 ac_ext=cpp
40087 ac_cpp='$CXXCPP $CPPFLAGS'
40088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40093 /* end confdefs.h. */
40094 #include <math.h>
40095 #ifdef HAVE_IEEEFP_H
40096 #include <ieeefp.h>
40097 #endif
40100 main ()
40102 _finite(0);
40104 return 0;
40106 _ACEOF
40107 if ac_fn_cxx_try_compile "$LINENO"; then :
40108 glibcxx_cv_func__finite_use=yes
40109 else
40110 glibcxx_cv_func__finite_use=no
40112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40113 ac_ext=c
40114 ac_cpp='$CPP $CPPFLAGS'
40115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40124 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40126 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40127 for ac_func in _finite
40128 do :
40129 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40130 if test "x$ac_cv_func__finite" = x""yes; then :
40131 cat >>confdefs.h <<_ACEOF
40132 #define HAVE__FINITE 1
40133 _ACEOF
40136 done
40145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40146 $as_echo_n "checking for sincos declaration... " >&6; }
40147 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40148 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40149 $as_echo_n "(cached) " >&6
40150 else
40153 ac_ext=cpp
40154 ac_cpp='$CXXCPP $CPPFLAGS'
40155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40160 /* end confdefs.h. */
40161 #include <math.h>
40163 main ()
40165 sincos(0, 0, 0);
40167 return 0;
40169 _ACEOF
40170 if ac_fn_cxx_try_compile "$LINENO"; then :
40171 glibcxx_cv_func_sincos_use=yes
40172 else
40173 glibcxx_cv_func_sincos_use=no
40175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40176 ac_ext=c
40177 ac_cpp='$CPP $CPPFLAGS'
40178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40187 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40189 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40190 for ac_func in sincos
40191 do :
40192 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40193 if test "x$ac_cv_func_sincos" = x""yes; then :
40194 cat >>confdefs.h <<_ACEOF
40195 #define HAVE_SINCOS 1
40196 _ACEOF
40199 done
40201 else
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40204 $as_echo_n "checking for _sincos declaration... " >&6; }
40205 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40206 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40207 $as_echo_n "(cached) " >&6
40208 else
40211 ac_ext=cpp
40212 ac_cpp='$CXXCPP $CPPFLAGS'
40213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40218 /* end confdefs.h. */
40219 #include <math.h>
40221 main ()
40223 _sincos(0, 0, 0);
40225 return 0;
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229 glibcxx_cv_func__sincos_use=yes
40230 else
40231 glibcxx_cv_func__sincos_use=no
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234 ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40245 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40247 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40248 for ac_func in _sincos
40249 do :
40250 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40251 if test "x$ac_cv_func__sincos" = x""yes; then :
40252 cat >>confdefs.h <<_ACEOF
40253 #define HAVE__SINCOS 1
40254 _ACEOF
40257 done
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40267 $as_echo_n "checking for fpclass declaration... " >&6; }
40268 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40269 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40270 $as_echo_n "(cached) " >&6
40271 else
40274 ac_ext=cpp
40275 ac_cpp='$CXXCPP $CPPFLAGS'
40276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40281 /* end confdefs.h. */
40282 #include <math.h>
40283 #ifdef HAVE_IEEEFP_H
40284 #include <ieeefp.h>
40285 #endif
40288 main ()
40290 fpclass(0);
40292 return 0;
40294 _ACEOF
40295 if ac_fn_cxx_try_compile "$LINENO"; then :
40296 glibcxx_cv_func_fpclass_use=yes
40297 else
40298 glibcxx_cv_func_fpclass_use=no
40300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40301 ac_ext=c
40302 ac_cpp='$CPP $CPPFLAGS'
40303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40312 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40314 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40315 for ac_func in fpclass
40316 do :
40317 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40318 if test "x$ac_cv_func_fpclass" = x""yes; then :
40319 cat >>confdefs.h <<_ACEOF
40320 #define HAVE_FPCLASS 1
40321 _ACEOF
40324 done
40326 else
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40329 $as_echo_n "checking for _fpclass declaration... " >&6; }
40330 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40331 if test "${glibcxx_cv_func__fpclass_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 _fpclass(0);
40354 return 0;
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358 glibcxx_cv_func__fpclass_use=yes
40359 else
40360 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
40374 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40376 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40377 for ac_func in _fpclass
40378 do :
40379 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40380 if test "x$ac_cv_func__fpclass" = x""yes; then :
40381 cat >>confdefs.h <<_ACEOF
40382 #define HAVE__FPCLASS 1
40383 _ACEOF
40386 done
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40396 $as_echo_n "checking for qfpclass declaration... " >&6; }
40397 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40398 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40399 $as_echo_n "(cached) " >&6
40400 else
40403 ac_ext=cpp
40404 ac_cpp='$CXXCPP $CPPFLAGS'
40405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40410 /* end confdefs.h. */
40411 #include <math.h>
40412 #ifdef HAVE_IEEEFP_H
40413 #include <ieeefp.h>
40414 #endif
40417 main ()
40419 qfpclass(0);
40421 return 0;
40423 _ACEOF
40424 if ac_fn_cxx_try_compile "$LINENO"; then :
40425 glibcxx_cv_func_qfpclass_use=yes
40426 else
40427 glibcxx_cv_func_qfpclass_use=no
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430 ac_ext=c
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40441 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40443 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40444 for ac_func in qfpclass
40445 do :
40446 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40447 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40448 cat >>confdefs.h <<_ACEOF
40449 #define HAVE_QFPCLASS 1
40450 _ACEOF
40453 done
40455 else
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40458 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40459 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40460 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
40483 return 0;
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func__qfpclass_use=yes
40488 else
40489 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
40503 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40505 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40506 for ac_func in _qfpclass
40507 do :
40508 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40509 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE__QFPCLASS 1
40512 _ACEOF
40515 done
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40525 $as_echo_n "checking for hypot declaration... " >&6; }
40526 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40527 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40528 $as_echo_n "(cached) " >&6
40529 else
40532 ac_ext=cpp
40533 ac_cpp='$CXXCPP $CPPFLAGS'
40534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40539 /* end confdefs.h. */
40540 #include <math.h>
40542 main ()
40544 hypot(0, 0);
40546 return 0;
40548 _ACEOF
40549 if ac_fn_cxx_try_compile "$LINENO"; then :
40550 glibcxx_cv_func_hypot_use=yes
40551 else
40552 glibcxx_cv_func_hypot_use=no
40554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40555 ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40566 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40568 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40569 for ac_func in hypot
40570 do :
40571 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40572 if test "x$ac_cv_func_hypot" = x""yes; then :
40573 cat >>confdefs.h <<_ACEOF
40574 #define HAVE_HYPOT 1
40575 _ACEOF
40578 done
40580 else
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40583 $as_echo_n "checking for _hypot declaration... " >&6; }
40584 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40585 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40586 $as_echo_n "(cached) " >&6
40587 else
40590 ac_ext=cpp
40591 ac_cpp='$CXXCPP $CPPFLAGS'
40592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40597 /* end confdefs.h. */
40598 #include <math.h>
40600 main ()
40602 _hypot(0, 0);
40604 return 0;
40606 _ACEOF
40607 if ac_fn_cxx_try_compile "$LINENO"; then :
40608 glibcxx_cv_func__hypot_use=yes
40609 else
40610 glibcxx_cv_func__hypot_use=no
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40624 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40626 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40627 for ac_func in _hypot
40628 do :
40629 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40630 if test "x$ac_cv_func__hypot" = x""yes; then :
40631 cat >>confdefs.h <<_ACEOF
40632 #define HAVE__HYPOT 1
40633 _ACEOF
40636 done
40645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40646 $as_echo_n "checking for float trig functions... " >&6; }
40647 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40648 $as_echo_n "(cached) " >&6
40649 else
40652 ac_ext=cpp
40653 ac_cpp='$CXXCPP $CPPFLAGS'
40654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40659 /* end confdefs.h. */
40660 #include <math.h>
40662 main ()
40664 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40666 return 0;
40668 _ACEOF
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670 glibcxx_cv_func_float_trig_use=yes
40671 else
40672 glibcxx_cv_func_float_trig_use=no
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675 ac_ext=c
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40684 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40685 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40686 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40687 do :
40688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40690 eval as_val=\$$as_ac_var
40691 if test "x$as_val" = x""yes; then :
40692 cat >>confdefs.h <<_ACEOF
40693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40694 _ACEOF
40697 done
40699 else
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40701 $as_echo_n "checking for _float trig functions... " >&6; }
40702 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40717 main ()
40719 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40721 return 0;
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func__float_trig_use=yes
40726 else
40727 glibcxx_cv_func__float_trig_use=no
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40739 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40740 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40741 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40742 do :
40743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40745 eval as_val=\$$as_ac_var
40746 if test "x$as_val" = x""yes; then :
40747 cat >>confdefs.h <<_ACEOF
40748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40749 _ACEOF
40752 done
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40762 $as_echo_n "checking for float round functions... " >&6; }
40763 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40764 $as_echo_n "(cached) " >&6
40765 else
40768 ac_ext=cpp
40769 ac_cpp='$CXXCPP $CPPFLAGS'
40770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40775 /* end confdefs.h. */
40776 #include <math.h>
40778 main ()
40780 ceilf (0); floorf (0);
40782 return 0;
40784 _ACEOF
40785 if ac_fn_cxx_try_compile "$LINENO"; then :
40786 glibcxx_cv_func_float_round_use=yes
40787 else
40788 glibcxx_cv_func_float_round_use=no
40790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40791 ac_ext=c
40792 ac_cpp='$CPP $CPPFLAGS'
40793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40800 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40801 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40802 for ac_func in ceilf floorf
40803 do :
40804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40806 eval as_val=\$$as_ac_var
40807 if test "x$as_val" = x""yes; then :
40808 cat >>confdefs.h <<_ACEOF
40809 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40810 _ACEOF
40813 done
40815 else
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40817 $as_echo_n "checking for _float round functions... " >&6; }
40818 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40819 $as_echo_n "(cached) " >&6
40820 else
40823 ac_ext=cpp
40824 ac_cpp='$CXXCPP $CPPFLAGS'
40825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40830 /* end confdefs.h. */
40831 #include <math.h>
40833 main ()
40835 _ceilf (0); _floorf (0);
40837 return 0;
40839 _ACEOF
40840 if ac_fn_cxx_try_compile "$LINENO"; then :
40841 glibcxx_cv_func__float_round_use=yes
40842 else
40843 glibcxx_cv_func__float_round_use=no
40845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40846 ac_ext=c
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40855 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40856 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40857 for ac_func in _ceilf _floorf
40858 do :
40859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40861 eval as_val=\$$as_ac_var
40862 if test "x$as_val" = x""yes; then :
40863 cat >>confdefs.h <<_ACEOF
40864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 _ACEOF
40868 done
40878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40879 $as_echo_n "checking for expf declaration... " >&6; }
40880 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40881 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40882 $as_echo_n "(cached) " >&6
40883 else
40886 ac_ext=cpp
40887 ac_cpp='$CXXCPP $CPPFLAGS'
40888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40893 /* end confdefs.h. */
40894 #include <math.h>
40895 #ifdef HAVE_IEEEFP_H
40896 #include <ieeefp.h>
40897 #endif
40900 main ()
40902 expf(0);
40904 return 0;
40906 _ACEOF
40907 if ac_fn_cxx_try_compile "$LINENO"; then :
40908 glibcxx_cv_func_expf_use=yes
40909 else
40910 glibcxx_cv_func_expf_use=no
40912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40913 ac_ext=c
40914 ac_cpp='$CPP $CPPFLAGS'
40915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40924 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40926 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40927 for ac_func in expf
40928 do :
40929 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40930 if test "x$ac_cv_func_expf" = x""yes; then :
40931 cat >>confdefs.h <<_ACEOF
40932 #define HAVE_EXPF 1
40933 _ACEOF
40936 done
40938 else
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40941 $as_echo_n "checking for _expf declaration... " >&6; }
40942 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40943 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40944 $as_echo_n "(cached) " >&6
40945 else
40948 ac_ext=cpp
40949 ac_cpp='$CXXCPP $CPPFLAGS'
40950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40956 #include <math.h>
40957 #ifdef HAVE_IEEEFP_H
40958 #include <ieeefp.h>
40959 #endif
40962 main ()
40964 _expf(0);
40966 return 0;
40968 _ACEOF
40969 if ac_fn_cxx_try_compile "$LINENO"; then :
40970 glibcxx_cv_func__expf_use=yes
40971 else
40972 glibcxx_cv_func__expf_use=no
40974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40975 ac_ext=c
40976 ac_cpp='$CPP $CPPFLAGS'
40977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40986 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40988 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40989 for ac_func in _expf
40990 do :
40991 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40992 if test "x$ac_cv_func__expf" = x""yes; then :
40993 cat >>confdefs.h <<_ACEOF
40994 #define HAVE__EXPF 1
40995 _ACEOF
40998 done
41007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41008 $as_echo_n "checking for isnanf declaration... " >&6; }
41009 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41010 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41011 $as_echo_n "(cached) " >&6
41012 else
41015 ac_ext=cpp
41016 ac_cpp='$CXXCPP $CPPFLAGS'
41017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h. */
41023 #include <math.h>
41024 #ifdef HAVE_IEEEFP_H
41025 #include <ieeefp.h>
41026 #endif
41029 main ()
41031 isnanf(0);
41033 return 0;
41035 _ACEOF
41036 if ac_fn_cxx_try_compile "$LINENO"; then :
41037 glibcxx_cv_func_isnanf_use=yes
41038 else
41039 glibcxx_cv_func_isnanf_use=no
41041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41042 ac_ext=c
41043 ac_cpp='$CPP $CPPFLAGS'
41044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41053 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41055 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41056 for ac_func in isnanf
41057 do :
41058 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41059 if test "x$ac_cv_func_isnanf" = x""yes; then :
41060 cat >>confdefs.h <<_ACEOF
41061 #define HAVE_ISNANF 1
41062 _ACEOF
41065 done
41067 else
41069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41070 $as_echo_n "checking for _isnanf declaration... " >&6; }
41071 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41072 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41073 $as_echo_n "(cached) " >&6
41074 else
41077 ac_ext=cpp
41078 ac_cpp='$CXXCPP $CPPFLAGS'
41079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41084 /* end confdefs.h. */
41085 #include <math.h>
41086 #ifdef HAVE_IEEEFP_H
41087 #include <ieeefp.h>
41088 #endif
41091 main ()
41093 _isnanf(0);
41095 return 0;
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func__isnanf_use=yes
41100 else
41101 glibcxx_cv_func__isnanf_use=no
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104 ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41115 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41117 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41118 for ac_func in _isnanf
41119 do :
41120 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41121 if test "x$ac_cv_func__isnanf" = x""yes; then :
41122 cat >>confdefs.h <<_ACEOF
41123 #define HAVE__ISNANF 1
41124 _ACEOF
41127 done
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41137 $as_echo_n "checking for isinff declaration... " >&6; }
41138 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41139 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41140 $as_echo_n "(cached) " >&6
41141 else
41144 ac_ext=cpp
41145 ac_cpp='$CXXCPP $CPPFLAGS'
41146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41151 /* end confdefs.h. */
41152 #include <math.h>
41153 #ifdef HAVE_IEEEFP_H
41154 #include <ieeefp.h>
41155 #endif
41158 main ()
41160 isinff(0);
41162 return 0;
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166 glibcxx_cv_func_isinff_use=yes
41167 else
41168 glibcxx_cv_func_isinff_use=no
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171 ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41182 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41184 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41185 for ac_func in isinff
41186 do :
41187 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41188 if test "x$ac_cv_func_isinff" = x""yes; then :
41189 cat >>confdefs.h <<_ACEOF
41190 #define HAVE_ISINFF 1
41191 _ACEOF
41194 done
41196 else
41198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41199 $as_echo_n "checking for _isinff declaration... " >&6; }
41200 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41201 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41202 $as_echo_n "(cached) " >&6
41203 else
41206 ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h. */
41214 #include <math.h>
41215 #ifdef HAVE_IEEEFP_H
41216 #include <ieeefp.h>
41217 #endif
41220 main ()
41222 _isinff(0);
41224 return 0;
41226 _ACEOF
41227 if ac_fn_cxx_try_compile "$LINENO"; then :
41228 glibcxx_cv_func__isinff_use=yes
41229 else
41230 glibcxx_cv_func__isinff_use=no
41232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41233 ac_ext=c
41234 ac_cpp='$CPP $CPPFLAGS'
41235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41244 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41246 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41247 for ac_func in _isinff
41248 do :
41249 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41250 if test "x$ac_cv_func__isinff" = x""yes; then :
41251 cat >>confdefs.h <<_ACEOF
41252 #define HAVE__ISINFF 1
41253 _ACEOF
41256 done
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41266 $as_echo_n "checking for atan2f declaration... " >&6; }
41267 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41268 if test "${glibcxx_cv_func_atan2f_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 atan2f(0, 0);
41287 return 0;
41289 _ACEOF
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291 glibcxx_cv_func_atan2f_use=yes
41292 else
41293 glibcxx_cv_func_atan2f_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_atan2f_use" >&5
41307 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41309 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41310 for ac_func in atan2f
41311 do :
41312 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41313 if test "x$ac_cv_func_atan2f" = x""yes; then :
41314 cat >>confdefs.h <<_ACEOF
41315 #define HAVE_ATAN2F 1
41316 _ACEOF
41319 done
41321 else
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41324 $as_echo_n "checking for _atan2f declaration... " >&6; }
41325 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41326 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41327 $as_echo_n "(cached) " >&6
41328 else
41331 ac_ext=cpp
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41339 #include <math.h>
41341 main ()
41343 _atan2f(0, 0);
41345 return 0;
41347 _ACEOF
41348 if ac_fn_cxx_try_compile "$LINENO"; then :
41349 glibcxx_cv_func__atan2f_use=yes
41350 else
41351 glibcxx_cv_func__atan2f_use=no
41353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41354 ac_ext=c
41355 ac_cpp='$CPP $CPPFLAGS'
41356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41365 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41367 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41368 for ac_func in _atan2f
41369 do :
41370 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41371 if test "x$ac_cv_func__atan2f" = x""yes; then :
41372 cat >>confdefs.h <<_ACEOF
41373 #define HAVE__ATAN2F 1
41374 _ACEOF
41377 done
41386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41387 $as_echo_n "checking for fabsf declaration... " >&6; }
41388 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41389 if test "${glibcxx_cv_func_fabsf_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>
41403 #ifdef HAVE_IEEEFP_H
41404 #include <ieeefp.h>
41405 #endif
41408 main ()
41410 fabsf(0);
41412 return 0;
41414 _ACEOF
41415 if ac_fn_cxx_try_compile "$LINENO"; then :
41416 glibcxx_cv_func_fabsf_use=yes
41417 else
41418 glibcxx_cv_func_fabsf_use=no
41420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41421 ac_ext=c
41422 ac_cpp='$CPP $CPPFLAGS'
41423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41432 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41434 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41435 for ac_func in fabsf
41436 do :
41437 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41438 if test "x$ac_cv_func_fabsf" = x""yes; then :
41439 cat >>confdefs.h <<_ACEOF
41440 #define HAVE_FABSF 1
41441 _ACEOF
41444 done
41446 else
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41449 $as_echo_n "checking for _fabsf declaration... " >&6; }
41450 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41451 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41452 $as_echo_n "(cached) " >&6
41453 else
41456 ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h. */
41464 #include <math.h>
41465 #ifdef HAVE_IEEEFP_H
41466 #include <ieeefp.h>
41467 #endif
41470 main ()
41472 _fabsf(0);
41474 return 0;
41476 _ACEOF
41477 if ac_fn_cxx_try_compile "$LINENO"; then :
41478 glibcxx_cv_func__fabsf_use=yes
41479 else
41480 glibcxx_cv_func__fabsf_use=no
41482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41483 ac_ext=c
41484 ac_cpp='$CPP $CPPFLAGS'
41485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41494 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41496 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41497 for ac_func in _fabsf
41498 do :
41499 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41500 if test "x$ac_cv_func__fabsf" = x""yes; then :
41501 cat >>confdefs.h <<_ACEOF
41502 #define HAVE__FABSF 1
41503 _ACEOF
41506 done
41515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41516 $as_echo_n "checking for fmodf declaration... " >&6; }
41517 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41518 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41519 $as_echo_n "(cached) " >&6
41520 else
41523 ac_ext=cpp
41524 ac_cpp='$CXXCPP $CPPFLAGS'
41525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41530 /* end confdefs.h. */
41531 #include <math.h>
41533 main ()
41535 fmodf(0, 0);
41537 return 0;
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func_fmodf_use=yes
41542 else
41543 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
41557 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41559 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41560 for ac_func in fmodf
41561 do :
41562 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41563 if test "x$ac_cv_func_fmodf" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE_FMODF 1
41566 _ACEOF
41569 done
41571 else
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41574 $as_echo_n "checking for _fmodf declaration... " >&6; }
41575 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41576 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41577 $as_echo_n "(cached) " >&6
41578 else
41581 ac_ext=cpp
41582 ac_cpp='$CXXCPP $CPPFLAGS'
41583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41588 /* end confdefs.h. */
41589 #include <math.h>
41591 main ()
41593 _fmodf(0, 0);
41595 return 0;
41597 _ACEOF
41598 if ac_fn_cxx_try_compile "$LINENO"; then :
41599 glibcxx_cv_func__fmodf_use=yes
41600 else
41601 glibcxx_cv_func__fmodf_use=no
41603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41604 ac_ext=c
41605 ac_cpp='$CPP $CPPFLAGS'
41606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41615 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41617 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41618 for ac_func in _fmodf
41619 do :
41620 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41621 if test "x$ac_cv_func__fmodf" = x""yes; then :
41622 cat >>confdefs.h <<_ACEOF
41623 #define HAVE__FMODF 1
41624 _ACEOF
41627 done
41636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41637 $as_echo_n "checking for frexpf declaration... " >&6; }
41638 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41639 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41640 $as_echo_n "(cached) " >&6
41641 else
41644 ac_ext=cpp
41645 ac_cpp='$CXXCPP $CPPFLAGS'
41646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41651 /* end confdefs.h. */
41652 #include <math.h>
41654 main ()
41656 frexpf(0, 0);
41658 return 0;
41660 _ACEOF
41661 if ac_fn_cxx_try_compile "$LINENO"; then :
41662 glibcxx_cv_func_frexpf_use=yes
41663 else
41664 glibcxx_cv_func_frexpf_use=no
41666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41667 ac_ext=c
41668 ac_cpp='$CPP $CPPFLAGS'
41669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41678 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41680 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41681 for ac_func in frexpf
41682 do :
41683 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41684 if test "x$ac_cv_func_frexpf" = x""yes; then :
41685 cat >>confdefs.h <<_ACEOF
41686 #define HAVE_FREXPF 1
41687 _ACEOF
41690 done
41692 else
41694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41695 $as_echo_n "checking for _frexpf declaration... " >&6; }
41696 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41697 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41698 $as_echo_n "(cached) " >&6
41699 else
41702 ac_ext=cpp
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h. */
41710 #include <math.h>
41712 main ()
41714 _frexpf(0, 0);
41716 return 0;
41718 _ACEOF
41719 if ac_fn_cxx_try_compile "$LINENO"; then :
41720 glibcxx_cv_func__frexpf_use=yes
41721 else
41722 glibcxx_cv_func__frexpf_use=no
41724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41725 ac_ext=c
41726 ac_cpp='$CPP $CPPFLAGS'
41727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41736 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41738 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41739 for ac_func in _frexpf
41740 do :
41741 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41742 if test "x$ac_cv_func__frexpf" = x""yes; then :
41743 cat >>confdefs.h <<_ACEOF
41744 #define HAVE__FREXPF 1
41745 _ACEOF
41748 done
41757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41758 $as_echo_n "checking for hypotf declaration... " >&6; }
41759 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41760 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41761 $as_echo_n "(cached) " >&6
41762 else
41765 ac_ext=cpp
41766 ac_cpp='$CXXCPP $CPPFLAGS'
41767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41772 /* end confdefs.h. */
41773 #include <math.h>
41775 main ()
41777 hypotf(0, 0);
41779 return 0;
41781 _ACEOF
41782 if ac_fn_cxx_try_compile "$LINENO"; then :
41783 glibcxx_cv_func_hypotf_use=yes
41784 else
41785 glibcxx_cv_func_hypotf_use=no
41787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41788 ac_ext=c
41789 ac_cpp='$CPP $CPPFLAGS'
41790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41799 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41801 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41802 for ac_func in hypotf
41803 do :
41804 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41805 if test "x$ac_cv_func_hypotf" = x""yes; then :
41806 cat >>confdefs.h <<_ACEOF
41807 #define HAVE_HYPOTF 1
41808 _ACEOF
41811 done
41813 else
41815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41816 $as_echo_n "checking for _hypotf declaration... " >&6; }
41817 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41818 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41819 $as_echo_n "(cached) " >&6
41820 else
41823 ac_ext=cpp
41824 ac_cpp='$CXXCPP $CPPFLAGS'
41825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41830 /* end confdefs.h. */
41831 #include <math.h>
41833 main ()
41835 _hypotf(0, 0);
41837 return 0;
41839 _ACEOF
41840 if ac_fn_cxx_try_compile "$LINENO"; then :
41841 glibcxx_cv_func__hypotf_use=yes
41842 else
41843 glibcxx_cv_func__hypotf_use=no
41845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41846 ac_ext=c
41847 ac_cpp='$CPP $CPPFLAGS'
41848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41857 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41859 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41860 for ac_func in _hypotf
41861 do :
41862 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41863 if test "x$ac_cv_func__hypotf" = x""yes; then :
41864 cat >>confdefs.h <<_ACEOF
41865 #define HAVE__HYPOTF 1
41866 _ACEOF
41869 done
41878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41879 $as_echo_n "checking for ldexpf declaration... " >&6; }
41880 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41881 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41882 $as_echo_n "(cached) " >&6
41883 else
41886 ac_ext=cpp
41887 ac_cpp='$CXXCPP $CPPFLAGS'
41888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41893 /* end confdefs.h. */
41894 #include <math.h>
41896 main ()
41898 ldexpf(0, 0);
41900 return 0;
41902 _ACEOF
41903 if ac_fn_cxx_try_compile "$LINENO"; then :
41904 glibcxx_cv_func_ldexpf_use=yes
41905 else
41906 glibcxx_cv_func_ldexpf_use=no
41908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41909 ac_ext=c
41910 ac_cpp='$CPP $CPPFLAGS'
41911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41920 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41922 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41923 for ac_func in ldexpf
41924 do :
41925 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41926 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41927 cat >>confdefs.h <<_ACEOF
41928 #define HAVE_LDEXPF 1
41929 _ACEOF
41932 done
41934 else
41936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41937 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41938 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41939 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41940 $as_echo_n "(cached) " >&6
41941 else
41944 ac_ext=cpp
41945 ac_cpp='$CXXCPP $CPPFLAGS'
41946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41951 /* end confdefs.h. */
41952 #include <math.h>
41954 main ()
41956 _ldexpf(0, 0);
41958 return 0;
41960 _ACEOF
41961 if ac_fn_cxx_try_compile "$LINENO"; then :
41962 glibcxx_cv_func__ldexpf_use=yes
41963 else
41964 glibcxx_cv_func__ldexpf_use=no
41966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41967 ac_ext=c
41968 ac_cpp='$CPP $CPPFLAGS'
41969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41978 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41980 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41981 for ac_func in _ldexpf
41982 do :
41983 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41984 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41985 cat >>confdefs.h <<_ACEOF
41986 #define HAVE__LDEXPF 1
41987 _ACEOF
41990 done
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42000 $as_echo_n "checking for logf declaration... " >&6; }
42001 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42002 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42003 $as_echo_n "(cached) " >&6
42004 else
42007 ac_ext=cpp
42008 ac_cpp='$CXXCPP $CPPFLAGS'
42009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42014 /* end confdefs.h. */
42015 #include <math.h>
42016 #ifdef HAVE_IEEEFP_H
42017 #include <ieeefp.h>
42018 #endif
42021 main ()
42023 logf(0);
42025 return 0;
42027 _ACEOF
42028 if ac_fn_cxx_try_compile "$LINENO"; then :
42029 glibcxx_cv_func_logf_use=yes
42030 else
42031 glibcxx_cv_func_logf_use=no
42033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42034 ac_ext=c
42035 ac_cpp='$CPP $CPPFLAGS'
42036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42045 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42047 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42048 for ac_func in logf
42049 do :
42050 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42051 if test "x$ac_cv_func_logf" = x""yes; then :
42052 cat >>confdefs.h <<_ACEOF
42053 #define HAVE_LOGF 1
42054 _ACEOF
42057 done
42059 else
42061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42062 $as_echo_n "checking for _logf declaration... " >&6; }
42063 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42064 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42065 $as_echo_n "(cached) " >&6
42066 else
42069 ac_ext=cpp
42070 ac_cpp='$CXXCPP $CPPFLAGS'
42071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42076 /* end confdefs.h. */
42077 #include <math.h>
42078 #ifdef HAVE_IEEEFP_H
42079 #include <ieeefp.h>
42080 #endif
42083 main ()
42085 _logf(0);
42087 return 0;
42089 _ACEOF
42090 if ac_fn_cxx_try_compile "$LINENO"; then :
42091 glibcxx_cv_func__logf_use=yes
42092 else
42093 glibcxx_cv_func__logf_use=no
42095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42096 ac_ext=c
42097 ac_cpp='$CPP $CPPFLAGS'
42098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42107 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42109 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42110 for ac_func in _logf
42111 do :
42112 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42113 if test "x$ac_cv_func__logf" = x""yes; then :
42114 cat >>confdefs.h <<_ACEOF
42115 #define HAVE__LOGF 1
42116 _ACEOF
42119 done
42128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42129 $as_echo_n "checking for log10f declaration... " >&6; }
42130 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42131 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42132 $as_echo_n "(cached) " >&6
42133 else
42136 ac_ext=cpp
42137 ac_cpp='$CXXCPP $CPPFLAGS'
42138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42143 /* end confdefs.h. */
42144 #include <math.h>
42145 #ifdef HAVE_IEEEFP_H
42146 #include <ieeefp.h>
42147 #endif
42150 main ()
42152 log10f(0);
42154 return 0;
42156 _ACEOF
42157 if ac_fn_cxx_try_compile "$LINENO"; then :
42158 glibcxx_cv_func_log10f_use=yes
42159 else
42160 glibcxx_cv_func_log10f_use=no
42162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42163 ac_ext=c
42164 ac_cpp='$CPP $CPPFLAGS'
42165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42174 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42176 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42177 for ac_func in log10f
42178 do :
42179 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42180 if test "x$ac_cv_func_log10f" = x""yes; then :
42181 cat >>confdefs.h <<_ACEOF
42182 #define HAVE_LOG10F 1
42183 _ACEOF
42186 done
42188 else
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42191 $as_echo_n "checking for _log10f declaration... " >&6; }
42192 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42193 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42194 $as_echo_n "(cached) " >&6
42195 else
42198 ac_ext=cpp
42199 ac_cpp='$CXXCPP $CPPFLAGS'
42200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42205 /* end confdefs.h. */
42206 #include <math.h>
42207 #ifdef HAVE_IEEEFP_H
42208 #include <ieeefp.h>
42209 #endif
42212 main ()
42214 _log10f(0);
42216 return 0;
42218 _ACEOF
42219 if ac_fn_cxx_try_compile "$LINENO"; then :
42220 glibcxx_cv_func__log10f_use=yes
42221 else
42222 glibcxx_cv_func__log10f_use=no
42224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42225 ac_ext=c
42226 ac_cpp='$CPP $CPPFLAGS'
42227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42236 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42238 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42239 for ac_func in _log10f
42240 do :
42241 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42242 if test "x$ac_cv_func__log10f" = x""yes; then :
42243 cat >>confdefs.h <<_ACEOF
42244 #define HAVE__LOG10F 1
42245 _ACEOF
42248 done
42257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42258 $as_echo_n "checking for modff declaration... " >&6; }
42259 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42260 if test "${glibcxx_cv_func_modff_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 modff(0, 0);
42279 return 0;
42281 _ACEOF
42282 if ac_fn_cxx_try_compile "$LINENO"; then :
42283 glibcxx_cv_func_modff_use=yes
42284 else
42285 glibcxx_cv_func_modff_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_modff_use" >&5
42299 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42301 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42302 for ac_func in modff
42303 do :
42304 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42305 if test "x$ac_cv_func_modff" = x""yes; then :
42306 cat >>confdefs.h <<_ACEOF
42307 #define HAVE_MODFF 1
42308 _ACEOF
42311 done
42313 else
42315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42316 $as_echo_n "checking for _modff declaration... " >&6; }
42317 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42318 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42319 $as_echo_n "(cached) " >&6
42320 else
42323 ac_ext=cpp
42324 ac_cpp='$CXXCPP $CPPFLAGS'
42325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42330 /* end confdefs.h. */
42331 #include <math.h>
42333 main ()
42335 _modff(0, 0);
42337 return 0;
42339 _ACEOF
42340 if ac_fn_cxx_try_compile "$LINENO"; then :
42341 glibcxx_cv_func__modff_use=yes
42342 else
42343 glibcxx_cv_func__modff_use=no
42345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42346 ac_ext=c
42347 ac_cpp='$CPP $CPPFLAGS'
42348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42357 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42359 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42360 for ac_func in _modff
42361 do :
42362 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42363 if test "x$ac_cv_func__modff" = x""yes; then :
42364 cat >>confdefs.h <<_ACEOF
42365 #define HAVE__MODFF 1
42366 _ACEOF
42369 done
42378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42379 $as_echo_n "checking for modf declaration... " >&6; }
42380 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42381 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42382 $as_echo_n "(cached) " >&6
42383 else
42386 ac_ext=cpp
42387 ac_cpp='$CXXCPP $CPPFLAGS'
42388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42393 /* end confdefs.h. */
42394 #include <math.h>
42396 main ()
42398 modf(0, 0);
42400 return 0;
42402 _ACEOF
42403 if ac_fn_cxx_try_compile "$LINENO"; then :
42404 glibcxx_cv_func_modf_use=yes
42405 else
42406 glibcxx_cv_func_modf_use=no
42408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42409 ac_ext=c
42410 ac_cpp='$CPP $CPPFLAGS'
42411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42420 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42422 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42423 for ac_func in modf
42424 do :
42425 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42426 if test "x$ac_cv_func_modf" = x""yes; then :
42427 cat >>confdefs.h <<_ACEOF
42428 #define HAVE_MODF 1
42429 _ACEOF
42432 done
42434 else
42436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42437 $as_echo_n "checking for _modf declaration... " >&6; }
42438 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42439 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42440 $as_echo_n "(cached) " >&6
42441 else
42444 ac_ext=cpp
42445 ac_cpp='$CXXCPP $CPPFLAGS'
42446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42451 /* end confdefs.h. */
42452 #include <math.h>
42454 main ()
42456 _modf(0, 0);
42458 return 0;
42460 _ACEOF
42461 if ac_fn_cxx_try_compile "$LINENO"; then :
42462 glibcxx_cv_func__modf_use=yes
42463 else
42464 glibcxx_cv_func__modf_use=no
42466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42467 ac_ext=c
42468 ac_cpp='$CPP $CPPFLAGS'
42469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42478 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42480 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42481 for ac_func in _modf
42482 do :
42483 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42484 if test "x$ac_cv_func__modf" = x""yes; then :
42485 cat >>confdefs.h <<_ACEOF
42486 #define HAVE__MODF 1
42487 _ACEOF
42490 done
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42500 $as_echo_n "checking for powf declaration... " >&6; }
42501 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42502 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42503 $as_echo_n "(cached) " >&6
42504 else
42507 ac_ext=cpp
42508 ac_cpp='$CXXCPP $CPPFLAGS'
42509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42514 /* end confdefs.h. */
42515 #include <math.h>
42517 main ()
42519 powf(0, 0);
42521 return 0;
42523 _ACEOF
42524 if ac_fn_cxx_try_compile "$LINENO"; then :
42525 glibcxx_cv_func_powf_use=yes
42526 else
42527 glibcxx_cv_func_powf_use=no
42529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42530 ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42541 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42543 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42544 for ac_func in powf
42545 do :
42546 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42547 if test "x$ac_cv_func_powf" = x""yes; then :
42548 cat >>confdefs.h <<_ACEOF
42549 #define HAVE_POWF 1
42550 _ACEOF
42553 done
42555 else
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42558 $as_echo_n "checking for _powf declaration... " >&6; }
42559 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42560 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42561 $as_echo_n "(cached) " >&6
42562 else
42565 ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h. */
42573 #include <math.h>
42575 main ()
42577 _powf(0, 0);
42579 return 0;
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583 glibcxx_cv_func__powf_use=yes
42584 else
42585 glibcxx_cv_func__powf_use=no
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588 ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42599 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42601 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42602 for ac_func in _powf
42603 do :
42604 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42605 if test "x$ac_cv_func__powf" = x""yes; then :
42606 cat >>confdefs.h <<_ACEOF
42607 #define HAVE__POWF 1
42608 _ACEOF
42611 done
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42621 $as_echo_n "checking for sqrtf declaration... " >&6; }
42622 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42623 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42624 $as_echo_n "(cached) " >&6
42625 else
42628 ac_ext=cpp
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 /* end confdefs.h. */
42636 #include <math.h>
42637 #ifdef HAVE_IEEEFP_H
42638 #include <ieeefp.h>
42639 #endif
42642 main ()
42644 sqrtf(0);
42646 return 0;
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650 glibcxx_cv_func_sqrtf_use=yes
42651 else
42652 glibcxx_cv_func_sqrtf_use=no
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42666 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42668 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42669 for ac_func in sqrtf
42670 do :
42671 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42672 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42673 cat >>confdefs.h <<_ACEOF
42674 #define HAVE_SQRTF 1
42675 _ACEOF
42678 done
42680 else
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42683 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42684 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42685 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(0);
42708 return 0;
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712 glibcxx_cv_func__sqrtf_use=yes
42713 else
42714 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
42728 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42730 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42731 for ac_func in _sqrtf
42732 do :
42733 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42734 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42735 cat >>confdefs.h <<_ACEOF
42736 #define HAVE__SQRTF 1
42737 _ACEOF
42740 done
42749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42750 $as_echo_n "checking for sincosf declaration... " >&6; }
42751 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42752 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42753 $as_echo_n "(cached) " >&6
42754 else
42757 ac_ext=cpp
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42764 /* end confdefs.h. */
42765 #include <math.h>
42767 main ()
42769 sincosf(0, 0, 0);
42771 return 0;
42773 _ACEOF
42774 if ac_fn_cxx_try_compile "$LINENO"; then :
42775 glibcxx_cv_func_sincosf_use=yes
42776 else
42777 glibcxx_cv_func_sincosf_use=no
42779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42780 ac_ext=c
42781 ac_cpp='$CPP $CPPFLAGS'
42782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42791 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42793 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42794 for ac_func in sincosf
42795 do :
42796 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42797 if test "x$ac_cv_func_sincosf" = x""yes; then :
42798 cat >>confdefs.h <<_ACEOF
42799 #define HAVE_SINCOSF 1
42800 _ACEOF
42803 done
42805 else
42807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42808 $as_echo_n "checking for _sincosf declaration... " >&6; }
42809 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42810 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42811 $as_echo_n "(cached) " >&6
42812 else
42815 ac_ext=cpp
42816 ac_cpp='$CXXCPP $CPPFLAGS'
42817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42822 /* end confdefs.h. */
42823 #include <math.h>
42825 main ()
42827 _sincosf(0, 0, 0);
42829 return 0;
42831 _ACEOF
42832 if ac_fn_cxx_try_compile "$LINENO"; then :
42833 glibcxx_cv_func__sincosf_use=yes
42834 else
42835 glibcxx_cv_func__sincosf_use=no
42837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42838 ac_ext=c
42839 ac_cpp='$CPP $CPPFLAGS'
42840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42849 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42851 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42852 for ac_func in _sincosf
42853 do :
42854 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42855 if test "x$ac_cv_func__sincosf" = x""yes; then :
42856 cat >>confdefs.h <<_ACEOF
42857 #define HAVE__SINCOSF 1
42858 _ACEOF
42861 done
42870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42871 $as_echo_n "checking for finitef declaration... " >&6; }
42872 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42873 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42874 $as_echo_n "(cached) " >&6
42875 else
42878 ac_ext=cpp
42879 ac_cpp='$CXXCPP $CPPFLAGS'
42880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42885 /* end confdefs.h. */
42886 #include <math.h>
42887 #ifdef HAVE_IEEEFP_H
42888 #include <ieeefp.h>
42889 #endif
42892 main ()
42894 finitef(0);
42896 return 0;
42898 _ACEOF
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900 glibcxx_cv_func_finitef_use=yes
42901 else
42902 glibcxx_cv_func_finitef_use=no
42904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42905 ac_ext=c
42906 ac_cpp='$CPP $CPPFLAGS'
42907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42916 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42918 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42919 for ac_func in finitef
42920 do :
42921 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42922 if test "x$ac_cv_func_finitef" = x""yes; then :
42923 cat >>confdefs.h <<_ACEOF
42924 #define HAVE_FINITEF 1
42925 _ACEOF
42928 done
42930 else
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42933 $as_echo_n "checking for _finitef declaration... " >&6; }
42934 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42935 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42936 $as_echo_n "(cached) " >&6
42937 else
42940 ac_ext=cpp
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h. */
42948 #include <math.h>
42949 #ifdef HAVE_IEEEFP_H
42950 #include <ieeefp.h>
42951 #endif
42954 main ()
42956 _finitef(0);
42958 return 0;
42960 _ACEOF
42961 if ac_fn_cxx_try_compile "$LINENO"; then :
42962 glibcxx_cv_func__finitef_use=yes
42963 else
42964 glibcxx_cv_func__finitef_use=no
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42967 ac_ext=c
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42978 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42980 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42981 for ac_func in _finitef
42982 do :
42983 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42984 if test "x$ac_cv_func__finitef" = x""yes; then :
42985 cat >>confdefs.h <<_ACEOF
42986 #define HAVE__FINITEF 1
42987 _ACEOF
42990 done
42999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43000 $as_echo_n "checking for long double trig functions... " >&6; }
43001 if test "${glibcxx_cv_func_long_double_trig_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 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43020 return 0;
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024 glibcxx_cv_func_long_double_trig_use=yes
43025 else
43026 glibcxx_cv_func_long_double_trig_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
43037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43038 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43039 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43040 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43041 do :
43042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43044 eval as_val=\$$as_ac_var
43045 if test "x$as_val" = x""yes; then :
43046 cat >>confdefs.h <<_ACEOF
43047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43048 _ACEOF
43051 done
43053 else
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43055 $as_echo_n "checking for _long double trig functions... " >&6; }
43056 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43057 $as_echo_n "(cached) " >&6
43058 else
43061 ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h. */
43069 #include <math.h>
43071 main ()
43073 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43075 return 0;
43077 _ACEOF
43078 if ac_fn_cxx_try_compile "$LINENO"; then :
43079 glibcxx_cv_func__long_double_trig_use=yes
43080 else
43081 glibcxx_cv_func__long_double_trig_use=no
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43084 ac_ext=c
43085 ac_cpp='$CPP $CPPFLAGS'
43086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43093 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43094 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43095 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43096 do :
43097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43099 eval as_val=\$$as_ac_var
43100 if test "x$as_val" = x""yes; then :
43101 cat >>confdefs.h <<_ACEOF
43102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43103 _ACEOF
43106 done
43115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43116 $as_echo_n "checking for long double round functions... " >&6; }
43117 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43118 $as_echo_n "(cached) " >&6
43119 else
43122 ac_ext=cpp
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43129 /* end confdefs.h. */
43130 #include <math.h>
43132 main ()
43134 ceill (0); floorl (0);
43136 return 0;
43138 _ACEOF
43139 if ac_fn_cxx_try_compile "$LINENO"; then :
43140 glibcxx_cv_func_long_double_round_use=yes
43141 else
43142 glibcxx_cv_func_long_double_round_use=no
43144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43145 ac_ext=c
43146 ac_cpp='$CPP $CPPFLAGS'
43147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43154 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43155 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43156 for ac_func in ceill floorl
43157 do :
43158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43160 eval as_val=\$$as_ac_var
43161 if test "x$as_val" = x""yes; then :
43162 cat >>confdefs.h <<_ACEOF
43163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43164 _ACEOF
43167 done
43169 else
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43171 $as_echo_n "checking for _long double round functions... " >&6; }
43172 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43173 $as_echo_n "(cached) " >&6
43174 else
43177 ac_ext=cpp
43178 ac_cpp='$CXXCPP $CPPFLAGS'
43179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43184 /* end confdefs.h. */
43185 #include <math.h>
43187 main ()
43189 _ceill (0); _floorl (0);
43191 return 0;
43193 _ACEOF
43194 if ac_fn_cxx_try_compile "$LINENO"; then :
43195 glibcxx_cv_func__long_double_round_use=yes
43196 else
43197 glibcxx_cv_func__long_double_round_use=no
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200 ac_ext=c
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43209 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43210 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43211 for ac_func in _ceill _floorl
43212 do :
43213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43215 eval as_val=\$$as_ac_var
43216 if test "x$as_val" = x""yes; then :
43217 cat >>confdefs.h <<_ACEOF
43218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 _ACEOF
43222 done
43232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43233 $as_echo_n "checking for isnanl declaration... " >&6; }
43234 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43235 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43236 $as_echo_n "(cached) " >&6
43237 else
43240 ac_ext=cpp
43241 ac_cpp='$CXXCPP $CPPFLAGS'
43242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43247 /* end confdefs.h. */
43248 #include <math.h>
43249 #ifdef HAVE_IEEEFP_H
43250 #include <ieeefp.h>
43251 #endif
43254 main ()
43256 isnanl(0);
43258 return 0;
43260 _ACEOF
43261 if ac_fn_cxx_try_compile "$LINENO"; then :
43262 glibcxx_cv_func_isnanl_use=yes
43263 else
43264 glibcxx_cv_func_isnanl_use=no
43266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43267 ac_ext=c
43268 ac_cpp='$CPP $CPPFLAGS'
43269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43278 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43280 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43281 for ac_func in isnanl
43282 do :
43283 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43284 if test "x$ac_cv_func_isnanl" = x""yes; then :
43285 cat >>confdefs.h <<_ACEOF
43286 #define HAVE_ISNANL 1
43287 _ACEOF
43290 done
43292 else
43294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43295 $as_echo_n "checking for _isnanl declaration... " >&6; }
43296 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43297 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43298 $as_echo_n "(cached) " >&6
43299 else
43302 ac_ext=cpp
43303 ac_cpp='$CXXCPP $CPPFLAGS'
43304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43309 /* end confdefs.h. */
43310 #include <math.h>
43311 #ifdef HAVE_IEEEFP_H
43312 #include <ieeefp.h>
43313 #endif
43316 main ()
43318 _isnanl(0);
43320 return 0;
43322 _ACEOF
43323 if ac_fn_cxx_try_compile "$LINENO"; then :
43324 glibcxx_cv_func__isnanl_use=yes
43325 else
43326 glibcxx_cv_func__isnanl_use=no
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43329 ac_ext=c
43330 ac_cpp='$CPP $CPPFLAGS'
43331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43340 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43342 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43343 for ac_func in _isnanl
43344 do :
43345 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43346 if test "x$ac_cv_func__isnanl" = x""yes; then :
43347 cat >>confdefs.h <<_ACEOF
43348 #define HAVE__ISNANL 1
43349 _ACEOF
43352 done
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43362 $as_echo_n "checking for isinfl declaration... " >&6; }
43363 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43364 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43365 $as_echo_n "(cached) " >&6
43366 else
43369 ac_ext=cpp
43370 ac_cpp='$CXXCPP $CPPFLAGS'
43371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43376 /* end confdefs.h. */
43377 #include <math.h>
43378 #ifdef HAVE_IEEEFP_H
43379 #include <ieeefp.h>
43380 #endif
43383 main ()
43385 isinfl(0);
43387 return 0;
43389 _ACEOF
43390 if ac_fn_cxx_try_compile "$LINENO"; then :
43391 glibcxx_cv_func_isinfl_use=yes
43392 else
43393 glibcxx_cv_func_isinfl_use=no
43395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43396 ac_ext=c
43397 ac_cpp='$CPP $CPPFLAGS'
43398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43407 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43409 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43410 for ac_func in isinfl
43411 do :
43412 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43413 if test "x$ac_cv_func_isinfl" = x""yes; then :
43414 cat >>confdefs.h <<_ACEOF
43415 #define HAVE_ISINFL 1
43416 _ACEOF
43419 done
43421 else
43423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43424 $as_echo_n "checking for _isinfl declaration... " >&6; }
43425 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43426 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43427 $as_echo_n "(cached) " >&6
43428 else
43431 ac_ext=cpp
43432 ac_cpp='$CXXCPP $CPPFLAGS'
43433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43438 /* end confdefs.h. */
43439 #include <math.h>
43440 #ifdef HAVE_IEEEFP_H
43441 #include <ieeefp.h>
43442 #endif
43445 main ()
43447 _isinfl(0);
43449 return 0;
43451 _ACEOF
43452 if ac_fn_cxx_try_compile "$LINENO"; then :
43453 glibcxx_cv_func__isinfl_use=yes
43454 else
43455 glibcxx_cv_func__isinfl_use=no
43457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43458 ac_ext=c
43459 ac_cpp='$CPP $CPPFLAGS'
43460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43469 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43471 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43472 for ac_func in _isinfl
43473 do :
43474 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43475 if test "x$ac_cv_func__isinfl" = x""yes; then :
43476 cat >>confdefs.h <<_ACEOF
43477 #define HAVE__ISINFL 1
43478 _ACEOF
43481 done
43490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43491 $as_echo_n "checking for atan2l declaration... " >&6; }
43492 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43493 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43494 $as_echo_n "(cached) " >&6
43495 else
43498 ac_ext=cpp
43499 ac_cpp='$CXXCPP $CPPFLAGS'
43500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43505 /* end confdefs.h. */
43506 #include <math.h>
43508 main ()
43510 atan2l(0, 0);
43512 return 0;
43514 _ACEOF
43515 if ac_fn_cxx_try_compile "$LINENO"; then :
43516 glibcxx_cv_func_atan2l_use=yes
43517 else
43518 glibcxx_cv_func_atan2l_use=no
43520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43521 ac_ext=c
43522 ac_cpp='$CPP $CPPFLAGS'
43523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43532 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43534 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43535 for ac_func in atan2l
43536 do :
43537 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43538 if test "x$ac_cv_func_atan2l" = x""yes; then :
43539 cat >>confdefs.h <<_ACEOF
43540 #define HAVE_ATAN2L 1
43541 _ACEOF
43544 done
43546 else
43548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43549 $as_echo_n "checking for _atan2l declaration... " >&6; }
43550 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43551 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43552 $as_echo_n "(cached) " >&6
43553 else
43556 ac_ext=cpp
43557 ac_cpp='$CXXCPP $CPPFLAGS'
43558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43563 /* end confdefs.h. */
43564 #include <math.h>
43566 main ()
43568 _atan2l(0, 0);
43570 return 0;
43572 _ACEOF
43573 if ac_fn_cxx_try_compile "$LINENO"; then :
43574 glibcxx_cv_func__atan2l_use=yes
43575 else
43576 glibcxx_cv_func__atan2l_use=no
43578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43579 ac_ext=c
43580 ac_cpp='$CPP $CPPFLAGS'
43581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43590 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43592 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43593 for ac_func in _atan2l
43594 do :
43595 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43596 if test "x$ac_cv_func__atan2l" = x""yes; then :
43597 cat >>confdefs.h <<_ACEOF
43598 #define HAVE__ATAN2L 1
43599 _ACEOF
43602 done
43611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43612 $as_echo_n "checking for expl declaration... " >&6; }
43613 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43614 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43615 $as_echo_n "(cached) " >&6
43616 else
43619 ac_ext=cpp
43620 ac_cpp='$CXXCPP $CPPFLAGS'
43621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43626 /* end confdefs.h. */
43627 #include <math.h>
43628 #ifdef HAVE_IEEEFP_H
43629 #include <ieeefp.h>
43630 #endif
43633 main ()
43635 expl(0);
43637 return 0;
43639 _ACEOF
43640 if ac_fn_cxx_try_compile "$LINENO"; then :
43641 glibcxx_cv_func_expl_use=yes
43642 else
43643 glibcxx_cv_func_expl_use=no
43645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43646 ac_ext=c
43647 ac_cpp='$CPP $CPPFLAGS'
43648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43657 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43659 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43660 for ac_func in expl
43661 do :
43662 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43663 if test "x$ac_cv_func_expl" = x""yes; then :
43664 cat >>confdefs.h <<_ACEOF
43665 #define HAVE_EXPL 1
43666 _ACEOF
43669 done
43671 else
43673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43674 $as_echo_n "checking for _expl declaration... " >&6; }
43675 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43676 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43677 $as_echo_n "(cached) " >&6
43678 else
43681 ac_ext=cpp
43682 ac_cpp='$CXXCPP $CPPFLAGS'
43683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43688 /* end confdefs.h. */
43689 #include <math.h>
43690 #ifdef HAVE_IEEEFP_H
43691 #include <ieeefp.h>
43692 #endif
43695 main ()
43697 _expl(0);
43699 return 0;
43701 _ACEOF
43702 if ac_fn_cxx_try_compile "$LINENO"; then :
43703 glibcxx_cv_func__expl_use=yes
43704 else
43705 glibcxx_cv_func__expl_use=no
43707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43708 ac_ext=c
43709 ac_cpp='$CPP $CPPFLAGS'
43710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43719 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43721 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43722 for ac_func in _expl
43723 do :
43724 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43725 if test "x$ac_cv_func__expl" = x""yes; then :
43726 cat >>confdefs.h <<_ACEOF
43727 #define HAVE__EXPL 1
43728 _ACEOF
43731 done
43740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43741 $as_echo_n "checking for fabsl declaration... " >&6; }
43742 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43743 if test "${glibcxx_cv_func_fabsl_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>
43757 #ifdef HAVE_IEEEFP_H
43758 #include <ieeefp.h>
43759 #endif
43762 main ()
43764 fabsl(0);
43766 return 0;
43768 _ACEOF
43769 if ac_fn_cxx_try_compile "$LINENO"; then :
43770 glibcxx_cv_func_fabsl_use=yes
43771 else
43772 glibcxx_cv_func_fabsl_use=no
43774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43775 ac_ext=c
43776 ac_cpp='$CPP $CPPFLAGS'
43777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43786 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43788 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43789 for ac_func in fabsl
43790 do :
43791 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43792 if test "x$ac_cv_func_fabsl" = x""yes; then :
43793 cat >>confdefs.h <<_ACEOF
43794 #define HAVE_FABSL 1
43795 _ACEOF
43798 done
43800 else
43802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43803 $as_echo_n "checking for _fabsl declaration... " >&6; }
43804 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43805 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43806 $as_echo_n "(cached) " >&6
43807 else
43810 ac_ext=cpp
43811 ac_cpp='$CXXCPP $CPPFLAGS'
43812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43817 /* end confdefs.h. */
43818 #include <math.h>
43819 #ifdef HAVE_IEEEFP_H
43820 #include <ieeefp.h>
43821 #endif
43824 main ()
43826 _fabsl(0);
43828 return 0;
43830 _ACEOF
43831 if ac_fn_cxx_try_compile "$LINENO"; then :
43832 glibcxx_cv_func__fabsl_use=yes
43833 else
43834 glibcxx_cv_func__fabsl_use=no
43836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43837 ac_ext=c
43838 ac_cpp='$CPP $CPPFLAGS'
43839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43848 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43850 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43851 for ac_func in _fabsl
43852 do :
43853 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43854 if test "x$ac_cv_func__fabsl" = x""yes; then :
43855 cat >>confdefs.h <<_ACEOF
43856 #define HAVE__FABSL 1
43857 _ACEOF
43860 done
43869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43870 $as_echo_n "checking for fmodl declaration... " >&6; }
43871 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43872 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43873 $as_echo_n "(cached) " >&6
43874 else
43877 ac_ext=cpp
43878 ac_cpp='$CXXCPP $CPPFLAGS'
43879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43884 /* end confdefs.h. */
43885 #include <math.h>
43887 main ()
43889 fmodl(0, 0);
43891 return 0;
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895 glibcxx_cv_func_fmodl_use=yes
43896 else
43897 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
43911 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43913 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43914 for ac_func in fmodl
43915 do :
43916 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43917 if test "x$ac_cv_func_fmodl" = x""yes; then :
43918 cat >>confdefs.h <<_ACEOF
43919 #define HAVE_FMODL 1
43920 _ACEOF
43923 done
43925 else
43927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43928 $as_echo_n "checking for _fmodl declaration... " >&6; }
43929 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43930 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43931 $as_echo_n "(cached) " >&6
43932 else
43935 ac_ext=cpp
43936 ac_cpp='$CXXCPP $CPPFLAGS'
43937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43942 /* end confdefs.h. */
43943 #include <math.h>
43945 main ()
43947 _fmodl(0, 0);
43949 return 0;
43951 _ACEOF
43952 if ac_fn_cxx_try_compile "$LINENO"; then :
43953 glibcxx_cv_func__fmodl_use=yes
43954 else
43955 glibcxx_cv_func__fmodl_use=no
43957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43958 ac_ext=c
43959 ac_cpp='$CPP $CPPFLAGS'
43960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43969 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43971 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43972 for ac_func in _fmodl
43973 do :
43974 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43975 if test "x$ac_cv_func__fmodl" = x""yes; then :
43976 cat >>confdefs.h <<_ACEOF
43977 #define HAVE__FMODL 1
43978 _ACEOF
43981 done
43990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43991 $as_echo_n "checking for frexpl declaration... " >&6; }
43992 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43993 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43994 $as_echo_n "(cached) " >&6
43995 else
43998 ac_ext=cpp
43999 ac_cpp='$CXXCPP $CPPFLAGS'
44000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44005 /* end confdefs.h. */
44006 #include <math.h>
44008 main ()
44010 frexpl(0, 0);
44012 return 0;
44014 _ACEOF
44015 if ac_fn_cxx_try_compile "$LINENO"; then :
44016 glibcxx_cv_func_frexpl_use=yes
44017 else
44018 glibcxx_cv_func_frexpl_use=no
44020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44021 ac_ext=c
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44032 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44034 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44035 for ac_func in frexpl
44036 do :
44037 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44038 if test "x$ac_cv_func_frexpl" = x""yes; then :
44039 cat >>confdefs.h <<_ACEOF
44040 #define HAVE_FREXPL 1
44041 _ACEOF
44044 done
44046 else
44048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44049 $as_echo_n "checking for _frexpl declaration... " >&6; }
44050 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44051 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44052 $as_echo_n "(cached) " >&6
44053 else
44056 ac_ext=cpp
44057 ac_cpp='$CXXCPP $CPPFLAGS'
44058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44063 /* end confdefs.h. */
44064 #include <math.h>
44066 main ()
44068 _frexpl(0, 0);
44070 return 0;
44072 _ACEOF
44073 if ac_fn_cxx_try_compile "$LINENO"; then :
44074 glibcxx_cv_func__frexpl_use=yes
44075 else
44076 glibcxx_cv_func__frexpl_use=no
44078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44079 ac_ext=c
44080 ac_cpp='$CPP $CPPFLAGS'
44081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44090 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44092 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44093 for ac_func in _frexpl
44094 do :
44095 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44096 if test "x$ac_cv_func__frexpl" = x""yes; then :
44097 cat >>confdefs.h <<_ACEOF
44098 #define HAVE__FREXPL 1
44099 _ACEOF
44102 done
44111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44112 $as_echo_n "checking for hypotl declaration... " >&6; }
44113 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44114 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44115 $as_echo_n "(cached) " >&6
44116 else
44119 ac_ext=cpp
44120 ac_cpp='$CXXCPP $CPPFLAGS'
44121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44126 /* end confdefs.h. */
44127 #include <math.h>
44129 main ()
44131 hypotl(0, 0);
44133 return 0;
44135 _ACEOF
44136 if ac_fn_cxx_try_compile "$LINENO"; then :
44137 glibcxx_cv_func_hypotl_use=yes
44138 else
44139 glibcxx_cv_func_hypotl_use=no
44141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44142 ac_ext=c
44143 ac_cpp='$CPP $CPPFLAGS'
44144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44153 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44155 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44156 for ac_func in hypotl
44157 do :
44158 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44159 if test "x$ac_cv_func_hypotl" = x""yes; then :
44160 cat >>confdefs.h <<_ACEOF
44161 #define HAVE_HYPOTL 1
44162 _ACEOF
44165 done
44167 else
44169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44170 $as_echo_n "checking for _hypotl declaration... " >&6; }
44171 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44172 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44173 $as_echo_n "(cached) " >&6
44174 else
44177 ac_ext=cpp
44178 ac_cpp='$CXXCPP $CPPFLAGS'
44179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44184 /* end confdefs.h. */
44185 #include <math.h>
44187 main ()
44189 _hypotl(0, 0);
44191 return 0;
44193 _ACEOF
44194 if ac_fn_cxx_try_compile "$LINENO"; then :
44195 glibcxx_cv_func__hypotl_use=yes
44196 else
44197 glibcxx_cv_func__hypotl_use=no
44199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44200 ac_ext=c
44201 ac_cpp='$CPP $CPPFLAGS'
44202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44211 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44213 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44214 for ac_func in _hypotl
44215 do :
44216 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44217 if test "x$ac_cv_func__hypotl" = x""yes; then :
44218 cat >>confdefs.h <<_ACEOF
44219 #define HAVE__HYPOTL 1
44220 _ACEOF
44223 done
44232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44233 $as_echo_n "checking for ldexpl declaration... " >&6; }
44234 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44235 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44236 $as_echo_n "(cached) " >&6
44237 else
44240 ac_ext=cpp
44241 ac_cpp='$CXXCPP $CPPFLAGS'
44242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44247 /* end confdefs.h. */
44248 #include <math.h>
44250 main ()
44252 ldexpl(0, 0);
44254 return 0;
44256 _ACEOF
44257 if ac_fn_cxx_try_compile "$LINENO"; then :
44258 glibcxx_cv_func_ldexpl_use=yes
44259 else
44260 glibcxx_cv_func_ldexpl_use=no
44262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44263 ac_ext=c
44264 ac_cpp='$CPP $CPPFLAGS'
44265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44274 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44276 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44277 for ac_func in ldexpl
44278 do :
44279 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44280 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44281 cat >>confdefs.h <<_ACEOF
44282 #define HAVE_LDEXPL 1
44283 _ACEOF
44286 done
44288 else
44290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44291 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44292 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44293 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44294 $as_echo_n "(cached) " >&6
44295 else
44298 ac_ext=cpp
44299 ac_cpp='$CXXCPP $CPPFLAGS'
44300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44305 /* end confdefs.h. */
44306 #include <math.h>
44308 main ()
44310 _ldexpl(0, 0);
44312 return 0;
44314 _ACEOF
44315 if ac_fn_cxx_try_compile "$LINENO"; then :
44316 glibcxx_cv_func__ldexpl_use=yes
44317 else
44318 glibcxx_cv_func__ldexpl_use=no
44320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44321 ac_ext=c
44322 ac_cpp='$CPP $CPPFLAGS'
44323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44332 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44334 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44335 for ac_func in _ldexpl
44336 do :
44337 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44338 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44339 cat >>confdefs.h <<_ACEOF
44340 #define HAVE__LDEXPL 1
44341 _ACEOF
44344 done
44353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44354 $as_echo_n "checking for logl declaration... " >&6; }
44355 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44356 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44357 $as_echo_n "(cached) " >&6
44358 else
44361 ac_ext=cpp
44362 ac_cpp='$CXXCPP $CPPFLAGS'
44363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44368 /* end confdefs.h. */
44369 #include <math.h>
44370 #ifdef HAVE_IEEEFP_H
44371 #include <ieeefp.h>
44372 #endif
44375 main ()
44377 logl(0);
44379 return 0;
44381 _ACEOF
44382 if ac_fn_cxx_try_compile "$LINENO"; then :
44383 glibcxx_cv_func_logl_use=yes
44384 else
44385 glibcxx_cv_func_logl_use=no
44387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44388 ac_ext=c
44389 ac_cpp='$CPP $CPPFLAGS'
44390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44399 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44401 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44402 for ac_func in logl
44403 do :
44404 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44405 if test "x$ac_cv_func_logl" = x""yes; then :
44406 cat >>confdefs.h <<_ACEOF
44407 #define HAVE_LOGL 1
44408 _ACEOF
44411 done
44413 else
44415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44416 $as_echo_n "checking for _logl declaration... " >&6; }
44417 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44418 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44419 $as_echo_n "(cached) " >&6
44420 else
44423 ac_ext=cpp
44424 ac_cpp='$CXXCPP $CPPFLAGS'
44425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44430 /* end confdefs.h. */
44431 #include <math.h>
44432 #ifdef HAVE_IEEEFP_H
44433 #include <ieeefp.h>
44434 #endif
44437 main ()
44439 _logl(0);
44441 return 0;
44443 _ACEOF
44444 if ac_fn_cxx_try_compile "$LINENO"; then :
44445 glibcxx_cv_func__logl_use=yes
44446 else
44447 glibcxx_cv_func__logl_use=no
44449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44450 ac_ext=c
44451 ac_cpp='$CPP $CPPFLAGS'
44452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44461 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44463 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44464 for ac_func in _logl
44465 do :
44466 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44467 if test "x$ac_cv_func__logl" = x""yes; then :
44468 cat >>confdefs.h <<_ACEOF
44469 #define HAVE__LOGL 1
44470 _ACEOF
44473 done
44482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44483 $as_echo_n "checking for log10l declaration... " >&6; }
44484 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44485 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44486 $as_echo_n "(cached) " >&6
44487 else
44490 ac_ext=cpp
44491 ac_cpp='$CXXCPP $CPPFLAGS'
44492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44497 /* end confdefs.h. */
44498 #include <math.h>
44499 #ifdef HAVE_IEEEFP_H
44500 #include <ieeefp.h>
44501 #endif
44504 main ()
44506 log10l(0);
44508 return 0;
44510 _ACEOF
44511 if ac_fn_cxx_try_compile "$LINENO"; then :
44512 glibcxx_cv_func_log10l_use=yes
44513 else
44514 glibcxx_cv_func_log10l_use=no
44516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44517 ac_ext=c
44518 ac_cpp='$CPP $CPPFLAGS'
44519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44528 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44530 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44531 for ac_func in log10l
44532 do :
44533 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44534 if test "x$ac_cv_func_log10l" = x""yes; then :
44535 cat >>confdefs.h <<_ACEOF
44536 #define HAVE_LOG10L 1
44537 _ACEOF
44540 done
44542 else
44544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44545 $as_echo_n "checking for _log10l declaration... " >&6; }
44546 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44547 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44548 $as_echo_n "(cached) " >&6
44549 else
44552 ac_ext=cpp
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44559 /* end confdefs.h. */
44560 #include <math.h>
44561 #ifdef HAVE_IEEEFP_H
44562 #include <ieeefp.h>
44563 #endif
44566 main ()
44568 _log10l(0);
44570 return 0;
44572 _ACEOF
44573 if ac_fn_cxx_try_compile "$LINENO"; then :
44574 glibcxx_cv_func__log10l_use=yes
44575 else
44576 glibcxx_cv_func__log10l_use=no
44578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44579 ac_ext=c
44580 ac_cpp='$CPP $CPPFLAGS'
44581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44590 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44592 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44593 for ac_func in _log10l
44594 do :
44595 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44596 if test "x$ac_cv_func__log10l" = x""yes; then :
44597 cat >>confdefs.h <<_ACEOF
44598 #define HAVE__LOG10L 1
44599 _ACEOF
44602 done
44611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44612 $as_echo_n "checking for modfl declaration... " >&6; }
44613 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44614 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44615 $as_echo_n "(cached) " >&6
44616 else
44619 ac_ext=cpp
44620 ac_cpp='$CXXCPP $CPPFLAGS'
44621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44626 /* end confdefs.h. */
44627 #include <math.h>
44629 main ()
44631 modfl(0, 0);
44633 return 0;
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637 glibcxx_cv_func_modfl_use=yes
44638 else
44639 glibcxx_cv_func_modfl_use=no
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642 ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44653 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44655 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44656 for ac_func in modfl
44657 do :
44658 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44659 if test "x$ac_cv_func_modfl" = x""yes; then :
44660 cat >>confdefs.h <<_ACEOF
44661 #define HAVE_MODFL 1
44662 _ACEOF
44665 done
44667 else
44669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44670 $as_echo_n "checking for _modfl declaration... " >&6; }
44671 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44672 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44673 $as_echo_n "(cached) " >&6
44674 else
44677 ac_ext=cpp
44678 ac_cpp='$CXXCPP $CPPFLAGS'
44679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44684 /* end confdefs.h. */
44685 #include <math.h>
44687 main ()
44689 _modfl(0, 0);
44691 return 0;
44693 _ACEOF
44694 if ac_fn_cxx_try_compile "$LINENO"; then :
44695 glibcxx_cv_func__modfl_use=yes
44696 else
44697 glibcxx_cv_func__modfl_use=no
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 ac_ext=c
44701 ac_cpp='$CPP $CPPFLAGS'
44702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44711 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44713 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44714 for ac_func in _modfl
44715 do :
44716 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44717 if test "x$ac_cv_func__modfl" = x""yes; then :
44718 cat >>confdefs.h <<_ACEOF
44719 #define HAVE__MODFL 1
44720 _ACEOF
44723 done
44732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44733 $as_echo_n "checking for powl declaration... " >&6; }
44734 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44735 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44736 $as_echo_n "(cached) " >&6
44737 else
44740 ac_ext=cpp
44741 ac_cpp='$CXXCPP $CPPFLAGS'
44742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44747 /* end confdefs.h. */
44748 #include <math.h>
44750 main ()
44752 powl(0, 0);
44754 return 0;
44756 _ACEOF
44757 if ac_fn_cxx_try_compile "$LINENO"; then :
44758 glibcxx_cv_func_powl_use=yes
44759 else
44760 glibcxx_cv_func_powl_use=no
44762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44763 ac_ext=c
44764 ac_cpp='$CPP $CPPFLAGS'
44765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44774 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44776 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44777 for ac_func in powl
44778 do :
44779 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44780 if test "x$ac_cv_func_powl" = x""yes; then :
44781 cat >>confdefs.h <<_ACEOF
44782 #define HAVE_POWL 1
44783 _ACEOF
44786 done
44788 else
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44791 $as_echo_n "checking for _powl declaration... " >&6; }
44792 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44793 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44794 $as_echo_n "(cached) " >&6
44795 else
44798 ac_ext=cpp
44799 ac_cpp='$CXXCPP $CPPFLAGS'
44800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44805 /* end confdefs.h. */
44806 #include <math.h>
44808 main ()
44810 _powl(0, 0);
44812 return 0;
44814 _ACEOF
44815 if ac_fn_cxx_try_compile "$LINENO"; then :
44816 glibcxx_cv_func__powl_use=yes
44817 else
44818 glibcxx_cv_func__powl_use=no
44820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44821 ac_ext=c
44822 ac_cpp='$CPP $CPPFLAGS'
44823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44832 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44834 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44835 for ac_func in _powl
44836 do :
44837 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44838 if test "x$ac_cv_func__powl" = x""yes; then :
44839 cat >>confdefs.h <<_ACEOF
44840 #define HAVE__POWL 1
44841 _ACEOF
44844 done
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44854 $as_echo_n "checking for sqrtl declaration... " >&6; }
44855 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44856 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44857 $as_echo_n "(cached) " >&6
44858 else
44861 ac_ext=cpp
44862 ac_cpp='$CXXCPP $CPPFLAGS'
44863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44868 /* end confdefs.h. */
44869 #include <math.h>
44870 #ifdef HAVE_IEEEFP_H
44871 #include <ieeefp.h>
44872 #endif
44875 main ()
44877 sqrtl(0);
44879 return 0;
44881 _ACEOF
44882 if ac_fn_cxx_try_compile "$LINENO"; then :
44883 glibcxx_cv_func_sqrtl_use=yes
44884 else
44885 glibcxx_cv_func_sqrtl_use=no
44887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44888 ac_ext=c
44889 ac_cpp='$CPP $CPPFLAGS'
44890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44899 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44901 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44902 for ac_func in sqrtl
44903 do :
44904 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44905 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44906 cat >>confdefs.h <<_ACEOF
44907 #define HAVE_SQRTL 1
44908 _ACEOF
44911 done
44913 else
44915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44916 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44917 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44918 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44919 $as_echo_n "(cached) " >&6
44920 else
44923 ac_ext=cpp
44924 ac_cpp='$CXXCPP $CPPFLAGS'
44925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44930 /* end confdefs.h. */
44931 #include <math.h>
44932 #ifdef HAVE_IEEEFP_H
44933 #include <ieeefp.h>
44934 #endif
44937 main ()
44939 _sqrtl(0);
44941 return 0;
44943 _ACEOF
44944 if ac_fn_cxx_try_compile "$LINENO"; then :
44945 glibcxx_cv_func__sqrtl_use=yes
44946 else
44947 glibcxx_cv_func__sqrtl_use=no
44949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44950 ac_ext=c
44951 ac_cpp='$CPP $CPPFLAGS'
44952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44961 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44963 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44964 for ac_func in _sqrtl
44965 do :
44966 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44967 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44968 cat >>confdefs.h <<_ACEOF
44969 #define HAVE__SQRTL 1
44970 _ACEOF
44973 done
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44983 $as_echo_n "checking for sincosl declaration... " >&6; }
44984 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44985 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44986 $as_echo_n "(cached) " >&6
44987 else
44990 ac_ext=cpp
44991 ac_cpp='$CXXCPP $CPPFLAGS'
44992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44997 /* end confdefs.h. */
44998 #include <math.h>
45000 main ()
45002 sincosl(0, 0, 0);
45004 return 0;
45006 _ACEOF
45007 if ac_fn_cxx_try_compile "$LINENO"; then :
45008 glibcxx_cv_func_sincosl_use=yes
45009 else
45010 glibcxx_cv_func_sincosl_use=no
45012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45013 ac_ext=c
45014 ac_cpp='$CPP $CPPFLAGS'
45015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45024 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45026 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45027 for ac_func in sincosl
45028 do :
45029 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45030 if test "x$ac_cv_func_sincosl" = x""yes; then :
45031 cat >>confdefs.h <<_ACEOF
45032 #define HAVE_SINCOSL 1
45033 _ACEOF
45036 done
45038 else
45040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45041 $as_echo_n "checking for _sincosl declaration... " >&6; }
45042 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45043 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45044 $as_echo_n "(cached) " >&6
45045 else
45048 ac_ext=cpp
45049 ac_cpp='$CXXCPP $CPPFLAGS'
45050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45055 /* end confdefs.h. */
45056 #include <math.h>
45058 main ()
45060 _sincosl(0, 0, 0);
45062 return 0;
45064 _ACEOF
45065 if ac_fn_cxx_try_compile "$LINENO"; then :
45066 glibcxx_cv_func__sincosl_use=yes
45067 else
45068 glibcxx_cv_func__sincosl_use=no
45070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45071 ac_ext=c
45072 ac_cpp='$CPP $CPPFLAGS'
45073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45082 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45084 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45085 for ac_func in _sincosl
45086 do :
45087 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45088 if test "x$ac_cv_func__sincosl" = x""yes; then :
45089 cat >>confdefs.h <<_ACEOF
45090 #define HAVE__SINCOSL 1
45091 _ACEOF
45094 done
45103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45104 $as_echo_n "checking for finitel declaration... " >&6; }
45105 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45106 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45107 $as_echo_n "(cached) " >&6
45108 else
45111 ac_ext=cpp
45112 ac_cpp='$CXXCPP $CPPFLAGS'
45113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45118 /* end confdefs.h. */
45119 #include <math.h>
45120 #ifdef HAVE_IEEEFP_H
45121 #include <ieeefp.h>
45122 #endif
45125 main ()
45127 finitel(0);
45129 return 0;
45131 _ACEOF
45132 if ac_fn_cxx_try_compile "$LINENO"; then :
45133 glibcxx_cv_func_finitel_use=yes
45134 else
45135 glibcxx_cv_func_finitel_use=no
45137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45138 ac_ext=c
45139 ac_cpp='$CPP $CPPFLAGS'
45140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45149 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45151 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45152 for ac_func in finitel
45153 do :
45154 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45155 if test "x$ac_cv_func_finitel" = x""yes; then :
45156 cat >>confdefs.h <<_ACEOF
45157 #define HAVE_FINITEL 1
45158 _ACEOF
45161 done
45163 else
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45166 $as_echo_n "checking for _finitel declaration... " >&6; }
45167 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45168 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45169 $as_echo_n "(cached) " >&6
45170 else
45173 ac_ext=cpp
45174 ac_cpp='$CXXCPP $CPPFLAGS'
45175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45180 /* end confdefs.h. */
45181 #include <math.h>
45182 #ifdef HAVE_IEEEFP_H
45183 #include <ieeefp.h>
45184 #endif
45187 main ()
45189 _finitel(0);
45191 return 0;
45193 _ACEOF
45194 if ac_fn_cxx_try_compile "$LINENO"; then :
45195 glibcxx_cv_func__finitel_use=yes
45196 else
45197 glibcxx_cv_func__finitel_use=no
45199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45200 ac_ext=c
45201 ac_cpp='$CPP $CPPFLAGS'
45202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45211 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45213 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45214 for ac_func in _finitel
45215 do :
45216 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45217 if test "x$ac_cv_func__finitel" = x""yes; then :
45218 cat >>confdefs.h <<_ACEOF
45219 #define HAVE__FINITEL 1
45220 _ACEOF
45223 done
45231 LIBS="$ac_save_LIBS"
45232 CXXFLAGS="$ac_save_CXXFLAGS"
45235 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45236 ac_save_CXXFLAGS="$CXXFLAGS"
45237 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45241 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45242 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45243 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45244 $as_echo_n "(cached) " >&6
45245 else
45248 ac_ext=cpp
45249 ac_cpp='$CXXCPP $CPPFLAGS'
45250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45255 /* end confdefs.h. */
45256 #include <stdlib.h>
45258 main ()
45260 at_quick_exit(0);
45262 return 0;
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func_at_quick_exit_use=yes
45267 else
45268 glibcxx_cv_func_at_quick_exit_use=no
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45282 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45283 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45284 for ac_func in at_quick_exit
45285 do :
45286 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45287 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45288 cat >>confdefs.h <<_ACEOF
45289 #define HAVE_AT_QUICK_EXIT 1
45290 _ACEOF
45293 done
45298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45299 $as_echo_n "checking for quick_exit declaration... " >&6; }
45300 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45301 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45302 $as_echo_n "(cached) " >&6
45303 else
45306 ac_ext=cpp
45307 ac_cpp='$CXXCPP $CPPFLAGS'
45308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45313 /* end confdefs.h. */
45314 #include <stdlib.h>
45316 main ()
45318 quick_exit(0);
45320 return 0;
45322 _ACEOF
45323 if ac_fn_cxx_try_compile "$LINENO"; then :
45324 glibcxx_cv_func_quick_exit_use=yes
45325 else
45326 glibcxx_cv_func_quick_exit_use=no
45328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45329 ac_ext=c
45330 ac_cpp='$CPP $CPPFLAGS'
45331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45340 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45341 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45342 for ac_func in quick_exit
45343 do :
45344 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45345 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45346 cat >>confdefs.h <<_ACEOF
45347 #define HAVE_QUICK_EXIT 1
45348 _ACEOF
45351 done
45356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45357 $as_echo_n "checking for strtold declaration... " >&6; }
45358 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45359 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45360 $as_echo_n "(cached) " >&6
45361 else
45364 ac_ext=cpp
45365 ac_cpp='$CXXCPP $CPPFLAGS'
45366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45371 /* end confdefs.h. */
45372 #include <stdlib.h>
45374 main ()
45376 strtold(0, 0);
45378 return 0;
45380 _ACEOF
45381 if ac_fn_cxx_try_compile "$LINENO"; then :
45382 glibcxx_cv_func_strtold_use=yes
45383 else
45384 glibcxx_cv_func_strtold_use=no
45386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45387 ac_ext=c
45388 ac_cpp='$CPP $CPPFLAGS'
45389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45398 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45399 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45400 for ac_func in strtold
45401 do :
45402 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45403 if test "x$ac_cv_func_strtold" = x""yes; then :
45404 cat >>confdefs.h <<_ACEOF
45405 #define HAVE_STRTOLD 1
45406 _ACEOF
45409 done
45416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45417 $as_echo_n "checking for strtof declaration... " >&6; }
45418 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45419 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45420 $as_echo_n "(cached) " >&6
45421 else
45424 ac_ext=cpp
45425 ac_cpp='$CXXCPP $CPPFLAGS'
45426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45431 /* end confdefs.h. */
45432 #include <stdlib.h>
45434 main ()
45436 strtof(0, 0);
45438 return 0;
45440 _ACEOF
45441 if ac_fn_cxx_try_compile "$LINENO"; then :
45442 glibcxx_cv_func_strtof_use=yes
45443 else
45444 glibcxx_cv_func_strtof_use=no
45446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45447 ac_ext=c
45448 ac_cpp='$CPP $CPPFLAGS'
45449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45458 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45459 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45460 for ac_func in strtof
45461 do :
45462 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45463 if test "x$ac_cv_func_strtof" = x""yes; then :
45464 cat >>confdefs.h <<_ACEOF
45465 #define HAVE_STRTOF 1
45466 _ACEOF
45469 done
45476 CXXFLAGS="$ac_save_CXXFLAGS"
45480 *djgpp)
45481 # GLIBCXX_CHECK_MATH_SUPPORT
45482 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45484 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45486 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45488 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45490 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45494 *-freebsd*)
45495 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45498 # If we're not using GNU ld, then there's no point in even trying these
45499 # tests. Check for that first. We should have already tested for gld
45500 # by now (in libtool), but require it now just to be safe...
45501 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45502 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45506 # The name set by libtool depends on the version of libtool. Shame on us
45507 # for depending on an impl detail, but c'est la vie. Older versions used
45508 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45509 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45510 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45511 # set (hence we're using an older libtool), then set it.
45512 if test x${with_gnu_ld+set} != xset; then
45513 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45514 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45515 with_gnu_ld=no
45516 else
45517 with_gnu_ld=$ac_cv_prog_gnu_ld
45521 # Start by getting the version number. I think the libtool test already
45522 # does some of this, but throws away the result.
45523 glibcxx_ld_is_gold=no
45524 if test x"$with_gnu_ld" = x"yes"; then
45525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45526 $as_echo_n "checking for ld version... " >&6; }
45528 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45529 glibcxx_ld_is_gold=yes
45531 ldver=`$LD --version 2>/dev/null |
45532 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'`
45534 glibcxx_gnu_ld_version=`echo $ldver | \
45535 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45537 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45540 # Set --gc-sections.
45541 glibcxx_have_gc_sections=no
45542 if test "$glibcxx_ld_is_gold" = "yes"; then
45543 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45544 glibcxx_have_gc_sections=yes
45546 else
45547 glibcxx_gcsections_min_ld=21602
45548 if test x"$with_gnu_ld" = x"yes" &&
45549 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45550 glibcxx_have_gc_sections=yes
45553 if test "$glibcxx_have_gc_sections" = "yes"; then
45554 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45555 # NB: This flag only works reliably after 2.16.1. Configure tests
45556 # for this are difficult, so hard wire a value that should work.
45558 ac_test_CFLAGS="${CFLAGS+set}"
45559 ac_save_CFLAGS="$CFLAGS"
45560 CFLAGS='-Wl,--gc-sections'
45562 # Check for -Wl,--gc-sections
45563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45564 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45565 if test x$gcc_no_link = xyes; then
45566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45569 /* end confdefs.h. */
45570 int one(void) { return 1; }
45571 int two(void) { return 2; }
45574 main ()
45576 two();
45578 return 0;
45580 _ACEOF
45581 if ac_fn_c_try_link "$LINENO"; then :
45582 ac_gcsections=yes
45583 else
45584 ac_gcsections=no
45586 rm -f core conftest.err conftest.$ac_objext \
45587 conftest$ac_exeext conftest.$ac_ext
45588 if test "$ac_gcsections" = "yes"; then
45589 rm -f conftest.c
45590 touch conftest.c
45591 if $CC -c conftest.c; then
45592 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45593 grep "Warning: gc-sections option ignored" > /dev/null; then
45594 ac_gcsections=no
45597 rm -f conftest.c conftest.o conftest
45599 if test "$ac_gcsections" = "yes"; then
45600 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45603 $as_echo "$ac_gcsections" >&6; }
45605 if test "$ac_test_CFLAGS" = set; then
45606 CFLAGS="$ac_save_CFLAGS"
45607 else
45608 # this is the suspicious part
45609 CFLAGS=''
45613 # Set -z,relro.
45614 # Note this is only for shared objects.
45615 ac_ld_relro=no
45616 if test x"$with_gnu_ld" = x"yes"; then
45617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45618 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45619 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45620 if test -n "$cxx_z_relo"; then
45621 OPT_LDFLAGS="-Wl,-z,relro"
45622 ac_ld_relro=yes
45624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45625 $as_echo "$ac_ld_relro" >&6; }
45628 # Set linker optimization flags.
45629 if test x"$with_gnu_ld" = x"yes"; then
45630 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45636 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45638 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45640 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45642 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45644 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45646 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45648 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45650 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45652 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45655 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45657 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45659 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45661 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45663 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45665 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45667 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45669 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45671 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45673 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45675 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45677 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45679 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45681 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45683 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45685 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45687 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45689 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45691 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45693 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45695 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45697 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45699 if test x"long_double_math_on_this_cpu" = x"yes"; then
45700 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45702 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45704 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45708 *-hpux*)
45709 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45712 # If we're not using GNU ld, then there's no point in even trying these
45713 # tests. Check for that first. We should have already tested for gld
45714 # by now (in libtool), but require it now just to be safe...
45715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45720 # The name set by libtool depends on the version of libtool. Shame on us
45721 # for depending on an impl detail, but c'est la vie. Older versions used
45722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45725 # set (hence we're using an older libtool), then set it.
45726 if test x${with_gnu_ld+set} != xset; then
45727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45729 with_gnu_ld=no
45730 else
45731 with_gnu_ld=$ac_cv_prog_gnu_ld
45735 # Start by getting the version number. I think the libtool test already
45736 # does some of this, but throws away the result.
45737 glibcxx_ld_is_gold=no
45738 if test x"$with_gnu_ld" = x"yes"; then
45739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45740 $as_echo_n "checking for ld version... " >&6; }
45742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45743 glibcxx_ld_is_gold=yes
45745 ldver=`$LD --version 2>/dev/null |
45746 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'`
45748 glibcxx_gnu_ld_version=`echo $ldver | \
45749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45754 # Set --gc-sections.
45755 glibcxx_have_gc_sections=no
45756 if test "$glibcxx_ld_is_gold" = "yes"; then
45757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45758 glibcxx_have_gc_sections=yes
45760 else
45761 glibcxx_gcsections_min_ld=21602
45762 if test x"$with_gnu_ld" = x"yes" &&
45763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45764 glibcxx_have_gc_sections=yes
45767 if test "$glibcxx_have_gc_sections" = "yes"; then
45768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45769 # NB: This flag only works reliably after 2.16.1. Configure tests
45770 # for this are difficult, so hard wire a value that should work.
45772 ac_test_CFLAGS="${CFLAGS+set}"
45773 ac_save_CFLAGS="$CFLAGS"
45774 CFLAGS='-Wl,--gc-sections'
45776 # Check for -Wl,--gc-sections
45777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45779 if test x$gcc_no_link = xyes; then
45780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45783 /* end confdefs.h. */
45784 int one(void) { return 1; }
45785 int two(void) { return 2; }
45788 main ()
45790 two();
45792 return 0;
45794 _ACEOF
45795 if ac_fn_c_try_link "$LINENO"; then :
45796 ac_gcsections=yes
45797 else
45798 ac_gcsections=no
45800 rm -f core conftest.err conftest.$ac_objext \
45801 conftest$ac_exeext conftest.$ac_ext
45802 if test "$ac_gcsections" = "yes"; then
45803 rm -f conftest.c
45804 touch conftest.c
45805 if $CC -c conftest.c; then
45806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45807 grep "Warning: gc-sections option ignored" > /dev/null; then
45808 ac_gcsections=no
45811 rm -f conftest.c conftest.o conftest
45813 if test "$ac_gcsections" = "yes"; then
45814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45817 $as_echo "$ac_gcsections" >&6; }
45819 if test "$ac_test_CFLAGS" = set; then
45820 CFLAGS="$ac_save_CFLAGS"
45821 else
45822 # this is the suspicious part
45823 CFLAGS=''
45827 # Set -z,relro.
45828 # Note this is only for shared objects.
45829 ac_ld_relro=no
45830 if test x"$with_gnu_ld" = x"yes"; then
45831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45834 if test -n "$cxx_z_relo"; then
45835 OPT_LDFLAGS="-Wl,-z,relro"
45836 ac_ld_relro=yes
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45839 $as_echo "$ac_ld_relro" >&6; }
45842 # Set linker optimization flags.
45843 if test x"$with_gnu_ld" = x"yes"; then
45844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45851 # GLIBCXX_CHECK_MATH_SUPPORT
45852 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45854 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45856 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45858 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45860 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45862 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45864 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45866 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45868 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45870 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45872 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45874 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45876 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45878 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45880 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45882 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45884 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45886 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45888 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45890 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45892 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45895 # GLIBCXX_CHECK_STDLIB_SUPPORT
45896 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45901 # Check whether --enable-tls was given.
45902 if test "${enable_tls+set}" = set; then :
45903 enableval=$enable_tls;
45904 case "$enableval" in
45905 yes|no) ;;
45906 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45907 esac
45909 else
45910 enable_tls=yes
45914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45915 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45916 if test "${gcc_cv_have_tls+set}" = set; then :
45917 $as_echo_n "(cached) " >&6
45918 else
45920 if test "$cross_compiling" = yes; then :
45921 if test x$gcc_no_link = xyes; then
45922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45925 /* end confdefs.h. */
45926 __thread int a; int b; int main() { return a = b; }
45927 _ACEOF
45928 if ac_fn_c_try_link "$LINENO"; then :
45929 chktls_save_LDFLAGS="$LDFLAGS"
45930 case $host in
45931 *-*-linux*)
45932 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45934 esac
45935 chktls_save_CFLAGS="$CFLAGS"
45936 CFLAGS="-fPIC $CFLAGS"
45937 if test x$gcc_no_link = xyes; then
45938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45941 /* end confdefs.h. */
45942 int f() { return 0; }
45943 _ACEOF
45944 if ac_fn_c_try_link "$LINENO"; then :
45945 if test x$gcc_no_link = xyes; then
45946 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45949 /* end confdefs.h. */
45950 __thread int a; int b; int f() { return a = b; }
45951 _ACEOF
45952 if ac_fn_c_try_link "$LINENO"; then :
45953 gcc_cv_have_tls=yes
45954 else
45955 gcc_cv_have_tls=no
45957 rm -f core conftest.err conftest.$ac_objext \
45958 conftest$ac_exeext conftest.$ac_ext
45959 else
45960 gcc_cv_have_tls=yes
45962 rm -f core conftest.err conftest.$ac_objext \
45963 conftest$ac_exeext conftest.$ac_ext
45964 CFLAGS="$chktls_save_CFLAGS"
45965 LDFLAGS="$chktls_save_LDFLAGS"
45966 else
45967 gcc_cv_have_tls=no
45969 rm -f core conftest.err conftest.$ac_objext \
45970 conftest$ac_exeext conftest.$ac_ext
45973 else
45974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h. */
45976 __thread int a; int b; int main() { return a = b; }
45977 _ACEOF
45978 if ac_fn_c_try_run "$LINENO"; then :
45979 chktls_save_LDFLAGS="$LDFLAGS"
45980 LDFLAGS="-static $LDFLAGS"
45981 if test x$gcc_no_link = xyes; then
45982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 int main() { return 0; }
45987 _ACEOF
45988 if ac_fn_c_try_link "$LINENO"; then :
45989 if test "$cross_compiling" = yes; then :
45990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45992 as_fn_error "cannot run test program while cross compiling
45993 See \`config.log' for more details." "$LINENO" 5; }
45994 else
45995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h. */
45997 __thread int a; int b; int main() { return a = b; }
45998 _ACEOF
45999 if ac_fn_c_try_run "$LINENO"; then :
46000 gcc_cv_have_tls=yes
46001 else
46002 gcc_cv_have_tls=no
46004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46005 conftest.$ac_objext conftest.beam conftest.$ac_ext
46008 else
46009 gcc_cv_have_tls=yes
46011 rm -f core conftest.err conftest.$ac_objext \
46012 conftest$ac_exeext conftest.$ac_ext
46013 LDFLAGS="$chktls_save_LDFLAGS"
46014 if test $gcc_cv_have_tls = yes; then
46015 chktls_save_CFLAGS="$CFLAGS"
46016 thread_CFLAGS=failed
46017 for flag in '' '-pthread' '-lpthread'; do
46018 CFLAGS="$flag $chktls_save_CFLAGS"
46019 if test x$gcc_no_link = xyes; then
46020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46023 /* end confdefs.h. */
46024 #include <pthread.h>
46025 void *g(void *d) { return NULL; }
46027 main ()
46029 pthread_t t; pthread_create(&t,NULL,g,NULL);
46031 return 0;
46033 _ACEOF
46034 if ac_fn_c_try_link "$LINENO"; then :
46035 thread_CFLAGS="$flag"
46037 rm -f core conftest.err conftest.$ac_objext \
46038 conftest$ac_exeext conftest.$ac_ext
46039 if test "X$thread_CFLAGS" != Xfailed; then
46040 break
46042 done
46043 CFLAGS="$chktls_save_CFLAGS"
46044 if test "X$thread_CFLAGS" != Xfailed; then
46045 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46046 if test "$cross_compiling" = yes; then :
46047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46049 as_fn_error "cannot run test program while cross compiling
46050 See \`config.log' for more details." "$LINENO" 5; }
46051 else
46052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h. */
46054 #include <pthread.h>
46055 __thread int a;
46056 static int *volatile a_in_other_thread;
46057 static void *
46058 thread_func (void *arg)
46060 a_in_other_thread = &a;
46061 return (void *)0;
46064 main ()
46066 pthread_t thread;
46067 void *thread_retval;
46068 int *volatile a_in_main_thread;
46069 a_in_main_thread = &a;
46070 if (pthread_create (&thread, (pthread_attr_t *)0,
46071 thread_func, (void *)0))
46072 return 0;
46073 if (pthread_join (thread, &thread_retval))
46074 return 0;
46075 return (a_in_other_thread == a_in_main_thread);
46077 return 0;
46079 _ACEOF
46080 if ac_fn_c_try_run "$LINENO"; then :
46081 gcc_cv_have_tls=yes
46082 else
46083 gcc_cv_have_tls=no
46085 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46086 conftest.$ac_objext conftest.beam conftest.$ac_ext
46089 CFLAGS="$chktls_save_CFLAGS"
46092 else
46093 gcc_cv_have_tls=no
46095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46096 conftest.$ac_objext conftest.beam conftest.$ac_ext
46100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46101 $as_echo "$gcc_cv_have_tls" >&6; }
46102 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46104 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46107 case "$target" in
46108 *-hpux10*)
46109 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46111 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46113 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46115 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46117 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46120 esac
46122 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
46124 # All these tests are for C++; save the language and the compiler flags.
46125 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46126 # found in GLIBCXX_CONFIGURE.
46128 ac_ext=cpp
46129 ac_cpp='$CXXCPP $CPPFLAGS'
46130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46134 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46135 ac_save_CXXFLAGS="$CXXFLAGS"
46137 # Check for maintainer-mode bits.
46138 if test x"$USE_MAINTAINER_MODE" = xno; then
46139 WERROR=''
46140 else
46141 WERROR='-Werror'
46144 # Check for -ffunction-sections -fdata-sections
46145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46146 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46147 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46149 /* end confdefs.h. */
46150 int foo; void bar() { };
46152 main ()
46156 return 0;
46158 _ACEOF
46159 if ac_fn_cxx_try_compile "$LINENO"; then :
46160 ac_fdsections=yes
46161 else
46162 ac_fdsections=no
46164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46165 if test "$ac_test_CXXFLAGS" = set; then
46166 CXXFLAGS="$ac_save_CXXFLAGS"
46167 else
46168 # this is the suspicious part
46169 CXXFLAGS=''
46171 if test x"$ac_fdsections" = x"yes"; then
46172 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46175 $as_echo "$ac_fdsections" >&6; }
46177 ac_ext=c
46178 ac_cpp='$CPP $CPPFLAGS'
46179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46187 # If we're not using GNU ld, then there's no point in even trying these
46188 # tests. Check for that first. We should have already tested for gld
46189 # by now (in libtool), but require it now just to be safe...
46190 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46191 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46195 # The name set by libtool depends on the version of libtool. Shame on us
46196 # for depending on an impl detail, but c'est la vie. Older versions used
46197 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46198 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46199 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46200 # set (hence we're using an older libtool), then set it.
46201 if test x${with_gnu_ld+set} != xset; then
46202 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46203 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46204 with_gnu_ld=no
46205 else
46206 with_gnu_ld=$ac_cv_prog_gnu_ld
46210 # Start by getting the version number. I think the libtool test already
46211 # does some of this, but throws away the result.
46212 glibcxx_ld_is_gold=no
46213 if test x"$with_gnu_ld" = x"yes"; then
46214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46215 $as_echo_n "checking for ld version... " >&6; }
46217 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46218 glibcxx_ld_is_gold=yes
46220 ldver=`$LD --version 2>/dev/null |
46221 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'`
46223 glibcxx_gnu_ld_version=`echo $ldver | \
46224 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46226 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46229 # Set --gc-sections.
46230 glibcxx_have_gc_sections=no
46231 if test "$glibcxx_ld_is_gold" = "yes"; then
46232 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46233 glibcxx_have_gc_sections=yes
46235 else
46236 glibcxx_gcsections_min_ld=21602
46237 if test x"$with_gnu_ld" = x"yes" &&
46238 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46239 glibcxx_have_gc_sections=yes
46242 if test "$glibcxx_have_gc_sections" = "yes"; then
46243 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46244 # NB: This flag only works reliably after 2.16.1. Configure tests
46245 # for this are difficult, so hard wire a value that should work.
46247 ac_test_CFLAGS="${CFLAGS+set}"
46248 ac_save_CFLAGS="$CFLAGS"
46249 CFLAGS='-Wl,--gc-sections'
46251 # Check for -Wl,--gc-sections
46252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46253 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46254 if test x$gcc_no_link = xyes; then
46255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46258 /* end confdefs.h. */
46259 int one(void) { return 1; }
46260 int two(void) { return 2; }
46263 main ()
46265 two();
46267 return 0;
46269 _ACEOF
46270 if ac_fn_c_try_link "$LINENO"; then :
46271 ac_gcsections=yes
46272 else
46273 ac_gcsections=no
46275 rm -f core conftest.err conftest.$ac_objext \
46276 conftest$ac_exeext conftest.$ac_ext
46277 if test "$ac_gcsections" = "yes"; then
46278 rm -f conftest.c
46279 touch conftest.c
46280 if $CC -c conftest.c; then
46281 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46282 grep "Warning: gc-sections option ignored" > /dev/null; then
46283 ac_gcsections=no
46286 rm -f conftest.c conftest.o conftest
46288 if test "$ac_gcsections" = "yes"; then
46289 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46292 $as_echo "$ac_gcsections" >&6; }
46294 if test "$ac_test_CFLAGS" = set; then
46295 CFLAGS="$ac_save_CFLAGS"
46296 else
46297 # this is the suspicious part
46298 CFLAGS=''
46302 # Set -z,relro.
46303 # Note this is only for shared objects.
46304 ac_ld_relro=no
46305 if test x"$with_gnu_ld" = x"yes"; then
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46307 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46308 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46309 if test -n "$cxx_z_relo"; then
46310 OPT_LDFLAGS="-Wl,-z,relro"
46311 ac_ld_relro=yes
46313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46314 $as_echo "$ac_ld_relro" >&6; }
46317 # Set linker optimization flags.
46318 if test x"$with_gnu_ld" = x"yes"; then
46319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46327 ac_save_CXXFLAGS="$CXXFLAGS"
46328 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46331 $as_echo_n "checking for sin in -lm... " >&6; }
46332 if test "${ac_cv_lib_m_sin+set}" = set; then :
46333 $as_echo_n "(cached) " >&6
46334 else
46335 ac_check_lib_save_LIBS=$LIBS
46336 LIBS="-lm $LIBS"
46337 if test x$gcc_no_link = xyes; then
46338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46341 /* end confdefs.h. */
46343 /* Override any GCC internal prototype to avoid an error.
46344 Use char because int might match the return type of a GCC
46345 builtin and then its argument prototype would still apply. */
46346 #ifdef __cplusplus
46347 extern "C"
46348 #endif
46349 char sin ();
46351 main ()
46353 return sin ();
46355 return 0;
46357 _ACEOF
46358 if ac_fn_c_try_link "$LINENO"; then :
46359 ac_cv_lib_m_sin=yes
46360 else
46361 ac_cv_lib_m_sin=no
46363 rm -f core conftest.err conftest.$ac_objext \
46364 conftest$ac_exeext conftest.$ac_ext
46365 LIBS=$ac_check_lib_save_LIBS
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46368 $as_echo "$ac_cv_lib_m_sin" >&6; }
46369 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46370 libm="-lm"
46373 ac_save_LIBS="$LIBS"
46374 LIBS="$LIBS $libm"
46378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46379 $as_echo_n "checking for isinf declaration... " >&6; }
46380 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46381 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46382 $as_echo_n "(cached) " >&6
46383 else
46386 ac_ext=cpp
46387 ac_cpp='$CXXCPP $CPPFLAGS'
46388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46393 /* end confdefs.h. */
46394 #include <math.h>
46395 #ifdef HAVE_IEEEFP_H
46396 #include <ieeefp.h>
46397 #endif
46400 main ()
46402 isinf(0);
46404 return 0;
46406 _ACEOF
46407 if ac_fn_cxx_try_compile "$LINENO"; then :
46408 glibcxx_cv_func_isinf_use=yes
46409 else
46410 glibcxx_cv_func_isinf_use=no
46412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46413 ac_ext=c
46414 ac_cpp='$CPP $CPPFLAGS'
46415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46424 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46426 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46427 for ac_func in isinf
46428 do :
46429 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46430 if test "x$ac_cv_func_isinf" = x""yes; then :
46431 cat >>confdefs.h <<_ACEOF
46432 #define HAVE_ISINF 1
46433 _ACEOF
46436 done
46438 else
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46441 $as_echo_n "checking for _isinf declaration... " >&6; }
46442 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46443 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46444 $as_echo_n "(cached) " >&6
46445 else
46448 ac_ext=cpp
46449 ac_cpp='$CXXCPP $CPPFLAGS'
46450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46455 /* end confdefs.h. */
46456 #include <math.h>
46457 #ifdef HAVE_IEEEFP_H
46458 #include <ieeefp.h>
46459 #endif
46462 main ()
46464 _isinf(0);
46466 return 0;
46468 _ACEOF
46469 if ac_fn_cxx_try_compile "$LINENO"; then :
46470 glibcxx_cv_func__isinf_use=yes
46471 else
46472 glibcxx_cv_func__isinf_use=no
46474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46475 ac_ext=c
46476 ac_cpp='$CPP $CPPFLAGS'
46477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46486 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46488 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46489 for ac_func in _isinf
46490 do :
46491 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46492 if test "x$ac_cv_func__isinf" = x""yes; then :
46493 cat >>confdefs.h <<_ACEOF
46494 #define HAVE__ISINF 1
46495 _ACEOF
46498 done
46507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46508 $as_echo_n "checking for isnan declaration... " >&6; }
46509 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46510 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46511 $as_echo_n "(cached) " >&6
46512 else
46515 ac_ext=cpp
46516 ac_cpp='$CXXCPP $CPPFLAGS'
46517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46522 /* end confdefs.h. */
46523 #include <math.h>
46524 #ifdef HAVE_IEEEFP_H
46525 #include <ieeefp.h>
46526 #endif
46529 main ()
46531 isnan(0);
46533 return 0;
46535 _ACEOF
46536 if ac_fn_cxx_try_compile "$LINENO"; then :
46537 glibcxx_cv_func_isnan_use=yes
46538 else
46539 glibcxx_cv_func_isnan_use=no
46541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46542 ac_ext=c
46543 ac_cpp='$CPP $CPPFLAGS'
46544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46553 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46555 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46556 for ac_func in isnan
46557 do :
46558 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46559 if test "x$ac_cv_func_isnan" = x""yes; then :
46560 cat >>confdefs.h <<_ACEOF
46561 #define HAVE_ISNAN 1
46562 _ACEOF
46565 done
46567 else
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46570 $as_echo_n "checking for _isnan declaration... " >&6; }
46571 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46572 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46573 $as_echo_n "(cached) " >&6
46574 else
46577 ac_ext=cpp
46578 ac_cpp='$CXXCPP $CPPFLAGS'
46579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46584 /* end confdefs.h. */
46585 #include <math.h>
46586 #ifdef HAVE_IEEEFP_H
46587 #include <ieeefp.h>
46588 #endif
46591 main ()
46593 _isnan(0);
46595 return 0;
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599 glibcxx_cv_func__isnan_use=yes
46600 else
46601 glibcxx_cv_func__isnan_use=no
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46615 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46617 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46618 for ac_func in _isnan
46619 do :
46620 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46621 if test "x$ac_cv_func__isnan" = x""yes; then :
46622 cat >>confdefs.h <<_ACEOF
46623 #define HAVE__ISNAN 1
46624 _ACEOF
46627 done
46636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46637 $as_echo_n "checking for finite declaration... " >&6; }
46638 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46639 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46640 $as_echo_n "(cached) " >&6
46641 else
46644 ac_ext=cpp
46645 ac_cpp='$CXXCPP $CPPFLAGS'
46646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46651 /* end confdefs.h. */
46652 #include <math.h>
46653 #ifdef HAVE_IEEEFP_H
46654 #include <ieeefp.h>
46655 #endif
46658 main ()
46660 finite(0);
46662 return 0;
46664 _ACEOF
46665 if ac_fn_cxx_try_compile "$LINENO"; then :
46666 glibcxx_cv_func_finite_use=yes
46667 else
46668 glibcxx_cv_func_finite_use=no
46670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46671 ac_ext=c
46672 ac_cpp='$CPP $CPPFLAGS'
46673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46682 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46684 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46685 for ac_func in finite
46686 do :
46687 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46688 if test "x$ac_cv_func_finite" = x""yes; then :
46689 cat >>confdefs.h <<_ACEOF
46690 #define HAVE_FINITE 1
46691 _ACEOF
46694 done
46696 else
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46699 $as_echo_n "checking for _finite declaration... " >&6; }
46700 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46701 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46715 #ifdef HAVE_IEEEFP_H
46716 #include <ieeefp.h>
46717 #endif
46720 main ()
46722 _finite(0);
46724 return 0;
46726 _ACEOF
46727 if ac_fn_cxx_try_compile "$LINENO"; then :
46728 glibcxx_cv_func__finite_use=yes
46729 else
46730 glibcxx_cv_func__finite_use=no
46732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46733 ac_ext=c
46734 ac_cpp='$CPP $CPPFLAGS'
46735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46744 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46746 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46747 for ac_func in _finite
46748 do :
46749 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46750 if test "x$ac_cv_func__finite" = x""yes; then :
46751 cat >>confdefs.h <<_ACEOF
46752 #define HAVE__FINITE 1
46753 _ACEOF
46756 done
46765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46766 $as_echo_n "checking for sincos declaration... " >&6; }
46767 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46768 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46769 $as_echo_n "(cached) " >&6
46770 else
46773 ac_ext=cpp
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46780 /* end confdefs.h. */
46781 #include <math.h>
46783 main ()
46785 sincos(0, 0, 0);
46787 return 0;
46789 _ACEOF
46790 if ac_fn_cxx_try_compile "$LINENO"; then :
46791 glibcxx_cv_func_sincos_use=yes
46792 else
46793 glibcxx_cv_func_sincos_use=no
46795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46796 ac_ext=c
46797 ac_cpp='$CPP $CPPFLAGS'
46798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46807 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46809 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46810 for ac_func in sincos
46811 do :
46812 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46813 if test "x$ac_cv_func_sincos" = x""yes; then :
46814 cat >>confdefs.h <<_ACEOF
46815 #define HAVE_SINCOS 1
46816 _ACEOF
46819 done
46821 else
46823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46824 $as_echo_n "checking for _sincos declaration... " >&6; }
46825 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46826 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46827 $as_echo_n "(cached) " >&6
46828 else
46831 ac_ext=cpp
46832 ac_cpp='$CXXCPP $CPPFLAGS'
46833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46838 /* end confdefs.h. */
46839 #include <math.h>
46841 main ()
46843 _sincos(0, 0, 0);
46845 return 0;
46847 _ACEOF
46848 if ac_fn_cxx_try_compile "$LINENO"; then :
46849 glibcxx_cv_func__sincos_use=yes
46850 else
46851 glibcxx_cv_func__sincos_use=no
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46854 ac_ext=c
46855 ac_cpp='$CPP $CPPFLAGS'
46856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46865 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46867 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46868 for ac_func in _sincos
46869 do :
46870 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46871 if test "x$ac_cv_func__sincos" = x""yes; then :
46872 cat >>confdefs.h <<_ACEOF
46873 #define HAVE__SINCOS 1
46874 _ACEOF
46877 done
46886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46887 $as_echo_n "checking for fpclass declaration... " >&6; }
46888 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46889 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46890 $as_echo_n "(cached) " >&6
46891 else
46894 ac_ext=cpp
46895 ac_cpp='$CXXCPP $CPPFLAGS'
46896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46901 /* end confdefs.h. */
46902 #include <math.h>
46903 #ifdef HAVE_IEEEFP_H
46904 #include <ieeefp.h>
46905 #endif
46908 main ()
46910 fpclass(0);
46912 return 0;
46914 _ACEOF
46915 if ac_fn_cxx_try_compile "$LINENO"; then :
46916 glibcxx_cv_func_fpclass_use=yes
46917 else
46918 glibcxx_cv_func_fpclass_use=no
46920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46921 ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46932 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46934 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46935 for ac_func in fpclass
46936 do :
46937 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46938 if test "x$ac_cv_func_fpclass" = x""yes; then :
46939 cat >>confdefs.h <<_ACEOF
46940 #define HAVE_FPCLASS 1
46941 _ACEOF
46944 done
46946 else
46948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46949 $as_echo_n "checking for _fpclass declaration... " >&6; }
46950 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46951 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46952 $as_echo_n "(cached) " >&6
46953 else
46956 ac_ext=cpp
46957 ac_cpp='$CXXCPP $CPPFLAGS'
46958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46963 /* end confdefs.h. */
46964 #include <math.h>
46965 #ifdef HAVE_IEEEFP_H
46966 #include <ieeefp.h>
46967 #endif
46970 main ()
46972 _fpclass(0);
46974 return 0;
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978 glibcxx_cv_func__fpclass_use=yes
46979 else
46980 glibcxx_cv_func__fpclass_use=no
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983 ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46994 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46996 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46997 for ac_func in _fpclass
46998 do :
46999 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47000 if test "x$ac_cv_func__fpclass" = x""yes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE__FPCLASS 1
47003 _ACEOF
47006 done
47015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47016 $as_echo_n "checking for qfpclass declaration... " >&6; }
47017 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47018 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47019 $as_echo_n "(cached) " >&6
47020 else
47023 ac_ext=cpp
47024 ac_cpp='$CXXCPP $CPPFLAGS'
47025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47030 /* end confdefs.h. */
47031 #include <math.h>
47032 #ifdef HAVE_IEEEFP_H
47033 #include <ieeefp.h>
47034 #endif
47037 main ()
47039 qfpclass(0);
47041 return 0;
47043 _ACEOF
47044 if ac_fn_cxx_try_compile "$LINENO"; then :
47045 glibcxx_cv_func_qfpclass_use=yes
47046 else
47047 glibcxx_cv_func_qfpclass_use=no
47049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47050 ac_ext=c
47051 ac_cpp='$CPP $CPPFLAGS'
47052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47061 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47063 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47064 for ac_func in qfpclass
47065 do :
47066 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47067 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47068 cat >>confdefs.h <<_ACEOF
47069 #define HAVE_QFPCLASS 1
47070 _ACEOF
47073 done
47075 else
47077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47078 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47079 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47080 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47081 $as_echo_n "(cached) " >&6
47082 else
47085 ac_ext=cpp
47086 ac_cpp='$CXXCPP $CPPFLAGS'
47087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47092 /* end confdefs.h. */
47093 #include <math.h>
47094 #ifdef HAVE_IEEEFP_H
47095 #include <ieeefp.h>
47096 #endif
47099 main ()
47101 _qfpclass(0);
47103 return 0;
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func__qfpclass_use=yes
47108 else
47109 glibcxx_cv_func__qfpclass_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47123 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47125 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47126 for ac_func in _qfpclass
47127 do :
47128 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47129 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47130 cat >>confdefs.h <<_ACEOF
47131 #define HAVE__QFPCLASS 1
47132 _ACEOF
47135 done
47144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47145 $as_echo_n "checking for hypot declaration... " >&6; }
47146 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47147 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47148 $as_echo_n "(cached) " >&6
47149 else
47152 ac_ext=cpp
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h. */
47160 #include <math.h>
47162 main ()
47164 hypot(0, 0);
47166 return 0;
47168 _ACEOF
47169 if ac_fn_cxx_try_compile "$LINENO"; then :
47170 glibcxx_cv_func_hypot_use=yes
47171 else
47172 glibcxx_cv_func_hypot_use=no
47174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47175 ac_ext=c
47176 ac_cpp='$CPP $CPPFLAGS'
47177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47186 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47188 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47189 for ac_func in hypot
47190 do :
47191 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47192 if test "x$ac_cv_func_hypot" = x""yes; then :
47193 cat >>confdefs.h <<_ACEOF
47194 #define HAVE_HYPOT 1
47195 _ACEOF
47198 done
47200 else
47202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47203 $as_echo_n "checking for _hypot declaration... " >&6; }
47204 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47205 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47206 $as_echo_n "(cached) " >&6
47207 else
47210 ac_ext=cpp
47211 ac_cpp='$CXXCPP $CPPFLAGS'
47212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47217 /* end confdefs.h. */
47218 #include <math.h>
47220 main ()
47222 _hypot(0, 0);
47224 return 0;
47226 _ACEOF
47227 if ac_fn_cxx_try_compile "$LINENO"; then :
47228 glibcxx_cv_func__hypot_use=yes
47229 else
47230 glibcxx_cv_func__hypot_use=no
47232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47233 ac_ext=c
47234 ac_cpp='$CPP $CPPFLAGS'
47235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47244 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47246 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47247 for ac_func in _hypot
47248 do :
47249 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47250 if test "x$ac_cv_func__hypot" = x""yes; then :
47251 cat >>confdefs.h <<_ACEOF
47252 #define HAVE__HYPOT 1
47253 _ACEOF
47256 done
47265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47266 $as_echo_n "checking for float trig functions... " >&6; }
47267 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47268 $as_echo_n "(cached) " >&6
47269 else
47272 ac_ext=cpp
47273 ac_cpp='$CXXCPP $CPPFLAGS'
47274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47279 /* end confdefs.h. */
47280 #include <math.h>
47282 main ()
47284 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47286 return 0;
47288 _ACEOF
47289 if ac_fn_cxx_try_compile "$LINENO"; then :
47290 glibcxx_cv_func_float_trig_use=yes
47291 else
47292 glibcxx_cv_func_float_trig_use=no
47294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47295 ac_ext=c
47296 ac_cpp='$CPP $CPPFLAGS'
47297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47304 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47305 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47306 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47307 do :
47308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47310 eval as_val=\$$as_ac_var
47311 if test "x$as_val" = x""yes; then :
47312 cat >>confdefs.h <<_ACEOF
47313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47314 _ACEOF
47317 done
47319 else
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47321 $as_echo_n "checking for _float trig functions... " >&6; }
47322 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47323 $as_echo_n "(cached) " >&6
47324 else
47327 ac_ext=cpp
47328 ac_cpp='$CXXCPP $CPPFLAGS'
47329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47334 /* end confdefs.h. */
47335 #include <math.h>
47337 main ()
47339 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47341 return 0;
47343 _ACEOF
47344 if ac_fn_cxx_try_compile "$LINENO"; then :
47345 glibcxx_cv_func__float_trig_use=yes
47346 else
47347 glibcxx_cv_func__float_trig_use=no
47349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47350 ac_ext=c
47351 ac_cpp='$CPP $CPPFLAGS'
47352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47359 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47360 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47361 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47362 do :
47363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47365 eval as_val=\$$as_ac_var
47366 if test "x$as_val" = x""yes; then :
47367 cat >>confdefs.h <<_ACEOF
47368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47369 _ACEOF
47372 done
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47382 $as_echo_n "checking for float round functions... " >&6; }
47383 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47384 $as_echo_n "(cached) " >&6
47385 else
47388 ac_ext=cpp
47389 ac_cpp='$CXXCPP $CPPFLAGS'
47390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47395 /* end confdefs.h. */
47396 #include <math.h>
47398 main ()
47400 ceilf (0); floorf (0);
47402 return 0;
47404 _ACEOF
47405 if ac_fn_cxx_try_compile "$LINENO"; then :
47406 glibcxx_cv_func_float_round_use=yes
47407 else
47408 glibcxx_cv_func_float_round_use=no
47410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47411 ac_ext=c
47412 ac_cpp='$CPP $CPPFLAGS'
47413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47420 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47421 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47422 for ac_func in ceilf floorf
47423 do :
47424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47426 eval as_val=\$$as_ac_var
47427 if test "x$as_val" = x""yes; then :
47428 cat >>confdefs.h <<_ACEOF
47429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47430 _ACEOF
47433 done
47435 else
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47437 $as_echo_n "checking for _float round functions... " >&6; }
47438 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47439 $as_echo_n "(cached) " >&6
47440 else
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h. */
47451 #include <math.h>
47453 main ()
47455 _ceilf (0); _floorf (0);
47457 return 0;
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func__float_round_use=yes
47462 else
47463 glibcxx_cv_func__float_round_use=no
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47476 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47477 for ac_func in _ceilf _floorf
47478 do :
47479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47481 eval as_val=\$$as_ac_var
47482 if test "x$as_val" = x""yes; then :
47483 cat >>confdefs.h <<_ACEOF
47484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47485 _ACEOF
47488 done
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47499 $as_echo_n "checking for expf declaration... " >&6; }
47500 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47501 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47502 $as_echo_n "(cached) " >&6
47503 else
47506 ac_ext=cpp
47507 ac_cpp='$CXXCPP $CPPFLAGS'
47508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47513 /* end confdefs.h. */
47514 #include <math.h>
47515 #ifdef HAVE_IEEEFP_H
47516 #include <ieeefp.h>
47517 #endif
47520 main ()
47522 expf(0);
47524 return 0;
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528 glibcxx_cv_func_expf_use=yes
47529 else
47530 glibcxx_cv_func_expf_use=no
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47544 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47546 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47547 for ac_func in expf
47548 do :
47549 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47550 if test "x$ac_cv_func_expf" = x""yes; then :
47551 cat >>confdefs.h <<_ACEOF
47552 #define HAVE_EXPF 1
47553 _ACEOF
47556 done
47558 else
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47561 $as_echo_n "checking for _expf declaration... " >&6; }
47562 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47563 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47564 $as_echo_n "(cached) " >&6
47565 else
47568 ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h. */
47576 #include <math.h>
47577 #ifdef HAVE_IEEEFP_H
47578 #include <ieeefp.h>
47579 #endif
47582 main ()
47584 _expf(0);
47586 return 0;
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func__expf_use=yes
47591 else
47592 glibcxx_cv_func__expf_use=no
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47606 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47608 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47609 for ac_func in _expf
47610 do :
47611 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47612 if test "x$ac_cv_func__expf" = x""yes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE__EXPF 1
47615 _ACEOF
47618 done
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47628 $as_echo_n "checking for isnanf declaration... " >&6; }
47629 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47630 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47644 #ifdef HAVE_IEEEFP_H
47645 #include <ieeefp.h>
47646 #endif
47649 main ()
47651 isnanf(0);
47653 return 0;
47655 _ACEOF
47656 if ac_fn_cxx_try_compile "$LINENO"; then :
47657 glibcxx_cv_func_isnanf_use=yes
47658 else
47659 glibcxx_cv_func_isnanf_use=no
47661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47662 ac_ext=c
47663 ac_cpp='$CPP $CPPFLAGS'
47664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47673 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47675 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47676 for ac_func in isnanf
47677 do :
47678 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47679 if test "x$ac_cv_func_isnanf" = x""yes; then :
47680 cat >>confdefs.h <<_ACEOF
47681 #define HAVE_ISNANF 1
47682 _ACEOF
47685 done
47687 else
47689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47690 $as_echo_n "checking for _isnanf declaration... " >&6; }
47691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47693 $as_echo_n "(cached) " >&6
47694 else
47697 ac_ext=cpp
47698 ac_cpp='$CXXCPP $CPPFLAGS'
47699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47704 /* end confdefs.h. */
47705 #include <math.h>
47706 #ifdef HAVE_IEEEFP_H
47707 #include <ieeefp.h>
47708 #endif
47711 main ()
47713 _isnanf(0);
47715 return 0;
47717 _ACEOF
47718 if ac_fn_cxx_try_compile "$LINENO"; then :
47719 glibcxx_cv_func__isnanf_use=yes
47720 else
47721 glibcxx_cv_func__isnanf_use=no
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 ac_ext=c
47725 ac_cpp='$CPP $CPPFLAGS'
47726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47735 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47737 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47738 for ac_func in _isnanf
47739 do :
47740 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47741 if test "x$ac_cv_func__isnanf" = x""yes; then :
47742 cat >>confdefs.h <<_ACEOF
47743 #define HAVE__ISNANF 1
47744 _ACEOF
47747 done
47756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47757 $as_echo_n "checking for isinff declaration... " >&6; }
47758 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47759 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47760 $as_echo_n "(cached) " >&6
47761 else
47764 ac_ext=cpp
47765 ac_cpp='$CXXCPP $CPPFLAGS'
47766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47771 /* end confdefs.h. */
47772 #include <math.h>
47773 #ifdef HAVE_IEEEFP_H
47774 #include <ieeefp.h>
47775 #endif
47778 main ()
47780 isinff(0);
47782 return 0;
47784 _ACEOF
47785 if ac_fn_cxx_try_compile "$LINENO"; then :
47786 glibcxx_cv_func_isinff_use=yes
47787 else
47788 glibcxx_cv_func_isinff_use=no
47790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47791 ac_ext=c
47792 ac_cpp='$CPP $CPPFLAGS'
47793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47802 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47804 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47805 for ac_func in isinff
47806 do :
47807 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47808 if test "x$ac_cv_func_isinff" = x""yes; then :
47809 cat >>confdefs.h <<_ACEOF
47810 #define HAVE_ISINFF 1
47811 _ACEOF
47814 done
47816 else
47818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47819 $as_echo_n "checking for _isinff declaration... " >&6; }
47820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47822 $as_echo_n "(cached) " >&6
47823 else
47826 ac_ext=cpp
47827 ac_cpp='$CXXCPP $CPPFLAGS'
47828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47833 /* end confdefs.h. */
47834 #include <math.h>
47835 #ifdef HAVE_IEEEFP_H
47836 #include <ieeefp.h>
47837 #endif
47840 main ()
47842 _isinff(0);
47844 return 0;
47846 _ACEOF
47847 if ac_fn_cxx_try_compile "$LINENO"; then :
47848 glibcxx_cv_func__isinff_use=yes
47849 else
47850 glibcxx_cv_func__isinff_use=no
47852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853 ac_ext=c
47854 ac_cpp='$CPP $CPPFLAGS'
47855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47864 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47866 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47867 for ac_func in _isinff
47868 do :
47869 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47870 if test "x$ac_cv_func__isinff" = x""yes; then :
47871 cat >>confdefs.h <<_ACEOF
47872 #define HAVE__ISINFF 1
47873 _ACEOF
47876 done
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47886 $as_echo_n "checking for atan2f declaration... " >&6; }
47887 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47888 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47890 else
47893 ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47901 #include <math.h>
47903 main ()
47905 atan2f(0, 0);
47907 return 0;
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func_atan2f_use=yes
47912 else
47913 glibcxx_cv_func_atan2f_use=no
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916 ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47927 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47929 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47930 for ac_func in atan2f
47931 do :
47932 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47933 if test "x$ac_cv_func_atan2f" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE_ATAN2F 1
47936 _ACEOF
47939 done
47941 else
47943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47944 $as_echo_n "checking for _atan2f declaration... " >&6; }
47945 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47946 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47947 $as_echo_n "(cached) " >&6
47948 else
47951 ac_ext=cpp
47952 ac_cpp='$CXXCPP $CPPFLAGS'
47953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47958 /* end confdefs.h. */
47959 #include <math.h>
47961 main ()
47963 _atan2f(0, 0);
47965 return 0;
47967 _ACEOF
47968 if ac_fn_cxx_try_compile "$LINENO"; then :
47969 glibcxx_cv_func__atan2f_use=yes
47970 else
47971 glibcxx_cv_func__atan2f_use=no
47973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47974 ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47985 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47987 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47988 for ac_func in _atan2f
47989 do :
47990 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47991 if test "x$ac_cv_func__atan2f" = x""yes; then :
47992 cat >>confdefs.h <<_ACEOF
47993 #define HAVE__ATAN2F 1
47994 _ACEOF
47997 done
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48007 $as_echo_n "checking for fabsf declaration... " >&6; }
48008 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48009 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48010 $as_echo_n "(cached) " >&6
48011 else
48014 ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h. */
48022 #include <math.h>
48023 #ifdef HAVE_IEEEFP_H
48024 #include <ieeefp.h>
48025 #endif
48028 main ()
48030 fabsf(0);
48032 return 0;
48034 _ACEOF
48035 if ac_fn_cxx_try_compile "$LINENO"; then :
48036 glibcxx_cv_func_fabsf_use=yes
48037 else
48038 glibcxx_cv_func_fabsf_use=no
48040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48041 ac_ext=c
48042 ac_cpp='$CPP $CPPFLAGS'
48043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48052 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48054 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48055 for ac_func in fabsf
48056 do :
48057 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48058 if test "x$ac_cv_func_fabsf" = x""yes; then :
48059 cat >>confdefs.h <<_ACEOF
48060 #define HAVE_FABSF 1
48061 _ACEOF
48064 done
48066 else
48068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48069 $as_echo_n "checking for _fabsf declaration... " >&6; }
48070 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48071 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48072 $as_echo_n "(cached) " >&6
48073 else
48076 ac_ext=cpp
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48083 /* end confdefs.h. */
48084 #include <math.h>
48085 #ifdef HAVE_IEEEFP_H
48086 #include <ieeefp.h>
48087 #endif
48090 main ()
48092 _fabsf(0);
48094 return 0;
48096 _ACEOF
48097 if ac_fn_cxx_try_compile "$LINENO"; then :
48098 glibcxx_cv_func__fabsf_use=yes
48099 else
48100 glibcxx_cv_func__fabsf_use=no
48102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48103 ac_ext=c
48104 ac_cpp='$CPP $CPPFLAGS'
48105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48114 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48116 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48117 for ac_func in _fabsf
48118 do :
48119 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48120 if test "x$ac_cv_func__fabsf" = x""yes; then :
48121 cat >>confdefs.h <<_ACEOF
48122 #define HAVE__FABSF 1
48123 _ACEOF
48126 done
48135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48136 $as_echo_n "checking for fmodf declaration... " >&6; }
48137 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48138 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48139 $as_echo_n "(cached) " >&6
48140 else
48143 ac_ext=cpp
48144 ac_cpp='$CXXCPP $CPPFLAGS'
48145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150 /* end confdefs.h. */
48151 #include <math.h>
48153 main ()
48155 fmodf(0, 0);
48157 return 0;
48159 _ACEOF
48160 if ac_fn_cxx_try_compile "$LINENO"; then :
48161 glibcxx_cv_func_fmodf_use=yes
48162 else
48163 glibcxx_cv_func_fmodf_use=no
48165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48166 ac_ext=c
48167 ac_cpp='$CPP $CPPFLAGS'
48168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48177 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48179 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48180 for ac_func in fmodf
48181 do :
48182 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48183 if test "x$ac_cv_func_fmodf" = x""yes; then :
48184 cat >>confdefs.h <<_ACEOF
48185 #define HAVE_FMODF 1
48186 _ACEOF
48189 done
48191 else
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48194 $as_echo_n "checking for _fmodf declaration... " >&6; }
48195 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48196 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48197 $as_echo_n "(cached) " >&6
48198 else
48201 ac_ext=cpp
48202 ac_cpp='$CXXCPP $CPPFLAGS'
48203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48208 /* end confdefs.h. */
48209 #include <math.h>
48211 main ()
48213 _fmodf(0, 0);
48215 return 0;
48217 _ACEOF
48218 if ac_fn_cxx_try_compile "$LINENO"; then :
48219 glibcxx_cv_func__fmodf_use=yes
48220 else
48221 glibcxx_cv_func__fmodf_use=no
48223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48224 ac_ext=c
48225 ac_cpp='$CPP $CPPFLAGS'
48226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48235 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48237 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48238 for ac_func in _fmodf
48239 do :
48240 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48241 if test "x$ac_cv_func__fmodf" = x""yes; then :
48242 cat >>confdefs.h <<_ACEOF
48243 #define HAVE__FMODF 1
48244 _ACEOF
48247 done
48256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48257 $as_echo_n "checking for frexpf declaration... " >&6; }
48258 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48259 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48260 $as_echo_n "(cached) " >&6
48261 else
48264 ac_ext=cpp
48265 ac_cpp='$CXXCPP $CPPFLAGS'
48266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48271 /* end confdefs.h. */
48272 #include <math.h>
48274 main ()
48276 frexpf(0, 0);
48278 return 0;
48280 _ACEOF
48281 if ac_fn_cxx_try_compile "$LINENO"; then :
48282 glibcxx_cv_func_frexpf_use=yes
48283 else
48284 glibcxx_cv_func_frexpf_use=no
48286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48287 ac_ext=c
48288 ac_cpp='$CPP $CPPFLAGS'
48289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48298 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48300 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48301 for ac_func in frexpf
48302 do :
48303 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48304 if test "x$ac_cv_func_frexpf" = x""yes; then :
48305 cat >>confdefs.h <<_ACEOF
48306 #define HAVE_FREXPF 1
48307 _ACEOF
48310 done
48312 else
48314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48315 $as_echo_n "checking for _frexpf declaration... " >&6; }
48316 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48317 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48318 $as_echo_n "(cached) " >&6
48319 else
48322 ac_ext=cpp
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48329 /* end confdefs.h. */
48330 #include <math.h>
48332 main ()
48334 _frexpf(0, 0);
48336 return 0;
48338 _ACEOF
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340 glibcxx_cv_func__frexpf_use=yes
48341 else
48342 glibcxx_cv_func__frexpf_use=no
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48345 ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48356 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48358 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48359 for ac_func in _frexpf
48360 do :
48361 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48362 if test "x$ac_cv_func__frexpf" = x""yes; then :
48363 cat >>confdefs.h <<_ACEOF
48364 #define HAVE__FREXPF 1
48365 _ACEOF
48368 done
48377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48378 $as_echo_n "checking for hypotf declaration... " >&6; }
48379 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48380 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48381 $as_echo_n "(cached) " >&6
48382 else
48385 ac_ext=cpp
48386 ac_cpp='$CXXCPP $CPPFLAGS'
48387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48392 /* end confdefs.h. */
48393 #include <math.h>
48395 main ()
48397 hypotf(0, 0);
48399 return 0;
48401 _ACEOF
48402 if ac_fn_cxx_try_compile "$LINENO"; then :
48403 glibcxx_cv_func_hypotf_use=yes
48404 else
48405 glibcxx_cv_func_hypotf_use=no
48407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48408 ac_ext=c
48409 ac_cpp='$CPP $CPPFLAGS'
48410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48419 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48421 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48422 for ac_func in hypotf
48423 do :
48424 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48425 if test "x$ac_cv_func_hypotf" = x""yes; then :
48426 cat >>confdefs.h <<_ACEOF
48427 #define HAVE_HYPOTF 1
48428 _ACEOF
48431 done
48433 else
48435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48436 $as_echo_n "checking for _hypotf declaration... " >&6; }
48437 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48438 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48439 $as_echo_n "(cached) " >&6
48440 else
48443 ac_ext=cpp
48444 ac_cpp='$CXXCPP $CPPFLAGS'
48445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48450 /* end confdefs.h. */
48451 #include <math.h>
48453 main ()
48455 _hypotf(0, 0);
48457 return 0;
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func__hypotf_use=yes
48462 else
48463 glibcxx_cv_func__hypotf_use=no
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48477 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48479 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48480 for ac_func in _hypotf
48481 do :
48482 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48483 if test "x$ac_cv_func__hypotf" = x""yes; then :
48484 cat >>confdefs.h <<_ACEOF
48485 #define HAVE__HYPOTF 1
48486 _ACEOF
48489 done
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48499 $as_echo_n "checking for ldexpf declaration... " >&6; }
48500 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48501 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48516 main ()
48518 ldexpf(0, 0);
48520 return 0;
48522 _ACEOF
48523 if ac_fn_cxx_try_compile "$LINENO"; then :
48524 glibcxx_cv_func_ldexpf_use=yes
48525 else
48526 glibcxx_cv_func_ldexpf_use=no
48528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48529 ac_ext=c
48530 ac_cpp='$CPP $CPPFLAGS'
48531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48540 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48542 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48543 for ac_func in ldexpf
48544 do :
48545 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48546 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48547 cat >>confdefs.h <<_ACEOF
48548 #define HAVE_LDEXPF 1
48549 _ACEOF
48552 done
48554 else
48556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48557 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48558 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48559 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48560 $as_echo_n "(cached) " >&6
48561 else
48564 ac_ext=cpp
48565 ac_cpp='$CXXCPP $CPPFLAGS'
48566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48571 /* end confdefs.h. */
48572 #include <math.h>
48574 main ()
48576 _ldexpf(0, 0);
48578 return 0;
48580 _ACEOF
48581 if ac_fn_cxx_try_compile "$LINENO"; then :
48582 glibcxx_cv_func__ldexpf_use=yes
48583 else
48584 glibcxx_cv_func__ldexpf_use=no
48586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48587 ac_ext=c
48588 ac_cpp='$CPP $CPPFLAGS'
48589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48598 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48600 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48601 for ac_func in _ldexpf
48602 do :
48603 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48604 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48605 cat >>confdefs.h <<_ACEOF
48606 #define HAVE__LDEXPF 1
48607 _ACEOF
48610 done
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48620 $as_echo_n "checking for logf declaration... " >&6; }
48621 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48622 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48623 $as_echo_n "(cached) " >&6
48624 else
48627 ac_ext=cpp
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48634 /* end confdefs.h. */
48635 #include <math.h>
48636 #ifdef HAVE_IEEEFP_H
48637 #include <ieeefp.h>
48638 #endif
48641 main ()
48643 logf(0);
48645 return 0;
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649 glibcxx_cv_func_logf_use=yes
48650 else
48651 glibcxx_cv_func_logf_use=no
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48665 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48668 for ac_func in logf
48669 do :
48670 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48671 if test "x$ac_cv_func_logf" = x""yes; then :
48672 cat >>confdefs.h <<_ACEOF
48673 #define HAVE_LOGF 1
48674 _ACEOF
48677 done
48679 else
48681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48682 $as_echo_n "checking for _logf declaration... " >&6; }
48683 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48684 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48685 $as_echo_n "(cached) " >&6
48686 else
48689 ac_ext=cpp
48690 ac_cpp='$CXXCPP $CPPFLAGS'
48691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48696 /* end confdefs.h. */
48697 #include <math.h>
48698 #ifdef HAVE_IEEEFP_H
48699 #include <ieeefp.h>
48700 #endif
48703 main ()
48705 _logf(0);
48707 return 0;
48709 _ACEOF
48710 if ac_fn_cxx_try_compile "$LINENO"; then :
48711 glibcxx_cv_func__logf_use=yes
48712 else
48713 glibcxx_cv_func__logf_use=no
48715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48716 ac_ext=c
48717 ac_cpp='$CPP $CPPFLAGS'
48718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48727 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48729 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48730 for ac_func in _logf
48731 do :
48732 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48733 if test "x$ac_cv_func__logf" = x""yes; then :
48734 cat >>confdefs.h <<_ACEOF
48735 #define HAVE__LOGF 1
48736 _ACEOF
48739 done
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48749 $as_echo_n "checking for log10f declaration... " >&6; }
48750 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48751 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48765 #ifdef HAVE_IEEEFP_H
48766 #include <ieeefp.h>
48767 #endif
48770 main ()
48772 log10f(0);
48774 return 0;
48776 _ACEOF
48777 if ac_fn_cxx_try_compile "$LINENO"; then :
48778 glibcxx_cv_func_log10f_use=yes
48779 else
48780 glibcxx_cv_func_log10f_use=no
48782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48783 ac_ext=c
48784 ac_cpp='$CPP $CPPFLAGS'
48785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48794 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48796 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48797 for ac_func in log10f
48798 do :
48799 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48800 if test "x$ac_cv_func_log10f" = x""yes; then :
48801 cat >>confdefs.h <<_ACEOF
48802 #define HAVE_LOG10F 1
48803 _ACEOF
48806 done
48808 else
48810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48811 $as_echo_n "checking for _log10f declaration... " >&6; }
48812 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48813 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48814 $as_echo_n "(cached) " >&6
48815 else
48818 ac_ext=cpp
48819 ac_cpp='$CXXCPP $CPPFLAGS'
48820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48825 /* end confdefs.h. */
48826 #include <math.h>
48827 #ifdef HAVE_IEEEFP_H
48828 #include <ieeefp.h>
48829 #endif
48832 main ()
48834 _log10f(0);
48836 return 0;
48838 _ACEOF
48839 if ac_fn_cxx_try_compile "$LINENO"; then :
48840 glibcxx_cv_func__log10f_use=yes
48841 else
48842 glibcxx_cv_func__log10f_use=no
48844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48845 ac_ext=c
48846 ac_cpp='$CPP $CPPFLAGS'
48847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48856 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48859 for ac_func in _log10f
48860 do :
48861 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48862 if test "x$ac_cv_func__log10f" = x""yes; then :
48863 cat >>confdefs.h <<_ACEOF
48864 #define HAVE__LOG10F 1
48865 _ACEOF
48868 done
48877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48878 $as_echo_n "checking for modff declaration... " >&6; }
48879 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48880 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48881 $as_echo_n "(cached) " >&6
48882 else
48885 ac_ext=cpp
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48892 /* end confdefs.h. */
48893 #include <math.h>
48895 main ()
48897 modff(0, 0);
48899 return 0;
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903 glibcxx_cv_func_modff_use=yes
48904 else
48905 glibcxx_cv_func_modff_use=no
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908 ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48919 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48921 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48922 for ac_func in modff
48923 do :
48924 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48925 if test "x$ac_cv_func_modff" = x""yes; then :
48926 cat >>confdefs.h <<_ACEOF
48927 #define HAVE_MODFF 1
48928 _ACEOF
48931 done
48933 else
48935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48936 $as_echo_n "checking for _modff declaration... " >&6; }
48937 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48938 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48939 $as_echo_n "(cached) " >&6
48940 else
48943 ac_ext=cpp
48944 ac_cpp='$CXXCPP $CPPFLAGS'
48945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48950 /* end confdefs.h. */
48951 #include <math.h>
48953 main ()
48955 _modff(0, 0);
48957 return 0;
48959 _ACEOF
48960 if ac_fn_cxx_try_compile "$LINENO"; then :
48961 glibcxx_cv_func__modff_use=yes
48962 else
48963 glibcxx_cv_func__modff_use=no
48965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48966 ac_ext=c
48967 ac_cpp='$CPP $CPPFLAGS'
48968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48977 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48979 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48980 for ac_func in _modff
48981 do :
48982 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48983 if test "x$ac_cv_func__modff" = x""yes; then :
48984 cat >>confdefs.h <<_ACEOF
48985 #define HAVE__MODFF 1
48986 _ACEOF
48989 done
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48999 $as_echo_n "checking for modf declaration... " >&6; }
49000 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49001 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49002 $as_echo_n "(cached) " >&6
49003 else
49006 ac_ext=cpp
49007 ac_cpp='$CXXCPP $CPPFLAGS'
49008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49013 /* end confdefs.h. */
49014 #include <math.h>
49016 main ()
49018 modf(0, 0);
49020 return 0;
49022 _ACEOF
49023 if ac_fn_cxx_try_compile "$LINENO"; then :
49024 glibcxx_cv_func_modf_use=yes
49025 else
49026 glibcxx_cv_func_modf_use=no
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49029 ac_ext=c
49030 ac_cpp='$CPP $CPPFLAGS'
49031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49040 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49042 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49043 for ac_func in modf
49044 do :
49045 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49046 if test "x$ac_cv_func_modf" = x""yes; then :
49047 cat >>confdefs.h <<_ACEOF
49048 #define HAVE_MODF 1
49049 _ACEOF
49052 done
49054 else
49056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49057 $as_echo_n "checking for _modf declaration... " >&6; }
49058 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49059 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49060 $as_echo_n "(cached) " >&6
49061 else
49064 ac_ext=cpp
49065 ac_cpp='$CXXCPP $CPPFLAGS'
49066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49071 /* end confdefs.h. */
49072 #include <math.h>
49074 main ()
49076 _modf(0, 0);
49078 return 0;
49080 _ACEOF
49081 if ac_fn_cxx_try_compile "$LINENO"; then :
49082 glibcxx_cv_func__modf_use=yes
49083 else
49084 glibcxx_cv_func__modf_use=no
49086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49087 ac_ext=c
49088 ac_cpp='$CPP $CPPFLAGS'
49089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49098 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49100 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49101 for ac_func in _modf
49102 do :
49103 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49104 if test "x$ac_cv_func__modf" = x""yes; then :
49105 cat >>confdefs.h <<_ACEOF
49106 #define HAVE__MODF 1
49107 _ACEOF
49110 done
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49120 $as_echo_n "checking for powf declaration... " >&6; }
49121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49122 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49123 $as_echo_n "(cached) " >&6
49124 else
49127 ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h. */
49135 #include <math.h>
49137 main ()
49139 powf(0, 0);
49141 return 0;
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145 glibcxx_cv_func_powf_use=yes
49146 else
49147 glibcxx_cv_func_powf_use=no
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49161 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49163 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49164 for ac_func in powf
49165 do :
49166 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49167 if test "x$ac_cv_func_powf" = x""yes; then :
49168 cat >>confdefs.h <<_ACEOF
49169 #define HAVE_POWF 1
49170 _ACEOF
49173 done
49175 else
49177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49178 $as_echo_n "checking for _powf declaration... " >&6; }
49179 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49180 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49181 $as_echo_n "(cached) " >&6
49182 else
49185 ac_ext=cpp
49186 ac_cpp='$CXXCPP $CPPFLAGS'
49187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49192 /* end confdefs.h. */
49193 #include <math.h>
49195 main ()
49197 _powf(0, 0);
49199 return 0;
49201 _ACEOF
49202 if ac_fn_cxx_try_compile "$LINENO"; then :
49203 glibcxx_cv_func__powf_use=yes
49204 else
49205 glibcxx_cv_func__powf_use=no
49207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49208 ac_ext=c
49209 ac_cpp='$CPP $CPPFLAGS'
49210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49219 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49221 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49222 for ac_func in _powf
49223 do :
49224 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49225 if test "x$ac_cv_func__powf" = x""yes; then :
49226 cat >>confdefs.h <<_ACEOF
49227 #define HAVE__POWF 1
49228 _ACEOF
49231 done
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49241 $as_echo_n "checking for sqrtf declaration... " >&6; }
49242 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49243 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49244 $as_echo_n "(cached) " >&6
49245 else
49248 ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h. */
49256 #include <math.h>
49257 #ifdef HAVE_IEEEFP_H
49258 #include <ieeefp.h>
49259 #endif
49262 main ()
49264 sqrtf(0);
49266 return 0;
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270 glibcxx_cv_func_sqrtf_use=yes
49271 else
49272 glibcxx_cv_func_sqrtf_use=no
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275 ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49286 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49288 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49289 for ac_func in sqrtf
49290 do :
49291 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49292 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49293 cat >>confdefs.h <<_ACEOF
49294 #define HAVE_SQRTF 1
49295 _ACEOF
49298 done
49300 else
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49303 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49304 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49305 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49306 $as_echo_n "(cached) " >&6
49307 else
49310 ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h. */
49318 #include <math.h>
49319 #ifdef HAVE_IEEEFP_H
49320 #include <ieeefp.h>
49321 #endif
49324 main ()
49326 _sqrtf(0);
49328 return 0;
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func__sqrtf_use=yes
49333 else
49334 glibcxx_cv_func__sqrtf_use=no
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49348 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49350 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49351 for ac_func in _sqrtf
49352 do :
49353 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49354 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE__SQRTF 1
49357 _ACEOF
49360 done
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49370 $as_echo_n "checking for sincosf declaration... " >&6; }
49371 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49372 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49373 $as_echo_n "(cached) " >&6
49374 else
49377 ac_ext=cpp
49378 ac_cpp='$CXXCPP $CPPFLAGS'
49379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49384 /* end confdefs.h. */
49385 #include <math.h>
49387 main ()
49389 sincosf(0, 0, 0);
49391 return 0;
49393 _ACEOF
49394 if ac_fn_cxx_try_compile "$LINENO"; then :
49395 glibcxx_cv_func_sincosf_use=yes
49396 else
49397 glibcxx_cv_func_sincosf_use=no
49399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49400 ac_ext=c
49401 ac_cpp='$CPP $CPPFLAGS'
49402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49411 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49413 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49414 for ac_func in sincosf
49415 do :
49416 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49417 if test "x$ac_cv_func_sincosf" = x""yes; then :
49418 cat >>confdefs.h <<_ACEOF
49419 #define HAVE_SINCOSF 1
49420 _ACEOF
49423 done
49425 else
49427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49428 $as_echo_n "checking for _sincosf declaration... " >&6; }
49429 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49430 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49431 $as_echo_n "(cached) " >&6
49432 else
49435 ac_ext=cpp
49436 ac_cpp='$CXXCPP $CPPFLAGS'
49437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49442 /* end confdefs.h. */
49443 #include <math.h>
49445 main ()
49447 _sincosf(0, 0, 0);
49449 return 0;
49451 _ACEOF
49452 if ac_fn_cxx_try_compile "$LINENO"; then :
49453 glibcxx_cv_func__sincosf_use=yes
49454 else
49455 glibcxx_cv_func__sincosf_use=no
49457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49458 ac_ext=c
49459 ac_cpp='$CPP $CPPFLAGS'
49460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49469 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49471 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49472 for ac_func in _sincosf
49473 do :
49474 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49475 if test "x$ac_cv_func__sincosf" = x""yes; then :
49476 cat >>confdefs.h <<_ACEOF
49477 #define HAVE__SINCOSF 1
49478 _ACEOF
49481 done
49490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49491 $as_echo_n "checking for finitef declaration... " >&6; }
49492 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49493 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49494 $as_echo_n "(cached) " >&6
49495 else
49498 ac_ext=cpp
49499 ac_cpp='$CXXCPP $CPPFLAGS'
49500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h. */
49506 #include <math.h>
49507 #ifdef HAVE_IEEEFP_H
49508 #include <ieeefp.h>
49509 #endif
49512 main ()
49514 finitef(0);
49516 return 0;
49518 _ACEOF
49519 if ac_fn_cxx_try_compile "$LINENO"; then :
49520 glibcxx_cv_func_finitef_use=yes
49521 else
49522 glibcxx_cv_func_finitef_use=no
49524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49525 ac_ext=c
49526 ac_cpp='$CPP $CPPFLAGS'
49527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49536 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49538 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49539 for ac_func in finitef
49540 do :
49541 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49542 if test "x$ac_cv_func_finitef" = x""yes; then :
49543 cat >>confdefs.h <<_ACEOF
49544 #define HAVE_FINITEF 1
49545 _ACEOF
49548 done
49550 else
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49553 $as_echo_n "checking for _finitef declaration... " >&6; }
49554 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49555 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49556 $as_echo_n "(cached) " >&6
49557 else
49560 ac_ext=cpp
49561 ac_cpp='$CXXCPP $CPPFLAGS'
49562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49567 /* end confdefs.h. */
49568 #include <math.h>
49569 #ifdef HAVE_IEEEFP_H
49570 #include <ieeefp.h>
49571 #endif
49574 main ()
49576 _finitef(0);
49578 return 0;
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582 glibcxx_cv_func__finitef_use=yes
49583 else
49584 glibcxx_cv_func__finitef_use=no
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587 ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49598 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49600 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49601 for ac_func in _finitef
49602 do :
49603 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49604 if test "x$ac_cv_func__finitef" = x""yes; then :
49605 cat >>confdefs.h <<_ACEOF
49606 #define HAVE__FINITEF 1
49607 _ACEOF
49610 done
49619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49620 $as_echo_n "checking for long double trig functions... " >&6; }
49621 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49622 $as_echo_n "(cached) " >&6
49623 else
49626 ac_ext=cpp
49627 ac_cpp='$CXXCPP $CPPFLAGS'
49628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49633 /* end confdefs.h. */
49634 #include <math.h>
49636 main ()
49638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49640 return 0;
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644 glibcxx_cv_func_long_double_trig_use=yes
49645 else
49646 glibcxx_cv_func_long_double_trig_use=no
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649 ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49658 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49659 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49660 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49661 do :
49662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49664 eval as_val=\$$as_ac_var
49665 if test "x$as_val" = x""yes; then :
49666 cat >>confdefs.h <<_ACEOF
49667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49668 _ACEOF
49671 done
49673 else
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49675 $as_echo_n "checking for _long double trig functions... " >&6; }
49676 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49677 $as_echo_n "(cached) " >&6
49678 else
49681 ac_ext=cpp
49682 ac_cpp='$CXXCPP $CPPFLAGS'
49683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49688 /* end confdefs.h. */
49689 #include <math.h>
49691 main ()
49693 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49695 return 0;
49697 _ACEOF
49698 if ac_fn_cxx_try_compile "$LINENO"; then :
49699 glibcxx_cv_func__long_double_trig_use=yes
49700 else
49701 glibcxx_cv_func__long_double_trig_use=no
49703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49704 ac_ext=c
49705 ac_cpp='$CPP $CPPFLAGS'
49706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49713 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49714 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49715 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49716 do :
49717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49719 eval as_val=\$$as_ac_var
49720 if test "x$as_val" = x""yes; then :
49721 cat >>confdefs.h <<_ACEOF
49722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49723 _ACEOF
49726 done
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49736 $as_echo_n "checking for long double round functions... " >&6; }
49737 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49738 $as_echo_n "(cached) " >&6
49739 else
49742 ac_ext=cpp
49743 ac_cpp='$CXXCPP $CPPFLAGS'
49744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49749 /* end confdefs.h. */
49750 #include <math.h>
49752 main ()
49754 ceill (0); floorl (0);
49756 return 0;
49758 _ACEOF
49759 if ac_fn_cxx_try_compile "$LINENO"; then :
49760 glibcxx_cv_func_long_double_round_use=yes
49761 else
49762 glibcxx_cv_func_long_double_round_use=no
49764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49765 ac_ext=c
49766 ac_cpp='$CPP $CPPFLAGS'
49767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49774 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49775 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49776 for ac_func in ceill floorl
49777 do :
49778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49780 eval as_val=\$$as_ac_var
49781 if test "x$as_val" = x""yes; then :
49782 cat >>confdefs.h <<_ACEOF
49783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49784 _ACEOF
49787 done
49789 else
49790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49791 $as_echo_n "checking for _long double round functions... " >&6; }
49792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49793 $as_echo_n "(cached) " >&6
49794 else
49797 ac_ext=cpp
49798 ac_cpp='$CXXCPP $CPPFLAGS'
49799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49804 /* end confdefs.h. */
49805 #include <math.h>
49807 main ()
49809 _ceill (0); _floorl (0);
49811 return 0;
49813 _ACEOF
49814 if ac_fn_cxx_try_compile "$LINENO"; then :
49815 glibcxx_cv_func__long_double_round_use=yes
49816 else
49817 glibcxx_cv_func__long_double_round_use=no
49819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49820 ac_ext=c
49821 ac_cpp='$CPP $CPPFLAGS'
49822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49829 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49830 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49831 for ac_func in _ceill _floorl
49832 do :
49833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49835 eval as_val=\$$as_ac_var
49836 if test "x$as_val" = x""yes; then :
49837 cat >>confdefs.h <<_ACEOF
49838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49839 _ACEOF
49842 done
49852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49853 $as_echo_n "checking for isnanl declaration... " >&6; }
49854 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49855 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49856 $as_echo_n "(cached) " >&6
49857 else
49860 ac_ext=cpp
49861 ac_cpp='$CXXCPP $CPPFLAGS'
49862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49867 /* end confdefs.h. */
49868 #include <math.h>
49869 #ifdef HAVE_IEEEFP_H
49870 #include <ieeefp.h>
49871 #endif
49874 main ()
49876 isnanl(0);
49878 return 0;
49880 _ACEOF
49881 if ac_fn_cxx_try_compile "$LINENO"; then :
49882 glibcxx_cv_func_isnanl_use=yes
49883 else
49884 glibcxx_cv_func_isnanl_use=no
49886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49887 ac_ext=c
49888 ac_cpp='$CPP $CPPFLAGS'
49889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49898 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49900 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49901 for ac_func in isnanl
49902 do :
49903 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49904 if test "x$ac_cv_func_isnanl" = x""yes; then :
49905 cat >>confdefs.h <<_ACEOF
49906 #define HAVE_ISNANL 1
49907 _ACEOF
49910 done
49912 else
49914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49915 $as_echo_n "checking for _isnanl declaration... " >&6; }
49916 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49917 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49918 $as_echo_n "(cached) " >&6
49919 else
49922 ac_ext=cpp
49923 ac_cpp='$CXXCPP $CPPFLAGS'
49924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49929 /* end confdefs.h. */
49930 #include <math.h>
49931 #ifdef HAVE_IEEEFP_H
49932 #include <ieeefp.h>
49933 #endif
49936 main ()
49938 _isnanl(0);
49940 return 0;
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944 glibcxx_cv_func__isnanl_use=yes
49945 else
49946 glibcxx_cv_func__isnanl_use=no
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49960 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49962 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49963 for ac_func in _isnanl
49964 do :
49965 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49966 if test "x$ac_cv_func__isnanl" = x""yes; then :
49967 cat >>confdefs.h <<_ACEOF
49968 #define HAVE__ISNANL 1
49969 _ACEOF
49972 done
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49982 $as_echo_n "checking for isinfl declaration... " >&6; }
49983 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49984 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50003 main ()
50005 isinfl(0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_isinfl_use=yes
50012 else
50013 glibcxx_cv_func_isinfl_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50027 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50029 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50030 for ac_func in isinfl
50031 do :
50032 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50033 if test "x$ac_cv_func_isinfl" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_ISINFL 1
50036 _ACEOF
50039 done
50041 else
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50044 $as_echo_n "checking for _isinfl declaration... " >&6; }
50045 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50046 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50060 #ifdef HAVE_IEEEFP_H
50061 #include <ieeefp.h>
50062 #endif
50065 main ()
50067 _isinfl(0);
50069 return 0;
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__isinfl_use=yes
50074 else
50075 glibcxx_cv_func__isinfl_use=no
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50089 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50091 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50092 for ac_func in _isinfl
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50095 if test "x$ac_cv_func__isinfl" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__ISINFL 1
50098 _ACEOF
50101 done
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50111 $as_echo_n "checking for atan2l declaration... " >&6; }
50112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50128 main ()
50130 atan2l(0, 0);
50132 return 0;
50134 _ACEOF
50135 if ac_fn_cxx_try_compile "$LINENO"; then :
50136 glibcxx_cv_func_atan2l_use=yes
50137 else
50138 glibcxx_cv_func_atan2l_use=no
50140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50141 ac_ext=c
50142 ac_cpp='$CPP $CPPFLAGS'
50143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50152 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50154 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50155 for ac_func in atan2l
50156 do :
50157 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50158 if test "x$ac_cv_func_atan2l" = x""yes; then :
50159 cat >>confdefs.h <<_ACEOF
50160 #define HAVE_ATAN2L 1
50161 _ACEOF
50164 done
50166 else
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50169 $as_echo_n "checking for _atan2l declaration... " >&6; }
50170 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50171 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50172 $as_echo_n "(cached) " >&6
50173 else
50176 ac_ext=cpp
50177 ac_cpp='$CXXCPP $CPPFLAGS'
50178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50183 /* end confdefs.h. */
50184 #include <math.h>
50186 main ()
50188 _atan2l(0, 0);
50190 return 0;
50192 _ACEOF
50193 if ac_fn_cxx_try_compile "$LINENO"; then :
50194 glibcxx_cv_func__atan2l_use=yes
50195 else
50196 glibcxx_cv_func__atan2l_use=no
50198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50199 ac_ext=c
50200 ac_cpp='$CPP $CPPFLAGS'
50201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50210 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50212 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50213 for ac_func in _atan2l
50214 do :
50215 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50216 if test "x$ac_cv_func__atan2l" = x""yes; then :
50217 cat >>confdefs.h <<_ACEOF
50218 #define HAVE__ATAN2L 1
50219 _ACEOF
50222 done
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50232 $as_echo_n "checking for expl declaration... " >&6; }
50233 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50234 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50235 $as_echo_n "(cached) " >&6
50236 else
50239 ac_ext=cpp
50240 ac_cpp='$CXXCPP $CPPFLAGS'
50241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50246 /* end confdefs.h. */
50247 #include <math.h>
50248 #ifdef HAVE_IEEEFP_H
50249 #include <ieeefp.h>
50250 #endif
50253 main ()
50255 expl(0);
50257 return 0;
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261 glibcxx_cv_func_expl_use=yes
50262 else
50263 glibcxx_cv_func_expl_use=no
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266 ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50277 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50279 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50280 for ac_func in expl
50281 do :
50282 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50283 if test "x$ac_cv_func_expl" = x""yes; then :
50284 cat >>confdefs.h <<_ACEOF
50285 #define HAVE_EXPL 1
50286 _ACEOF
50289 done
50291 else
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50294 $as_echo_n "checking for _expl declaration... " >&6; }
50295 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50296 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50297 $as_echo_n "(cached) " >&6
50298 else
50301 ac_ext=cpp
50302 ac_cpp='$CXXCPP $CPPFLAGS'
50303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50308 /* end confdefs.h. */
50309 #include <math.h>
50310 #ifdef HAVE_IEEEFP_H
50311 #include <ieeefp.h>
50312 #endif
50315 main ()
50317 _expl(0);
50319 return 0;
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func__expl_use=yes
50324 else
50325 glibcxx_cv_func__expl_use=no
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50339 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50341 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50342 for ac_func in _expl
50343 do :
50344 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50345 if test "x$ac_cv_func__expl" = x""yes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE__EXPL 1
50348 _ACEOF
50351 done
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50361 $as_echo_n "checking for fabsl declaration... " >&6; }
50362 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50363 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50364 $as_echo_n "(cached) " >&6
50365 else
50368 ac_ext=cpp
50369 ac_cpp='$CXXCPP $CPPFLAGS'
50370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h. */
50376 #include <math.h>
50377 #ifdef HAVE_IEEEFP_H
50378 #include <ieeefp.h>
50379 #endif
50382 main ()
50384 fabsl(0);
50386 return 0;
50388 _ACEOF
50389 if ac_fn_cxx_try_compile "$LINENO"; then :
50390 glibcxx_cv_func_fabsl_use=yes
50391 else
50392 glibcxx_cv_func_fabsl_use=no
50394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50395 ac_ext=c
50396 ac_cpp='$CPP $CPPFLAGS'
50397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50406 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50408 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50409 for ac_func in fabsl
50410 do :
50411 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50412 if test "x$ac_cv_func_fabsl" = x""yes; then :
50413 cat >>confdefs.h <<_ACEOF
50414 #define HAVE_FABSL 1
50415 _ACEOF
50418 done
50420 else
50422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50423 $as_echo_n "checking for _fabsl declaration... " >&6; }
50424 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50425 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50426 $as_echo_n "(cached) " >&6
50427 else
50430 ac_ext=cpp
50431 ac_cpp='$CXXCPP $CPPFLAGS'
50432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50437 /* end confdefs.h. */
50438 #include <math.h>
50439 #ifdef HAVE_IEEEFP_H
50440 #include <ieeefp.h>
50441 #endif
50444 main ()
50446 _fabsl(0);
50448 return 0;
50450 _ACEOF
50451 if ac_fn_cxx_try_compile "$LINENO"; then :
50452 glibcxx_cv_func__fabsl_use=yes
50453 else
50454 glibcxx_cv_func__fabsl_use=no
50456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50457 ac_ext=c
50458 ac_cpp='$CPP $CPPFLAGS'
50459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50468 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50470 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50471 for ac_func in _fabsl
50472 do :
50473 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50474 if test "x$ac_cv_func__fabsl" = x""yes; then :
50475 cat >>confdefs.h <<_ACEOF
50476 #define HAVE__FABSL 1
50477 _ACEOF
50480 done
50489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50490 $as_echo_n "checking for fmodl declaration... " >&6; }
50491 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50492 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50493 $as_echo_n "(cached) " >&6
50494 else
50497 ac_ext=cpp
50498 ac_cpp='$CXXCPP $CPPFLAGS'
50499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50504 /* end confdefs.h. */
50505 #include <math.h>
50507 main ()
50509 fmodl(0, 0);
50511 return 0;
50513 _ACEOF
50514 if ac_fn_cxx_try_compile "$LINENO"; then :
50515 glibcxx_cv_func_fmodl_use=yes
50516 else
50517 glibcxx_cv_func_fmodl_use=no
50519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50520 ac_ext=c
50521 ac_cpp='$CPP $CPPFLAGS'
50522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50531 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50533 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50534 for ac_func in fmodl
50535 do :
50536 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50537 if test "x$ac_cv_func_fmodl" = x""yes; then :
50538 cat >>confdefs.h <<_ACEOF
50539 #define HAVE_FMODL 1
50540 _ACEOF
50543 done
50545 else
50547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50548 $as_echo_n "checking for _fmodl declaration... " >&6; }
50549 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50550 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50551 $as_echo_n "(cached) " >&6
50552 else
50555 ac_ext=cpp
50556 ac_cpp='$CXXCPP $CPPFLAGS'
50557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50562 /* end confdefs.h. */
50563 #include <math.h>
50565 main ()
50567 _fmodl(0, 0);
50569 return 0;
50571 _ACEOF
50572 if ac_fn_cxx_try_compile "$LINENO"; then :
50573 glibcxx_cv_func__fmodl_use=yes
50574 else
50575 glibcxx_cv_func__fmodl_use=no
50577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50578 ac_ext=c
50579 ac_cpp='$CPP $CPPFLAGS'
50580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50589 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50591 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50592 for ac_func in _fmodl
50593 do :
50594 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50595 if test "x$ac_cv_func__fmodl" = x""yes; then :
50596 cat >>confdefs.h <<_ACEOF
50597 #define HAVE__FMODL 1
50598 _ACEOF
50601 done
50610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50611 $as_echo_n "checking for frexpl declaration... " >&6; }
50612 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50613 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50614 $as_echo_n "(cached) " >&6
50615 else
50618 ac_ext=cpp
50619 ac_cpp='$CXXCPP $CPPFLAGS'
50620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50625 /* end confdefs.h. */
50626 #include <math.h>
50628 main ()
50630 frexpl(0, 0);
50632 return 0;
50634 _ACEOF
50635 if ac_fn_cxx_try_compile "$LINENO"; then :
50636 glibcxx_cv_func_frexpl_use=yes
50637 else
50638 glibcxx_cv_func_frexpl_use=no
50640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50641 ac_ext=c
50642 ac_cpp='$CPP $CPPFLAGS'
50643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50654 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50655 for ac_func in frexpl
50656 do :
50657 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50658 if test "x$ac_cv_func_frexpl" = x""yes; then :
50659 cat >>confdefs.h <<_ACEOF
50660 #define HAVE_FREXPL 1
50661 _ACEOF
50664 done
50666 else
50668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50669 $as_echo_n "checking for _frexpl declaration... " >&6; }
50670 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50671 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50672 $as_echo_n "(cached) " >&6
50673 else
50676 ac_ext=cpp
50677 ac_cpp='$CXXCPP $CPPFLAGS'
50678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50683 /* end confdefs.h. */
50684 #include <math.h>
50686 main ()
50688 _frexpl(0, 0);
50690 return 0;
50692 _ACEOF
50693 if ac_fn_cxx_try_compile "$LINENO"; then :
50694 glibcxx_cv_func__frexpl_use=yes
50695 else
50696 glibcxx_cv_func__frexpl_use=no
50698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50699 ac_ext=c
50700 ac_cpp='$CPP $CPPFLAGS'
50701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50710 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50712 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50713 for ac_func in _frexpl
50714 do :
50715 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50716 if test "x$ac_cv_func__frexpl" = x""yes; then :
50717 cat >>confdefs.h <<_ACEOF
50718 #define HAVE__FREXPL 1
50719 _ACEOF
50722 done
50731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50732 $as_echo_n "checking for hypotl declaration... " >&6; }
50733 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50734 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50735 $as_echo_n "(cached) " >&6
50736 else
50739 ac_ext=cpp
50740 ac_cpp='$CXXCPP $CPPFLAGS'
50741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50746 /* end confdefs.h. */
50747 #include <math.h>
50749 main ()
50751 hypotl(0, 0);
50753 return 0;
50755 _ACEOF
50756 if ac_fn_cxx_try_compile "$LINENO"; then :
50757 glibcxx_cv_func_hypotl_use=yes
50758 else
50759 glibcxx_cv_func_hypotl_use=no
50761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50762 ac_ext=c
50763 ac_cpp='$CPP $CPPFLAGS'
50764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50775 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50776 for ac_func in hypotl
50777 do :
50778 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50779 if test "x$ac_cv_func_hypotl" = x""yes; then :
50780 cat >>confdefs.h <<_ACEOF
50781 #define HAVE_HYPOTL 1
50782 _ACEOF
50785 done
50787 else
50789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50790 $as_echo_n "checking for _hypotl declaration... " >&6; }
50791 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50792 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50793 $as_echo_n "(cached) " >&6
50794 else
50797 ac_ext=cpp
50798 ac_cpp='$CXXCPP $CPPFLAGS'
50799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50804 /* end confdefs.h. */
50805 #include <math.h>
50807 main ()
50809 _hypotl(0, 0);
50811 return 0;
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func__hypotl_use=yes
50816 else
50817 glibcxx_cv_func__hypotl_use=no
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50831 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50833 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50834 for ac_func in _hypotl
50835 do :
50836 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50837 if test "x$ac_cv_func__hypotl" = x""yes; then :
50838 cat >>confdefs.h <<_ACEOF
50839 #define HAVE__HYPOTL 1
50840 _ACEOF
50843 done
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50853 $as_echo_n "checking for ldexpl declaration... " >&6; }
50854 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50855 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50870 main ()
50872 ldexpl(0, 0);
50874 return 0;
50876 _ACEOF
50877 if ac_fn_cxx_try_compile "$LINENO"; then :
50878 glibcxx_cv_func_ldexpl_use=yes
50879 else
50880 glibcxx_cv_func_ldexpl_use=no
50882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50883 ac_ext=c
50884 ac_cpp='$CPP $CPPFLAGS'
50885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50894 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50896 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50897 for ac_func in ldexpl
50898 do :
50899 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50900 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50901 cat >>confdefs.h <<_ACEOF
50902 #define HAVE_LDEXPL 1
50903 _ACEOF
50906 done
50908 else
50910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50911 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50912 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50913 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50914 $as_echo_n "(cached) " >&6
50915 else
50918 ac_ext=cpp
50919 ac_cpp='$CXXCPP $CPPFLAGS'
50920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50925 /* end confdefs.h. */
50926 #include <math.h>
50928 main ()
50930 _ldexpl(0, 0);
50932 return 0;
50934 _ACEOF
50935 if ac_fn_cxx_try_compile "$LINENO"; then :
50936 glibcxx_cv_func__ldexpl_use=yes
50937 else
50938 glibcxx_cv_func__ldexpl_use=no
50940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50941 ac_ext=c
50942 ac_cpp='$CPP $CPPFLAGS'
50943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50952 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50954 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50955 for ac_func in _ldexpl
50956 do :
50957 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50958 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50959 cat >>confdefs.h <<_ACEOF
50960 #define HAVE__LDEXPL 1
50961 _ACEOF
50964 done
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50974 $as_echo_n "checking for logl declaration... " >&6; }
50975 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50976 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50977 $as_echo_n "(cached) " >&6
50978 else
50981 ac_ext=cpp
50982 ac_cpp='$CXXCPP $CPPFLAGS'
50983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50988 /* end confdefs.h. */
50989 #include <math.h>
50990 #ifdef HAVE_IEEEFP_H
50991 #include <ieeefp.h>
50992 #endif
50995 main ()
50997 logl(0);
50999 return 0;
51001 _ACEOF
51002 if ac_fn_cxx_try_compile "$LINENO"; then :
51003 glibcxx_cv_func_logl_use=yes
51004 else
51005 glibcxx_cv_func_logl_use=no
51007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51008 ac_ext=c
51009 ac_cpp='$CPP $CPPFLAGS'
51010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51019 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51021 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51022 for ac_func in logl
51023 do :
51024 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51025 if test "x$ac_cv_func_logl" = x""yes; then :
51026 cat >>confdefs.h <<_ACEOF
51027 #define HAVE_LOGL 1
51028 _ACEOF
51031 done
51033 else
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51036 $as_echo_n "checking for _logl declaration... " >&6; }
51037 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51038 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51039 $as_echo_n "(cached) " >&6
51040 else
51043 ac_ext=cpp
51044 ac_cpp='$CXXCPP $CPPFLAGS'
51045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51050 /* end confdefs.h. */
51051 #include <math.h>
51052 #ifdef HAVE_IEEEFP_H
51053 #include <ieeefp.h>
51054 #endif
51057 main ()
51059 _logl(0);
51061 return 0;
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func__logl_use=yes
51066 else
51067 glibcxx_cv_func__logl_use=no
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51081 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51083 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51084 for ac_func in _logl
51085 do :
51086 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51087 if test "x$ac_cv_func__logl" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE__LOGL 1
51090 _ACEOF
51093 done
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51103 $as_echo_n "checking for log10l declaration... " >&6; }
51104 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51105 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51106 $as_echo_n "(cached) " >&6
51107 else
51110 ac_ext=cpp
51111 ac_cpp='$CXXCPP $CPPFLAGS'
51112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51117 /* end confdefs.h. */
51118 #include <math.h>
51119 #ifdef HAVE_IEEEFP_H
51120 #include <ieeefp.h>
51121 #endif
51124 main ()
51126 log10l(0);
51128 return 0;
51130 _ACEOF
51131 if ac_fn_cxx_try_compile "$LINENO"; then :
51132 glibcxx_cv_func_log10l_use=yes
51133 else
51134 glibcxx_cv_func_log10l_use=no
51136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51137 ac_ext=c
51138 ac_cpp='$CPP $CPPFLAGS'
51139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51148 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51150 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51151 for ac_func in log10l
51152 do :
51153 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51154 if test "x$ac_cv_func_log10l" = x""yes; then :
51155 cat >>confdefs.h <<_ACEOF
51156 #define HAVE_LOG10L 1
51157 _ACEOF
51160 done
51162 else
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51165 $as_echo_n "checking for _log10l declaration... " >&6; }
51166 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51167 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51168 $as_echo_n "(cached) " >&6
51169 else
51172 ac_ext=cpp
51173 ac_cpp='$CXXCPP $CPPFLAGS'
51174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51179 /* end confdefs.h. */
51180 #include <math.h>
51181 #ifdef HAVE_IEEEFP_H
51182 #include <ieeefp.h>
51183 #endif
51186 main ()
51188 _log10l(0);
51190 return 0;
51192 _ACEOF
51193 if ac_fn_cxx_try_compile "$LINENO"; then :
51194 glibcxx_cv_func__log10l_use=yes
51195 else
51196 glibcxx_cv_func__log10l_use=no
51198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51199 ac_ext=c
51200 ac_cpp='$CPP $CPPFLAGS'
51201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51210 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51212 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51213 for ac_func in _log10l
51214 do :
51215 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51216 if test "x$ac_cv_func__log10l" = x""yes; then :
51217 cat >>confdefs.h <<_ACEOF
51218 #define HAVE__LOG10L 1
51219 _ACEOF
51222 done
51231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51232 $as_echo_n "checking for modfl declaration... " >&6; }
51233 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51234 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51235 $as_echo_n "(cached) " >&6
51236 else
51239 ac_ext=cpp
51240 ac_cpp='$CXXCPP $CPPFLAGS'
51241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51246 /* end confdefs.h. */
51247 #include <math.h>
51249 main ()
51251 modfl(0, 0);
51253 return 0;
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257 glibcxx_cv_func_modfl_use=yes
51258 else
51259 glibcxx_cv_func_modfl_use=no
51261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51262 ac_ext=c
51263 ac_cpp='$CPP $CPPFLAGS'
51264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51273 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51275 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51276 for ac_func in modfl
51277 do :
51278 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51279 if test "x$ac_cv_func_modfl" = x""yes; then :
51280 cat >>confdefs.h <<_ACEOF
51281 #define HAVE_MODFL 1
51282 _ACEOF
51285 done
51287 else
51289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51290 $as_echo_n "checking for _modfl declaration... " >&6; }
51291 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51292 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51293 $as_echo_n "(cached) " >&6
51294 else
51297 ac_ext=cpp
51298 ac_cpp='$CXXCPP $CPPFLAGS'
51299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51304 /* end confdefs.h. */
51305 #include <math.h>
51307 main ()
51309 _modfl(0, 0);
51311 return 0;
51313 _ACEOF
51314 if ac_fn_cxx_try_compile "$LINENO"; then :
51315 glibcxx_cv_func__modfl_use=yes
51316 else
51317 glibcxx_cv_func__modfl_use=no
51319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51320 ac_ext=c
51321 ac_cpp='$CPP $CPPFLAGS'
51322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51331 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51333 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51334 for ac_func in _modfl
51335 do :
51336 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51337 if test "x$ac_cv_func__modfl" = x""yes; then :
51338 cat >>confdefs.h <<_ACEOF
51339 #define HAVE__MODFL 1
51340 _ACEOF
51343 done
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51353 $as_echo_n "checking for powl declaration... " >&6; }
51354 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51355 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51370 main ()
51372 powl(0, 0);
51374 return 0;
51376 _ACEOF
51377 if ac_fn_cxx_try_compile "$LINENO"; then :
51378 glibcxx_cv_func_powl_use=yes
51379 else
51380 glibcxx_cv_func_powl_use=no
51382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51383 ac_ext=c
51384 ac_cpp='$CPP $CPPFLAGS'
51385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51394 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51396 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51397 for ac_func in powl
51398 do :
51399 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51400 if test "x$ac_cv_func_powl" = x""yes; then :
51401 cat >>confdefs.h <<_ACEOF
51402 #define HAVE_POWL 1
51403 _ACEOF
51406 done
51408 else
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51411 $as_echo_n "checking for _powl declaration... " >&6; }
51412 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51413 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51414 $as_echo_n "(cached) " >&6
51415 else
51418 ac_ext=cpp
51419 ac_cpp='$CXXCPP $CPPFLAGS'
51420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51425 /* end confdefs.h. */
51426 #include <math.h>
51428 main ()
51430 _powl(0, 0);
51432 return 0;
51434 _ACEOF
51435 if ac_fn_cxx_try_compile "$LINENO"; then :
51436 glibcxx_cv_func__powl_use=yes
51437 else
51438 glibcxx_cv_func__powl_use=no
51440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51441 ac_ext=c
51442 ac_cpp='$CPP $CPPFLAGS'
51443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51452 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51454 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51455 for ac_func in _powl
51456 do :
51457 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51458 if test "x$ac_cv_func__powl" = x""yes; then :
51459 cat >>confdefs.h <<_ACEOF
51460 #define HAVE__POWL 1
51461 _ACEOF
51464 done
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51474 $as_echo_n "checking for sqrtl declaration... " >&6; }
51475 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51476 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51481 ac_ext=cpp
51482 ac_cpp='$CXXCPP $CPPFLAGS'
51483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51488 /* end confdefs.h. */
51489 #include <math.h>
51490 #ifdef HAVE_IEEEFP_H
51491 #include <ieeefp.h>
51492 #endif
51495 main ()
51497 sqrtl(0);
51499 return 0;
51501 _ACEOF
51502 if ac_fn_cxx_try_compile "$LINENO"; then :
51503 glibcxx_cv_func_sqrtl_use=yes
51504 else
51505 glibcxx_cv_func_sqrtl_use=no
51507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508 ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51519 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51521 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51522 for ac_func in sqrtl
51523 do :
51524 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51525 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51526 cat >>confdefs.h <<_ACEOF
51527 #define HAVE_SQRTL 1
51528 _ACEOF
51531 done
51533 else
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51536 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51537 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51538 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51539 $as_echo_n "(cached) " >&6
51540 else
51543 ac_ext=cpp
51544 ac_cpp='$CXXCPP $CPPFLAGS'
51545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51550 /* end confdefs.h. */
51551 #include <math.h>
51552 #ifdef HAVE_IEEEFP_H
51553 #include <ieeefp.h>
51554 #endif
51557 main ()
51559 _sqrtl(0);
51561 return 0;
51563 _ACEOF
51564 if ac_fn_cxx_try_compile "$LINENO"; then :
51565 glibcxx_cv_func__sqrtl_use=yes
51566 else
51567 glibcxx_cv_func__sqrtl_use=no
51569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51570 ac_ext=c
51571 ac_cpp='$CPP $CPPFLAGS'
51572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51581 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51583 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51584 for ac_func in _sqrtl
51585 do :
51586 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51587 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51588 cat >>confdefs.h <<_ACEOF
51589 #define HAVE__SQRTL 1
51590 _ACEOF
51593 done
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51603 $as_echo_n "checking for sincosl declaration... " >&6; }
51604 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51605 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51606 $as_echo_n "(cached) " >&6
51607 else
51610 ac_ext=cpp
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h. */
51618 #include <math.h>
51620 main ()
51622 sincosl(0, 0, 0);
51624 return 0;
51626 _ACEOF
51627 if ac_fn_cxx_try_compile "$LINENO"; then :
51628 glibcxx_cv_func_sincosl_use=yes
51629 else
51630 glibcxx_cv_func_sincosl_use=no
51632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51633 ac_ext=c
51634 ac_cpp='$CPP $CPPFLAGS'
51635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51644 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51646 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51647 for ac_func in sincosl
51648 do :
51649 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51650 if test "x$ac_cv_func_sincosl" = x""yes; then :
51651 cat >>confdefs.h <<_ACEOF
51652 #define HAVE_SINCOSL 1
51653 _ACEOF
51656 done
51658 else
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51661 $as_echo_n "checking for _sincosl declaration... " >&6; }
51662 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51663 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51664 $as_echo_n "(cached) " >&6
51665 else
51668 ac_ext=cpp
51669 ac_cpp='$CXXCPP $CPPFLAGS'
51670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51675 /* end confdefs.h. */
51676 #include <math.h>
51678 main ()
51680 _sincosl(0, 0, 0);
51682 return 0;
51684 _ACEOF
51685 if ac_fn_cxx_try_compile "$LINENO"; then :
51686 glibcxx_cv_func__sincosl_use=yes
51687 else
51688 glibcxx_cv_func__sincosl_use=no
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691 ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51702 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51704 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51705 for ac_func in _sincosl
51706 do :
51707 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51708 if test "x$ac_cv_func__sincosl" = x""yes; then :
51709 cat >>confdefs.h <<_ACEOF
51710 #define HAVE__SINCOSL 1
51711 _ACEOF
51714 done
51723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51724 $as_echo_n "checking for finitel declaration... " >&6; }
51725 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51726 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51727 $as_echo_n "(cached) " >&6
51728 else
51731 ac_ext=cpp
51732 ac_cpp='$CXXCPP $CPPFLAGS'
51733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51738 /* end confdefs.h. */
51739 #include <math.h>
51740 #ifdef HAVE_IEEEFP_H
51741 #include <ieeefp.h>
51742 #endif
51745 main ()
51747 finitel(0);
51749 return 0;
51751 _ACEOF
51752 if ac_fn_cxx_try_compile "$LINENO"; then :
51753 glibcxx_cv_func_finitel_use=yes
51754 else
51755 glibcxx_cv_func_finitel_use=no
51757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51758 ac_ext=c
51759 ac_cpp='$CPP $CPPFLAGS'
51760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51769 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51771 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51772 for ac_func in finitel
51773 do :
51774 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51775 if test "x$ac_cv_func_finitel" = x""yes; then :
51776 cat >>confdefs.h <<_ACEOF
51777 #define HAVE_FINITEL 1
51778 _ACEOF
51781 done
51783 else
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51786 $as_echo_n "checking for _finitel declaration... " >&6; }
51787 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51788 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51789 $as_echo_n "(cached) " >&6
51790 else
51793 ac_ext=cpp
51794 ac_cpp='$CXXCPP $CPPFLAGS'
51795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51800 /* end confdefs.h. */
51801 #include <math.h>
51802 #ifdef HAVE_IEEEFP_H
51803 #include <ieeefp.h>
51804 #endif
51807 main ()
51809 _finitel(0);
51811 return 0;
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func__finitel_use=yes
51816 else
51817 glibcxx_cv_func__finitel_use=no
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51831 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51833 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51834 for ac_func in _finitel
51835 do :
51836 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51837 if test "x$ac_cv_func__finitel" = x""yes; then :
51838 cat >>confdefs.h <<_ACEOF
51839 #define HAVE__FINITEL 1
51840 _ACEOF
51843 done
51851 LIBS="$ac_save_LIBS"
51852 CXXFLAGS="$ac_save_CXXFLAGS"
51855 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51856 ac_save_CXXFLAGS="$CXXFLAGS"
51857 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51861 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51862 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51863 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51864 $as_echo_n "(cached) " >&6
51865 else
51868 ac_ext=cpp
51869 ac_cpp='$CXXCPP $CPPFLAGS'
51870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51875 /* end confdefs.h. */
51876 #include <stdlib.h>
51878 main ()
51880 at_quick_exit(0);
51882 return 0;
51884 _ACEOF
51885 if ac_fn_cxx_try_compile "$LINENO"; then :
51886 glibcxx_cv_func_at_quick_exit_use=yes
51887 else
51888 glibcxx_cv_func_at_quick_exit_use=no
51890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51891 ac_ext=c
51892 ac_cpp='$CPP $CPPFLAGS'
51893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51902 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51903 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51904 for ac_func in at_quick_exit
51905 do :
51906 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51907 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51908 cat >>confdefs.h <<_ACEOF
51909 #define HAVE_AT_QUICK_EXIT 1
51910 _ACEOF
51913 done
51918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51919 $as_echo_n "checking for quick_exit declaration... " >&6; }
51920 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51921 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51922 $as_echo_n "(cached) " >&6
51923 else
51926 ac_ext=cpp
51927 ac_cpp='$CXXCPP $CPPFLAGS'
51928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51933 /* end confdefs.h. */
51934 #include <stdlib.h>
51936 main ()
51938 quick_exit(0);
51940 return 0;
51942 _ACEOF
51943 if ac_fn_cxx_try_compile "$LINENO"; then :
51944 glibcxx_cv_func_quick_exit_use=yes
51945 else
51946 glibcxx_cv_func_quick_exit_use=no
51948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51949 ac_ext=c
51950 ac_cpp='$CPP $CPPFLAGS'
51951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51960 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51961 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51962 for ac_func in quick_exit
51963 do :
51964 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51965 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51966 cat >>confdefs.h <<_ACEOF
51967 #define HAVE_QUICK_EXIT 1
51968 _ACEOF
51971 done
51976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51977 $as_echo_n "checking for strtold declaration... " >&6; }
51978 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51979 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51980 $as_echo_n "(cached) " >&6
51981 else
51984 ac_ext=cpp
51985 ac_cpp='$CXXCPP $CPPFLAGS'
51986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51991 /* end confdefs.h. */
51992 #include <stdlib.h>
51994 main ()
51996 strtold(0, 0);
51998 return 0;
52000 _ACEOF
52001 if ac_fn_cxx_try_compile "$LINENO"; then :
52002 glibcxx_cv_func_strtold_use=yes
52003 else
52004 glibcxx_cv_func_strtold_use=no
52006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52007 ac_ext=c
52008 ac_cpp='$CPP $CPPFLAGS'
52009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52018 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52019 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52020 for ac_func in strtold
52021 do :
52022 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52023 if test "x$ac_cv_func_strtold" = x""yes; then :
52024 cat >>confdefs.h <<_ACEOF
52025 #define HAVE_STRTOLD 1
52026 _ACEOF
52029 done
52036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52037 $as_echo_n "checking for strtof declaration... " >&6; }
52038 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52039 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52040 $as_echo_n "(cached) " >&6
52041 else
52044 ac_ext=cpp
52045 ac_cpp='$CXXCPP $CPPFLAGS'
52046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52051 /* end confdefs.h. */
52052 #include <stdlib.h>
52054 main ()
52056 strtof(0, 0);
52058 return 0;
52060 _ACEOF
52061 if ac_fn_cxx_try_compile "$LINENO"; then :
52062 glibcxx_cv_func_strtof_use=yes
52063 else
52064 glibcxx_cv_func_strtof_use=no
52066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52067 ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52078 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52079 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52080 for ac_func in strtof
52081 do :
52082 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52083 if test "x$ac_cv_func_strtof" = x""yes; then :
52084 cat >>confdefs.h <<_ACEOF
52085 #define HAVE_STRTOF 1
52086 _ACEOF
52089 done
52096 CXXFLAGS="$ac_save_CXXFLAGS"
52098 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52102 # Check whether --enable-tls was given.
52103 if test "${enable_tls+set}" = set; then :
52104 enableval=$enable_tls;
52105 case "$enableval" in
52106 yes|no) ;;
52107 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52108 esac
52110 else
52111 enable_tls=yes
52115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52116 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52117 if test "${gcc_cv_have_tls+set}" = set; then :
52118 $as_echo_n "(cached) " >&6
52119 else
52121 if test "$cross_compiling" = yes; then :
52122 if test x$gcc_no_link = xyes; then
52123 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52126 /* end confdefs.h. */
52127 __thread int a; int b; int main() { return a = b; }
52128 _ACEOF
52129 if ac_fn_c_try_link "$LINENO"; then :
52130 chktls_save_LDFLAGS="$LDFLAGS"
52131 case $host in
52132 *-*-linux*)
52133 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52135 esac
52136 chktls_save_CFLAGS="$CFLAGS"
52137 CFLAGS="-fPIC $CFLAGS"
52138 if test x$gcc_no_link = xyes; then
52139 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52142 /* end confdefs.h. */
52143 int f() { return 0; }
52144 _ACEOF
52145 if ac_fn_c_try_link "$LINENO"; then :
52146 if test x$gcc_no_link = xyes; then
52147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52150 /* end confdefs.h. */
52151 __thread int a; int b; int f() { return a = b; }
52152 _ACEOF
52153 if ac_fn_c_try_link "$LINENO"; then :
52154 gcc_cv_have_tls=yes
52155 else
52156 gcc_cv_have_tls=no
52158 rm -f core conftest.err conftest.$ac_objext \
52159 conftest$ac_exeext conftest.$ac_ext
52160 else
52161 gcc_cv_have_tls=yes
52163 rm -f core conftest.err conftest.$ac_objext \
52164 conftest$ac_exeext conftest.$ac_ext
52165 CFLAGS="$chktls_save_CFLAGS"
52166 LDFLAGS="$chktls_save_LDFLAGS"
52167 else
52168 gcc_cv_have_tls=no
52170 rm -f core conftest.err conftest.$ac_objext \
52171 conftest$ac_exeext conftest.$ac_ext
52174 else
52175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176 /* end confdefs.h. */
52177 __thread int a; int b; int main() { return a = b; }
52178 _ACEOF
52179 if ac_fn_c_try_run "$LINENO"; then :
52180 chktls_save_LDFLAGS="$LDFLAGS"
52181 LDFLAGS="-static $LDFLAGS"
52182 if test x$gcc_no_link = xyes; then
52183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52186 /* end confdefs.h. */
52187 int main() { return 0; }
52188 _ACEOF
52189 if ac_fn_c_try_link "$LINENO"; then :
52190 if test "$cross_compiling" = yes; then :
52191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52193 as_fn_error "cannot run test program while cross compiling
52194 See \`config.log' for more details." "$LINENO" 5; }
52195 else
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 __thread int a; int b; int main() { return a = b; }
52199 _ACEOF
52200 if ac_fn_c_try_run "$LINENO"; then :
52201 gcc_cv_have_tls=yes
52202 else
52203 gcc_cv_have_tls=no
52205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52206 conftest.$ac_objext conftest.beam conftest.$ac_ext
52209 else
52210 gcc_cv_have_tls=yes
52212 rm -f core conftest.err conftest.$ac_objext \
52213 conftest$ac_exeext conftest.$ac_ext
52214 LDFLAGS="$chktls_save_LDFLAGS"
52215 if test $gcc_cv_have_tls = yes; then
52216 chktls_save_CFLAGS="$CFLAGS"
52217 thread_CFLAGS=failed
52218 for flag in '' '-pthread' '-lpthread'; do
52219 CFLAGS="$flag $chktls_save_CFLAGS"
52220 if test x$gcc_no_link = xyes; then
52221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52224 /* end confdefs.h. */
52225 #include <pthread.h>
52226 void *g(void *d) { return NULL; }
52228 main ()
52230 pthread_t t; pthread_create(&t,NULL,g,NULL);
52232 return 0;
52234 _ACEOF
52235 if ac_fn_c_try_link "$LINENO"; then :
52236 thread_CFLAGS="$flag"
52238 rm -f core conftest.err conftest.$ac_objext \
52239 conftest$ac_exeext conftest.$ac_ext
52240 if test "X$thread_CFLAGS" != Xfailed; then
52241 break
52243 done
52244 CFLAGS="$chktls_save_CFLAGS"
52245 if test "X$thread_CFLAGS" != Xfailed; then
52246 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52247 if test "$cross_compiling" = yes; then :
52248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52250 as_fn_error "cannot run test program while cross compiling
52251 See \`config.log' for more details." "$LINENO" 5; }
52252 else
52253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52254 /* end confdefs.h. */
52255 #include <pthread.h>
52256 __thread int a;
52257 static int *volatile a_in_other_thread;
52258 static void *
52259 thread_func (void *arg)
52261 a_in_other_thread = &a;
52262 return (void *)0;
52265 main ()
52267 pthread_t thread;
52268 void *thread_retval;
52269 int *volatile a_in_main_thread;
52270 a_in_main_thread = &a;
52271 if (pthread_create (&thread, (pthread_attr_t *)0,
52272 thread_func, (void *)0))
52273 return 0;
52274 if (pthread_join (thread, &thread_retval))
52275 return 0;
52276 return (a_in_other_thread == a_in_main_thread);
52278 return 0;
52280 _ACEOF
52281 if ac_fn_c_try_run "$LINENO"; then :
52282 gcc_cv_have_tls=yes
52283 else
52284 gcc_cv_have_tls=no
52286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52287 conftest.$ac_objext conftest.beam conftest.$ac_ext
52290 CFLAGS="$chktls_save_CFLAGS"
52293 else
52294 gcc_cv_have_tls=no
52296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52297 conftest.$ac_objext conftest.beam conftest.$ac_ext
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52302 $as_echo "$gcc_cv_have_tls" >&6; }
52303 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52305 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52313 am_save_CPPFLAGS="$CPPFLAGS"
52315 for element in $INCICONV; do
52316 haveit=
52317 for x in $CPPFLAGS; do
52319 acl_save_prefix="$prefix"
52320 prefix="$acl_final_prefix"
52321 acl_save_exec_prefix="$exec_prefix"
52322 exec_prefix="$acl_final_exec_prefix"
52323 eval x=\"$x\"
52324 exec_prefix="$acl_save_exec_prefix"
52325 prefix="$acl_save_prefix"
52327 if test "X$x" = "X$element"; then
52328 haveit=yes
52329 break
52331 done
52332 if test -z "$haveit"; then
52333 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52335 done
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52339 $as_echo_n "checking for iconv... " >&6; }
52340 if test "${am_cv_func_iconv+set}" = set; then :
52341 $as_echo_n "(cached) " >&6
52342 else
52344 am_cv_func_iconv="no, consider installing GNU libiconv"
52345 am_cv_lib_iconv=no
52346 if test x$gcc_no_link = xyes; then
52347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h. */
52351 #include <stdlib.h>
52352 #include <iconv.h>
52354 main ()
52356 iconv_t cd = iconv_open("","");
52357 iconv(cd,NULL,NULL,NULL,NULL);
52358 iconv_close(cd);
52360 return 0;
52362 _ACEOF
52363 if ac_fn_c_try_link "$LINENO"; then :
52364 am_cv_func_iconv=yes
52366 rm -f core conftest.err conftest.$ac_objext \
52367 conftest$ac_exeext conftest.$ac_ext
52368 if test "$am_cv_func_iconv" != yes; then
52369 am_save_LIBS="$LIBS"
52370 LIBS="$LIBS $LIBICONV"
52371 if test x$gcc_no_link = xyes; then
52372 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52375 /* end confdefs.h. */
52376 #include <stdlib.h>
52377 #include <iconv.h>
52379 main ()
52381 iconv_t cd = iconv_open("","");
52382 iconv(cd,NULL,NULL,NULL,NULL);
52383 iconv_close(cd);
52385 return 0;
52387 _ACEOF
52388 if ac_fn_c_try_link "$LINENO"; then :
52389 am_cv_lib_iconv=yes
52390 am_cv_func_iconv=yes
52392 rm -f core conftest.err conftest.$ac_objext \
52393 conftest$ac_exeext conftest.$ac_ext
52394 LIBS="$am_save_LIBS"
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52399 $as_echo "$am_cv_func_iconv" >&6; }
52400 if test "$am_cv_func_iconv" = yes; then
52402 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52405 if test "$am_cv_lib_iconv" = yes; then
52406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52407 $as_echo_n "checking how to link with libiconv... " >&6; }
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52409 $as_echo "$LIBICONV" >&6; }
52410 else
52411 CPPFLAGS="$am_save_CPPFLAGS"
52412 LIBICONV=
52413 LTLIBICONV=
52418 if test "$am_cv_func_iconv" = yes; then
52419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52420 $as_echo_n "checking for iconv declaration... " >&6; }
52421 if test "${am_cv_proto_iconv+set}" = set; then :
52422 $as_echo_n "(cached) " >&6
52423 else
52425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h. */
52428 #include <stdlib.h>
52429 #include <iconv.h>
52430 extern
52431 #ifdef __cplusplus
52433 #endif
52434 #if defined(__STDC__) || defined(__cplusplus)
52435 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52436 #else
52437 size_t iconv();
52438 #endif
52441 main ()
52445 return 0;
52447 _ACEOF
52448 if ac_fn_c_try_compile "$LINENO"; then :
52449 am_cv_proto_iconv_arg1=""
52450 else
52451 am_cv_proto_iconv_arg1="const"
52453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52454 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);"
52457 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52459 }$am_cv_proto_iconv" >&5
52460 $as_echo "${ac_t:-
52461 }$am_cv_proto_iconv" >&6; }
52463 cat >>confdefs.h <<_ACEOF
52464 #define ICONV_CONST $am_cv_proto_iconv_arg1
52465 _ACEOF
52470 *-mingw32*)
52472 # If we're not using GNU ld, then there's no point in even trying these
52473 # tests. Check for that first. We should have already tested for gld
52474 # by now (in libtool), but require it now just to be safe...
52475 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52476 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52480 # The name set by libtool depends on the version of libtool. Shame on us
52481 # for depending on an impl detail, but c'est la vie. Older versions used
52482 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52483 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52484 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52485 # set (hence we're using an older libtool), then set it.
52486 if test x${with_gnu_ld+set} != xset; then
52487 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52488 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52489 with_gnu_ld=no
52490 else
52491 with_gnu_ld=$ac_cv_prog_gnu_ld
52495 # Start by getting the version number. I think the libtool test already
52496 # does some of this, but throws away the result.
52497 glibcxx_ld_is_gold=no
52498 if test x"$with_gnu_ld" = x"yes"; then
52499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52500 $as_echo_n "checking for ld version... " >&6; }
52502 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52503 glibcxx_ld_is_gold=yes
52505 ldver=`$LD --version 2>/dev/null |
52506 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'`
52508 glibcxx_gnu_ld_version=`echo $ldver | \
52509 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52511 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52514 # Set --gc-sections.
52515 glibcxx_have_gc_sections=no
52516 if test "$glibcxx_ld_is_gold" = "yes"; then
52517 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52518 glibcxx_have_gc_sections=yes
52520 else
52521 glibcxx_gcsections_min_ld=21602
52522 if test x"$with_gnu_ld" = x"yes" &&
52523 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52524 glibcxx_have_gc_sections=yes
52527 if test "$glibcxx_have_gc_sections" = "yes"; then
52528 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52529 # NB: This flag only works reliably after 2.16.1. Configure tests
52530 # for this are difficult, so hard wire a value that should work.
52532 ac_test_CFLAGS="${CFLAGS+set}"
52533 ac_save_CFLAGS="$CFLAGS"
52534 CFLAGS='-Wl,--gc-sections'
52536 # Check for -Wl,--gc-sections
52537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52538 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52539 if test x$gcc_no_link = xyes; then
52540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52543 /* end confdefs.h. */
52544 int one(void) { return 1; }
52545 int two(void) { return 2; }
52548 main ()
52550 two();
52552 return 0;
52554 _ACEOF
52555 if ac_fn_c_try_link "$LINENO"; then :
52556 ac_gcsections=yes
52557 else
52558 ac_gcsections=no
52560 rm -f core conftest.err conftest.$ac_objext \
52561 conftest$ac_exeext conftest.$ac_ext
52562 if test "$ac_gcsections" = "yes"; then
52563 rm -f conftest.c
52564 touch conftest.c
52565 if $CC -c conftest.c; then
52566 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52567 grep "Warning: gc-sections option ignored" > /dev/null; then
52568 ac_gcsections=no
52571 rm -f conftest.c conftest.o conftest
52573 if test "$ac_gcsections" = "yes"; then
52574 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52577 $as_echo "$ac_gcsections" >&6; }
52579 if test "$ac_test_CFLAGS" = set; then
52580 CFLAGS="$ac_save_CFLAGS"
52581 else
52582 # this is the suspicious part
52583 CFLAGS=''
52587 # Set -z,relro.
52588 # Note this is only for shared objects.
52589 ac_ld_relro=no
52590 if test x"$with_gnu_ld" = x"yes"; then
52591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52592 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52593 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52594 if test -n "$cxx_z_relo"; then
52595 OPT_LDFLAGS="-Wl,-z,relro"
52596 ac_ld_relro=yes
52598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52599 $as_echo "$ac_ld_relro" >&6; }
52602 # Set linker optimization flags.
52603 if test x"$with_gnu_ld" = x"yes"; then
52604 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52612 ac_save_CXXFLAGS="$CXXFLAGS"
52613 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52616 $as_echo_n "checking for sin in -lm... " >&6; }
52617 if test "${ac_cv_lib_m_sin+set}" = set; then :
52618 $as_echo_n "(cached) " >&6
52619 else
52620 ac_check_lib_save_LIBS=$LIBS
52621 LIBS="-lm $LIBS"
52622 if test x$gcc_no_link = xyes; then
52623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h. */
52628 /* Override any GCC internal prototype to avoid an error.
52629 Use char because int might match the return type of a GCC
52630 builtin and then its argument prototype would still apply. */
52631 #ifdef __cplusplus
52632 extern "C"
52633 #endif
52634 char sin ();
52636 main ()
52638 return sin ();
52640 return 0;
52642 _ACEOF
52643 if ac_fn_c_try_link "$LINENO"; then :
52644 ac_cv_lib_m_sin=yes
52645 else
52646 ac_cv_lib_m_sin=no
52648 rm -f core conftest.err conftest.$ac_objext \
52649 conftest$ac_exeext conftest.$ac_ext
52650 LIBS=$ac_check_lib_save_LIBS
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52653 $as_echo "$ac_cv_lib_m_sin" >&6; }
52654 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52655 libm="-lm"
52658 ac_save_LIBS="$LIBS"
52659 LIBS="$LIBS $libm"
52663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52664 $as_echo_n "checking for isinf declaration... " >&6; }
52665 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52666 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52667 $as_echo_n "(cached) " >&6
52668 else
52671 ac_ext=cpp
52672 ac_cpp='$CXXCPP $CPPFLAGS'
52673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52678 /* end confdefs.h. */
52679 #include <math.h>
52680 #ifdef HAVE_IEEEFP_H
52681 #include <ieeefp.h>
52682 #endif
52685 main ()
52687 isinf(0);
52689 return 0;
52691 _ACEOF
52692 if ac_fn_cxx_try_compile "$LINENO"; then :
52693 glibcxx_cv_func_isinf_use=yes
52694 else
52695 glibcxx_cv_func_isinf_use=no
52697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52698 ac_ext=c
52699 ac_cpp='$CPP $CPPFLAGS'
52700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52709 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52711 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52712 for ac_func in isinf
52713 do :
52714 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52715 if test "x$ac_cv_func_isinf" = x""yes; then :
52716 cat >>confdefs.h <<_ACEOF
52717 #define HAVE_ISINF 1
52718 _ACEOF
52721 done
52723 else
52725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52726 $as_echo_n "checking for _isinf declaration... " >&6; }
52727 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52728 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52729 $as_echo_n "(cached) " >&6
52730 else
52733 ac_ext=cpp
52734 ac_cpp='$CXXCPP $CPPFLAGS'
52735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52740 /* end confdefs.h. */
52741 #include <math.h>
52742 #ifdef HAVE_IEEEFP_H
52743 #include <ieeefp.h>
52744 #endif
52747 main ()
52749 _isinf(0);
52751 return 0;
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755 glibcxx_cv_func__isinf_use=yes
52756 else
52757 glibcxx_cv_func__isinf_use=no
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760 ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52771 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52773 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52774 for ac_func in _isinf
52775 do :
52776 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52777 if test "x$ac_cv_func__isinf" = x""yes; then :
52778 cat >>confdefs.h <<_ACEOF
52779 #define HAVE__ISINF 1
52780 _ACEOF
52783 done
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52793 $as_echo_n "checking for isnan declaration... " >&6; }
52794 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52795 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52796 $as_echo_n "(cached) " >&6
52797 else
52800 ac_ext=cpp
52801 ac_cpp='$CXXCPP $CPPFLAGS'
52802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52807 /* end confdefs.h. */
52808 #include <math.h>
52809 #ifdef HAVE_IEEEFP_H
52810 #include <ieeefp.h>
52811 #endif
52814 main ()
52816 isnan(0);
52818 return 0;
52820 _ACEOF
52821 if ac_fn_cxx_try_compile "$LINENO"; then :
52822 glibcxx_cv_func_isnan_use=yes
52823 else
52824 glibcxx_cv_func_isnan_use=no
52826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52827 ac_ext=c
52828 ac_cpp='$CPP $CPPFLAGS'
52829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52838 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52840 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52841 for ac_func in isnan
52842 do :
52843 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52844 if test "x$ac_cv_func_isnan" = x""yes; then :
52845 cat >>confdefs.h <<_ACEOF
52846 #define HAVE_ISNAN 1
52847 _ACEOF
52850 done
52852 else
52854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52855 $as_echo_n "checking for _isnan declaration... " >&6; }
52856 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52857 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52858 $as_echo_n "(cached) " >&6
52859 else
52862 ac_ext=cpp
52863 ac_cpp='$CXXCPP $CPPFLAGS'
52864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52869 /* end confdefs.h. */
52870 #include <math.h>
52871 #ifdef HAVE_IEEEFP_H
52872 #include <ieeefp.h>
52873 #endif
52876 main ()
52878 _isnan(0);
52880 return 0;
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func__isnan_use=yes
52885 else
52886 glibcxx_cv_func__isnan_use=no
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889 ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52900 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52902 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52903 for ac_func in _isnan
52904 do :
52905 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52906 if test "x$ac_cv_func__isnan" = x""yes; then :
52907 cat >>confdefs.h <<_ACEOF
52908 #define HAVE__ISNAN 1
52909 _ACEOF
52912 done
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52922 $as_echo_n "checking for finite declaration... " >&6; }
52923 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52924 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52925 $as_echo_n "(cached) " >&6
52926 else
52929 ac_ext=cpp
52930 ac_cpp='$CXXCPP $CPPFLAGS'
52931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52936 /* end confdefs.h. */
52937 #include <math.h>
52938 #ifdef HAVE_IEEEFP_H
52939 #include <ieeefp.h>
52940 #endif
52943 main ()
52945 finite(0);
52947 return 0;
52949 _ACEOF
52950 if ac_fn_cxx_try_compile "$LINENO"; then :
52951 glibcxx_cv_func_finite_use=yes
52952 else
52953 glibcxx_cv_func_finite_use=no
52955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52956 ac_ext=c
52957 ac_cpp='$CPP $CPPFLAGS'
52958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52967 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52969 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52970 for ac_func in finite
52971 do :
52972 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52973 if test "x$ac_cv_func_finite" = x""yes; then :
52974 cat >>confdefs.h <<_ACEOF
52975 #define HAVE_FINITE 1
52976 _ACEOF
52979 done
52981 else
52983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52984 $as_echo_n "checking for _finite declaration... " >&6; }
52985 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52986 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52987 $as_echo_n "(cached) " >&6
52988 else
52991 ac_ext=cpp
52992 ac_cpp='$CXXCPP $CPPFLAGS'
52993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52998 /* end confdefs.h. */
52999 #include <math.h>
53000 #ifdef HAVE_IEEEFP_H
53001 #include <ieeefp.h>
53002 #endif
53005 main ()
53007 _finite(0);
53009 return 0;
53011 _ACEOF
53012 if ac_fn_cxx_try_compile "$LINENO"; then :
53013 glibcxx_cv_func__finite_use=yes
53014 else
53015 glibcxx_cv_func__finite_use=no
53017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53018 ac_ext=c
53019 ac_cpp='$CPP $CPPFLAGS'
53020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53029 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53031 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53032 for ac_func in _finite
53033 do :
53034 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53035 if test "x$ac_cv_func__finite" = x""yes; then :
53036 cat >>confdefs.h <<_ACEOF
53037 #define HAVE__FINITE 1
53038 _ACEOF
53041 done
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53051 $as_echo_n "checking for sincos declaration... " >&6; }
53052 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53053 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53054 $as_echo_n "(cached) " >&6
53055 else
53058 ac_ext=cpp
53059 ac_cpp='$CXXCPP $CPPFLAGS'
53060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53065 /* end confdefs.h. */
53066 #include <math.h>
53068 main ()
53070 sincos(0, 0, 0);
53072 return 0;
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076 glibcxx_cv_func_sincos_use=yes
53077 else
53078 glibcxx_cv_func_sincos_use=no
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53092 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53094 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53095 for ac_func in sincos
53096 do :
53097 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53098 if test "x$ac_cv_func_sincos" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE_SINCOS 1
53101 _ACEOF
53104 done
53106 else
53108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53109 $as_echo_n "checking for _sincos declaration... " >&6; }
53110 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53111 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53112 $as_echo_n "(cached) " >&6
53113 else
53116 ac_ext=cpp
53117 ac_cpp='$CXXCPP $CPPFLAGS'
53118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53123 /* end confdefs.h. */
53124 #include <math.h>
53126 main ()
53128 _sincos(0, 0, 0);
53130 return 0;
53132 _ACEOF
53133 if ac_fn_cxx_try_compile "$LINENO"; then :
53134 glibcxx_cv_func__sincos_use=yes
53135 else
53136 glibcxx_cv_func__sincos_use=no
53138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53139 ac_ext=c
53140 ac_cpp='$CPP $CPPFLAGS'
53141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53150 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53152 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53153 for ac_func in _sincos
53154 do :
53155 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53156 if test "x$ac_cv_func__sincos" = x""yes; then :
53157 cat >>confdefs.h <<_ACEOF
53158 #define HAVE__SINCOS 1
53159 _ACEOF
53162 done
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53172 $as_echo_n "checking for fpclass declaration... " >&6; }
53173 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53174 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53175 $as_echo_n "(cached) " >&6
53176 else
53179 ac_ext=cpp
53180 ac_cpp='$CXXCPP $CPPFLAGS'
53181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53186 /* end confdefs.h. */
53187 #include <math.h>
53188 #ifdef HAVE_IEEEFP_H
53189 #include <ieeefp.h>
53190 #endif
53193 main ()
53195 fpclass(0);
53197 return 0;
53199 _ACEOF
53200 if ac_fn_cxx_try_compile "$LINENO"; then :
53201 glibcxx_cv_func_fpclass_use=yes
53202 else
53203 glibcxx_cv_func_fpclass_use=no
53205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53206 ac_ext=c
53207 ac_cpp='$CPP $CPPFLAGS'
53208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53217 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53219 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53220 for ac_func in fpclass
53221 do :
53222 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53223 if test "x$ac_cv_func_fpclass" = x""yes; then :
53224 cat >>confdefs.h <<_ACEOF
53225 #define HAVE_FPCLASS 1
53226 _ACEOF
53229 done
53231 else
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53234 $as_echo_n "checking for _fpclass declaration... " >&6; }
53235 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53236 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53237 $as_echo_n "(cached) " >&6
53238 else
53241 ac_ext=cpp
53242 ac_cpp='$CXXCPP $CPPFLAGS'
53243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53248 /* end confdefs.h. */
53249 #include <math.h>
53250 #ifdef HAVE_IEEEFP_H
53251 #include <ieeefp.h>
53252 #endif
53255 main ()
53257 _fpclass(0);
53259 return 0;
53261 _ACEOF
53262 if ac_fn_cxx_try_compile "$LINENO"; then :
53263 glibcxx_cv_func__fpclass_use=yes
53264 else
53265 glibcxx_cv_func__fpclass_use=no
53267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53268 ac_ext=c
53269 ac_cpp='$CPP $CPPFLAGS'
53270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53279 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53281 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53282 for ac_func in _fpclass
53283 do :
53284 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53285 if test "x$ac_cv_func__fpclass" = x""yes; then :
53286 cat >>confdefs.h <<_ACEOF
53287 #define HAVE__FPCLASS 1
53288 _ACEOF
53291 done
53300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53301 $as_echo_n "checking for qfpclass declaration... " >&6; }
53302 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53303 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53304 $as_echo_n "(cached) " >&6
53305 else
53308 ac_ext=cpp
53309 ac_cpp='$CXXCPP $CPPFLAGS'
53310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53315 /* end confdefs.h. */
53316 #include <math.h>
53317 #ifdef HAVE_IEEEFP_H
53318 #include <ieeefp.h>
53319 #endif
53322 main ()
53324 qfpclass(0);
53326 return 0;
53328 _ACEOF
53329 if ac_fn_cxx_try_compile "$LINENO"; then :
53330 glibcxx_cv_func_qfpclass_use=yes
53331 else
53332 glibcxx_cv_func_qfpclass_use=no
53334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53335 ac_ext=c
53336 ac_cpp='$CPP $CPPFLAGS'
53337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53346 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53348 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53349 for ac_func in qfpclass
53350 do :
53351 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53352 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53353 cat >>confdefs.h <<_ACEOF
53354 #define HAVE_QFPCLASS 1
53355 _ACEOF
53358 done
53360 else
53362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53363 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53364 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53365 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53366 $as_echo_n "(cached) " >&6
53367 else
53370 ac_ext=cpp
53371 ac_cpp='$CXXCPP $CPPFLAGS'
53372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53377 /* end confdefs.h. */
53378 #include <math.h>
53379 #ifdef HAVE_IEEEFP_H
53380 #include <ieeefp.h>
53381 #endif
53384 main ()
53386 _qfpclass(0);
53388 return 0;
53390 _ACEOF
53391 if ac_fn_cxx_try_compile "$LINENO"; then :
53392 glibcxx_cv_func__qfpclass_use=yes
53393 else
53394 glibcxx_cv_func__qfpclass_use=no
53396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53397 ac_ext=c
53398 ac_cpp='$CPP $CPPFLAGS'
53399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53408 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53410 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53411 for ac_func in _qfpclass
53412 do :
53413 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53414 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53415 cat >>confdefs.h <<_ACEOF
53416 #define HAVE__QFPCLASS 1
53417 _ACEOF
53420 done
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53430 $as_echo_n "checking for hypot declaration... " >&6; }
53431 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53432 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53433 $as_echo_n "(cached) " >&6
53434 else
53437 ac_ext=cpp
53438 ac_cpp='$CXXCPP $CPPFLAGS'
53439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53444 /* end confdefs.h. */
53445 #include <math.h>
53447 main ()
53449 hypot(0, 0);
53451 return 0;
53453 _ACEOF
53454 if ac_fn_cxx_try_compile "$LINENO"; then :
53455 glibcxx_cv_func_hypot_use=yes
53456 else
53457 glibcxx_cv_func_hypot_use=no
53459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53460 ac_ext=c
53461 ac_cpp='$CPP $CPPFLAGS'
53462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53471 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53473 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53474 for ac_func in hypot
53475 do :
53476 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53477 if test "x$ac_cv_func_hypot" = x""yes; then :
53478 cat >>confdefs.h <<_ACEOF
53479 #define HAVE_HYPOT 1
53480 _ACEOF
53483 done
53485 else
53487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53488 $as_echo_n "checking for _hypot declaration... " >&6; }
53489 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53490 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53491 $as_echo_n "(cached) " >&6
53492 else
53495 ac_ext=cpp
53496 ac_cpp='$CXXCPP $CPPFLAGS'
53497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53502 /* end confdefs.h. */
53503 #include <math.h>
53505 main ()
53507 _hypot(0, 0);
53509 return 0;
53511 _ACEOF
53512 if ac_fn_cxx_try_compile "$LINENO"; then :
53513 glibcxx_cv_func__hypot_use=yes
53514 else
53515 glibcxx_cv_func__hypot_use=no
53517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53518 ac_ext=c
53519 ac_cpp='$CPP $CPPFLAGS'
53520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53529 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53531 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53532 for ac_func in _hypot
53533 do :
53534 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53535 if test "x$ac_cv_func__hypot" = x""yes; then :
53536 cat >>confdefs.h <<_ACEOF
53537 #define HAVE__HYPOT 1
53538 _ACEOF
53541 done
53550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53551 $as_echo_n "checking for float trig functions... " >&6; }
53552 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53553 $as_echo_n "(cached) " >&6
53554 else
53557 ac_ext=cpp
53558 ac_cpp='$CXXCPP $CPPFLAGS'
53559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53564 /* end confdefs.h. */
53565 #include <math.h>
53567 main ()
53569 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53571 return 0;
53573 _ACEOF
53574 if ac_fn_cxx_try_compile "$LINENO"; then :
53575 glibcxx_cv_func_float_trig_use=yes
53576 else
53577 glibcxx_cv_func_float_trig_use=no
53579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53580 ac_ext=c
53581 ac_cpp='$CPP $CPPFLAGS'
53582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53589 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53590 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53591 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53592 do :
53593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53595 eval as_val=\$$as_ac_var
53596 if test "x$as_val" = x""yes; then :
53597 cat >>confdefs.h <<_ACEOF
53598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53599 _ACEOF
53602 done
53604 else
53605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53606 $as_echo_n "checking for _float trig functions... " >&6; }
53607 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53608 $as_echo_n "(cached) " >&6
53609 else
53612 ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h. */
53620 #include <math.h>
53622 main ()
53624 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53626 return 0;
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630 glibcxx_cv_func__float_trig_use=yes
53631 else
53632 glibcxx_cv_func__float_trig_use=no
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635 ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53644 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53645 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53646 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53647 do :
53648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53650 eval as_val=\$$as_ac_var
53651 if test "x$as_val" = x""yes; then :
53652 cat >>confdefs.h <<_ACEOF
53653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53654 _ACEOF
53657 done
53666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53667 $as_echo_n "checking for float round functions... " >&6; }
53668 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53669 $as_echo_n "(cached) " >&6
53670 else
53673 ac_ext=cpp
53674 ac_cpp='$CXXCPP $CPPFLAGS'
53675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53680 /* end confdefs.h. */
53681 #include <math.h>
53683 main ()
53685 ceilf (0); floorf (0);
53687 return 0;
53689 _ACEOF
53690 if ac_fn_cxx_try_compile "$LINENO"; then :
53691 glibcxx_cv_func_float_round_use=yes
53692 else
53693 glibcxx_cv_func_float_round_use=no
53695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53696 ac_ext=c
53697 ac_cpp='$CPP $CPPFLAGS'
53698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53705 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53706 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53707 for ac_func in ceilf floorf
53708 do :
53709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53711 eval as_val=\$$as_ac_var
53712 if test "x$as_val" = x""yes; then :
53713 cat >>confdefs.h <<_ACEOF
53714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53715 _ACEOF
53718 done
53720 else
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53722 $as_echo_n "checking for _float round functions... " >&6; }
53723 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53738 main ()
53740 _ceilf (0); _floorf (0);
53742 return 0;
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func__float_round_use=yes
53747 else
53748 glibcxx_cv_func__float_round_use=no
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53760 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53761 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53762 for ac_func in _ceilf _floorf
53763 do :
53764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53766 eval as_val=\$$as_ac_var
53767 if test "x$as_val" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53770 _ACEOF
53773 done
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53784 $as_echo_n "checking for expf declaration... " >&6; }
53785 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53786 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53787 $as_echo_n "(cached) " >&6
53788 else
53791 ac_ext=cpp
53792 ac_cpp='$CXXCPP $CPPFLAGS'
53793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53798 /* end confdefs.h. */
53799 #include <math.h>
53800 #ifdef HAVE_IEEEFP_H
53801 #include <ieeefp.h>
53802 #endif
53805 main ()
53807 expf(0);
53809 return 0;
53811 _ACEOF
53812 if ac_fn_cxx_try_compile "$LINENO"; then :
53813 glibcxx_cv_func_expf_use=yes
53814 else
53815 glibcxx_cv_func_expf_use=no
53817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53818 ac_ext=c
53819 ac_cpp='$CPP $CPPFLAGS'
53820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53829 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53831 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53832 for ac_func in expf
53833 do :
53834 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53835 if test "x$ac_cv_func_expf" = x""yes; then :
53836 cat >>confdefs.h <<_ACEOF
53837 #define HAVE_EXPF 1
53838 _ACEOF
53841 done
53843 else
53845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53846 $as_echo_n "checking for _expf declaration... " >&6; }
53847 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53848 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53849 $as_echo_n "(cached) " >&6
53850 else
53853 ac_ext=cpp
53854 ac_cpp='$CXXCPP $CPPFLAGS'
53855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53860 /* end confdefs.h. */
53861 #include <math.h>
53862 #ifdef HAVE_IEEEFP_H
53863 #include <ieeefp.h>
53864 #endif
53867 main ()
53869 _expf(0);
53871 return 0;
53873 _ACEOF
53874 if ac_fn_cxx_try_compile "$LINENO"; then :
53875 glibcxx_cv_func__expf_use=yes
53876 else
53877 glibcxx_cv_func__expf_use=no
53879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53880 ac_ext=c
53881 ac_cpp='$CPP $CPPFLAGS'
53882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53891 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53893 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53894 for ac_func in _expf
53895 do :
53896 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53897 if test "x$ac_cv_func__expf" = x""yes; then :
53898 cat >>confdefs.h <<_ACEOF
53899 #define HAVE__EXPF 1
53900 _ACEOF
53903 done
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53913 $as_echo_n "checking for isnanf declaration... " >&6; }
53914 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53915 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53916 $as_echo_n "(cached) " >&6
53917 else
53920 ac_ext=cpp
53921 ac_cpp='$CXXCPP $CPPFLAGS'
53922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53927 /* end confdefs.h. */
53928 #include <math.h>
53929 #ifdef HAVE_IEEEFP_H
53930 #include <ieeefp.h>
53931 #endif
53934 main ()
53936 isnanf(0);
53938 return 0;
53940 _ACEOF
53941 if ac_fn_cxx_try_compile "$LINENO"; then :
53942 glibcxx_cv_func_isnanf_use=yes
53943 else
53944 glibcxx_cv_func_isnanf_use=no
53946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53947 ac_ext=c
53948 ac_cpp='$CPP $CPPFLAGS'
53949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53958 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53960 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53961 for ac_func in isnanf
53962 do :
53963 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53964 if test "x$ac_cv_func_isnanf" = x""yes; then :
53965 cat >>confdefs.h <<_ACEOF
53966 #define HAVE_ISNANF 1
53967 _ACEOF
53970 done
53972 else
53974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53975 $as_echo_n "checking for _isnanf declaration... " >&6; }
53976 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53977 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53978 $as_echo_n "(cached) " >&6
53979 else
53982 ac_ext=cpp
53983 ac_cpp='$CXXCPP $CPPFLAGS'
53984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53989 /* end confdefs.h. */
53990 #include <math.h>
53991 #ifdef HAVE_IEEEFP_H
53992 #include <ieeefp.h>
53993 #endif
53996 main ()
53998 _isnanf(0);
54000 return 0;
54002 _ACEOF
54003 if ac_fn_cxx_try_compile "$LINENO"; then :
54004 glibcxx_cv_func__isnanf_use=yes
54005 else
54006 glibcxx_cv_func__isnanf_use=no
54008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54009 ac_ext=c
54010 ac_cpp='$CPP $CPPFLAGS'
54011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54020 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54022 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54023 for ac_func in _isnanf
54024 do :
54025 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54026 if test "x$ac_cv_func__isnanf" = x""yes; then :
54027 cat >>confdefs.h <<_ACEOF
54028 #define HAVE__ISNANF 1
54029 _ACEOF
54032 done
54041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54042 $as_echo_n "checking for isinff declaration... " >&6; }
54043 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54044 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54045 $as_echo_n "(cached) " >&6
54046 else
54049 ac_ext=cpp
54050 ac_cpp='$CXXCPP $CPPFLAGS'
54051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54056 /* end confdefs.h. */
54057 #include <math.h>
54058 #ifdef HAVE_IEEEFP_H
54059 #include <ieeefp.h>
54060 #endif
54063 main ()
54065 isinff(0);
54067 return 0;
54069 _ACEOF
54070 if ac_fn_cxx_try_compile "$LINENO"; then :
54071 glibcxx_cv_func_isinff_use=yes
54072 else
54073 glibcxx_cv_func_isinff_use=no
54075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54076 ac_ext=c
54077 ac_cpp='$CPP $CPPFLAGS'
54078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54087 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54089 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54090 for ac_func in isinff
54091 do :
54092 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54093 if test "x$ac_cv_func_isinff" = x""yes; then :
54094 cat >>confdefs.h <<_ACEOF
54095 #define HAVE_ISINFF 1
54096 _ACEOF
54099 done
54101 else
54103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54104 $as_echo_n "checking for _isinff declaration... " >&6; }
54105 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54106 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54107 $as_echo_n "(cached) " >&6
54108 else
54111 ac_ext=cpp
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54118 /* end confdefs.h. */
54119 #include <math.h>
54120 #ifdef HAVE_IEEEFP_H
54121 #include <ieeefp.h>
54122 #endif
54125 main ()
54127 _isinff(0);
54129 return 0;
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133 glibcxx_cv_func__isinff_use=yes
54134 else
54135 glibcxx_cv_func__isinff_use=no
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138 ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54149 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54151 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54152 for ac_func in _isinff
54153 do :
54154 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54155 if test "x$ac_cv_func__isinff" = x""yes; then :
54156 cat >>confdefs.h <<_ACEOF
54157 #define HAVE__ISINFF 1
54158 _ACEOF
54161 done
54170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54171 $as_echo_n "checking for atan2f declaration... " >&6; }
54172 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54173 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54174 $as_echo_n "(cached) " >&6
54175 else
54178 ac_ext=cpp
54179 ac_cpp='$CXXCPP $CPPFLAGS'
54180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54185 /* end confdefs.h. */
54186 #include <math.h>
54188 main ()
54190 atan2f(0, 0);
54192 return 0;
54194 _ACEOF
54195 if ac_fn_cxx_try_compile "$LINENO"; then :
54196 glibcxx_cv_func_atan2f_use=yes
54197 else
54198 glibcxx_cv_func_atan2f_use=no
54200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54201 ac_ext=c
54202 ac_cpp='$CPP $CPPFLAGS'
54203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54212 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54214 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54215 for ac_func in atan2f
54216 do :
54217 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54218 if test "x$ac_cv_func_atan2f" = x""yes; then :
54219 cat >>confdefs.h <<_ACEOF
54220 #define HAVE_ATAN2F 1
54221 _ACEOF
54224 done
54226 else
54228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54229 $as_echo_n "checking for _atan2f declaration... " >&6; }
54230 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54231 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54232 $as_echo_n "(cached) " >&6
54233 else
54236 ac_ext=cpp
54237 ac_cpp='$CXXCPP $CPPFLAGS'
54238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54243 /* end confdefs.h. */
54244 #include <math.h>
54246 main ()
54248 _atan2f(0, 0);
54250 return 0;
54252 _ACEOF
54253 if ac_fn_cxx_try_compile "$LINENO"; then :
54254 glibcxx_cv_func__atan2f_use=yes
54255 else
54256 glibcxx_cv_func__atan2f_use=no
54258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54259 ac_ext=c
54260 ac_cpp='$CPP $CPPFLAGS'
54261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54270 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54272 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54273 for ac_func in _atan2f
54274 do :
54275 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54276 if test "x$ac_cv_func__atan2f" = x""yes; then :
54277 cat >>confdefs.h <<_ACEOF
54278 #define HAVE__ATAN2F 1
54279 _ACEOF
54282 done
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54292 $as_echo_n "checking for fabsf declaration... " >&6; }
54293 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54294 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54295 $as_echo_n "(cached) " >&6
54296 else
54299 ac_ext=cpp
54300 ac_cpp='$CXXCPP $CPPFLAGS'
54301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54306 /* end confdefs.h. */
54307 #include <math.h>
54308 #ifdef HAVE_IEEEFP_H
54309 #include <ieeefp.h>
54310 #endif
54313 main ()
54315 fabsf(0);
54317 return 0;
54319 _ACEOF
54320 if ac_fn_cxx_try_compile "$LINENO"; then :
54321 glibcxx_cv_func_fabsf_use=yes
54322 else
54323 glibcxx_cv_func_fabsf_use=no
54325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54326 ac_ext=c
54327 ac_cpp='$CPP $CPPFLAGS'
54328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54337 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54339 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54340 for ac_func in fabsf
54341 do :
54342 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54343 if test "x$ac_cv_func_fabsf" = x""yes; then :
54344 cat >>confdefs.h <<_ACEOF
54345 #define HAVE_FABSF 1
54346 _ACEOF
54349 done
54351 else
54353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54354 $as_echo_n "checking for _fabsf declaration... " >&6; }
54355 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54356 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54357 $as_echo_n "(cached) " >&6
54358 else
54361 ac_ext=cpp
54362 ac_cpp='$CXXCPP $CPPFLAGS'
54363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54368 /* end confdefs.h. */
54369 #include <math.h>
54370 #ifdef HAVE_IEEEFP_H
54371 #include <ieeefp.h>
54372 #endif
54375 main ()
54377 _fabsf(0);
54379 return 0;
54381 _ACEOF
54382 if ac_fn_cxx_try_compile "$LINENO"; then :
54383 glibcxx_cv_func__fabsf_use=yes
54384 else
54385 glibcxx_cv_func__fabsf_use=no
54387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54388 ac_ext=c
54389 ac_cpp='$CPP $CPPFLAGS'
54390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54399 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54401 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54402 for ac_func in _fabsf
54403 do :
54404 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54405 if test "x$ac_cv_func__fabsf" = x""yes; then :
54406 cat >>confdefs.h <<_ACEOF
54407 #define HAVE__FABSF 1
54408 _ACEOF
54411 done
54420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54421 $as_echo_n "checking for fmodf declaration... " >&6; }
54422 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54423 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54424 $as_echo_n "(cached) " >&6
54425 else
54428 ac_ext=cpp
54429 ac_cpp='$CXXCPP $CPPFLAGS'
54430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54435 /* end confdefs.h. */
54436 #include <math.h>
54438 main ()
54440 fmodf(0, 0);
54442 return 0;
54444 _ACEOF
54445 if ac_fn_cxx_try_compile "$LINENO"; then :
54446 glibcxx_cv_func_fmodf_use=yes
54447 else
54448 glibcxx_cv_func_fmodf_use=no
54450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54451 ac_ext=c
54452 ac_cpp='$CPP $CPPFLAGS'
54453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54462 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54464 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54465 for ac_func in fmodf
54466 do :
54467 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54468 if test "x$ac_cv_func_fmodf" = x""yes; then :
54469 cat >>confdefs.h <<_ACEOF
54470 #define HAVE_FMODF 1
54471 _ACEOF
54474 done
54476 else
54478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54479 $as_echo_n "checking for _fmodf declaration... " >&6; }
54480 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54481 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54482 $as_echo_n "(cached) " >&6
54483 else
54486 ac_ext=cpp
54487 ac_cpp='$CXXCPP $CPPFLAGS'
54488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54493 /* end confdefs.h. */
54494 #include <math.h>
54496 main ()
54498 _fmodf(0, 0);
54500 return 0;
54502 _ACEOF
54503 if ac_fn_cxx_try_compile "$LINENO"; then :
54504 glibcxx_cv_func__fmodf_use=yes
54505 else
54506 glibcxx_cv_func__fmodf_use=no
54508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54509 ac_ext=c
54510 ac_cpp='$CPP $CPPFLAGS'
54511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54520 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54522 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54523 for ac_func in _fmodf
54524 do :
54525 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54526 if test "x$ac_cv_func__fmodf" = x""yes; then :
54527 cat >>confdefs.h <<_ACEOF
54528 #define HAVE__FMODF 1
54529 _ACEOF
54532 done
54541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54542 $as_echo_n "checking for frexpf declaration... " >&6; }
54543 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54544 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54545 $as_echo_n "(cached) " >&6
54546 else
54549 ac_ext=cpp
54550 ac_cpp='$CXXCPP $CPPFLAGS'
54551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54556 /* end confdefs.h. */
54557 #include <math.h>
54559 main ()
54561 frexpf(0, 0);
54563 return 0;
54565 _ACEOF
54566 if ac_fn_cxx_try_compile "$LINENO"; then :
54567 glibcxx_cv_func_frexpf_use=yes
54568 else
54569 glibcxx_cv_func_frexpf_use=no
54571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54572 ac_ext=c
54573 ac_cpp='$CPP $CPPFLAGS'
54574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54583 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54585 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54586 for ac_func in frexpf
54587 do :
54588 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54589 if test "x$ac_cv_func_frexpf" = x""yes; then :
54590 cat >>confdefs.h <<_ACEOF
54591 #define HAVE_FREXPF 1
54592 _ACEOF
54595 done
54597 else
54599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54600 $as_echo_n "checking for _frexpf declaration... " >&6; }
54601 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54602 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54603 $as_echo_n "(cached) " >&6
54604 else
54607 ac_ext=cpp
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54614 /* end confdefs.h. */
54615 #include <math.h>
54617 main ()
54619 _frexpf(0, 0);
54621 return 0;
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func__frexpf_use=yes
54626 else
54627 glibcxx_cv_func__frexpf_use=no
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54641 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54643 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54644 for ac_func in _frexpf
54645 do :
54646 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54647 if test "x$ac_cv_func__frexpf" = x""yes; then :
54648 cat >>confdefs.h <<_ACEOF
54649 #define HAVE__FREXPF 1
54650 _ACEOF
54653 done
54662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54663 $as_echo_n "checking for hypotf declaration... " >&6; }
54664 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54665 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54666 $as_echo_n "(cached) " >&6
54667 else
54670 ac_ext=cpp
54671 ac_cpp='$CXXCPP $CPPFLAGS'
54672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54677 /* end confdefs.h. */
54678 #include <math.h>
54680 main ()
54682 hypotf(0, 0);
54684 return 0;
54686 _ACEOF
54687 if ac_fn_cxx_try_compile "$LINENO"; then :
54688 glibcxx_cv_func_hypotf_use=yes
54689 else
54690 glibcxx_cv_func_hypotf_use=no
54692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54693 ac_ext=c
54694 ac_cpp='$CPP $CPPFLAGS'
54695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54704 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54706 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54707 for ac_func in hypotf
54708 do :
54709 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54710 if test "x$ac_cv_func_hypotf" = x""yes; then :
54711 cat >>confdefs.h <<_ACEOF
54712 #define HAVE_HYPOTF 1
54713 _ACEOF
54716 done
54718 else
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54721 $as_echo_n "checking for _hypotf declaration... " >&6; }
54722 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54723 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54724 $as_echo_n "(cached) " >&6
54725 else
54728 ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h. */
54736 #include <math.h>
54738 main ()
54740 _hypotf(0, 0);
54742 return 0;
54744 _ACEOF
54745 if ac_fn_cxx_try_compile "$LINENO"; then :
54746 glibcxx_cv_func__hypotf_use=yes
54747 else
54748 glibcxx_cv_func__hypotf_use=no
54750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54751 ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54762 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54764 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54765 for ac_func in _hypotf
54766 do :
54767 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54768 if test "x$ac_cv_func__hypotf" = x""yes; then :
54769 cat >>confdefs.h <<_ACEOF
54770 #define HAVE__HYPOTF 1
54771 _ACEOF
54774 done
54783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54784 $as_echo_n "checking for ldexpf declaration... " >&6; }
54785 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54786 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54787 $as_echo_n "(cached) " >&6
54788 else
54791 ac_ext=cpp
54792 ac_cpp='$CXXCPP $CPPFLAGS'
54793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54798 /* end confdefs.h. */
54799 #include <math.h>
54801 main ()
54803 ldexpf(0, 0);
54805 return 0;
54807 _ACEOF
54808 if ac_fn_cxx_try_compile "$LINENO"; then :
54809 glibcxx_cv_func_ldexpf_use=yes
54810 else
54811 glibcxx_cv_func_ldexpf_use=no
54813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54814 ac_ext=c
54815 ac_cpp='$CPP $CPPFLAGS'
54816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54825 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54827 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54828 for ac_func in ldexpf
54829 do :
54830 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54831 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54832 cat >>confdefs.h <<_ACEOF
54833 #define HAVE_LDEXPF 1
54834 _ACEOF
54837 done
54839 else
54841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54842 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54843 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54844 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54845 $as_echo_n "(cached) " >&6
54846 else
54849 ac_ext=cpp
54850 ac_cpp='$CXXCPP $CPPFLAGS'
54851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54856 /* end confdefs.h. */
54857 #include <math.h>
54859 main ()
54861 _ldexpf(0, 0);
54863 return 0;
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867 glibcxx_cv_func__ldexpf_use=yes
54868 else
54869 glibcxx_cv_func__ldexpf_use=no
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872 ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54883 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54885 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54886 for ac_func in _ldexpf
54887 do :
54888 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54889 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54890 cat >>confdefs.h <<_ACEOF
54891 #define HAVE__LDEXPF 1
54892 _ACEOF
54895 done
54904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54905 $as_echo_n "checking for logf declaration... " >&6; }
54906 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54907 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54908 $as_echo_n "(cached) " >&6
54909 else
54912 ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h. */
54920 #include <math.h>
54921 #ifdef HAVE_IEEEFP_H
54922 #include <ieeefp.h>
54923 #endif
54926 main ()
54928 logf(0);
54930 return 0;
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934 glibcxx_cv_func_logf_use=yes
54935 else
54936 glibcxx_cv_func_logf_use=no
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939 ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54950 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54952 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54953 for ac_func in logf
54954 do :
54955 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54956 if test "x$ac_cv_func_logf" = x""yes; then :
54957 cat >>confdefs.h <<_ACEOF
54958 #define HAVE_LOGF 1
54959 _ACEOF
54962 done
54964 else
54966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54967 $as_echo_n "checking for _logf declaration... " >&6; }
54968 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54969 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54983 #ifdef HAVE_IEEEFP_H
54984 #include <ieeefp.h>
54985 #endif
54988 main ()
54990 _logf(0);
54992 return 0;
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996 glibcxx_cv_func__logf_use=yes
54997 else
54998 glibcxx_cv_func__logf_use=no
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001 ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55012 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55014 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55015 for ac_func in _logf
55016 do :
55017 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55018 if test "x$ac_cv_func__logf" = x""yes; then :
55019 cat >>confdefs.h <<_ACEOF
55020 #define HAVE__LOGF 1
55021 _ACEOF
55024 done
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55034 $as_echo_n "checking for log10f declaration... " >&6; }
55035 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55036 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55037 $as_echo_n "(cached) " >&6
55038 else
55041 ac_ext=cpp
55042 ac_cpp='$CXXCPP $CPPFLAGS'
55043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55048 /* end confdefs.h. */
55049 #include <math.h>
55050 #ifdef HAVE_IEEEFP_H
55051 #include <ieeefp.h>
55052 #endif
55055 main ()
55057 log10f(0);
55059 return 0;
55061 _ACEOF
55062 if ac_fn_cxx_try_compile "$LINENO"; then :
55063 glibcxx_cv_func_log10f_use=yes
55064 else
55065 glibcxx_cv_func_log10f_use=no
55067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55068 ac_ext=c
55069 ac_cpp='$CPP $CPPFLAGS'
55070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55079 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55081 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55082 for ac_func in log10f
55083 do :
55084 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55085 if test "x$ac_cv_func_log10f" = x""yes; then :
55086 cat >>confdefs.h <<_ACEOF
55087 #define HAVE_LOG10F 1
55088 _ACEOF
55091 done
55093 else
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55096 $as_echo_n "checking for _log10f declaration... " >&6; }
55097 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55098 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55099 $as_echo_n "(cached) " >&6
55100 else
55103 ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h. */
55111 #include <math.h>
55112 #ifdef HAVE_IEEEFP_H
55113 #include <ieeefp.h>
55114 #endif
55117 main ()
55119 _log10f(0);
55121 return 0;
55123 _ACEOF
55124 if ac_fn_cxx_try_compile "$LINENO"; then :
55125 glibcxx_cv_func__log10f_use=yes
55126 else
55127 glibcxx_cv_func__log10f_use=no
55129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55130 ac_ext=c
55131 ac_cpp='$CPP $CPPFLAGS'
55132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55141 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55143 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55144 for ac_func in _log10f
55145 do :
55146 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55147 if test "x$ac_cv_func__log10f" = x""yes; then :
55148 cat >>confdefs.h <<_ACEOF
55149 #define HAVE__LOG10F 1
55150 _ACEOF
55153 done
55162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55163 $as_echo_n "checking for modff declaration... " >&6; }
55164 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55165 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55166 $as_echo_n "(cached) " >&6
55167 else
55170 ac_ext=cpp
55171 ac_cpp='$CXXCPP $CPPFLAGS'
55172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55177 /* end confdefs.h. */
55178 #include <math.h>
55180 main ()
55182 modff(0, 0);
55184 return 0;
55186 _ACEOF
55187 if ac_fn_cxx_try_compile "$LINENO"; then :
55188 glibcxx_cv_func_modff_use=yes
55189 else
55190 glibcxx_cv_func_modff_use=no
55192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55193 ac_ext=c
55194 ac_cpp='$CPP $CPPFLAGS'
55195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55204 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55206 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55207 for ac_func in modff
55208 do :
55209 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55210 if test "x$ac_cv_func_modff" = x""yes; then :
55211 cat >>confdefs.h <<_ACEOF
55212 #define HAVE_MODFF 1
55213 _ACEOF
55216 done
55218 else
55220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55221 $as_echo_n "checking for _modff declaration... " >&6; }
55222 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55223 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55224 $as_echo_n "(cached) " >&6
55225 else
55228 ac_ext=cpp
55229 ac_cpp='$CXXCPP $CPPFLAGS'
55230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55235 /* end confdefs.h. */
55236 #include <math.h>
55238 main ()
55240 _modff(0, 0);
55242 return 0;
55244 _ACEOF
55245 if ac_fn_cxx_try_compile "$LINENO"; then :
55246 glibcxx_cv_func__modff_use=yes
55247 else
55248 glibcxx_cv_func__modff_use=no
55250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251 ac_ext=c
55252 ac_cpp='$CPP $CPPFLAGS'
55253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55262 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55264 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55265 for ac_func in _modff
55266 do :
55267 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55268 if test "x$ac_cv_func__modff" = x""yes; then :
55269 cat >>confdefs.h <<_ACEOF
55270 #define HAVE__MODFF 1
55271 _ACEOF
55274 done
55283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55284 $as_echo_n "checking for modf declaration... " >&6; }
55285 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55286 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55287 $as_echo_n "(cached) " >&6
55288 else
55291 ac_ext=cpp
55292 ac_cpp='$CXXCPP $CPPFLAGS'
55293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55298 /* end confdefs.h. */
55299 #include <math.h>
55301 main ()
55303 modf(0, 0);
55305 return 0;
55307 _ACEOF
55308 if ac_fn_cxx_try_compile "$LINENO"; then :
55309 glibcxx_cv_func_modf_use=yes
55310 else
55311 glibcxx_cv_func_modf_use=no
55313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55314 ac_ext=c
55315 ac_cpp='$CPP $CPPFLAGS'
55316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55325 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55327 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55328 for ac_func in modf
55329 do :
55330 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55331 if test "x$ac_cv_func_modf" = x""yes; then :
55332 cat >>confdefs.h <<_ACEOF
55333 #define HAVE_MODF 1
55334 _ACEOF
55337 done
55339 else
55341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55342 $as_echo_n "checking for _modf declaration... " >&6; }
55343 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55344 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55345 $as_echo_n "(cached) " >&6
55346 else
55349 ac_ext=cpp
55350 ac_cpp='$CXXCPP $CPPFLAGS'
55351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55356 /* end confdefs.h. */
55357 #include <math.h>
55359 main ()
55361 _modf(0, 0);
55363 return 0;
55365 _ACEOF
55366 if ac_fn_cxx_try_compile "$LINENO"; then :
55367 glibcxx_cv_func__modf_use=yes
55368 else
55369 glibcxx_cv_func__modf_use=no
55371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55372 ac_ext=c
55373 ac_cpp='$CPP $CPPFLAGS'
55374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55383 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55385 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55386 for ac_func in _modf
55387 do :
55388 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55389 if test "x$ac_cv_func__modf" = x""yes; then :
55390 cat >>confdefs.h <<_ACEOF
55391 #define HAVE__MODF 1
55392 _ACEOF
55395 done
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55405 $as_echo_n "checking for powf declaration... " >&6; }
55406 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55407 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55408 $as_echo_n "(cached) " >&6
55409 else
55412 ac_ext=cpp
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55419 /* end confdefs.h. */
55420 #include <math.h>
55422 main ()
55424 powf(0, 0);
55426 return 0;
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430 glibcxx_cv_func_powf_use=yes
55431 else
55432 glibcxx_cv_func_powf_use=no
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435 ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55446 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55448 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55449 for ac_func in powf
55450 do :
55451 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55452 if test "x$ac_cv_func_powf" = x""yes; then :
55453 cat >>confdefs.h <<_ACEOF
55454 #define HAVE_POWF 1
55455 _ACEOF
55458 done
55460 else
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55463 $as_echo_n "checking for _powf declaration... " >&6; }
55464 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55465 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55466 $as_echo_n "(cached) " >&6
55467 else
55470 ac_ext=cpp
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55477 /* end confdefs.h. */
55478 #include <math.h>
55480 main ()
55482 _powf(0, 0);
55484 return 0;
55486 _ACEOF
55487 if ac_fn_cxx_try_compile "$LINENO"; then :
55488 glibcxx_cv_func__powf_use=yes
55489 else
55490 glibcxx_cv_func__powf_use=no
55492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55493 ac_ext=c
55494 ac_cpp='$CPP $CPPFLAGS'
55495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55504 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55506 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55507 for ac_func in _powf
55508 do :
55509 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55510 if test "x$ac_cv_func__powf" = x""yes; then :
55511 cat >>confdefs.h <<_ACEOF
55512 #define HAVE__POWF 1
55513 _ACEOF
55516 done
55525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55526 $as_echo_n "checking for sqrtf declaration... " >&6; }
55527 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55528 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55529 $as_echo_n "(cached) " >&6
55530 else
55533 ac_ext=cpp
55534 ac_cpp='$CXXCPP $CPPFLAGS'
55535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55540 /* end confdefs.h. */
55541 #include <math.h>
55542 #ifdef HAVE_IEEEFP_H
55543 #include <ieeefp.h>
55544 #endif
55547 main ()
55549 sqrtf(0);
55551 return 0;
55553 _ACEOF
55554 if ac_fn_cxx_try_compile "$LINENO"; then :
55555 glibcxx_cv_func_sqrtf_use=yes
55556 else
55557 glibcxx_cv_func_sqrtf_use=no
55559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55560 ac_ext=c
55561 ac_cpp='$CPP $CPPFLAGS'
55562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55571 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55573 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55574 for ac_func in sqrtf
55575 do :
55576 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55577 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55578 cat >>confdefs.h <<_ACEOF
55579 #define HAVE_SQRTF 1
55580 _ACEOF
55583 done
55585 else
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55588 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55589 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55590 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55591 $as_echo_n "(cached) " >&6
55592 else
55595 ac_ext=cpp
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55602 /* end confdefs.h. */
55603 #include <math.h>
55604 #ifdef HAVE_IEEEFP_H
55605 #include <ieeefp.h>
55606 #endif
55609 main ()
55611 _sqrtf(0);
55613 return 0;
55615 _ACEOF
55616 if ac_fn_cxx_try_compile "$LINENO"; then :
55617 glibcxx_cv_func__sqrtf_use=yes
55618 else
55619 glibcxx_cv_func__sqrtf_use=no
55621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55622 ac_ext=c
55623 ac_cpp='$CPP $CPPFLAGS'
55624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55633 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55635 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55636 for ac_func in _sqrtf
55637 do :
55638 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55639 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55640 cat >>confdefs.h <<_ACEOF
55641 #define HAVE__SQRTF 1
55642 _ACEOF
55645 done
55654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55655 $as_echo_n "checking for sincosf declaration... " >&6; }
55656 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55657 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55658 $as_echo_n "(cached) " >&6
55659 else
55662 ac_ext=cpp
55663 ac_cpp='$CXXCPP $CPPFLAGS'
55664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55669 /* end confdefs.h. */
55670 #include <math.h>
55672 main ()
55674 sincosf(0, 0, 0);
55676 return 0;
55678 _ACEOF
55679 if ac_fn_cxx_try_compile "$LINENO"; then :
55680 glibcxx_cv_func_sincosf_use=yes
55681 else
55682 glibcxx_cv_func_sincosf_use=no
55684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55685 ac_ext=c
55686 ac_cpp='$CPP $CPPFLAGS'
55687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55696 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55698 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55699 for ac_func in sincosf
55700 do :
55701 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55702 if test "x$ac_cv_func_sincosf" = x""yes; then :
55703 cat >>confdefs.h <<_ACEOF
55704 #define HAVE_SINCOSF 1
55705 _ACEOF
55708 done
55710 else
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55713 $as_echo_n "checking for _sincosf declaration... " >&6; }
55714 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55715 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55716 $as_echo_n "(cached) " >&6
55717 else
55720 ac_ext=cpp
55721 ac_cpp='$CXXCPP $CPPFLAGS'
55722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55727 /* end confdefs.h. */
55728 #include <math.h>
55730 main ()
55732 _sincosf(0, 0, 0);
55734 return 0;
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738 glibcxx_cv_func__sincosf_use=yes
55739 else
55740 glibcxx_cv_func__sincosf_use=no
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743 ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55754 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55756 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55757 for ac_func in _sincosf
55758 do :
55759 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55760 if test "x$ac_cv_func__sincosf" = x""yes; then :
55761 cat >>confdefs.h <<_ACEOF
55762 #define HAVE__SINCOSF 1
55763 _ACEOF
55766 done
55775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55776 $as_echo_n "checking for finitef declaration... " >&6; }
55777 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55778 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55779 $as_echo_n "(cached) " >&6
55780 else
55783 ac_ext=cpp
55784 ac_cpp='$CXXCPP $CPPFLAGS'
55785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55790 /* end confdefs.h. */
55791 #include <math.h>
55792 #ifdef HAVE_IEEEFP_H
55793 #include <ieeefp.h>
55794 #endif
55797 main ()
55799 finitef(0);
55801 return 0;
55803 _ACEOF
55804 if ac_fn_cxx_try_compile "$LINENO"; then :
55805 glibcxx_cv_func_finitef_use=yes
55806 else
55807 glibcxx_cv_func_finitef_use=no
55809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55810 ac_ext=c
55811 ac_cpp='$CPP $CPPFLAGS'
55812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55821 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55823 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55824 for ac_func in finitef
55825 do :
55826 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55827 if test "x$ac_cv_func_finitef" = x""yes; then :
55828 cat >>confdefs.h <<_ACEOF
55829 #define HAVE_FINITEF 1
55830 _ACEOF
55833 done
55835 else
55837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55838 $as_echo_n "checking for _finitef declaration... " >&6; }
55839 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55840 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55841 $as_echo_n "(cached) " >&6
55842 else
55845 ac_ext=cpp
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55852 /* end confdefs.h. */
55853 #include <math.h>
55854 #ifdef HAVE_IEEEFP_H
55855 #include <ieeefp.h>
55856 #endif
55859 main ()
55861 _finitef(0);
55863 return 0;
55865 _ACEOF
55866 if ac_fn_cxx_try_compile "$LINENO"; then :
55867 glibcxx_cv_func__finitef_use=yes
55868 else
55869 glibcxx_cv_func__finitef_use=no
55871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55872 ac_ext=c
55873 ac_cpp='$CPP $CPPFLAGS'
55874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55883 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55885 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55886 for ac_func in _finitef
55887 do :
55888 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55889 if test "x$ac_cv_func__finitef" = x""yes; then :
55890 cat >>confdefs.h <<_ACEOF
55891 #define HAVE__FINITEF 1
55892 _ACEOF
55895 done
55904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55905 $as_echo_n "checking for long double trig functions... " >&6; }
55906 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55907 $as_echo_n "(cached) " >&6
55908 else
55911 ac_ext=cpp
55912 ac_cpp='$CXXCPP $CPPFLAGS'
55913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918 /* end confdefs.h. */
55919 #include <math.h>
55921 main ()
55923 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55925 return 0;
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929 glibcxx_cv_func_long_double_trig_use=yes
55930 else
55931 glibcxx_cv_func_long_double_trig_use=no
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934 ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55943 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55944 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55945 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55946 do :
55947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55949 eval as_val=\$$as_ac_var
55950 if test "x$as_val" = x""yes; then :
55951 cat >>confdefs.h <<_ACEOF
55952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55953 _ACEOF
55956 done
55958 else
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55960 $as_echo_n "checking for _long double trig functions... " >&6; }
55961 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55962 $as_echo_n "(cached) " >&6
55963 else
55966 ac_ext=cpp
55967 ac_cpp='$CXXCPP $CPPFLAGS'
55968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55973 /* end confdefs.h. */
55974 #include <math.h>
55976 main ()
55978 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55980 return 0;
55982 _ACEOF
55983 if ac_fn_cxx_try_compile "$LINENO"; then :
55984 glibcxx_cv_func__long_double_trig_use=yes
55985 else
55986 glibcxx_cv_func__long_double_trig_use=no
55988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55989 ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55998 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55999 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56000 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56001 do :
56002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56004 eval as_val=\$$as_ac_var
56005 if test "x$as_val" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56008 _ACEOF
56011 done
56020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56021 $as_echo_n "checking for long double round functions... " >&6; }
56022 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56023 $as_echo_n "(cached) " >&6
56024 else
56027 ac_ext=cpp
56028 ac_cpp='$CXXCPP $CPPFLAGS'
56029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56034 /* end confdefs.h. */
56035 #include <math.h>
56037 main ()
56039 ceill (0); floorl (0);
56041 return 0;
56043 _ACEOF
56044 if ac_fn_cxx_try_compile "$LINENO"; then :
56045 glibcxx_cv_func_long_double_round_use=yes
56046 else
56047 glibcxx_cv_func_long_double_round_use=no
56049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56050 ac_ext=c
56051 ac_cpp='$CPP $CPPFLAGS'
56052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56059 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56060 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56061 for ac_func in ceill floorl
56062 do :
56063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56065 eval as_val=\$$as_ac_var
56066 if test "x$as_val" = x""yes; then :
56067 cat >>confdefs.h <<_ACEOF
56068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56069 _ACEOF
56072 done
56074 else
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56076 $as_echo_n "checking for _long double round functions... " >&6; }
56077 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56092 main ()
56094 _ceill (0); _floorl (0);
56096 return 0;
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__long_double_round_use=yes
56101 else
56102 glibcxx_cv_func__long_double_round_use=no
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56114 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56115 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56116 for ac_func in _ceill _floorl
56117 do :
56118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56120 eval as_val=\$$as_ac_var
56121 if test "x$as_val" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56124 _ACEOF
56127 done
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56138 $as_echo_n "checking for isnanl declaration... " >&6; }
56139 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56140 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56154 #ifdef HAVE_IEEEFP_H
56155 #include <ieeefp.h>
56156 #endif
56159 main ()
56161 isnanl(0);
56163 return 0;
56165 _ACEOF
56166 if ac_fn_cxx_try_compile "$LINENO"; then :
56167 glibcxx_cv_func_isnanl_use=yes
56168 else
56169 glibcxx_cv_func_isnanl_use=no
56171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56172 ac_ext=c
56173 ac_cpp='$CPP $CPPFLAGS'
56174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56183 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56185 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56186 for ac_func in isnanl
56187 do :
56188 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56189 if test "x$ac_cv_func_isnanl" = x""yes; then :
56190 cat >>confdefs.h <<_ACEOF
56191 #define HAVE_ISNANL 1
56192 _ACEOF
56195 done
56197 else
56199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56200 $as_echo_n "checking for _isnanl declaration... " >&6; }
56201 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56202 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56203 $as_echo_n "(cached) " >&6
56204 else
56207 ac_ext=cpp
56208 ac_cpp='$CXXCPP $CPPFLAGS'
56209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56214 /* end confdefs.h. */
56215 #include <math.h>
56216 #ifdef HAVE_IEEEFP_H
56217 #include <ieeefp.h>
56218 #endif
56221 main ()
56223 _isnanl(0);
56225 return 0;
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func__isnanl_use=yes
56230 else
56231 glibcxx_cv_func__isnanl_use=no
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56245 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56247 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56248 for ac_func in _isnanl
56249 do :
56250 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56251 if test "x$ac_cv_func__isnanl" = x""yes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE__ISNANL 1
56254 _ACEOF
56257 done
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56267 $as_echo_n "checking for isinfl declaration... " >&6; }
56268 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56269 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56270 $as_echo_n "(cached) " >&6
56271 else
56274 ac_ext=cpp
56275 ac_cpp='$CXXCPP $CPPFLAGS'
56276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281 /* end confdefs.h. */
56282 #include <math.h>
56283 #ifdef HAVE_IEEEFP_H
56284 #include <ieeefp.h>
56285 #endif
56288 main ()
56290 isinfl(0);
56292 return 0;
56294 _ACEOF
56295 if ac_fn_cxx_try_compile "$LINENO"; then :
56296 glibcxx_cv_func_isinfl_use=yes
56297 else
56298 glibcxx_cv_func_isinfl_use=no
56300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56301 ac_ext=c
56302 ac_cpp='$CPP $CPPFLAGS'
56303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56312 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56314 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56315 for ac_func in isinfl
56316 do :
56317 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56318 if test "x$ac_cv_func_isinfl" = x""yes; then :
56319 cat >>confdefs.h <<_ACEOF
56320 #define HAVE_ISINFL 1
56321 _ACEOF
56324 done
56326 else
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56329 $as_echo_n "checking for _isinfl declaration... " >&6; }
56330 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56331 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56345 #ifdef HAVE_IEEEFP_H
56346 #include <ieeefp.h>
56347 #endif
56350 main ()
56352 _isinfl(0);
56354 return 0;
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358 glibcxx_cv_func__isinfl_use=yes
56359 else
56360 glibcxx_cv_func__isinfl_use=no
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363 ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56374 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56376 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56377 for ac_func in _isinfl
56378 do :
56379 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56380 if test "x$ac_cv_func__isinfl" = x""yes; then :
56381 cat >>confdefs.h <<_ACEOF
56382 #define HAVE__ISINFL 1
56383 _ACEOF
56386 done
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56396 $as_echo_n "checking for atan2l declaration... " >&6; }
56397 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56398 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56399 $as_echo_n "(cached) " >&6
56400 else
56403 ac_ext=cpp
56404 ac_cpp='$CXXCPP $CPPFLAGS'
56405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56410 /* end confdefs.h. */
56411 #include <math.h>
56413 main ()
56415 atan2l(0, 0);
56417 return 0;
56419 _ACEOF
56420 if ac_fn_cxx_try_compile "$LINENO"; then :
56421 glibcxx_cv_func_atan2l_use=yes
56422 else
56423 glibcxx_cv_func_atan2l_use=no
56425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56426 ac_ext=c
56427 ac_cpp='$CPP $CPPFLAGS'
56428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56437 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56439 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56440 for ac_func in atan2l
56441 do :
56442 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56443 if test "x$ac_cv_func_atan2l" = x""yes; then :
56444 cat >>confdefs.h <<_ACEOF
56445 #define HAVE_ATAN2L 1
56446 _ACEOF
56449 done
56451 else
56453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56454 $as_echo_n "checking for _atan2l declaration... " >&6; }
56455 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56456 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56457 $as_echo_n "(cached) " >&6
56458 else
56461 ac_ext=cpp
56462 ac_cpp='$CXXCPP $CPPFLAGS'
56463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56468 /* end confdefs.h. */
56469 #include <math.h>
56471 main ()
56473 _atan2l(0, 0);
56475 return 0;
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479 glibcxx_cv_func__atan2l_use=yes
56480 else
56481 glibcxx_cv_func__atan2l_use=no
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484 ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56495 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56497 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56498 for ac_func in _atan2l
56499 do :
56500 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56501 if test "x$ac_cv_func__atan2l" = x""yes; then :
56502 cat >>confdefs.h <<_ACEOF
56503 #define HAVE__ATAN2L 1
56504 _ACEOF
56507 done
56516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56517 $as_echo_n "checking for expl declaration... " >&6; }
56518 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56519 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56520 $as_echo_n "(cached) " >&6
56521 else
56524 ac_ext=cpp
56525 ac_cpp='$CXXCPP $CPPFLAGS'
56526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56531 /* end confdefs.h. */
56532 #include <math.h>
56533 #ifdef HAVE_IEEEFP_H
56534 #include <ieeefp.h>
56535 #endif
56538 main ()
56540 expl(0);
56542 return 0;
56544 _ACEOF
56545 if ac_fn_cxx_try_compile "$LINENO"; then :
56546 glibcxx_cv_func_expl_use=yes
56547 else
56548 glibcxx_cv_func_expl_use=no
56550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56551 ac_ext=c
56552 ac_cpp='$CPP $CPPFLAGS'
56553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56562 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56564 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56565 for ac_func in expl
56566 do :
56567 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56568 if test "x$ac_cv_func_expl" = x""yes; then :
56569 cat >>confdefs.h <<_ACEOF
56570 #define HAVE_EXPL 1
56571 _ACEOF
56574 done
56576 else
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56579 $as_echo_n "checking for _expl declaration... " >&6; }
56580 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56581 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56582 $as_echo_n "(cached) " >&6
56583 else
56586 ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h. */
56594 #include <math.h>
56595 #ifdef HAVE_IEEEFP_H
56596 #include <ieeefp.h>
56597 #endif
56600 main ()
56602 _expl(0);
56604 return 0;
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func__expl_use=yes
56609 else
56610 glibcxx_cv_func__expl_use=no
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56624 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56626 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56627 for ac_func in _expl
56628 do :
56629 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56630 if test "x$ac_cv_func__expl" = x""yes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE__EXPL 1
56633 _ACEOF
56636 done
56645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56646 $as_echo_n "checking for fabsl declaration... " >&6; }
56647 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56648 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56649 $as_echo_n "(cached) " >&6
56650 else
56653 ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 #include <math.h>
56662 #ifdef HAVE_IEEEFP_H
56663 #include <ieeefp.h>
56664 #endif
56667 main ()
56669 fabsl(0);
56671 return 0;
56673 _ACEOF
56674 if ac_fn_cxx_try_compile "$LINENO"; then :
56675 glibcxx_cv_func_fabsl_use=yes
56676 else
56677 glibcxx_cv_func_fabsl_use=no
56679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56680 ac_ext=c
56681 ac_cpp='$CPP $CPPFLAGS'
56682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56691 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56693 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56694 for ac_func in fabsl
56695 do :
56696 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56697 if test "x$ac_cv_func_fabsl" = x""yes; then :
56698 cat >>confdefs.h <<_ACEOF
56699 #define HAVE_FABSL 1
56700 _ACEOF
56703 done
56705 else
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56708 $as_echo_n "checking for _fabsl declaration... " >&6; }
56709 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56710 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56711 $as_echo_n "(cached) " >&6
56712 else
56715 ac_ext=cpp
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722 /* end confdefs.h. */
56723 #include <math.h>
56724 #ifdef HAVE_IEEEFP_H
56725 #include <ieeefp.h>
56726 #endif
56729 main ()
56731 _fabsl(0);
56733 return 0;
56735 _ACEOF
56736 if ac_fn_cxx_try_compile "$LINENO"; then :
56737 glibcxx_cv_func__fabsl_use=yes
56738 else
56739 glibcxx_cv_func__fabsl_use=no
56741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56742 ac_ext=c
56743 ac_cpp='$CPP $CPPFLAGS'
56744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56753 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56755 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56756 for ac_func in _fabsl
56757 do :
56758 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56759 if test "x$ac_cv_func__fabsl" = x""yes; then :
56760 cat >>confdefs.h <<_ACEOF
56761 #define HAVE__FABSL 1
56762 _ACEOF
56765 done
56774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56775 $as_echo_n "checking for fmodl declaration... " >&6; }
56776 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56777 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56778 $as_echo_n "(cached) " >&6
56779 else
56782 ac_ext=cpp
56783 ac_cpp='$CXXCPP $CPPFLAGS'
56784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56789 /* end confdefs.h. */
56790 #include <math.h>
56792 main ()
56794 fmodl(0, 0);
56796 return 0;
56798 _ACEOF
56799 if ac_fn_cxx_try_compile "$LINENO"; then :
56800 glibcxx_cv_func_fmodl_use=yes
56801 else
56802 glibcxx_cv_func_fmodl_use=no
56804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56805 ac_ext=c
56806 ac_cpp='$CPP $CPPFLAGS'
56807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56816 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56818 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56819 for ac_func in fmodl
56820 do :
56821 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56822 if test "x$ac_cv_func_fmodl" = x""yes; then :
56823 cat >>confdefs.h <<_ACEOF
56824 #define HAVE_FMODL 1
56825 _ACEOF
56828 done
56830 else
56832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56833 $as_echo_n "checking for _fmodl declaration... " >&6; }
56834 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56835 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56836 $as_echo_n "(cached) " >&6
56837 else
56840 ac_ext=cpp
56841 ac_cpp='$CXXCPP $CPPFLAGS'
56842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56847 /* end confdefs.h. */
56848 #include <math.h>
56850 main ()
56852 _fmodl(0, 0);
56854 return 0;
56856 _ACEOF
56857 if ac_fn_cxx_try_compile "$LINENO"; then :
56858 glibcxx_cv_func__fmodl_use=yes
56859 else
56860 glibcxx_cv_func__fmodl_use=no
56862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56863 ac_ext=c
56864 ac_cpp='$CPP $CPPFLAGS'
56865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56874 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56876 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56877 for ac_func in _fmodl
56878 do :
56879 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56880 if test "x$ac_cv_func__fmodl" = x""yes; then :
56881 cat >>confdefs.h <<_ACEOF
56882 #define HAVE__FMODL 1
56883 _ACEOF
56886 done
56895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56896 $as_echo_n "checking for frexpl declaration... " >&6; }
56897 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56898 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56899 $as_echo_n "(cached) " >&6
56900 else
56903 ac_ext=cpp
56904 ac_cpp='$CXXCPP $CPPFLAGS'
56905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56910 /* end confdefs.h. */
56911 #include <math.h>
56913 main ()
56915 frexpl(0, 0);
56917 return 0;
56919 _ACEOF
56920 if ac_fn_cxx_try_compile "$LINENO"; then :
56921 glibcxx_cv_func_frexpl_use=yes
56922 else
56923 glibcxx_cv_func_frexpl_use=no
56925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56926 ac_ext=c
56927 ac_cpp='$CPP $CPPFLAGS'
56928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56937 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56939 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56940 for ac_func in frexpl
56941 do :
56942 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56943 if test "x$ac_cv_func_frexpl" = x""yes; then :
56944 cat >>confdefs.h <<_ACEOF
56945 #define HAVE_FREXPL 1
56946 _ACEOF
56949 done
56951 else
56953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56954 $as_echo_n "checking for _frexpl declaration... " >&6; }
56955 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56956 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56957 $as_echo_n "(cached) " >&6
56958 else
56961 ac_ext=cpp
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 #include <math.h>
56971 main ()
56973 _frexpl(0, 0);
56975 return 0;
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func__frexpl_use=yes
56980 else
56981 glibcxx_cv_func__frexpl_use=no
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56995 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56997 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56998 for ac_func in _frexpl
56999 do :
57000 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57001 if test "x$ac_cv_func__frexpl" = x""yes; then :
57002 cat >>confdefs.h <<_ACEOF
57003 #define HAVE__FREXPL 1
57004 _ACEOF
57007 done
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57017 $as_echo_n "checking for hypotl declaration... " >&6; }
57018 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57019 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57020 $as_echo_n "(cached) " >&6
57021 else
57024 ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 #include <math.h>
57034 main ()
57036 hypotl(0, 0);
57038 return 0;
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func_hypotl_use=yes
57043 else
57044 glibcxx_cv_func_hypotl_use=no
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57058 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57060 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57061 for ac_func in hypotl
57062 do :
57063 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57064 if test "x$ac_cv_func_hypotl" = x""yes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE_HYPOTL 1
57067 _ACEOF
57070 done
57072 else
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57075 $as_echo_n "checking for _hypotl declaration... " >&6; }
57076 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57077 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57078 $as_echo_n "(cached) " >&6
57079 else
57082 ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h. */
57090 #include <math.h>
57092 main ()
57094 _hypotl(0, 0);
57096 return 0;
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func__hypotl_use=yes
57101 else
57102 glibcxx_cv_func__hypotl_use=no
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57116 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57118 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57119 for ac_func in _hypotl
57120 do :
57121 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57122 if test "x$ac_cv_func__hypotl" = x""yes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE__HYPOTL 1
57125 _ACEOF
57128 done
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57138 $as_echo_n "checking for ldexpl declaration... " >&6; }
57139 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57140 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57155 main ()
57157 ldexpl(0, 0);
57159 return 0;
57161 _ACEOF
57162 if ac_fn_cxx_try_compile "$LINENO"; then :
57163 glibcxx_cv_func_ldexpl_use=yes
57164 else
57165 glibcxx_cv_func_ldexpl_use=no
57167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57168 ac_ext=c
57169 ac_cpp='$CPP $CPPFLAGS'
57170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57179 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57181 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57182 for ac_func in ldexpl
57183 do :
57184 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57185 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57186 cat >>confdefs.h <<_ACEOF
57187 #define HAVE_LDEXPL 1
57188 _ACEOF
57191 done
57193 else
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57196 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57197 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57198 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57199 $as_echo_n "(cached) " >&6
57200 else
57203 ac_ext=cpp
57204 ac_cpp='$CXXCPP $CPPFLAGS'
57205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57210 /* end confdefs.h. */
57211 #include <math.h>
57213 main ()
57215 _ldexpl(0, 0);
57217 return 0;
57219 _ACEOF
57220 if ac_fn_cxx_try_compile "$LINENO"; then :
57221 glibcxx_cv_func__ldexpl_use=yes
57222 else
57223 glibcxx_cv_func__ldexpl_use=no
57225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57226 ac_ext=c
57227 ac_cpp='$CPP $CPPFLAGS'
57228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57237 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57239 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57240 for ac_func in _ldexpl
57241 do :
57242 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57243 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57244 cat >>confdefs.h <<_ACEOF
57245 #define HAVE__LDEXPL 1
57246 _ACEOF
57249 done
57258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57259 $as_echo_n "checking for logl declaration... " >&6; }
57260 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57261 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57262 $as_echo_n "(cached) " >&6
57263 else
57266 ac_ext=cpp
57267 ac_cpp='$CXXCPP $CPPFLAGS'
57268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57273 /* end confdefs.h. */
57274 #include <math.h>
57275 #ifdef HAVE_IEEEFP_H
57276 #include <ieeefp.h>
57277 #endif
57280 main ()
57282 logl(0);
57284 return 0;
57286 _ACEOF
57287 if ac_fn_cxx_try_compile "$LINENO"; then :
57288 glibcxx_cv_func_logl_use=yes
57289 else
57290 glibcxx_cv_func_logl_use=no
57292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57293 ac_ext=c
57294 ac_cpp='$CPP $CPPFLAGS'
57295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57304 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57306 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57307 for ac_func in logl
57308 do :
57309 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57310 if test "x$ac_cv_func_logl" = x""yes; then :
57311 cat >>confdefs.h <<_ACEOF
57312 #define HAVE_LOGL 1
57313 _ACEOF
57316 done
57318 else
57320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57321 $as_echo_n "checking for _logl declaration... " >&6; }
57322 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57323 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57337 #ifdef HAVE_IEEEFP_H
57338 #include <ieeefp.h>
57339 #endif
57342 main ()
57344 _logl(0);
57346 return 0;
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func__logl_use=yes
57351 else
57352 glibcxx_cv_func__logl_use=no
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57366 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57368 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57369 for ac_func in _logl
57370 do :
57371 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57372 if test "x$ac_cv_func__logl" = x""yes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE__LOGL 1
57375 _ACEOF
57378 done
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57388 $as_echo_n "checking for log10l declaration... " >&6; }
57389 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57390 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57391 $as_echo_n "(cached) " >&6
57392 else
57395 ac_ext=cpp
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57402 /* end confdefs.h. */
57403 #include <math.h>
57404 #ifdef HAVE_IEEEFP_H
57405 #include <ieeefp.h>
57406 #endif
57409 main ()
57411 log10l(0);
57413 return 0;
57415 _ACEOF
57416 if ac_fn_cxx_try_compile "$LINENO"; then :
57417 glibcxx_cv_func_log10l_use=yes
57418 else
57419 glibcxx_cv_func_log10l_use=no
57421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57422 ac_ext=c
57423 ac_cpp='$CPP $CPPFLAGS'
57424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57433 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57435 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57436 for ac_func in log10l
57437 do :
57438 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57439 if test "x$ac_cv_func_log10l" = x""yes; then :
57440 cat >>confdefs.h <<_ACEOF
57441 #define HAVE_LOG10L 1
57442 _ACEOF
57445 done
57447 else
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57450 $as_echo_n "checking for _log10l declaration... " >&6; }
57451 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57452 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57453 $as_echo_n "(cached) " >&6
57454 else
57457 ac_ext=cpp
57458 ac_cpp='$CXXCPP $CPPFLAGS'
57459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57464 /* end confdefs.h. */
57465 #include <math.h>
57466 #ifdef HAVE_IEEEFP_H
57467 #include <ieeefp.h>
57468 #endif
57471 main ()
57473 _log10l(0);
57475 return 0;
57477 _ACEOF
57478 if ac_fn_cxx_try_compile "$LINENO"; then :
57479 glibcxx_cv_func__log10l_use=yes
57480 else
57481 glibcxx_cv_func__log10l_use=no
57483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57484 ac_ext=c
57485 ac_cpp='$CPP $CPPFLAGS'
57486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57495 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57497 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57498 for ac_func in _log10l
57499 do :
57500 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57501 if test "x$ac_cv_func__log10l" = x""yes; then :
57502 cat >>confdefs.h <<_ACEOF
57503 #define HAVE__LOG10L 1
57504 _ACEOF
57507 done
57516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57517 $as_echo_n "checking for modfl declaration... " >&6; }
57518 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57519 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57520 $as_echo_n "(cached) " >&6
57521 else
57524 ac_ext=cpp
57525 ac_cpp='$CXXCPP $CPPFLAGS'
57526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57531 /* end confdefs.h. */
57532 #include <math.h>
57534 main ()
57536 modfl(0, 0);
57538 return 0;
57540 _ACEOF
57541 if ac_fn_cxx_try_compile "$LINENO"; then :
57542 glibcxx_cv_func_modfl_use=yes
57543 else
57544 glibcxx_cv_func_modfl_use=no
57546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57547 ac_ext=c
57548 ac_cpp='$CPP $CPPFLAGS'
57549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57558 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57560 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57561 for ac_func in modfl
57562 do :
57563 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57564 if test "x$ac_cv_func_modfl" = x""yes; then :
57565 cat >>confdefs.h <<_ACEOF
57566 #define HAVE_MODFL 1
57567 _ACEOF
57570 done
57572 else
57574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57575 $as_echo_n "checking for _modfl declaration... " >&6; }
57576 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57577 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57578 $as_echo_n "(cached) " >&6
57579 else
57582 ac_ext=cpp
57583 ac_cpp='$CXXCPP $CPPFLAGS'
57584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57589 /* end confdefs.h. */
57590 #include <math.h>
57592 main ()
57594 _modfl(0, 0);
57596 return 0;
57598 _ACEOF
57599 if ac_fn_cxx_try_compile "$LINENO"; then :
57600 glibcxx_cv_func__modfl_use=yes
57601 else
57602 glibcxx_cv_func__modfl_use=no
57604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57605 ac_ext=c
57606 ac_cpp='$CPP $CPPFLAGS'
57607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57616 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57618 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57619 for ac_func in _modfl
57620 do :
57621 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57622 if test "x$ac_cv_func__modfl" = x""yes; then :
57623 cat >>confdefs.h <<_ACEOF
57624 #define HAVE__MODFL 1
57625 _ACEOF
57628 done
57637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57638 $as_echo_n "checking for powl declaration... " >&6; }
57639 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57640 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57641 $as_echo_n "(cached) " >&6
57642 else
57645 ac_ext=cpp
57646 ac_cpp='$CXXCPP $CPPFLAGS'
57647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57652 /* end confdefs.h. */
57653 #include <math.h>
57655 main ()
57657 powl(0, 0);
57659 return 0;
57661 _ACEOF
57662 if ac_fn_cxx_try_compile "$LINENO"; then :
57663 glibcxx_cv_func_powl_use=yes
57664 else
57665 glibcxx_cv_func_powl_use=no
57667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57668 ac_ext=c
57669 ac_cpp='$CPP $CPPFLAGS'
57670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57679 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57681 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57682 for ac_func in powl
57683 do :
57684 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57685 if test "x$ac_cv_func_powl" = x""yes; then :
57686 cat >>confdefs.h <<_ACEOF
57687 #define HAVE_POWL 1
57688 _ACEOF
57691 done
57693 else
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57696 $as_echo_n "checking for _powl declaration... " >&6; }
57697 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57698 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57699 $as_echo_n "(cached) " >&6
57700 else
57703 ac_ext=cpp
57704 ac_cpp='$CXXCPP $CPPFLAGS'
57705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57710 /* end confdefs.h. */
57711 #include <math.h>
57713 main ()
57715 _powl(0, 0);
57717 return 0;
57719 _ACEOF
57720 if ac_fn_cxx_try_compile "$LINENO"; then :
57721 glibcxx_cv_func__powl_use=yes
57722 else
57723 glibcxx_cv_func__powl_use=no
57725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57726 ac_ext=c
57727 ac_cpp='$CPP $CPPFLAGS'
57728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57737 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57739 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57740 for ac_func in _powl
57741 do :
57742 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57743 if test "x$ac_cv_func__powl" = x""yes; then :
57744 cat >>confdefs.h <<_ACEOF
57745 #define HAVE__POWL 1
57746 _ACEOF
57749 done
57758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57759 $as_echo_n "checking for sqrtl declaration... " >&6; }
57760 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57761 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57762 $as_echo_n "(cached) " >&6
57763 else
57766 ac_ext=cpp
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57773 /* end confdefs.h. */
57774 #include <math.h>
57775 #ifdef HAVE_IEEEFP_H
57776 #include <ieeefp.h>
57777 #endif
57780 main ()
57782 sqrtl(0);
57784 return 0;
57786 _ACEOF
57787 if ac_fn_cxx_try_compile "$LINENO"; then :
57788 glibcxx_cv_func_sqrtl_use=yes
57789 else
57790 glibcxx_cv_func_sqrtl_use=no
57792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57804 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57806 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57807 for ac_func in sqrtl
57808 do :
57809 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57810 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57811 cat >>confdefs.h <<_ACEOF
57812 #define HAVE_SQRTL 1
57813 _ACEOF
57816 done
57818 else
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57821 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57822 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57823 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57824 $as_echo_n "(cached) " >&6
57825 else
57828 ac_ext=cpp
57829 ac_cpp='$CXXCPP $CPPFLAGS'
57830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57835 /* end confdefs.h. */
57836 #include <math.h>
57837 #ifdef HAVE_IEEEFP_H
57838 #include <ieeefp.h>
57839 #endif
57842 main ()
57844 _sqrtl(0);
57846 return 0;
57848 _ACEOF
57849 if ac_fn_cxx_try_compile "$LINENO"; then :
57850 glibcxx_cv_func__sqrtl_use=yes
57851 else
57852 glibcxx_cv_func__sqrtl_use=no
57854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57855 ac_ext=c
57856 ac_cpp='$CPP $CPPFLAGS'
57857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57866 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57868 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57869 for ac_func in _sqrtl
57870 do :
57871 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57872 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57873 cat >>confdefs.h <<_ACEOF
57874 #define HAVE__SQRTL 1
57875 _ACEOF
57878 done
57887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57888 $as_echo_n "checking for sincosl declaration... " >&6; }
57889 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57890 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57891 $as_echo_n "(cached) " >&6
57892 else
57895 ac_ext=cpp
57896 ac_cpp='$CXXCPP $CPPFLAGS'
57897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57902 /* end confdefs.h. */
57903 #include <math.h>
57905 main ()
57907 sincosl(0, 0, 0);
57909 return 0;
57911 _ACEOF
57912 if ac_fn_cxx_try_compile "$LINENO"; then :
57913 glibcxx_cv_func_sincosl_use=yes
57914 else
57915 glibcxx_cv_func_sincosl_use=no
57917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57918 ac_ext=c
57919 ac_cpp='$CPP $CPPFLAGS'
57920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57929 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57931 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57932 for ac_func in sincosl
57933 do :
57934 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57935 if test "x$ac_cv_func_sincosl" = x""yes; then :
57936 cat >>confdefs.h <<_ACEOF
57937 #define HAVE_SINCOSL 1
57938 _ACEOF
57941 done
57943 else
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57946 $as_echo_n "checking for _sincosl declaration... " >&6; }
57947 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57948 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57953 ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h. */
57961 #include <math.h>
57963 main ()
57965 _sincosl(0, 0, 0);
57967 return 0;
57969 _ACEOF
57970 if ac_fn_cxx_try_compile "$LINENO"; then :
57971 glibcxx_cv_func__sincosl_use=yes
57972 else
57973 glibcxx_cv_func__sincosl_use=no
57975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57976 ac_ext=c
57977 ac_cpp='$CPP $CPPFLAGS'
57978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57987 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57989 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57990 for ac_func in _sincosl
57991 do :
57992 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57993 if test "x$ac_cv_func__sincosl" = x""yes; then :
57994 cat >>confdefs.h <<_ACEOF
57995 #define HAVE__SINCOSL 1
57996 _ACEOF
57999 done
58008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58009 $as_echo_n "checking for finitel declaration... " >&6; }
58010 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58011 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58012 $as_echo_n "(cached) " >&6
58013 else
58016 ac_ext=cpp
58017 ac_cpp='$CXXCPP $CPPFLAGS'
58018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58023 /* end confdefs.h. */
58024 #include <math.h>
58025 #ifdef HAVE_IEEEFP_H
58026 #include <ieeefp.h>
58027 #endif
58030 main ()
58032 finitel(0);
58034 return 0;
58036 _ACEOF
58037 if ac_fn_cxx_try_compile "$LINENO"; then :
58038 glibcxx_cv_func_finitel_use=yes
58039 else
58040 glibcxx_cv_func_finitel_use=no
58042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58043 ac_ext=c
58044 ac_cpp='$CPP $CPPFLAGS'
58045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58054 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58056 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58057 for ac_func in finitel
58058 do :
58059 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58060 if test "x$ac_cv_func_finitel" = x""yes; then :
58061 cat >>confdefs.h <<_ACEOF
58062 #define HAVE_FINITEL 1
58063 _ACEOF
58066 done
58068 else
58070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58071 $as_echo_n "checking for _finitel declaration... " >&6; }
58072 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58073 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58074 $as_echo_n "(cached) " >&6
58075 else
58078 ac_ext=cpp
58079 ac_cpp='$CXXCPP $CPPFLAGS'
58080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58085 /* end confdefs.h. */
58086 #include <math.h>
58087 #ifdef HAVE_IEEEFP_H
58088 #include <ieeefp.h>
58089 #endif
58092 main ()
58094 _finitel(0);
58096 return 0;
58098 _ACEOF
58099 if ac_fn_cxx_try_compile "$LINENO"; then :
58100 glibcxx_cv_func__finitel_use=yes
58101 else
58102 glibcxx_cv_func__finitel_use=no
58104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58105 ac_ext=c
58106 ac_cpp='$CPP $CPPFLAGS'
58107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58116 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58118 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58119 for ac_func in _finitel
58120 do :
58121 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58122 if test "x$ac_cv_func__finitel" = x""yes; then :
58123 cat >>confdefs.h <<_ACEOF
58124 #define HAVE__FINITEL 1
58125 _ACEOF
58128 done
58136 LIBS="$ac_save_LIBS"
58137 CXXFLAGS="$ac_save_CXXFLAGS"
58140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58141 ac_save_CXXFLAGS="$CXXFLAGS"
58142 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58146 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58147 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58148 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58149 $as_echo_n "(cached) " >&6
58150 else
58153 ac_ext=cpp
58154 ac_cpp='$CXXCPP $CPPFLAGS'
58155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58160 /* end confdefs.h. */
58161 #include <stdlib.h>
58163 main ()
58165 at_quick_exit(0);
58167 return 0;
58169 _ACEOF
58170 if ac_fn_cxx_try_compile "$LINENO"; then :
58171 glibcxx_cv_func_at_quick_exit_use=yes
58172 else
58173 glibcxx_cv_func_at_quick_exit_use=no
58175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58176 ac_ext=c
58177 ac_cpp='$CPP $CPPFLAGS'
58178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58187 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58188 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58189 for ac_func in at_quick_exit
58190 do :
58191 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58192 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58193 cat >>confdefs.h <<_ACEOF
58194 #define HAVE_AT_QUICK_EXIT 1
58195 _ACEOF
58198 done
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58204 $as_echo_n "checking for quick_exit declaration... " >&6; }
58205 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58206 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58207 $as_echo_n "(cached) " >&6
58208 else
58211 ac_ext=cpp
58212 ac_cpp='$CXXCPP $CPPFLAGS'
58213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58218 /* end confdefs.h. */
58219 #include <stdlib.h>
58221 main ()
58223 quick_exit(0);
58225 return 0;
58227 _ACEOF
58228 if ac_fn_cxx_try_compile "$LINENO"; then :
58229 glibcxx_cv_func_quick_exit_use=yes
58230 else
58231 glibcxx_cv_func_quick_exit_use=no
58233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58234 ac_ext=c
58235 ac_cpp='$CPP $CPPFLAGS'
58236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58245 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58246 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58247 for ac_func in quick_exit
58248 do :
58249 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58250 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58251 cat >>confdefs.h <<_ACEOF
58252 #define HAVE_QUICK_EXIT 1
58253 _ACEOF
58256 done
58261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58262 $as_echo_n "checking for strtold declaration... " >&6; }
58263 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58264 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58265 $as_echo_n "(cached) " >&6
58266 else
58269 ac_ext=cpp
58270 ac_cpp='$CXXCPP $CPPFLAGS'
58271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58276 /* end confdefs.h. */
58277 #include <stdlib.h>
58279 main ()
58281 strtold(0, 0);
58283 return 0;
58285 _ACEOF
58286 if ac_fn_cxx_try_compile "$LINENO"; then :
58287 glibcxx_cv_func_strtold_use=yes
58288 else
58289 glibcxx_cv_func_strtold_use=no
58291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292 ac_ext=c
58293 ac_cpp='$CPP $CPPFLAGS'
58294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58303 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58304 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58305 for ac_func in strtold
58306 do :
58307 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58308 if test "x$ac_cv_func_strtold" = x""yes; then :
58309 cat >>confdefs.h <<_ACEOF
58310 #define HAVE_STRTOLD 1
58311 _ACEOF
58314 done
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58322 $as_echo_n "checking for strtof declaration... " >&6; }
58323 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58324 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58325 $as_echo_n "(cached) " >&6
58326 else
58329 ac_ext=cpp
58330 ac_cpp='$CXXCPP $CPPFLAGS'
58331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58336 /* end confdefs.h. */
58337 #include <stdlib.h>
58339 main ()
58341 strtof(0, 0);
58343 return 0;
58345 _ACEOF
58346 if ac_fn_cxx_try_compile "$LINENO"; then :
58347 glibcxx_cv_func_strtof_use=yes
58348 else
58349 glibcxx_cv_func_strtof_use=no
58351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58352 ac_ext=c
58353 ac_cpp='$CPP $CPPFLAGS'
58354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58363 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58364 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58365 for ac_func in strtof
58366 do :
58367 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58368 if test "x$ac_cv_func_strtof" = x""yes; then :
58369 cat >>confdefs.h <<_ACEOF
58370 #define HAVE_STRTOF 1
58371 _ACEOF
58374 done
58381 CXXFLAGS="$ac_save_CXXFLAGS"
58384 *-netbsd*)
58385 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58388 # If we're not using GNU ld, then there's no point in even trying these
58389 # tests. Check for that first. We should have already tested for gld
58390 # by now (in libtool), but require it now just to be safe...
58391 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58392 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58396 # The name set by libtool depends on the version of libtool. Shame on us
58397 # for depending on an impl detail, but c'est la vie. Older versions used
58398 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58399 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58400 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58401 # set (hence we're using an older libtool), then set it.
58402 if test x${with_gnu_ld+set} != xset; then
58403 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58404 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58405 with_gnu_ld=no
58406 else
58407 with_gnu_ld=$ac_cv_prog_gnu_ld
58411 # Start by getting the version number. I think the libtool test already
58412 # does some of this, but throws away the result.
58413 glibcxx_ld_is_gold=no
58414 if test x"$with_gnu_ld" = x"yes"; then
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58416 $as_echo_n "checking for ld version... " >&6; }
58418 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58419 glibcxx_ld_is_gold=yes
58421 ldver=`$LD --version 2>/dev/null |
58422 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'`
58424 glibcxx_gnu_ld_version=`echo $ldver | \
58425 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58427 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58430 # Set --gc-sections.
58431 glibcxx_have_gc_sections=no
58432 if test "$glibcxx_ld_is_gold" = "yes"; then
58433 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58434 glibcxx_have_gc_sections=yes
58436 else
58437 glibcxx_gcsections_min_ld=21602
58438 if test x"$with_gnu_ld" = x"yes" &&
58439 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58440 glibcxx_have_gc_sections=yes
58443 if test "$glibcxx_have_gc_sections" = "yes"; then
58444 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58445 # NB: This flag only works reliably after 2.16.1. Configure tests
58446 # for this are difficult, so hard wire a value that should work.
58448 ac_test_CFLAGS="${CFLAGS+set}"
58449 ac_save_CFLAGS="$CFLAGS"
58450 CFLAGS='-Wl,--gc-sections'
58452 # Check for -Wl,--gc-sections
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58454 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58455 if test x$gcc_no_link = xyes; then
58456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58459 /* end confdefs.h. */
58460 int one(void) { return 1; }
58461 int two(void) { return 2; }
58464 main ()
58466 two();
58468 return 0;
58470 _ACEOF
58471 if ac_fn_c_try_link "$LINENO"; then :
58472 ac_gcsections=yes
58473 else
58474 ac_gcsections=no
58476 rm -f core conftest.err conftest.$ac_objext \
58477 conftest$ac_exeext conftest.$ac_ext
58478 if test "$ac_gcsections" = "yes"; then
58479 rm -f conftest.c
58480 touch conftest.c
58481 if $CC -c conftest.c; then
58482 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58483 grep "Warning: gc-sections option ignored" > /dev/null; then
58484 ac_gcsections=no
58487 rm -f conftest.c conftest.o conftest
58489 if test "$ac_gcsections" = "yes"; then
58490 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58493 $as_echo "$ac_gcsections" >&6; }
58495 if test "$ac_test_CFLAGS" = set; then
58496 CFLAGS="$ac_save_CFLAGS"
58497 else
58498 # this is the suspicious part
58499 CFLAGS=''
58503 # Set -z,relro.
58504 # Note this is only for shared objects.
58505 ac_ld_relro=no
58506 if test x"$with_gnu_ld" = x"yes"; then
58507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58508 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58509 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58510 if test -n "$cxx_z_relo"; then
58511 OPT_LDFLAGS="-Wl,-z,relro"
58512 ac_ld_relro=yes
58514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58515 $as_echo "$ac_ld_relro" >&6; }
58518 # Set linker optimization flags.
58519 if test x"$with_gnu_ld" = x"yes"; then
58520 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58526 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58528 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58530 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58532 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58534 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58536 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58538 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58540 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58542 if test x"long_double_math_on_this_cpu" = x"yes"; then
58543 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58545 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58547 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58551 *-qnx6.1* | *-qnx6.2*)
58552 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58555 # If we're not using GNU ld, then there's no point in even trying these
58556 # tests. Check for that first. We should have already tested for gld
58557 # by now (in libtool), but require it now just to be safe...
58558 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58559 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58563 # The name set by libtool depends on the version of libtool. Shame on us
58564 # for depending on an impl detail, but c'est la vie. Older versions used
58565 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58566 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58567 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58568 # set (hence we're using an older libtool), then set it.
58569 if test x${with_gnu_ld+set} != xset; then
58570 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58571 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58572 with_gnu_ld=no
58573 else
58574 with_gnu_ld=$ac_cv_prog_gnu_ld
58578 # Start by getting the version number. I think the libtool test already
58579 # does some of this, but throws away the result.
58580 glibcxx_ld_is_gold=no
58581 if test x"$with_gnu_ld" = x"yes"; then
58582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58583 $as_echo_n "checking for ld version... " >&6; }
58585 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58586 glibcxx_ld_is_gold=yes
58588 ldver=`$LD --version 2>/dev/null |
58589 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'`
58591 glibcxx_gnu_ld_version=`echo $ldver | \
58592 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58594 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58597 # Set --gc-sections.
58598 glibcxx_have_gc_sections=no
58599 if test "$glibcxx_ld_is_gold" = "yes"; then
58600 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58601 glibcxx_have_gc_sections=yes
58603 else
58604 glibcxx_gcsections_min_ld=21602
58605 if test x"$with_gnu_ld" = x"yes" &&
58606 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58607 glibcxx_have_gc_sections=yes
58610 if test "$glibcxx_have_gc_sections" = "yes"; then
58611 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58612 # NB: This flag only works reliably after 2.16.1. Configure tests
58613 # for this are difficult, so hard wire a value that should work.
58615 ac_test_CFLAGS="${CFLAGS+set}"
58616 ac_save_CFLAGS="$CFLAGS"
58617 CFLAGS='-Wl,--gc-sections'
58619 # Check for -Wl,--gc-sections
58620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58621 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58622 if test x$gcc_no_link = xyes; then
58623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58626 /* end confdefs.h. */
58627 int one(void) { return 1; }
58628 int two(void) { return 2; }
58631 main ()
58633 two();
58635 return 0;
58637 _ACEOF
58638 if ac_fn_c_try_link "$LINENO"; then :
58639 ac_gcsections=yes
58640 else
58641 ac_gcsections=no
58643 rm -f core conftest.err conftest.$ac_objext \
58644 conftest$ac_exeext conftest.$ac_ext
58645 if test "$ac_gcsections" = "yes"; then
58646 rm -f conftest.c
58647 touch conftest.c
58648 if $CC -c conftest.c; then
58649 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58650 grep "Warning: gc-sections option ignored" > /dev/null; then
58651 ac_gcsections=no
58654 rm -f conftest.c conftest.o conftest
58656 if test "$ac_gcsections" = "yes"; then
58657 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58660 $as_echo "$ac_gcsections" >&6; }
58662 if test "$ac_test_CFLAGS" = set; then
58663 CFLAGS="$ac_save_CFLAGS"
58664 else
58665 # this is the suspicious part
58666 CFLAGS=''
58670 # Set -z,relro.
58671 # Note this is only for shared objects.
58672 ac_ld_relro=no
58673 if test x"$with_gnu_ld" = x"yes"; then
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58675 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58676 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58677 if test -n "$cxx_z_relo"; then
58678 OPT_LDFLAGS="-Wl,-z,relro"
58679 ac_ld_relro=yes
58681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58682 $as_echo "$ac_ld_relro" >&6; }
58685 # Set linker optimization flags.
58686 if test x"$with_gnu_ld" = x"yes"; then
58687 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58693 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58695 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58697 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58699 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58701 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58703 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58705 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58707 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58709 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58711 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58713 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58715 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58718 *-rtems*)
58720 # All these tests are for C++; save the language and the compiler flags.
58721 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58722 # found in GLIBCXX_CONFIGURE.
58724 ac_ext=cpp
58725 ac_cpp='$CXXCPP $CPPFLAGS'
58726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58730 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58731 ac_save_CXXFLAGS="$CXXFLAGS"
58733 # Check for maintainer-mode bits.
58734 if test x"$USE_MAINTAINER_MODE" = xno; then
58735 WERROR=''
58736 else
58737 WERROR='-Werror'
58740 # Check for -ffunction-sections -fdata-sections
58741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58742 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58743 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58745 /* end confdefs.h. */
58746 int foo; void bar() { };
58748 main ()
58752 return 0;
58754 _ACEOF
58755 if ac_fn_cxx_try_compile "$LINENO"; then :
58756 ac_fdsections=yes
58757 else
58758 ac_fdsections=no
58760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58761 if test "$ac_test_CXXFLAGS" = set; then
58762 CXXFLAGS="$ac_save_CXXFLAGS"
58763 else
58764 # this is the suspicious part
58765 CXXFLAGS=''
58767 if test x"$ac_fdsections" = x"yes"; then
58768 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58771 $as_echo "$ac_fdsections" >&6; }
58773 ac_ext=c
58774 ac_cpp='$CPP $CPPFLAGS'
58775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58783 # If we're not using GNU ld, then there's no point in even trying these
58784 # tests. Check for that first. We should have already tested for gld
58785 # by now (in libtool), but require it now just to be safe...
58786 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58787 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58791 # The name set by libtool depends on the version of libtool. Shame on us
58792 # for depending on an impl detail, but c'est la vie. Older versions used
58793 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58794 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58795 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58796 # set (hence we're using an older libtool), then set it.
58797 if test x${with_gnu_ld+set} != xset; then
58798 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58799 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58800 with_gnu_ld=no
58801 else
58802 with_gnu_ld=$ac_cv_prog_gnu_ld
58806 # Start by getting the version number. I think the libtool test already
58807 # does some of this, but throws away the result.
58808 glibcxx_ld_is_gold=no
58809 if test x"$with_gnu_ld" = x"yes"; then
58810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58811 $as_echo_n "checking for ld version... " >&6; }
58813 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58814 glibcxx_ld_is_gold=yes
58816 ldver=`$LD --version 2>/dev/null |
58817 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'`
58819 glibcxx_gnu_ld_version=`echo $ldver | \
58820 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58822 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58825 # Set --gc-sections.
58826 glibcxx_have_gc_sections=no
58827 if test "$glibcxx_ld_is_gold" = "yes"; then
58828 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58829 glibcxx_have_gc_sections=yes
58831 else
58832 glibcxx_gcsections_min_ld=21602
58833 if test x"$with_gnu_ld" = x"yes" &&
58834 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58835 glibcxx_have_gc_sections=yes
58838 if test "$glibcxx_have_gc_sections" = "yes"; then
58839 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58840 # NB: This flag only works reliably after 2.16.1. Configure tests
58841 # for this are difficult, so hard wire a value that should work.
58843 ac_test_CFLAGS="${CFLAGS+set}"
58844 ac_save_CFLAGS="$CFLAGS"
58845 CFLAGS='-Wl,--gc-sections'
58847 # Check for -Wl,--gc-sections
58848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58849 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58850 if test x$gcc_no_link = xyes; then
58851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58854 /* end confdefs.h. */
58855 int one(void) { return 1; }
58856 int two(void) { return 2; }
58859 main ()
58861 two();
58863 return 0;
58865 _ACEOF
58866 if ac_fn_c_try_link "$LINENO"; then :
58867 ac_gcsections=yes
58868 else
58869 ac_gcsections=no
58871 rm -f core conftest.err conftest.$ac_objext \
58872 conftest$ac_exeext conftest.$ac_ext
58873 if test "$ac_gcsections" = "yes"; then
58874 rm -f conftest.c
58875 touch conftest.c
58876 if $CC -c conftest.c; then
58877 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58878 grep "Warning: gc-sections option ignored" > /dev/null; then
58879 ac_gcsections=no
58882 rm -f conftest.c conftest.o conftest
58884 if test "$ac_gcsections" = "yes"; then
58885 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58888 $as_echo "$ac_gcsections" >&6; }
58890 if test "$ac_test_CFLAGS" = set; then
58891 CFLAGS="$ac_save_CFLAGS"
58892 else
58893 # this is the suspicious part
58894 CFLAGS=''
58898 # Set -z,relro.
58899 # Note this is only for shared objects.
58900 ac_ld_relro=no
58901 if test x"$with_gnu_ld" = x"yes"; then
58902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58903 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58904 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58905 if test -n "$cxx_z_relo"; then
58906 OPT_LDFLAGS="-Wl,-z,relro"
58907 ac_ld_relro=yes
58909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58910 $as_echo "$ac_ld_relro" >&6; }
58913 # Set linker optimization flags.
58914 if test x"$with_gnu_ld" = x"yes"; then
58915 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58922 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58923 ac_save_CXXFLAGS="$CXXFLAGS"
58924 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58927 $as_echo_n "checking for sin in -lm... " >&6; }
58928 if test "${ac_cv_lib_m_sin+set}" = set; then :
58929 $as_echo_n "(cached) " >&6
58930 else
58931 ac_check_lib_save_LIBS=$LIBS
58932 LIBS="-lm $LIBS"
58933 if test x$gcc_no_link = xyes; then
58934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58937 /* end confdefs.h. */
58939 /* Override any GCC internal prototype to avoid an error.
58940 Use char because int might match the return type of a GCC
58941 builtin and then its argument prototype would still apply. */
58942 #ifdef __cplusplus
58943 extern "C"
58944 #endif
58945 char sin ();
58947 main ()
58949 return sin ();
58951 return 0;
58953 _ACEOF
58954 if ac_fn_c_try_link "$LINENO"; then :
58955 ac_cv_lib_m_sin=yes
58956 else
58957 ac_cv_lib_m_sin=no
58959 rm -f core conftest.err conftest.$ac_objext \
58960 conftest$ac_exeext conftest.$ac_ext
58961 LIBS=$ac_check_lib_save_LIBS
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58964 $as_echo "$ac_cv_lib_m_sin" >&6; }
58965 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58966 libm="-lm"
58969 ac_save_LIBS="$LIBS"
58970 LIBS="$LIBS $libm"
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58975 $as_echo_n "checking for isinf declaration... " >&6; }
58976 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58977 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58978 $as_echo_n "(cached) " >&6
58979 else
58982 ac_ext=cpp
58983 ac_cpp='$CXXCPP $CPPFLAGS'
58984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58989 /* end confdefs.h. */
58990 #include <math.h>
58991 #ifdef HAVE_IEEEFP_H
58992 #include <ieeefp.h>
58993 #endif
58996 main ()
58998 isinf(0);
59000 return 0;
59002 _ACEOF
59003 if ac_fn_cxx_try_compile "$LINENO"; then :
59004 glibcxx_cv_func_isinf_use=yes
59005 else
59006 glibcxx_cv_func_isinf_use=no
59008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59009 ac_ext=c
59010 ac_cpp='$CPP $CPPFLAGS'
59011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59020 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59022 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59023 for ac_func in isinf
59024 do :
59025 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59026 if test "x$ac_cv_func_isinf" = x""yes; then :
59027 cat >>confdefs.h <<_ACEOF
59028 #define HAVE_ISINF 1
59029 _ACEOF
59032 done
59034 else
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59037 $as_echo_n "checking for _isinf declaration... " >&6; }
59038 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59039 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59040 $as_echo_n "(cached) " >&6
59041 else
59044 ac_ext=cpp
59045 ac_cpp='$CXXCPP $CPPFLAGS'
59046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59051 /* end confdefs.h. */
59052 #include <math.h>
59053 #ifdef HAVE_IEEEFP_H
59054 #include <ieeefp.h>
59055 #endif
59058 main ()
59060 _isinf(0);
59062 return 0;
59064 _ACEOF
59065 if ac_fn_cxx_try_compile "$LINENO"; then :
59066 glibcxx_cv_func__isinf_use=yes
59067 else
59068 glibcxx_cv_func__isinf_use=no
59070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59071 ac_ext=c
59072 ac_cpp='$CPP $CPPFLAGS'
59073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59082 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59084 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59085 for ac_func in _isinf
59086 do :
59087 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59088 if test "x$ac_cv_func__isinf" = x""yes; then :
59089 cat >>confdefs.h <<_ACEOF
59090 #define HAVE__ISINF 1
59091 _ACEOF
59094 done
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59104 $as_echo_n "checking for isnan declaration... " >&6; }
59105 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59106 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59107 $as_echo_n "(cached) " >&6
59108 else
59111 ac_ext=cpp
59112 ac_cpp='$CXXCPP $CPPFLAGS'
59113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59118 /* end confdefs.h. */
59119 #include <math.h>
59120 #ifdef HAVE_IEEEFP_H
59121 #include <ieeefp.h>
59122 #endif
59125 main ()
59127 isnan(0);
59129 return 0;
59131 _ACEOF
59132 if ac_fn_cxx_try_compile "$LINENO"; then :
59133 glibcxx_cv_func_isnan_use=yes
59134 else
59135 glibcxx_cv_func_isnan_use=no
59137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59138 ac_ext=c
59139 ac_cpp='$CPP $CPPFLAGS'
59140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59149 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59151 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59152 for ac_func in isnan
59153 do :
59154 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59155 if test "x$ac_cv_func_isnan" = x""yes; then :
59156 cat >>confdefs.h <<_ACEOF
59157 #define HAVE_ISNAN 1
59158 _ACEOF
59161 done
59163 else
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59166 $as_echo_n "checking for _isnan declaration... " >&6; }
59167 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59168 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59169 $as_echo_n "(cached) " >&6
59170 else
59173 ac_ext=cpp
59174 ac_cpp='$CXXCPP $CPPFLAGS'
59175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59180 /* end confdefs.h. */
59181 #include <math.h>
59182 #ifdef HAVE_IEEEFP_H
59183 #include <ieeefp.h>
59184 #endif
59187 main ()
59189 _isnan(0);
59191 return 0;
59193 _ACEOF
59194 if ac_fn_cxx_try_compile "$LINENO"; then :
59195 glibcxx_cv_func__isnan_use=yes
59196 else
59197 glibcxx_cv_func__isnan_use=no
59199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59200 ac_ext=c
59201 ac_cpp='$CPP $CPPFLAGS'
59202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59211 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59213 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59214 for ac_func in _isnan
59215 do :
59216 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59217 if test "x$ac_cv_func__isnan" = x""yes; then :
59218 cat >>confdefs.h <<_ACEOF
59219 #define HAVE__ISNAN 1
59220 _ACEOF
59223 done
59232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59233 $as_echo_n "checking for finite declaration... " >&6; }
59234 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59235 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59236 $as_echo_n "(cached) " >&6
59237 else
59240 ac_ext=cpp
59241 ac_cpp='$CXXCPP $CPPFLAGS'
59242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59247 /* end confdefs.h. */
59248 #include <math.h>
59249 #ifdef HAVE_IEEEFP_H
59250 #include <ieeefp.h>
59251 #endif
59254 main ()
59256 finite(0);
59258 return 0;
59260 _ACEOF
59261 if ac_fn_cxx_try_compile "$LINENO"; then :
59262 glibcxx_cv_func_finite_use=yes
59263 else
59264 glibcxx_cv_func_finite_use=no
59266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59267 ac_ext=c
59268 ac_cpp='$CPP $CPPFLAGS'
59269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59278 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59280 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59281 for ac_func in finite
59282 do :
59283 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59284 if test "x$ac_cv_func_finite" = x""yes; then :
59285 cat >>confdefs.h <<_ACEOF
59286 #define HAVE_FINITE 1
59287 _ACEOF
59290 done
59292 else
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59295 $as_echo_n "checking for _finite declaration... " >&6; }
59296 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59297 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59298 $as_echo_n "(cached) " >&6
59299 else
59302 ac_ext=cpp
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h. */
59310 #include <math.h>
59311 #ifdef HAVE_IEEEFP_H
59312 #include <ieeefp.h>
59313 #endif
59316 main ()
59318 _finite(0);
59320 return 0;
59322 _ACEOF
59323 if ac_fn_cxx_try_compile "$LINENO"; then :
59324 glibcxx_cv_func__finite_use=yes
59325 else
59326 glibcxx_cv_func__finite_use=no
59328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59329 ac_ext=c
59330 ac_cpp='$CPP $CPPFLAGS'
59331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59340 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59342 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59343 for ac_func in _finite
59344 do :
59345 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59346 if test "x$ac_cv_func__finite" = x""yes; then :
59347 cat >>confdefs.h <<_ACEOF
59348 #define HAVE__FINITE 1
59349 _ACEOF
59352 done
59361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59362 $as_echo_n "checking for sincos declaration... " >&6; }
59363 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59364 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59365 $as_echo_n "(cached) " >&6
59366 else
59369 ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h. */
59377 #include <math.h>
59379 main ()
59381 sincos(0, 0, 0);
59383 return 0;
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387 glibcxx_cv_func_sincos_use=yes
59388 else
59389 glibcxx_cv_func_sincos_use=no
59391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59403 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59405 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59406 for ac_func in sincos
59407 do :
59408 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59409 if test "x$ac_cv_func_sincos" = x""yes; then :
59410 cat >>confdefs.h <<_ACEOF
59411 #define HAVE_SINCOS 1
59412 _ACEOF
59415 done
59417 else
59419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59420 $as_echo_n "checking for _sincos declaration... " >&6; }
59421 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59422 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59423 $as_echo_n "(cached) " >&6
59424 else
59427 ac_ext=cpp
59428 ac_cpp='$CXXCPP $CPPFLAGS'
59429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59434 /* end confdefs.h. */
59435 #include <math.h>
59437 main ()
59439 _sincos(0, 0, 0);
59441 return 0;
59443 _ACEOF
59444 if ac_fn_cxx_try_compile "$LINENO"; then :
59445 glibcxx_cv_func__sincos_use=yes
59446 else
59447 glibcxx_cv_func__sincos_use=no
59449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59450 ac_ext=c
59451 ac_cpp='$CPP $CPPFLAGS'
59452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59461 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59463 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59464 for ac_func in _sincos
59465 do :
59466 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59467 if test "x$ac_cv_func__sincos" = x""yes; then :
59468 cat >>confdefs.h <<_ACEOF
59469 #define HAVE__SINCOS 1
59470 _ACEOF
59473 done
59482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59483 $as_echo_n "checking for fpclass declaration... " >&6; }
59484 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59485 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59486 $as_echo_n "(cached) " >&6
59487 else
59490 ac_ext=cpp
59491 ac_cpp='$CXXCPP $CPPFLAGS'
59492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59497 /* end confdefs.h. */
59498 #include <math.h>
59499 #ifdef HAVE_IEEEFP_H
59500 #include <ieeefp.h>
59501 #endif
59504 main ()
59506 fpclass(0);
59508 return 0;
59510 _ACEOF
59511 if ac_fn_cxx_try_compile "$LINENO"; then :
59512 glibcxx_cv_func_fpclass_use=yes
59513 else
59514 glibcxx_cv_func_fpclass_use=no
59516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517 ac_ext=c
59518 ac_cpp='$CPP $CPPFLAGS'
59519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59528 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59530 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59531 for ac_func in fpclass
59532 do :
59533 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59534 if test "x$ac_cv_func_fpclass" = x""yes; then :
59535 cat >>confdefs.h <<_ACEOF
59536 #define HAVE_FPCLASS 1
59537 _ACEOF
59540 done
59542 else
59544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59545 $as_echo_n "checking for _fpclass declaration... " >&6; }
59546 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59547 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59548 $as_echo_n "(cached) " >&6
59549 else
59552 ac_ext=cpp
59553 ac_cpp='$CXXCPP $CPPFLAGS'
59554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59559 /* end confdefs.h. */
59560 #include <math.h>
59561 #ifdef HAVE_IEEEFP_H
59562 #include <ieeefp.h>
59563 #endif
59566 main ()
59568 _fpclass(0);
59570 return 0;
59572 _ACEOF
59573 if ac_fn_cxx_try_compile "$LINENO"; then :
59574 glibcxx_cv_func__fpclass_use=yes
59575 else
59576 glibcxx_cv_func__fpclass_use=no
59578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59579 ac_ext=c
59580 ac_cpp='$CPP $CPPFLAGS'
59581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59590 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59592 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59593 for ac_func in _fpclass
59594 do :
59595 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59596 if test "x$ac_cv_func__fpclass" = x""yes; then :
59597 cat >>confdefs.h <<_ACEOF
59598 #define HAVE__FPCLASS 1
59599 _ACEOF
59602 done
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59612 $as_echo_n "checking for qfpclass declaration... " >&6; }
59613 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59614 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59615 $as_echo_n "(cached) " >&6
59616 else
59619 ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h. */
59627 #include <math.h>
59628 #ifdef HAVE_IEEEFP_H
59629 #include <ieeefp.h>
59630 #endif
59633 main ()
59635 qfpclass(0);
59637 return 0;
59639 _ACEOF
59640 if ac_fn_cxx_try_compile "$LINENO"; then :
59641 glibcxx_cv_func_qfpclass_use=yes
59642 else
59643 glibcxx_cv_func_qfpclass_use=no
59645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59646 ac_ext=c
59647 ac_cpp='$CPP $CPPFLAGS'
59648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59657 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59659 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59660 for ac_func in qfpclass
59661 do :
59662 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59663 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59664 cat >>confdefs.h <<_ACEOF
59665 #define HAVE_QFPCLASS 1
59666 _ACEOF
59669 done
59671 else
59673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59674 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59675 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59676 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59677 $as_echo_n "(cached) " >&6
59678 else
59681 ac_ext=cpp
59682 ac_cpp='$CXXCPP $CPPFLAGS'
59683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59688 /* end confdefs.h. */
59689 #include <math.h>
59690 #ifdef HAVE_IEEEFP_H
59691 #include <ieeefp.h>
59692 #endif
59695 main ()
59697 _qfpclass(0);
59699 return 0;
59701 _ACEOF
59702 if ac_fn_cxx_try_compile "$LINENO"; then :
59703 glibcxx_cv_func__qfpclass_use=yes
59704 else
59705 glibcxx_cv_func__qfpclass_use=no
59707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59708 ac_ext=c
59709 ac_cpp='$CPP $CPPFLAGS'
59710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59719 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59721 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59722 for ac_func in _qfpclass
59723 do :
59724 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59725 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59726 cat >>confdefs.h <<_ACEOF
59727 #define HAVE__QFPCLASS 1
59728 _ACEOF
59731 done
59740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59741 $as_echo_n "checking for hypot declaration... " >&6; }
59742 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59743 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59744 $as_echo_n "(cached) " >&6
59745 else
59748 ac_ext=cpp
59749 ac_cpp='$CXXCPP $CPPFLAGS'
59750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59755 /* end confdefs.h. */
59756 #include <math.h>
59758 main ()
59760 hypot(0, 0);
59762 return 0;
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766 glibcxx_cv_func_hypot_use=yes
59767 else
59768 glibcxx_cv_func_hypot_use=no
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771 ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59782 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59784 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59785 for ac_func in hypot
59786 do :
59787 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59788 if test "x$ac_cv_func_hypot" = x""yes; then :
59789 cat >>confdefs.h <<_ACEOF
59790 #define HAVE_HYPOT 1
59791 _ACEOF
59794 done
59796 else
59798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59799 $as_echo_n "checking for _hypot declaration... " >&6; }
59800 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59801 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59802 $as_echo_n "(cached) " >&6
59803 else
59806 ac_ext=cpp
59807 ac_cpp='$CXXCPP $CPPFLAGS'
59808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59813 /* end confdefs.h. */
59814 #include <math.h>
59816 main ()
59818 _hypot(0, 0);
59820 return 0;
59822 _ACEOF
59823 if ac_fn_cxx_try_compile "$LINENO"; then :
59824 glibcxx_cv_func__hypot_use=yes
59825 else
59826 glibcxx_cv_func__hypot_use=no
59828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59829 ac_ext=c
59830 ac_cpp='$CPP $CPPFLAGS'
59831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59840 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59842 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59843 for ac_func in _hypot
59844 do :
59845 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59846 if test "x$ac_cv_func__hypot" = x""yes; then :
59847 cat >>confdefs.h <<_ACEOF
59848 #define HAVE__HYPOT 1
59849 _ACEOF
59852 done
59861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59862 $as_echo_n "checking for float trig functions... " >&6; }
59863 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59864 $as_echo_n "(cached) " >&6
59865 else
59868 ac_ext=cpp
59869 ac_cpp='$CXXCPP $CPPFLAGS'
59870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59875 /* end confdefs.h. */
59876 #include <math.h>
59878 main ()
59880 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59882 return 0;
59884 _ACEOF
59885 if ac_fn_cxx_try_compile "$LINENO"; then :
59886 glibcxx_cv_func_float_trig_use=yes
59887 else
59888 glibcxx_cv_func_float_trig_use=no
59890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59891 ac_ext=c
59892 ac_cpp='$CPP $CPPFLAGS'
59893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59900 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59901 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59902 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59903 do :
59904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59906 eval as_val=\$$as_ac_var
59907 if test "x$as_val" = x""yes; then :
59908 cat >>confdefs.h <<_ACEOF
59909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59910 _ACEOF
59913 done
59915 else
59916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59917 $as_echo_n "checking for _float trig functions... " >&6; }
59918 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59923 ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <math.h>
59933 main ()
59935 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59937 return 0;
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func__float_trig_use=yes
59942 else
59943 glibcxx_cv_func__float_trig_use=no
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946 ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59955 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59956 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59957 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59958 do :
59959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59961 eval as_val=\$$as_ac_var
59962 if test "x$as_val" = x""yes; then :
59963 cat >>confdefs.h <<_ACEOF
59964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59965 _ACEOF
59968 done
59977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59978 $as_echo_n "checking for float round functions... " >&6; }
59979 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59980 $as_echo_n "(cached) " >&6
59981 else
59984 ac_ext=cpp
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59991 /* end confdefs.h. */
59992 #include <math.h>
59994 main ()
59996 ceilf (0); floorf (0);
59998 return 0;
60000 _ACEOF
60001 if ac_fn_cxx_try_compile "$LINENO"; then :
60002 glibcxx_cv_func_float_round_use=yes
60003 else
60004 glibcxx_cv_func_float_round_use=no
60006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60007 ac_ext=c
60008 ac_cpp='$CPP $CPPFLAGS'
60009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60016 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60017 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60018 for ac_func in ceilf floorf
60019 do :
60020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60022 eval as_val=\$$as_ac_var
60023 if test "x$as_val" = x""yes; then :
60024 cat >>confdefs.h <<_ACEOF
60025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60026 _ACEOF
60029 done
60031 else
60032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60033 $as_echo_n "checking for _float round functions... " >&6; }
60034 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60035 $as_echo_n "(cached) " >&6
60036 else
60039 ac_ext=cpp
60040 ac_cpp='$CXXCPP $CPPFLAGS'
60041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 #include <math.h>
60049 main ()
60051 _ceilf (0); _floorf (0);
60053 return 0;
60055 _ACEOF
60056 if ac_fn_cxx_try_compile "$LINENO"; then :
60057 glibcxx_cv_func__float_round_use=yes
60058 else
60059 glibcxx_cv_func__float_round_use=no
60061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60062 ac_ext=c
60063 ac_cpp='$CPP $CPPFLAGS'
60064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60071 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60072 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60073 for ac_func in _ceilf _floorf
60074 do :
60075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60077 eval as_val=\$$as_ac_var
60078 if test "x$as_val" = x""yes; then :
60079 cat >>confdefs.h <<_ACEOF
60080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60081 _ACEOF
60084 done
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60095 $as_echo_n "checking for expf declaration... " >&6; }
60096 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60097 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60098 $as_echo_n "(cached) " >&6
60099 else
60102 ac_ext=cpp
60103 ac_cpp='$CXXCPP $CPPFLAGS'
60104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60109 /* end confdefs.h. */
60110 #include <math.h>
60111 #ifdef HAVE_IEEEFP_H
60112 #include <ieeefp.h>
60113 #endif
60116 main ()
60118 expf(0);
60120 return 0;
60122 _ACEOF
60123 if ac_fn_cxx_try_compile "$LINENO"; then :
60124 glibcxx_cv_func_expf_use=yes
60125 else
60126 glibcxx_cv_func_expf_use=no
60128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60129 ac_ext=c
60130 ac_cpp='$CPP $CPPFLAGS'
60131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60140 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60142 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60143 for ac_func in expf
60144 do :
60145 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60146 if test "x$ac_cv_func_expf" = x""yes; then :
60147 cat >>confdefs.h <<_ACEOF
60148 #define HAVE_EXPF 1
60149 _ACEOF
60152 done
60154 else
60156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60157 $as_echo_n "checking for _expf declaration... " >&6; }
60158 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60159 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60160 $as_echo_n "(cached) " >&6
60161 else
60164 ac_ext=cpp
60165 ac_cpp='$CXXCPP $CPPFLAGS'
60166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60171 /* end confdefs.h. */
60172 #include <math.h>
60173 #ifdef HAVE_IEEEFP_H
60174 #include <ieeefp.h>
60175 #endif
60178 main ()
60180 _expf(0);
60182 return 0;
60184 _ACEOF
60185 if ac_fn_cxx_try_compile "$LINENO"; then :
60186 glibcxx_cv_func__expf_use=yes
60187 else
60188 glibcxx_cv_func__expf_use=no
60190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60191 ac_ext=c
60192 ac_cpp='$CPP $CPPFLAGS'
60193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60202 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60204 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60205 for ac_func in _expf
60206 do :
60207 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60208 if test "x$ac_cv_func__expf" = x""yes; then :
60209 cat >>confdefs.h <<_ACEOF
60210 #define HAVE__EXPF 1
60211 _ACEOF
60214 done
60223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60224 $as_echo_n "checking for isnanf declaration... " >&6; }
60225 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60226 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60227 $as_echo_n "(cached) " >&6
60228 else
60231 ac_ext=cpp
60232 ac_cpp='$CXXCPP $CPPFLAGS'
60233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60238 /* end confdefs.h. */
60239 #include <math.h>
60240 #ifdef HAVE_IEEEFP_H
60241 #include <ieeefp.h>
60242 #endif
60245 main ()
60247 isnanf(0);
60249 return 0;
60251 _ACEOF
60252 if ac_fn_cxx_try_compile "$LINENO"; then :
60253 glibcxx_cv_func_isnanf_use=yes
60254 else
60255 glibcxx_cv_func_isnanf_use=no
60257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60258 ac_ext=c
60259 ac_cpp='$CPP $CPPFLAGS'
60260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60269 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60271 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60272 for ac_func in isnanf
60273 do :
60274 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60275 if test "x$ac_cv_func_isnanf" = x""yes; then :
60276 cat >>confdefs.h <<_ACEOF
60277 #define HAVE_ISNANF 1
60278 _ACEOF
60281 done
60283 else
60285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60286 $as_echo_n "checking for _isnanf declaration... " >&6; }
60287 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60288 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60289 $as_echo_n "(cached) " >&6
60290 else
60293 ac_ext=cpp
60294 ac_cpp='$CXXCPP $CPPFLAGS'
60295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60300 /* end confdefs.h. */
60301 #include <math.h>
60302 #ifdef HAVE_IEEEFP_H
60303 #include <ieeefp.h>
60304 #endif
60307 main ()
60309 _isnanf(0);
60311 return 0;
60313 _ACEOF
60314 if ac_fn_cxx_try_compile "$LINENO"; then :
60315 glibcxx_cv_func__isnanf_use=yes
60316 else
60317 glibcxx_cv_func__isnanf_use=no
60319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60320 ac_ext=c
60321 ac_cpp='$CPP $CPPFLAGS'
60322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60331 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60333 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60334 for ac_func in _isnanf
60335 do :
60336 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60337 if test "x$ac_cv_func__isnanf" = x""yes; then :
60338 cat >>confdefs.h <<_ACEOF
60339 #define HAVE__ISNANF 1
60340 _ACEOF
60343 done
60352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60353 $as_echo_n "checking for isinff declaration... " >&6; }
60354 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60355 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60356 $as_echo_n "(cached) " >&6
60357 else
60360 ac_ext=cpp
60361 ac_cpp='$CXXCPP $CPPFLAGS'
60362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60367 /* end confdefs.h. */
60368 #include <math.h>
60369 #ifdef HAVE_IEEEFP_H
60370 #include <ieeefp.h>
60371 #endif
60374 main ()
60376 isinff(0);
60378 return 0;
60380 _ACEOF
60381 if ac_fn_cxx_try_compile "$LINENO"; then :
60382 glibcxx_cv_func_isinff_use=yes
60383 else
60384 glibcxx_cv_func_isinff_use=no
60386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60387 ac_ext=c
60388 ac_cpp='$CPP $CPPFLAGS'
60389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60398 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60400 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60401 for ac_func in isinff
60402 do :
60403 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60404 if test "x$ac_cv_func_isinff" = x""yes; then :
60405 cat >>confdefs.h <<_ACEOF
60406 #define HAVE_ISINFF 1
60407 _ACEOF
60410 done
60412 else
60414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60415 $as_echo_n "checking for _isinff declaration... " >&6; }
60416 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60417 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60418 $as_echo_n "(cached) " >&6
60419 else
60422 ac_ext=cpp
60423 ac_cpp='$CXXCPP $CPPFLAGS'
60424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60429 /* end confdefs.h. */
60430 #include <math.h>
60431 #ifdef HAVE_IEEEFP_H
60432 #include <ieeefp.h>
60433 #endif
60436 main ()
60438 _isinff(0);
60440 return 0;
60442 _ACEOF
60443 if ac_fn_cxx_try_compile "$LINENO"; then :
60444 glibcxx_cv_func__isinff_use=yes
60445 else
60446 glibcxx_cv_func__isinff_use=no
60448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60449 ac_ext=c
60450 ac_cpp='$CPP $CPPFLAGS'
60451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60460 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60462 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60463 for ac_func in _isinff
60464 do :
60465 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60466 if test "x$ac_cv_func__isinff" = x""yes; then :
60467 cat >>confdefs.h <<_ACEOF
60468 #define HAVE__ISINFF 1
60469 _ACEOF
60472 done
60481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60482 $as_echo_n "checking for atan2f declaration... " >&6; }
60483 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60484 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60485 $as_echo_n "(cached) " >&6
60486 else
60489 ac_ext=cpp
60490 ac_cpp='$CXXCPP $CPPFLAGS'
60491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60496 /* end confdefs.h. */
60497 #include <math.h>
60499 main ()
60501 atan2f(0, 0);
60503 return 0;
60505 _ACEOF
60506 if ac_fn_cxx_try_compile "$LINENO"; then :
60507 glibcxx_cv_func_atan2f_use=yes
60508 else
60509 glibcxx_cv_func_atan2f_use=no
60511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60512 ac_ext=c
60513 ac_cpp='$CPP $CPPFLAGS'
60514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60523 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60525 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60526 for ac_func in atan2f
60527 do :
60528 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60529 if test "x$ac_cv_func_atan2f" = x""yes; then :
60530 cat >>confdefs.h <<_ACEOF
60531 #define HAVE_ATAN2F 1
60532 _ACEOF
60535 done
60537 else
60539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60540 $as_echo_n "checking for _atan2f declaration... " >&6; }
60541 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60542 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60543 $as_echo_n "(cached) " >&6
60544 else
60547 ac_ext=cpp
60548 ac_cpp='$CXXCPP $CPPFLAGS'
60549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60554 /* end confdefs.h. */
60555 #include <math.h>
60557 main ()
60559 _atan2f(0, 0);
60561 return 0;
60563 _ACEOF
60564 if ac_fn_cxx_try_compile "$LINENO"; then :
60565 glibcxx_cv_func__atan2f_use=yes
60566 else
60567 glibcxx_cv_func__atan2f_use=no
60569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60570 ac_ext=c
60571 ac_cpp='$CPP $CPPFLAGS'
60572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60581 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60583 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60584 for ac_func in _atan2f
60585 do :
60586 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60587 if test "x$ac_cv_func__atan2f" = x""yes; then :
60588 cat >>confdefs.h <<_ACEOF
60589 #define HAVE__ATAN2F 1
60590 _ACEOF
60593 done
60602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60603 $as_echo_n "checking for fabsf declaration... " >&6; }
60604 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60605 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60606 $as_echo_n "(cached) " >&6
60607 else
60610 ac_ext=cpp
60611 ac_cpp='$CXXCPP $CPPFLAGS'
60612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60617 /* end confdefs.h. */
60618 #include <math.h>
60619 #ifdef HAVE_IEEEFP_H
60620 #include <ieeefp.h>
60621 #endif
60624 main ()
60626 fabsf(0);
60628 return 0;
60630 _ACEOF
60631 if ac_fn_cxx_try_compile "$LINENO"; then :
60632 glibcxx_cv_func_fabsf_use=yes
60633 else
60634 glibcxx_cv_func_fabsf_use=no
60636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60637 ac_ext=c
60638 ac_cpp='$CPP $CPPFLAGS'
60639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60648 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60650 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60651 for ac_func in fabsf
60652 do :
60653 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60654 if test "x$ac_cv_func_fabsf" = x""yes; then :
60655 cat >>confdefs.h <<_ACEOF
60656 #define HAVE_FABSF 1
60657 _ACEOF
60660 done
60662 else
60664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60665 $as_echo_n "checking for _fabsf declaration... " >&6; }
60666 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60667 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60668 $as_echo_n "(cached) " >&6
60669 else
60672 ac_ext=cpp
60673 ac_cpp='$CXXCPP $CPPFLAGS'
60674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60679 /* end confdefs.h. */
60680 #include <math.h>
60681 #ifdef HAVE_IEEEFP_H
60682 #include <ieeefp.h>
60683 #endif
60686 main ()
60688 _fabsf(0);
60690 return 0;
60692 _ACEOF
60693 if ac_fn_cxx_try_compile "$LINENO"; then :
60694 glibcxx_cv_func__fabsf_use=yes
60695 else
60696 glibcxx_cv_func__fabsf_use=no
60698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60699 ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60710 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60712 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60713 for ac_func in _fabsf
60714 do :
60715 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60716 if test "x$ac_cv_func__fabsf" = x""yes; then :
60717 cat >>confdefs.h <<_ACEOF
60718 #define HAVE__FABSF 1
60719 _ACEOF
60722 done
60731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60732 $as_echo_n "checking for fmodf declaration... " >&6; }
60733 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60734 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60735 $as_echo_n "(cached) " >&6
60736 else
60739 ac_ext=cpp
60740 ac_cpp='$CXXCPP $CPPFLAGS'
60741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60746 /* end confdefs.h. */
60747 #include <math.h>
60749 main ()
60751 fmodf(0, 0);
60753 return 0;
60755 _ACEOF
60756 if ac_fn_cxx_try_compile "$LINENO"; then :
60757 glibcxx_cv_func_fmodf_use=yes
60758 else
60759 glibcxx_cv_func_fmodf_use=no
60761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60762 ac_ext=c
60763 ac_cpp='$CPP $CPPFLAGS'
60764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60773 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60775 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60776 for ac_func in fmodf
60777 do :
60778 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60779 if test "x$ac_cv_func_fmodf" = x""yes; then :
60780 cat >>confdefs.h <<_ACEOF
60781 #define HAVE_FMODF 1
60782 _ACEOF
60785 done
60787 else
60789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60790 $as_echo_n "checking for _fmodf declaration... " >&6; }
60791 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60792 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60793 $as_echo_n "(cached) " >&6
60794 else
60797 ac_ext=cpp
60798 ac_cpp='$CXXCPP $CPPFLAGS'
60799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60804 /* end confdefs.h. */
60805 #include <math.h>
60807 main ()
60809 _fmodf(0, 0);
60811 return 0;
60813 _ACEOF
60814 if ac_fn_cxx_try_compile "$LINENO"; then :
60815 glibcxx_cv_func__fmodf_use=yes
60816 else
60817 glibcxx_cv_func__fmodf_use=no
60819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60820 ac_ext=c
60821 ac_cpp='$CPP $CPPFLAGS'
60822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60831 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60833 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60834 for ac_func in _fmodf
60835 do :
60836 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60837 if test "x$ac_cv_func__fmodf" = x""yes; then :
60838 cat >>confdefs.h <<_ACEOF
60839 #define HAVE__FMODF 1
60840 _ACEOF
60843 done
60852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60853 $as_echo_n "checking for frexpf declaration... " >&6; }
60854 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60855 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60856 $as_echo_n "(cached) " >&6
60857 else
60860 ac_ext=cpp
60861 ac_cpp='$CXXCPP $CPPFLAGS'
60862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60867 /* end confdefs.h. */
60868 #include <math.h>
60870 main ()
60872 frexpf(0, 0);
60874 return 0;
60876 _ACEOF
60877 if ac_fn_cxx_try_compile "$LINENO"; then :
60878 glibcxx_cv_func_frexpf_use=yes
60879 else
60880 glibcxx_cv_func_frexpf_use=no
60882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60883 ac_ext=c
60884 ac_cpp='$CPP $CPPFLAGS'
60885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60894 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60896 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60897 for ac_func in frexpf
60898 do :
60899 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60900 if test "x$ac_cv_func_frexpf" = x""yes; then :
60901 cat >>confdefs.h <<_ACEOF
60902 #define HAVE_FREXPF 1
60903 _ACEOF
60906 done
60908 else
60910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60911 $as_echo_n "checking for _frexpf declaration... " >&6; }
60912 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60913 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60914 $as_echo_n "(cached) " >&6
60915 else
60918 ac_ext=cpp
60919 ac_cpp='$CXXCPP $CPPFLAGS'
60920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60925 /* end confdefs.h. */
60926 #include <math.h>
60928 main ()
60930 _frexpf(0, 0);
60932 return 0;
60934 _ACEOF
60935 if ac_fn_cxx_try_compile "$LINENO"; then :
60936 glibcxx_cv_func__frexpf_use=yes
60937 else
60938 glibcxx_cv_func__frexpf_use=no
60940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60941 ac_ext=c
60942 ac_cpp='$CPP $CPPFLAGS'
60943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60952 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60954 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60955 for ac_func in _frexpf
60956 do :
60957 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60958 if test "x$ac_cv_func__frexpf" = x""yes; then :
60959 cat >>confdefs.h <<_ACEOF
60960 #define HAVE__FREXPF 1
60961 _ACEOF
60964 done
60973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60974 $as_echo_n "checking for hypotf declaration... " >&6; }
60975 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60976 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60977 $as_echo_n "(cached) " >&6
60978 else
60981 ac_ext=cpp
60982 ac_cpp='$CXXCPP $CPPFLAGS'
60983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60988 /* end confdefs.h. */
60989 #include <math.h>
60991 main ()
60993 hypotf(0, 0);
60995 return 0;
60997 _ACEOF
60998 if ac_fn_cxx_try_compile "$LINENO"; then :
60999 glibcxx_cv_func_hypotf_use=yes
61000 else
61001 glibcxx_cv_func_hypotf_use=no
61003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61004 ac_ext=c
61005 ac_cpp='$CPP $CPPFLAGS'
61006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61015 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61017 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61018 for ac_func in hypotf
61019 do :
61020 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61021 if test "x$ac_cv_func_hypotf" = x""yes; then :
61022 cat >>confdefs.h <<_ACEOF
61023 #define HAVE_HYPOTF 1
61024 _ACEOF
61027 done
61029 else
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61032 $as_echo_n "checking for _hypotf declaration... " >&6; }
61033 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61034 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61035 $as_echo_n "(cached) " >&6
61036 else
61039 ac_ext=cpp
61040 ac_cpp='$CXXCPP $CPPFLAGS'
61041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61046 /* end confdefs.h. */
61047 #include <math.h>
61049 main ()
61051 _hypotf(0, 0);
61053 return 0;
61055 _ACEOF
61056 if ac_fn_cxx_try_compile "$LINENO"; then :
61057 glibcxx_cv_func__hypotf_use=yes
61058 else
61059 glibcxx_cv_func__hypotf_use=no
61061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61062 ac_ext=c
61063 ac_cpp='$CPP $CPPFLAGS'
61064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61073 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61075 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61076 for ac_func in _hypotf
61077 do :
61078 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61079 if test "x$ac_cv_func__hypotf" = x""yes; then :
61080 cat >>confdefs.h <<_ACEOF
61081 #define HAVE__HYPOTF 1
61082 _ACEOF
61085 done
61094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61095 $as_echo_n "checking for ldexpf declaration... " >&6; }
61096 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61097 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61098 $as_echo_n "(cached) " >&6
61099 else
61102 ac_ext=cpp
61103 ac_cpp='$CXXCPP $CPPFLAGS'
61104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61109 /* end confdefs.h. */
61110 #include <math.h>
61112 main ()
61114 ldexpf(0, 0);
61116 return 0;
61118 _ACEOF
61119 if ac_fn_cxx_try_compile "$LINENO"; then :
61120 glibcxx_cv_func_ldexpf_use=yes
61121 else
61122 glibcxx_cv_func_ldexpf_use=no
61124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61125 ac_ext=c
61126 ac_cpp='$CPP $CPPFLAGS'
61127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61136 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61138 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61139 for ac_func in ldexpf
61140 do :
61141 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61142 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61143 cat >>confdefs.h <<_ACEOF
61144 #define HAVE_LDEXPF 1
61145 _ACEOF
61148 done
61150 else
61152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61153 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61154 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61155 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61156 $as_echo_n "(cached) " >&6
61157 else
61160 ac_ext=cpp
61161 ac_cpp='$CXXCPP $CPPFLAGS'
61162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61167 /* end confdefs.h. */
61168 #include <math.h>
61170 main ()
61172 _ldexpf(0, 0);
61174 return 0;
61176 _ACEOF
61177 if ac_fn_cxx_try_compile "$LINENO"; then :
61178 glibcxx_cv_func__ldexpf_use=yes
61179 else
61180 glibcxx_cv_func__ldexpf_use=no
61182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61183 ac_ext=c
61184 ac_cpp='$CPP $CPPFLAGS'
61185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61194 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61196 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61197 for ac_func in _ldexpf
61198 do :
61199 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61200 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61201 cat >>confdefs.h <<_ACEOF
61202 #define HAVE__LDEXPF 1
61203 _ACEOF
61206 done
61215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61216 $as_echo_n "checking for logf declaration... " >&6; }
61217 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61218 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61219 $as_echo_n "(cached) " >&6
61220 else
61223 ac_ext=cpp
61224 ac_cpp='$CXXCPP $CPPFLAGS'
61225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61230 /* end confdefs.h. */
61231 #include <math.h>
61232 #ifdef HAVE_IEEEFP_H
61233 #include <ieeefp.h>
61234 #endif
61237 main ()
61239 logf(0);
61241 return 0;
61243 _ACEOF
61244 if ac_fn_cxx_try_compile "$LINENO"; then :
61245 glibcxx_cv_func_logf_use=yes
61246 else
61247 glibcxx_cv_func_logf_use=no
61249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61250 ac_ext=c
61251 ac_cpp='$CPP $CPPFLAGS'
61252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61261 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61263 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61264 for ac_func in logf
61265 do :
61266 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61267 if test "x$ac_cv_func_logf" = x""yes; then :
61268 cat >>confdefs.h <<_ACEOF
61269 #define HAVE_LOGF 1
61270 _ACEOF
61273 done
61275 else
61277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61278 $as_echo_n "checking for _logf declaration... " >&6; }
61279 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61280 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61281 $as_echo_n "(cached) " >&6
61282 else
61285 ac_ext=cpp
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61292 /* end confdefs.h. */
61293 #include <math.h>
61294 #ifdef HAVE_IEEEFP_H
61295 #include <ieeefp.h>
61296 #endif
61299 main ()
61301 _logf(0);
61303 return 0;
61305 _ACEOF
61306 if ac_fn_cxx_try_compile "$LINENO"; then :
61307 glibcxx_cv_func__logf_use=yes
61308 else
61309 glibcxx_cv_func__logf_use=no
61311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61312 ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61323 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61325 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61326 for ac_func in _logf
61327 do :
61328 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61329 if test "x$ac_cv_func__logf" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define HAVE__LOGF 1
61332 _ACEOF
61335 done
61344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61345 $as_echo_n "checking for log10f declaration... " >&6; }
61346 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61347 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61348 $as_echo_n "(cached) " >&6
61349 else
61352 ac_ext=cpp
61353 ac_cpp='$CXXCPP $CPPFLAGS'
61354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61359 /* end confdefs.h. */
61360 #include <math.h>
61361 #ifdef HAVE_IEEEFP_H
61362 #include <ieeefp.h>
61363 #endif
61366 main ()
61368 log10f(0);
61370 return 0;
61372 _ACEOF
61373 if ac_fn_cxx_try_compile "$LINENO"; then :
61374 glibcxx_cv_func_log10f_use=yes
61375 else
61376 glibcxx_cv_func_log10f_use=no
61378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61379 ac_ext=c
61380 ac_cpp='$CPP $CPPFLAGS'
61381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61390 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61392 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61393 for ac_func in log10f
61394 do :
61395 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61396 if test "x$ac_cv_func_log10f" = x""yes; then :
61397 cat >>confdefs.h <<_ACEOF
61398 #define HAVE_LOG10F 1
61399 _ACEOF
61402 done
61404 else
61406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61407 $as_echo_n "checking for _log10f declaration... " >&6; }
61408 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61409 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61410 $as_echo_n "(cached) " >&6
61411 else
61414 ac_ext=cpp
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61421 /* end confdefs.h. */
61422 #include <math.h>
61423 #ifdef HAVE_IEEEFP_H
61424 #include <ieeefp.h>
61425 #endif
61428 main ()
61430 _log10f(0);
61432 return 0;
61434 _ACEOF
61435 if ac_fn_cxx_try_compile "$LINENO"; then :
61436 glibcxx_cv_func__log10f_use=yes
61437 else
61438 glibcxx_cv_func__log10f_use=no
61440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61441 ac_ext=c
61442 ac_cpp='$CPP $CPPFLAGS'
61443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61452 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61454 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61455 for ac_func in _log10f
61456 do :
61457 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61458 if test "x$ac_cv_func__log10f" = x""yes; then :
61459 cat >>confdefs.h <<_ACEOF
61460 #define HAVE__LOG10F 1
61461 _ACEOF
61464 done
61473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61474 $as_echo_n "checking for modff declaration... " >&6; }
61475 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61476 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61477 $as_echo_n "(cached) " >&6
61478 else
61481 ac_ext=cpp
61482 ac_cpp='$CXXCPP $CPPFLAGS'
61483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61488 /* end confdefs.h. */
61489 #include <math.h>
61491 main ()
61493 modff(0, 0);
61495 return 0;
61497 _ACEOF
61498 if ac_fn_cxx_try_compile "$LINENO"; then :
61499 glibcxx_cv_func_modff_use=yes
61500 else
61501 glibcxx_cv_func_modff_use=no
61503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61504 ac_ext=c
61505 ac_cpp='$CPP $CPPFLAGS'
61506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61515 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61517 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61518 for ac_func in modff
61519 do :
61520 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61521 if test "x$ac_cv_func_modff" = x""yes; then :
61522 cat >>confdefs.h <<_ACEOF
61523 #define HAVE_MODFF 1
61524 _ACEOF
61527 done
61529 else
61531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61532 $as_echo_n "checking for _modff declaration... " >&6; }
61533 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61534 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61535 $as_echo_n "(cached) " >&6
61536 else
61539 ac_ext=cpp
61540 ac_cpp='$CXXCPP $CPPFLAGS'
61541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61546 /* end confdefs.h. */
61547 #include <math.h>
61549 main ()
61551 _modff(0, 0);
61553 return 0;
61555 _ACEOF
61556 if ac_fn_cxx_try_compile "$LINENO"; then :
61557 glibcxx_cv_func__modff_use=yes
61558 else
61559 glibcxx_cv_func__modff_use=no
61561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61562 ac_ext=c
61563 ac_cpp='$CPP $CPPFLAGS'
61564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61573 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61575 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61576 for ac_func in _modff
61577 do :
61578 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61579 if test "x$ac_cv_func__modff" = x""yes; then :
61580 cat >>confdefs.h <<_ACEOF
61581 #define HAVE__MODFF 1
61582 _ACEOF
61585 done
61594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61595 $as_echo_n "checking for modf declaration... " >&6; }
61596 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61597 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61598 $as_echo_n "(cached) " >&6
61599 else
61602 ac_ext=cpp
61603 ac_cpp='$CXXCPP $CPPFLAGS'
61604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61609 /* end confdefs.h. */
61610 #include <math.h>
61612 main ()
61614 modf(0, 0);
61616 return 0;
61618 _ACEOF
61619 if ac_fn_cxx_try_compile "$LINENO"; then :
61620 glibcxx_cv_func_modf_use=yes
61621 else
61622 glibcxx_cv_func_modf_use=no
61624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61625 ac_ext=c
61626 ac_cpp='$CPP $CPPFLAGS'
61627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61636 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61638 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61639 for ac_func in modf
61640 do :
61641 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61642 if test "x$ac_cv_func_modf" = x""yes; then :
61643 cat >>confdefs.h <<_ACEOF
61644 #define HAVE_MODF 1
61645 _ACEOF
61648 done
61650 else
61652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61653 $as_echo_n "checking for _modf declaration... " >&6; }
61654 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61655 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61656 $as_echo_n "(cached) " >&6
61657 else
61660 ac_ext=cpp
61661 ac_cpp='$CXXCPP $CPPFLAGS'
61662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61667 /* end confdefs.h. */
61668 #include <math.h>
61670 main ()
61672 _modf(0, 0);
61674 return 0;
61676 _ACEOF
61677 if ac_fn_cxx_try_compile "$LINENO"; then :
61678 glibcxx_cv_func__modf_use=yes
61679 else
61680 glibcxx_cv_func__modf_use=no
61682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61683 ac_ext=c
61684 ac_cpp='$CPP $CPPFLAGS'
61685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61694 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61696 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61697 for ac_func in _modf
61698 do :
61699 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61700 if test "x$ac_cv_func__modf" = x""yes; then :
61701 cat >>confdefs.h <<_ACEOF
61702 #define HAVE__MODF 1
61703 _ACEOF
61706 done
61715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61716 $as_echo_n "checking for powf declaration... " >&6; }
61717 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61718 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61719 $as_echo_n "(cached) " >&6
61720 else
61723 ac_ext=cpp
61724 ac_cpp='$CXXCPP $CPPFLAGS'
61725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61730 /* end confdefs.h. */
61731 #include <math.h>
61733 main ()
61735 powf(0, 0);
61737 return 0;
61739 _ACEOF
61740 if ac_fn_cxx_try_compile "$LINENO"; then :
61741 glibcxx_cv_func_powf_use=yes
61742 else
61743 glibcxx_cv_func_powf_use=no
61745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61746 ac_ext=c
61747 ac_cpp='$CPP $CPPFLAGS'
61748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61757 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61759 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61760 for ac_func in powf
61761 do :
61762 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61763 if test "x$ac_cv_func_powf" = x""yes; then :
61764 cat >>confdefs.h <<_ACEOF
61765 #define HAVE_POWF 1
61766 _ACEOF
61769 done
61771 else
61773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61774 $as_echo_n "checking for _powf declaration... " >&6; }
61775 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61776 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61777 $as_echo_n "(cached) " >&6
61778 else
61781 ac_ext=cpp
61782 ac_cpp='$CXXCPP $CPPFLAGS'
61783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61788 /* end confdefs.h. */
61789 #include <math.h>
61791 main ()
61793 _powf(0, 0);
61795 return 0;
61797 _ACEOF
61798 if ac_fn_cxx_try_compile "$LINENO"; then :
61799 glibcxx_cv_func__powf_use=yes
61800 else
61801 glibcxx_cv_func__powf_use=no
61803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61804 ac_ext=c
61805 ac_cpp='$CPP $CPPFLAGS'
61806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61815 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61817 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61818 for ac_func in _powf
61819 do :
61820 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61821 if test "x$ac_cv_func__powf" = x""yes; then :
61822 cat >>confdefs.h <<_ACEOF
61823 #define HAVE__POWF 1
61824 _ACEOF
61827 done
61836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61837 $as_echo_n "checking for sqrtf declaration... " >&6; }
61838 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61839 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61840 $as_echo_n "(cached) " >&6
61841 else
61844 ac_ext=cpp
61845 ac_cpp='$CXXCPP $CPPFLAGS'
61846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61851 /* end confdefs.h. */
61852 #include <math.h>
61853 #ifdef HAVE_IEEEFP_H
61854 #include <ieeefp.h>
61855 #endif
61858 main ()
61860 sqrtf(0);
61862 return 0;
61864 _ACEOF
61865 if ac_fn_cxx_try_compile "$LINENO"; then :
61866 glibcxx_cv_func_sqrtf_use=yes
61867 else
61868 glibcxx_cv_func_sqrtf_use=no
61870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61871 ac_ext=c
61872 ac_cpp='$CPP $CPPFLAGS'
61873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61882 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61884 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61885 for ac_func in sqrtf
61886 do :
61887 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61888 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61889 cat >>confdefs.h <<_ACEOF
61890 #define HAVE_SQRTF 1
61891 _ACEOF
61894 done
61896 else
61898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61899 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61900 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61901 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61902 $as_echo_n "(cached) " >&6
61903 else
61906 ac_ext=cpp
61907 ac_cpp='$CXXCPP $CPPFLAGS'
61908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61913 /* end confdefs.h. */
61914 #include <math.h>
61915 #ifdef HAVE_IEEEFP_H
61916 #include <ieeefp.h>
61917 #endif
61920 main ()
61922 _sqrtf(0);
61924 return 0;
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928 glibcxx_cv_func__sqrtf_use=yes
61929 else
61930 glibcxx_cv_func__sqrtf_use=no
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61944 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61946 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61947 for ac_func in _sqrtf
61948 do :
61949 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61950 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61951 cat >>confdefs.h <<_ACEOF
61952 #define HAVE__SQRTF 1
61953 _ACEOF
61956 done
61965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61966 $as_echo_n "checking for sincosf declaration... " >&6; }
61967 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61968 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61969 $as_echo_n "(cached) " >&6
61970 else
61973 ac_ext=cpp
61974 ac_cpp='$CXXCPP $CPPFLAGS'
61975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61980 /* end confdefs.h. */
61981 #include <math.h>
61983 main ()
61985 sincosf(0, 0, 0);
61987 return 0;
61989 _ACEOF
61990 if ac_fn_cxx_try_compile "$LINENO"; then :
61991 glibcxx_cv_func_sincosf_use=yes
61992 else
61993 glibcxx_cv_func_sincosf_use=no
61995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61996 ac_ext=c
61997 ac_cpp='$CPP $CPPFLAGS'
61998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62007 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62009 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62010 for ac_func in sincosf
62011 do :
62012 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62013 if test "x$ac_cv_func_sincosf" = x""yes; then :
62014 cat >>confdefs.h <<_ACEOF
62015 #define HAVE_SINCOSF 1
62016 _ACEOF
62019 done
62021 else
62023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62024 $as_echo_n "checking for _sincosf declaration... " >&6; }
62025 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62026 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62027 $as_echo_n "(cached) " >&6
62028 else
62031 ac_ext=cpp
62032 ac_cpp='$CXXCPP $CPPFLAGS'
62033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62038 /* end confdefs.h. */
62039 #include <math.h>
62041 main ()
62043 _sincosf(0, 0, 0);
62045 return 0;
62047 _ACEOF
62048 if ac_fn_cxx_try_compile "$LINENO"; then :
62049 glibcxx_cv_func__sincosf_use=yes
62050 else
62051 glibcxx_cv_func__sincosf_use=no
62053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62054 ac_ext=c
62055 ac_cpp='$CPP $CPPFLAGS'
62056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62065 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62067 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62068 for ac_func in _sincosf
62069 do :
62070 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62071 if test "x$ac_cv_func__sincosf" = x""yes; then :
62072 cat >>confdefs.h <<_ACEOF
62073 #define HAVE__SINCOSF 1
62074 _ACEOF
62077 done
62086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62087 $as_echo_n "checking for finitef declaration... " >&6; }
62088 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62089 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62090 $as_echo_n "(cached) " >&6
62091 else
62094 ac_ext=cpp
62095 ac_cpp='$CXXCPP $CPPFLAGS'
62096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62101 /* end confdefs.h. */
62102 #include <math.h>
62103 #ifdef HAVE_IEEEFP_H
62104 #include <ieeefp.h>
62105 #endif
62108 main ()
62110 finitef(0);
62112 return 0;
62114 _ACEOF
62115 if ac_fn_cxx_try_compile "$LINENO"; then :
62116 glibcxx_cv_func_finitef_use=yes
62117 else
62118 glibcxx_cv_func_finitef_use=no
62120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62121 ac_ext=c
62122 ac_cpp='$CPP $CPPFLAGS'
62123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62132 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62134 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62135 for ac_func in finitef
62136 do :
62137 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62138 if test "x$ac_cv_func_finitef" = x""yes; then :
62139 cat >>confdefs.h <<_ACEOF
62140 #define HAVE_FINITEF 1
62141 _ACEOF
62144 done
62146 else
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62149 $as_echo_n "checking for _finitef declaration... " >&6; }
62150 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62151 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62152 $as_echo_n "(cached) " >&6
62153 else
62156 ac_ext=cpp
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62163 /* end confdefs.h. */
62164 #include <math.h>
62165 #ifdef HAVE_IEEEFP_H
62166 #include <ieeefp.h>
62167 #endif
62170 main ()
62172 _finitef(0);
62174 return 0;
62176 _ACEOF
62177 if ac_fn_cxx_try_compile "$LINENO"; then :
62178 glibcxx_cv_func__finitef_use=yes
62179 else
62180 glibcxx_cv_func__finitef_use=no
62182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62183 ac_ext=c
62184 ac_cpp='$CPP $CPPFLAGS'
62185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62194 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62196 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62197 for ac_func in _finitef
62198 do :
62199 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62200 if test "x$ac_cv_func__finitef" = x""yes; then :
62201 cat >>confdefs.h <<_ACEOF
62202 #define HAVE__FINITEF 1
62203 _ACEOF
62206 done
62215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62216 $as_echo_n "checking for long double trig functions... " >&6; }
62217 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62218 $as_echo_n "(cached) " >&6
62219 else
62222 ac_ext=cpp
62223 ac_cpp='$CXXCPP $CPPFLAGS'
62224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62229 /* end confdefs.h. */
62230 #include <math.h>
62232 main ()
62234 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62236 return 0;
62238 _ACEOF
62239 if ac_fn_cxx_try_compile "$LINENO"; then :
62240 glibcxx_cv_func_long_double_trig_use=yes
62241 else
62242 glibcxx_cv_func_long_double_trig_use=no
62244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62245 ac_ext=c
62246 ac_cpp='$CPP $CPPFLAGS'
62247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62254 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62255 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62256 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62257 do :
62258 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62260 eval as_val=\$$as_ac_var
62261 if test "x$as_val" = x""yes; then :
62262 cat >>confdefs.h <<_ACEOF
62263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62264 _ACEOF
62267 done
62269 else
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62271 $as_echo_n "checking for _long double trig functions... " >&6; }
62272 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62274 else
62277 ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62285 #include <math.h>
62287 main ()
62289 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62291 return 0;
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func__long_double_trig_use=yes
62296 else
62297 glibcxx_cv_func__long_double_trig_use=no
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62309 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62310 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62311 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62312 do :
62313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62315 eval as_val=\$$as_ac_var
62316 if test "x$as_val" = x""yes; then :
62317 cat >>confdefs.h <<_ACEOF
62318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62319 _ACEOF
62322 done
62331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62332 $as_echo_n "checking for long double round functions... " >&6; }
62333 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62334 $as_echo_n "(cached) " >&6
62335 else
62338 ac_ext=cpp
62339 ac_cpp='$CXXCPP $CPPFLAGS'
62340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62345 /* end confdefs.h. */
62346 #include <math.h>
62348 main ()
62350 ceill (0); floorl (0);
62352 return 0;
62354 _ACEOF
62355 if ac_fn_cxx_try_compile "$LINENO"; then :
62356 glibcxx_cv_func_long_double_round_use=yes
62357 else
62358 glibcxx_cv_func_long_double_round_use=no
62360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62361 ac_ext=c
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62370 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62371 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62372 for ac_func in ceill floorl
62373 do :
62374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62376 eval as_val=\$$as_ac_var
62377 if test "x$as_val" = x""yes; then :
62378 cat >>confdefs.h <<_ACEOF
62379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62380 _ACEOF
62383 done
62385 else
62386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62387 $as_echo_n "checking for _long double round functions... " >&6; }
62388 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62389 $as_echo_n "(cached) " >&6
62390 else
62393 ac_ext=cpp
62394 ac_cpp='$CXXCPP $CPPFLAGS'
62395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62400 /* end confdefs.h. */
62401 #include <math.h>
62403 main ()
62405 _ceill (0); _floorl (0);
62407 return 0;
62409 _ACEOF
62410 if ac_fn_cxx_try_compile "$LINENO"; then :
62411 glibcxx_cv_func__long_double_round_use=yes
62412 else
62413 glibcxx_cv_func__long_double_round_use=no
62415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62416 ac_ext=c
62417 ac_cpp='$CPP $CPPFLAGS'
62418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62425 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62426 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62427 for ac_func in _ceill _floorl
62428 do :
62429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62431 eval as_val=\$$as_ac_var
62432 if test "x$as_val" = x""yes; then :
62433 cat >>confdefs.h <<_ACEOF
62434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62435 _ACEOF
62438 done
62448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62449 $as_echo_n "checking for isnanl declaration... " >&6; }
62450 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62451 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62452 $as_echo_n "(cached) " >&6
62453 else
62456 ac_ext=cpp
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62463 /* end confdefs.h. */
62464 #include <math.h>
62465 #ifdef HAVE_IEEEFP_H
62466 #include <ieeefp.h>
62467 #endif
62470 main ()
62472 isnanl(0);
62474 return 0;
62476 _ACEOF
62477 if ac_fn_cxx_try_compile "$LINENO"; then :
62478 glibcxx_cv_func_isnanl_use=yes
62479 else
62480 glibcxx_cv_func_isnanl_use=no
62482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62483 ac_ext=c
62484 ac_cpp='$CPP $CPPFLAGS'
62485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62494 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62496 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62497 for ac_func in isnanl
62498 do :
62499 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62500 if test "x$ac_cv_func_isnanl" = x""yes; then :
62501 cat >>confdefs.h <<_ACEOF
62502 #define HAVE_ISNANL 1
62503 _ACEOF
62506 done
62508 else
62510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62511 $as_echo_n "checking for _isnanl declaration... " >&6; }
62512 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62513 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62514 $as_echo_n "(cached) " >&6
62515 else
62518 ac_ext=cpp
62519 ac_cpp='$CXXCPP $CPPFLAGS'
62520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62525 /* end confdefs.h. */
62526 #include <math.h>
62527 #ifdef HAVE_IEEEFP_H
62528 #include <ieeefp.h>
62529 #endif
62532 main ()
62534 _isnanl(0);
62536 return 0;
62538 _ACEOF
62539 if ac_fn_cxx_try_compile "$LINENO"; then :
62540 glibcxx_cv_func__isnanl_use=yes
62541 else
62542 glibcxx_cv_func__isnanl_use=no
62544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62545 ac_ext=c
62546 ac_cpp='$CPP $CPPFLAGS'
62547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62556 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62558 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62559 for ac_func in _isnanl
62560 do :
62561 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62562 if test "x$ac_cv_func__isnanl" = x""yes; then :
62563 cat >>confdefs.h <<_ACEOF
62564 #define HAVE__ISNANL 1
62565 _ACEOF
62568 done
62577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62578 $as_echo_n "checking for isinfl declaration... " >&6; }
62579 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62580 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62581 $as_echo_n "(cached) " >&6
62582 else
62585 ac_ext=cpp
62586 ac_cpp='$CXXCPP $CPPFLAGS'
62587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62592 /* end confdefs.h. */
62593 #include <math.h>
62594 #ifdef HAVE_IEEEFP_H
62595 #include <ieeefp.h>
62596 #endif
62599 main ()
62601 isinfl(0);
62603 return 0;
62605 _ACEOF
62606 if ac_fn_cxx_try_compile "$LINENO"; then :
62607 glibcxx_cv_func_isinfl_use=yes
62608 else
62609 glibcxx_cv_func_isinfl_use=no
62611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62612 ac_ext=c
62613 ac_cpp='$CPP $CPPFLAGS'
62614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62623 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62625 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62626 for ac_func in isinfl
62627 do :
62628 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62629 if test "x$ac_cv_func_isinfl" = x""yes; then :
62630 cat >>confdefs.h <<_ACEOF
62631 #define HAVE_ISINFL 1
62632 _ACEOF
62635 done
62637 else
62639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62640 $as_echo_n "checking for _isinfl declaration... " >&6; }
62641 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62642 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62643 $as_echo_n "(cached) " >&6
62644 else
62647 ac_ext=cpp
62648 ac_cpp='$CXXCPP $CPPFLAGS'
62649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62654 /* end confdefs.h. */
62655 #include <math.h>
62656 #ifdef HAVE_IEEEFP_H
62657 #include <ieeefp.h>
62658 #endif
62661 main ()
62663 _isinfl(0);
62665 return 0;
62667 _ACEOF
62668 if ac_fn_cxx_try_compile "$LINENO"; then :
62669 glibcxx_cv_func__isinfl_use=yes
62670 else
62671 glibcxx_cv_func__isinfl_use=no
62673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62674 ac_ext=c
62675 ac_cpp='$CPP $CPPFLAGS'
62676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62685 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62687 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62688 for ac_func in _isinfl
62689 do :
62690 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62691 if test "x$ac_cv_func__isinfl" = x""yes; then :
62692 cat >>confdefs.h <<_ACEOF
62693 #define HAVE__ISINFL 1
62694 _ACEOF
62697 done
62706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62707 $as_echo_n "checking for atan2l declaration... " >&6; }
62708 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62709 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62710 $as_echo_n "(cached) " >&6
62711 else
62714 ac_ext=cpp
62715 ac_cpp='$CXXCPP $CPPFLAGS'
62716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62721 /* end confdefs.h. */
62722 #include <math.h>
62724 main ()
62726 atan2l(0, 0);
62728 return 0;
62730 _ACEOF
62731 if ac_fn_cxx_try_compile "$LINENO"; then :
62732 glibcxx_cv_func_atan2l_use=yes
62733 else
62734 glibcxx_cv_func_atan2l_use=no
62736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62737 ac_ext=c
62738 ac_cpp='$CPP $CPPFLAGS'
62739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62748 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62750 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62751 for ac_func in atan2l
62752 do :
62753 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62754 if test "x$ac_cv_func_atan2l" = x""yes; then :
62755 cat >>confdefs.h <<_ACEOF
62756 #define HAVE_ATAN2L 1
62757 _ACEOF
62760 done
62762 else
62764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62765 $as_echo_n "checking for _atan2l declaration... " >&6; }
62766 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62767 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62768 $as_echo_n "(cached) " >&6
62769 else
62772 ac_ext=cpp
62773 ac_cpp='$CXXCPP $CPPFLAGS'
62774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62779 /* end confdefs.h. */
62780 #include <math.h>
62782 main ()
62784 _atan2l(0, 0);
62786 return 0;
62788 _ACEOF
62789 if ac_fn_cxx_try_compile "$LINENO"; then :
62790 glibcxx_cv_func__atan2l_use=yes
62791 else
62792 glibcxx_cv_func__atan2l_use=no
62794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62795 ac_ext=c
62796 ac_cpp='$CPP $CPPFLAGS'
62797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62806 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62808 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62809 for ac_func in _atan2l
62810 do :
62811 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62812 if test "x$ac_cv_func__atan2l" = x""yes; then :
62813 cat >>confdefs.h <<_ACEOF
62814 #define HAVE__ATAN2L 1
62815 _ACEOF
62818 done
62827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62828 $as_echo_n "checking for expl declaration... " >&6; }
62829 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62830 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62831 $as_echo_n "(cached) " >&6
62832 else
62835 ac_ext=cpp
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62842 /* end confdefs.h. */
62843 #include <math.h>
62844 #ifdef HAVE_IEEEFP_H
62845 #include <ieeefp.h>
62846 #endif
62849 main ()
62851 expl(0);
62853 return 0;
62855 _ACEOF
62856 if ac_fn_cxx_try_compile "$LINENO"; then :
62857 glibcxx_cv_func_expl_use=yes
62858 else
62859 glibcxx_cv_func_expl_use=no
62861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62862 ac_ext=c
62863 ac_cpp='$CPP $CPPFLAGS'
62864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62873 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62875 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62876 for ac_func in expl
62877 do :
62878 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62879 if test "x$ac_cv_func_expl" = x""yes; then :
62880 cat >>confdefs.h <<_ACEOF
62881 #define HAVE_EXPL 1
62882 _ACEOF
62885 done
62887 else
62889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62890 $as_echo_n "checking for _expl declaration... " >&6; }
62891 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62892 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62893 $as_echo_n "(cached) " >&6
62894 else
62897 ac_ext=cpp
62898 ac_cpp='$CXXCPP $CPPFLAGS'
62899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62904 /* end confdefs.h. */
62905 #include <math.h>
62906 #ifdef HAVE_IEEEFP_H
62907 #include <ieeefp.h>
62908 #endif
62911 main ()
62913 _expl(0);
62915 return 0;
62917 _ACEOF
62918 if ac_fn_cxx_try_compile "$LINENO"; then :
62919 glibcxx_cv_func__expl_use=yes
62920 else
62921 glibcxx_cv_func__expl_use=no
62923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62924 ac_ext=c
62925 ac_cpp='$CPP $CPPFLAGS'
62926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62935 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62937 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62938 for ac_func in _expl
62939 do :
62940 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62941 if test "x$ac_cv_func__expl" = x""yes; then :
62942 cat >>confdefs.h <<_ACEOF
62943 #define HAVE__EXPL 1
62944 _ACEOF
62947 done
62956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62957 $as_echo_n "checking for fabsl declaration... " >&6; }
62958 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62959 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62960 $as_echo_n "(cached) " >&6
62961 else
62964 ac_ext=cpp
62965 ac_cpp='$CXXCPP $CPPFLAGS'
62966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62971 /* end confdefs.h. */
62972 #include <math.h>
62973 #ifdef HAVE_IEEEFP_H
62974 #include <ieeefp.h>
62975 #endif
62978 main ()
62980 fabsl(0);
62982 return 0;
62984 _ACEOF
62985 if ac_fn_cxx_try_compile "$LINENO"; then :
62986 glibcxx_cv_func_fabsl_use=yes
62987 else
62988 glibcxx_cv_func_fabsl_use=no
62990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62991 ac_ext=c
62992 ac_cpp='$CPP $CPPFLAGS'
62993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63002 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63004 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63005 for ac_func in fabsl
63006 do :
63007 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63008 if test "x$ac_cv_func_fabsl" = x""yes; then :
63009 cat >>confdefs.h <<_ACEOF
63010 #define HAVE_FABSL 1
63011 _ACEOF
63014 done
63016 else
63018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63019 $as_echo_n "checking for _fabsl declaration... " >&6; }
63020 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63021 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63022 $as_echo_n "(cached) " >&6
63023 else
63026 ac_ext=cpp
63027 ac_cpp='$CXXCPP $CPPFLAGS'
63028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63033 /* end confdefs.h. */
63034 #include <math.h>
63035 #ifdef HAVE_IEEEFP_H
63036 #include <ieeefp.h>
63037 #endif
63040 main ()
63042 _fabsl(0);
63044 return 0;
63046 _ACEOF
63047 if ac_fn_cxx_try_compile "$LINENO"; then :
63048 glibcxx_cv_func__fabsl_use=yes
63049 else
63050 glibcxx_cv_func__fabsl_use=no
63052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63053 ac_ext=c
63054 ac_cpp='$CPP $CPPFLAGS'
63055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63064 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63066 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63067 for ac_func in _fabsl
63068 do :
63069 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63070 if test "x$ac_cv_func__fabsl" = x""yes; then :
63071 cat >>confdefs.h <<_ACEOF
63072 #define HAVE__FABSL 1
63073 _ACEOF
63076 done
63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63086 $as_echo_n "checking for fmodl declaration... " >&6; }
63087 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63088 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63089 $as_echo_n "(cached) " >&6
63090 else
63093 ac_ext=cpp
63094 ac_cpp='$CXXCPP $CPPFLAGS'
63095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63100 /* end confdefs.h. */
63101 #include <math.h>
63103 main ()
63105 fmodl(0, 0);
63107 return 0;
63109 _ACEOF
63110 if ac_fn_cxx_try_compile "$LINENO"; then :
63111 glibcxx_cv_func_fmodl_use=yes
63112 else
63113 glibcxx_cv_func_fmodl_use=no
63115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63116 ac_ext=c
63117 ac_cpp='$CPP $CPPFLAGS'
63118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63127 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63129 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63130 for ac_func in fmodl
63131 do :
63132 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63133 if test "x$ac_cv_func_fmodl" = x""yes; then :
63134 cat >>confdefs.h <<_ACEOF
63135 #define HAVE_FMODL 1
63136 _ACEOF
63139 done
63141 else
63143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63144 $as_echo_n "checking for _fmodl declaration... " >&6; }
63145 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63146 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63147 $as_echo_n "(cached) " >&6
63148 else
63151 ac_ext=cpp
63152 ac_cpp='$CXXCPP $CPPFLAGS'
63153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63158 /* end confdefs.h. */
63159 #include <math.h>
63161 main ()
63163 _fmodl(0, 0);
63165 return 0;
63167 _ACEOF
63168 if ac_fn_cxx_try_compile "$LINENO"; then :
63169 glibcxx_cv_func__fmodl_use=yes
63170 else
63171 glibcxx_cv_func__fmodl_use=no
63173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63174 ac_ext=c
63175 ac_cpp='$CPP $CPPFLAGS'
63176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63185 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63187 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63188 for ac_func in _fmodl
63189 do :
63190 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63191 if test "x$ac_cv_func__fmodl" = x""yes; then :
63192 cat >>confdefs.h <<_ACEOF
63193 #define HAVE__FMODL 1
63194 _ACEOF
63197 done
63206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63207 $as_echo_n "checking for frexpl declaration... " >&6; }
63208 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63209 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63210 $as_echo_n "(cached) " >&6
63211 else
63214 ac_ext=cpp
63215 ac_cpp='$CXXCPP $CPPFLAGS'
63216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63221 /* end confdefs.h. */
63222 #include <math.h>
63224 main ()
63226 frexpl(0, 0);
63228 return 0;
63230 _ACEOF
63231 if ac_fn_cxx_try_compile "$LINENO"; then :
63232 glibcxx_cv_func_frexpl_use=yes
63233 else
63234 glibcxx_cv_func_frexpl_use=no
63236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63237 ac_ext=c
63238 ac_cpp='$CPP $CPPFLAGS'
63239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63248 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63250 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63251 for ac_func in frexpl
63252 do :
63253 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63254 if test "x$ac_cv_func_frexpl" = x""yes; then :
63255 cat >>confdefs.h <<_ACEOF
63256 #define HAVE_FREXPL 1
63257 _ACEOF
63260 done
63262 else
63264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63265 $as_echo_n "checking for _frexpl declaration... " >&6; }
63266 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63267 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63268 $as_echo_n "(cached) " >&6
63269 else
63272 ac_ext=cpp
63273 ac_cpp='$CXXCPP $CPPFLAGS'
63274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63279 /* end confdefs.h. */
63280 #include <math.h>
63282 main ()
63284 _frexpl(0, 0);
63286 return 0;
63288 _ACEOF
63289 if ac_fn_cxx_try_compile "$LINENO"; then :
63290 glibcxx_cv_func__frexpl_use=yes
63291 else
63292 glibcxx_cv_func__frexpl_use=no
63294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63295 ac_ext=c
63296 ac_cpp='$CPP $CPPFLAGS'
63297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63306 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63308 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63309 for ac_func in _frexpl
63310 do :
63311 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63312 if test "x$ac_cv_func__frexpl" = x""yes; then :
63313 cat >>confdefs.h <<_ACEOF
63314 #define HAVE__FREXPL 1
63315 _ACEOF
63318 done
63327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63328 $as_echo_n "checking for hypotl declaration... " >&6; }
63329 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63330 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63331 $as_echo_n "(cached) " >&6
63332 else
63335 ac_ext=cpp
63336 ac_cpp='$CXXCPP $CPPFLAGS'
63337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63342 /* end confdefs.h. */
63343 #include <math.h>
63345 main ()
63347 hypotl(0, 0);
63349 return 0;
63351 _ACEOF
63352 if ac_fn_cxx_try_compile "$LINENO"; then :
63353 glibcxx_cv_func_hypotl_use=yes
63354 else
63355 glibcxx_cv_func_hypotl_use=no
63357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63358 ac_ext=c
63359 ac_cpp='$CPP $CPPFLAGS'
63360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63369 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63371 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63372 for ac_func in hypotl
63373 do :
63374 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63375 if test "x$ac_cv_func_hypotl" = x""yes; then :
63376 cat >>confdefs.h <<_ACEOF
63377 #define HAVE_HYPOTL 1
63378 _ACEOF
63381 done
63383 else
63385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63386 $as_echo_n "checking for _hypotl declaration... " >&6; }
63387 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63388 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63389 $as_echo_n "(cached) " >&6
63390 else
63393 ac_ext=cpp
63394 ac_cpp='$CXXCPP $CPPFLAGS'
63395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63400 /* end confdefs.h. */
63401 #include <math.h>
63403 main ()
63405 _hypotl(0, 0);
63407 return 0;
63409 _ACEOF
63410 if ac_fn_cxx_try_compile "$LINENO"; then :
63411 glibcxx_cv_func__hypotl_use=yes
63412 else
63413 glibcxx_cv_func__hypotl_use=no
63415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63416 ac_ext=c
63417 ac_cpp='$CPP $CPPFLAGS'
63418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63427 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63429 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63430 for ac_func in _hypotl
63431 do :
63432 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63433 if test "x$ac_cv_func__hypotl" = x""yes; then :
63434 cat >>confdefs.h <<_ACEOF
63435 #define HAVE__HYPOTL 1
63436 _ACEOF
63439 done
63448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63449 $as_echo_n "checking for ldexpl declaration... " >&6; }
63450 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63451 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63452 $as_echo_n "(cached) " >&6
63453 else
63456 ac_ext=cpp
63457 ac_cpp='$CXXCPP $CPPFLAGS'
63458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63463 /* end confdefs.h. */
63464 #include <math.h>
63466 main ()
63468 ldexpl(0, 0);
63470 return 0;
63472 _ACEOF
63473 if ac_fn_cxx_try_compile "$LINENO"; then :
63474 glibcxx_cv_func_ldexpl_use=yes
63475 else
63476 glibcxx_cv_func_ldexpl_use=no
63478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63479 ac_ext=c
63480 ac_cpp='$CPP $CPPFLAGS'
63481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63490 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63492 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63493 for ac_func in ldexpl
63494 do :
63495 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63496 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63497 cat >>confdefs.h <<_ACEOF
63498 #define HAVE_LDEXPL 1
63499 _ACEOF
63502 done
63504 else
63506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63507 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63508 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63509 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63510 $as_echo_n "(cached) " >&6
63511 else
63514 ac_ext=cpp
63515 ac_cpp='$CXXCPP $CPPFLAGS'
63516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63521 /* end confdefs.h. */
63522 #include <math.h>
63524 main ()
63526 _ldexpl(0, 0);
63528 return 0;
63530 _ACEOF
63531 if ac_fn_cxx_try_compile "$LINENO"; then :
63532 glibcxx_cv_func__ldexpl_use=yes
63533 else
63534 glibcxx_cv_func__ldexpl_use=no
63536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63537 ac_ext=c
63538 ac_cpp='$CPP $CPPFLAGS'
63539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63548 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63550 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63551 for ac_func in _ldexpl
63552 do :
63553 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63554 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63555 cat >>confdefs.h <<_ACEOF
63556 #define HAVE__LDEXPL 1
63557 _ACEOF
63560 done
63569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63570 $as_echo_n "checking for logl declaration... " >&6; }
63571 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63572 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63573 $as_echo_n "(cached) " >&6
63574 else
63577 ac_ext=cpp
63578 ac_cpp='$CXXCPP $CPPFLAGS'
63579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63584 /* end confdefs.h. */
63585 #include <math.h>
63586 #ifdef HAVE_IEEEFP_H
63587 #include <ieeefp.h>
63588 #endif
63591 main ()
63593 logl(0);
63595 return 0;
63597 _ACEOF
63598 if ac_fn_cxx_try_compile "$LINENO"; then :
63599 glibcxx_cv_func_logl_use=yes
63600 else
63601 glibcxx_cv_func_logl_use=no
63603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63604 ac_ext=c
63605 ac_cpp='$CPP $CPPFLAGS'
63606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63615 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63617 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63618 for ac_func in logl
63619 do :
63620 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63621 if test "x$ac_cv_func_logl" = x""yes; then :
63622 cat >>confdefs.h <<_ACEOF
63623 #define HAVE_LOGL 1
63624 _ACEOF
63627 done
63629 else
63631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63632 $as_echo_n "checking for _logl declaration... " >&6; }
63633 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63634 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63635 $as_echo_n "(cached) " >&6
63636 else
63639 ac_ext=cpp
63640 ac_cpp='$CXXCPP $CPPFLAGS'
63641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63646 /* end confdefs.h. */
63647 #include <math.h>
63648 #ifdef HAVE_IEEEFP_H
63649 #include <ieeefp.h>
63650 #endif
63653 main ()
63655 _logl(0);
63657 return 0;
63659 _ACEOF
63660 if ac_fn_cxx_try_compile "$LINENO"; then :
63661 glibcxx_cv_func__logl_use=yes
63662 else
63663 glibcxx_cv_func__logl_use=no
63665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63666 ac_ext=c
63667 ac_cpp='$CPP $CPPFLAGS'
63668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63677 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63679 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63680 for ac_func in _logl
63681 do :
63682 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63683 if test "x$ac_cv_func__logl" = x""yes; then :
63684 cat >>confdefs.h <<_ACEOF
63685 #define HAVE__LOGL 1
63686 _ACEOF
63689 done
63698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63699 $as_echo_n "checking for log10l declaration... " >&6; }
63700 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63701 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63702 $as_echo_n "(cached) " >&6
63703 else
63706 ac_ext=cpp
63707 ac_cpp='$CXXCPP $CPPFLAGS'
63708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63713 /* end confdefs.h. */
63714 #include <math.h>
63715 #ifdef HAVE_IEEEFP_H
63716 #include <ieeefp.h>
63717 #endif
63720 main ()
63722 log10l(0);
63724 return 0;
63726 _ACEOF
63727 if ac_fn_cxx_try_compile "$LINENO"; then :
63728 glibcxx_cv_func_log10l_use=yes
63729 else
63730 glibcxx_cv_func_log10l_use=no
63732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63733 ac_ext=c
63734 ac_cpp='$CPP $CPPFLAGS'
63735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63744 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63746 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63747 for ac_func in log10l
63748 do :
63749 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63750 if test "x$ac_cv_func_log10l" = x""yes; then :
63751 cat >>confdefs.h <<_ACEOF
63752 #define HAVE_LOG10L 1
63753 _ACEOF
63756 done
63758 else
63760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63761 $as_echo_n "checking for _log10l declaration... " >&6; }
63762 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63763 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63764 $as_echo_n "(cached) " >&6
63765 else
63768 ac_ext=cpp
63769 ac_cpp='$CXXCPP $CPPFLAGS'
63770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h. */
63776 #include <math.h>
63777 #ifdef HAVE_IEEEFP_H
63778 #include <ieeefp.h>
63779 #endif
63782 main ()
63784 _log10l(0);
63786 return 0;
63788 _ACEOF
63789 if ac_fn_cxx_try_compile "$LINENO"; then :
63790 glibcxx_cv_func__log10l_use=yes
63791 else
63792 glibcxx_cv_func__log10l_use=no
63794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63795 ac_ext=c
63796 ac_cpp='$CPP $CPPFLAGS'
63797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63806 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63808 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63809 for ac_func in _log10l
63810 do :
63811 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63812 if test "x$ac_cv_func__log10l" = x""yes; then :
63813 cat >>confdefs.h <<_ACEOF
63814 #define HAVE__LOG10L 1
63815 _ACEOF
63818 done
63827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63828 $as_echo_n "checking for modfl declaration... " >&6; }
63829 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63830 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63831 $as_echo_n "(cached) " >&6
63832 else
63835 ac_ext=cpp
63836 ac_cpp='$CXXCPP $CPPFLAGS'
63837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63842 /* end confdefs.h. */
63843 #include <math.h>
63845 main ()
63847 modfl(0, 0);
63849 return 0;
63851 _ACEOF
63852 if ac_fn_cxx_try_compile "$LINENO"; then :
63853 glibcxx_cv_func_modfl_use=yes
63854 else
63855 glibcxx_cv_func_modfl_use=no
63857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63858 ac_ext=c
63859 ac_cpp='$CPP $CPPFLAGS'
63860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63869 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63871 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63872 for ac_func in modfl
63873 do :
63874 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63875 if test "x$ac_cv_func_modfl" = x""yes; then :
63876 cat >>confdefs.h <<_ACEOF
63877 #define HAVE_MODFL 1
63878 _ACEOF
63881 done
63883 else
63885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63886 $as_echo_n "checking for _modfl declaration... " >&6; }
63887 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63888 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63889 $as_echo_n "(cached) " >&6
63890 else
63893 ac_ext=cpp
63894 ac_cpp='$CXXCPP $CPPFLAGS'
63895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63900 /* end confdefs.h. */
63901 #include <math.h>
63903 main ()
63905 _modfl(0, 0);
63907 return 0;
63909 _ACEOF
63910 if ac_fn_cxx_try_compile "$LINENO"; then :
63911 glibcxx_cv_func__modfl_use=yes
63912 else
63913 glibcxx_cv_func__modfl_use=no
63915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63916 ac_ext=c
63917 ac_cpp='$CPP $CPPFLAGS'
63918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63927 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63929 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63930 for ac_func in _modfl
63931 do :
63932 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63933 if test "x$ac_cv_func__modfl" = x""yes; then :
63934 cat >>confdefs.h <<_ACEOF
63935 #define HAVE__MODFL 1
63936 _ACEOF
63939 done
63948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63949 $as_echo_n "checking for powl declaration... " >&6; }
63950 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63951 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63952 $as_echo_n "(cached) " >&6
63953 else
63956 ac_ext=cpp
63957 ac_cpp='$CXXCPP $CPPFLAGS'
63958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63963 /* end confdefs.h. */
63964 #include <math.h>
63966 main ()
63968 powl(0, 0);
63970 return 0;
63972 _ACEOF
63973 if ac_fn_cxx_try_compile "$LINENO"; then :
63974 glibcxx_cv_func_powl_use=yes
63975 else
63976 glibcxx_cv_func_powl_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_powl_use" >&5
63990 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63992 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63993 for ac_func in powl
63994 do :
63995 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63996 if test "x$ac_cv_func_powl" = x""yes; then :
63997 cat >>confdefs.h <<_ACEOF
63998 #define HAVE_POWL 1
63999 _ACEOF
64002 done
64004 else
64006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64007 $as_echo_n "checking for _powl declaration... " >&6; }
64008 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64009 if test "${glibcxx_cv_func__powl_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>
64024 main ()
64026 _powl(0, 0);
64028 return 0;
64030 _ACEOF
64031 if ac_fn_cxx_try_compile "$LINENO"; then :
64032 glibcxx_cv_func__powl_use=yes
64033 else
64034 glibcxx_cv_func__powl_use=no
64036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64037 ac_ext=c
64038 ac_cpp='$CPP $CPPFLAGS'
64039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64048 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64050 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64051 for ac_func in _powl
64052 do :
64053 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64054 if test "x$ac_cv_func__powl" = x""yes; then :
64055 cat >>confdefs.h <<_ACEOF
64056 #define HAVE__POWL 1
64057 _ACEOF
64060 done
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64070 $as_echo_n "checking for sqrtl declaration... " >&6; }
64071 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64072 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64073 $as_echo_n "(cached) " >&6
64074 else
64077 ac_ext=cpp
64078 ac_cpp='$CXXCPP $CPPFLAGS'
64079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64084 /* end confdefs.h. */
64085 #include <math.h>
64086 #ifdef HAVE_IEEEFP_H
64087 #include <ieeefp.h>
64088 #endif
64091 main ()
64093 sqrtl(0);
64095 return 0;
64097 _ACEOF
64098 if ac_fn_cxx_try_compile "$LINENO"; then :
64099 glibcxx_cv_func_sqrtl_use=yes
64100 else
64101 glibcxx_cv_func_sqrtl_use=no
64103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64104 ac_ext=c
64105 ac_cpp='$CPP $CPPFLAGS'
64106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64115 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64117 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64118 for ac_func in sqrtl
64119 do :
64120 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64121 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64122 cat >>confdefs.h <<_ACEOF
64123 #define HAVE_SQRTL 1
64124 _ACEOF
64127 done
64129 else
64131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64132 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64133 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64134 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64135 $as_echo_n "(cached) " >&6
64136 else
64139 ac_ext=cpp
64140 ac_cpp='$CXXCPP $CPPFLAGS'
64141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64146 /* end confdefs.h. */
64147 #include <math.h>
64148 #ifdef HAVE_IEEEFP_H
64149 #include <ieeefp.h>
64150 #endif
64153 main ()
64155 _sqrtl(0);
64157 return 0;
64159 _ACEOF
64160 if ac_fn_cxx_try_compile "$LINENO"; then :
64161 glibcxx_cv_func__sqrtl_use=yes
64162 else
64163 glibcxx_cv_func__sqrtl_use=no
64165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64166 ac_ext=c
64167 ac_cpp='$CPP $CPPFLAGS'
64168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64177 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64179 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64180 for ac_func in _sqrtl
64181 do :
64182 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64183 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64184 cat >>confdefs.h <<_ACEOF
64185 #define HAVE__SQRTL 1
64186 _ACEOF
64189 done
64198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64199 $as_echo_n "checking for sincosl declaration... " >&6; }
64200 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64201 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64202 $as_echo_n "(cached) " >&6
64203 else
64206 ac_ext=cpp
64207 ac_cpp='$CXXCPP $CPPFLAGS'
64208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64213 /* end confdefs.h. */
64214 #include <math.h>
64216 main ()
64218 sincosl(0, 0, 0);
64220 return 0;
64222 _ACEOF
64223 if ac_fn_cxx_try_compile "$LINENO"; then :
64224 glibcxx_cv_func_sincosl_use=yes
64225 else
64226 glibcxx_cv_func_sincosl_use=no
64228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64229 ac_ext=c
64230 ac_cpp='$CPP $CPPFLAGS'
64231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64240 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64242 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64243 for ac_func in sincosl
64244 do :
64245 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64246 if test "x$ac_cv_func_sincosl" = x""yes; then :
64247 cat >>confdefs.h <<_ACEOF
64248 #define HAVE_SINCOSL 1
64249 _ACEOF
64252 done
64254 else
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64257 $as_echo_n "checking for _sincosl declaration... " >&6; }
64258 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64259 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64260 $as_echo_n "(cached) " >&6
64261 else
64264 ac_ext=cpp
64265 ac_cpp='$CXXCPP $CPPFLAGS'
64266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64271 /* end confdefs.h. */
64272 #include <math.h>
64274 main ()
64276 _sincosl(0, 0, 0);
64278 return 0;
64280 _ACEOF
64281 if ac_fn_cxx_try_compile "$LINENO"; then :
64282 glibcxx_cv_func__sincosl_use=yes
64283 else
64284 glibcxx_cv_func__sincosl_use=no
64286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64287 ac_ext=c
64288 ac_cpp='$CPP $CPPFLAGS'
64289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64298 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64300 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64301 for ac_func in _sincosl
64302 do :
64303 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64304 if test "x$ac_cv_func__sincosl" = x""yes; then :
64305 cat >>confdefs.h <<_ACEOF
64306 #define HAVE__SINCOSL 1
64307 _ACEOF
64310 done
64319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64320 $as_echo_n "checking for finitel declaration... " >&6; }
64321 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64322 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64323 $as_echo_n "(cached) " >&6
64324 else
64327 ac_ext=cpp
64328 ac_cpp='$CXXCPP $CPPFLAGS'
64329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64334 /* end confdefs.h. */
64335 #include <math.h>
64336 #ifdef HAVE_IEEEFP_H
64337 #include <ieeefp.h>
64338 #endif
64341 main ()
64343 finitel(0);
64345 return 0;
64347 _ACEOF
64348 if ac_fn_cxx_try_compile "$LINENO"; then :
64349 glibcxx_cv_func_finitel_use=yes
64350 else
64351 glibcxx_cv_func_finitel_use=no
64353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64354 ac_ext=c
64355 ac_cpp='$CPP $CPPFLAGS'
64356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64365 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64367 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64368 for ac_func in finitel
64369 do :
64370 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64371 if test "x$ac_cv_func_finitel" = x""yes; then :
64372 cat >>confdefs.h <<_ACEOF
64373 #define HAVE_FINITEL 1
64374 _ACEOF
64377 done
64379 else
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64382 $as_echo_n "checking for _finitel declaration... " >&6; }
64383 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64384 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64385 $as_echo_n "(cached) " >&6
64386 else
64389 ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h. */
64397 #include <math.h>
64398 #ifdef HAVE_IEEEFP_H
64399 #include <ieeefp.h>
64400 #endif
64403 main ()
64405 _finitel(0);
64407 return 0;
64409 _ACEOF
64410 if ac_fn_cxx_try_compile "$LINENO"; then :
64411 glibcxx_cv_func__finitel_use=yes
64412 else
64413 glibcxx_cv_func__finitel_use=no
64415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64416 ac_ext=c
64417 ac_cpp='$CPP $CPPFLAGS'
64418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64427 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64429 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64430 for ac_func in _finitel
64431 do :
64432 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64433 if test "x$ac_cv_func__finitel" = x""yes; then :
64434 cat >>confdefs.h <<_ACEOF
64435 #define HAVE__FINITEL 1
64436 _ACEOF
64439 done
64447 LIBS="$ac_save_LIBS"
64448 CXXFLAGS="$ac_save_CXXFLAGS"
64451 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64452 ac_save_CXXFLAGS="$CXXFLAGS"
64453 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64457 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64458 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64459 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64460 $as_echo_n "(cached) " >&6
64461 else
64464 ac_ext=cpp
64465 ac_cpp='$CXXCPP $CPPFLAGS'
64466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64471 /* end confdefs.h. */
64472 #include <stdlib.h>
64474 main ()
64476 at_quick_exit(0);
64478 return 0;
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func_at_quick_exit_use=yes
64483 else
64484 glibcxx_cv_func_at_quick_exit_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_at_quick_exit_use" >&5
64498 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64499 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64500 for ac_func in at_quick_exit
64501 do :
64502 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64503 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64504 cat >>confdefs.h <<_ACEOF
64505 #define HAVE_AT_QUICK_EXIT 1
64506 _ACEOF
64509 done
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64515 $as_echo_n "checking for quick_exit declaration... " >&6; }
64516 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64517 if test "${glibcxx_cv_func_quick_exit_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 <stdlib.h>
64532 main ()
64534 quick_exit(0);
64536 return 0;
64538 _ACEOF
64539 if ac_fn_cxx_try_compile "$LINENO"; then :
64540 glibcxx_cv_func_quick_exit_use=yes
64541 else
64542 glibcxx_cv_func_quick_exit_use=no
64544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64545 ac_ext=c
64546 ac_cpp='$CPP $CPPFLAGS'
64547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64556 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64557 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64558 for ac_func in quick_exit
64559 do :
64560 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64561 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64562 cat >>confdefs.h <<_ACEOF
64563 #define HAVE_QUICK_EXIT 1
64564 _ACEOF
64567 done
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64573 $as_echo_n "checking for strtold declaration... " >&6; }
64574 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64575 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64576 $as_echo_n "(cached) " >&6
64577 else
64580 ac_ext=cpp
64581 ac_cpp='$CXXCPP $CPPFLAGS'
64582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64587 /* end confdefs.h. */
64588 #include <stdlib.h>
64590 main ()
64592 strtold(0, 0);
64594 return 0;
64596 _ACEOF
64597 if ac_fn_cxx_try_compile "$LINENO"; then :
64598 glibcxx_cv_func_strtold_use=yes
64599 else
64600 glibcxx_cv_func_strtold_use=no
64602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64603 ac_ext=c
64604 ac_cpp='$CPP $CPPFLAGS'
64605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64614 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64615 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64616 for ac_func in strtold
64617 do :
64618 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64619 if test "x$ac_cv_func_strtold" = x""yes; then :
64620 cat >>confdefs.h <<_ACEOF
64621 #define HAVE_STRTOLD 1
64622 _ACEOF
64625 done
64632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64633 $as_echo_n "checking for strtof declaration... " >&6; }
64634 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64635 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64636 $as_echo_n "(cached) " >&6
64637 else
64640 ac_ext=cpp
64641 ac_cpp='$CXXCPP $CPPFLAGS'
64642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64647 /* end confdefs.h. */
64648 #include <stdlib.h>
64650 main ()
64652 strtof(0, 0);
64654 return 0;
64656 _ACEOF
64657 if ac_fn_cxx_try_compile "$LINENO"; then :
64658 glibcxx_cv_func_strtof_use=yes
64659 else
64660 glibcxx_cv_func_strtof_use=no
64662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64663 ac_ext=c
64664 ac_cpp='$CPP $CPPFLAGS'
64665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64674 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64675 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64676 for ac_func in strtof
64677 do :
64678 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64679 if test "x$ac_cv_func_strtof" = x""yes; then :
64680 cat >>confdefs.h <<_ACEOF
64681 #define HAVE_STRTOF 1
64682 _ACEOF
64685 done
64692 CXXFLAGS="$ac_save_CXXFLAGS"
64695 *-solaris*)
64696 case "$target" in
64697 *-solaris2.9 | *-solaris2.10)
64699 # If we're not using GNU ld, then there's no point in even trying these
64700 # tests. Check for that first. We should have already tested for gld
64701 # by now (in libtool), but require it now just to be safe...
64702 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64703 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64707 # The name set by libtool depends on the version of libtool. Shame on us
64708 # for depending on an impl detail, but c'est la vie. Older versions used
64709 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64710 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64711 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64712 # set (hence we're using an older libtool), then set it.
64713 if test x${with_gnu_ld+set} != xset; then
64714 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64715 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64716 with_gnu_ld=no
64717 else
64718 with_gnu_ld=$ac_cv_prog_gnu_ld
64722 # Start by getting the version number. I think the libtool test already
64723 # does some of this, but throws away the result.
64724 glibcxx_ld_is_gold=no
64725 if test x"$with_gnu_ld" = x"yes"; then
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64727 $as_echo_n "checking for ld version... " >&6; }
64729 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64730 glibcxx_ld_is_gold=yes
64732 ldver=`$LD --version 2>/dev/null |
64733 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'`
64735 glibcxx_gnu_ld_version=`echo $ldver | \
64736 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64738 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64741 # Set --gc-sections.
64742 glibcxx_have_gc_sections=no
64743 if test "$glibcxx_ld_is_gold" = "yes"; then
64744 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64745 glibcxx_have_gc_sections=yes
64747 else
64748 glibcxx_gcsections_min_ld=21602
64749 if test x"$with_gnu_ld" = x"yes" &&
64750 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64751 glibcxx_have_gc_sections=yes
64754 if test "$glibcxx_have_gc_sections" = "yes"; then
64755 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64756 # NB: This flag only works reliably after 2.16.1. Configure tests
64757 # for this are difficult, so hard wire a value that should work.
64759 ac_test_CFLAGS="${CFLAGS+set}"
64760 ac_save_CFLAGS="$CFLAGS"
64761 CFLAGS='-Wl,--gc-sections'
64763 # Check for -Wl,--gc-sections
64764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64765 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64766 if test x$gcc_no_link = xyes; then
64767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64770 /* end confdefs.h. */
64771 int one(void) { return 1; }
64772 int two(void) { return 2; }
64775 main ()
64777 two();
64779 return 0;
64781 _ACEOF
64782 if ac_fn_c_try_link "$LINENO"; then :
64783 ac_gcsections=yes
64784 else
64785 ac_gcsections=no
64787 rm -f core conftest.err conftest.$ac_objext \
64788 conftest$ac_exeext conftest.$ac_ext
64789 if test "$ac_gcsections" = "yes"; then
64790 rm -f conftest.c
64791 touch conftest.c
64792 if $CC -c conftest.c; then
64793 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64794 grep "Warning: gc-sections option ignored" > /dev/null; then
64795 ac_gcsections=no
64798 rm -f conftest.c conftest.o conftest
64800 if test "$ac_gcsections" = "yes"; then
64801 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64804 $as_echo "$ac_gcsections" >&6; }
64806 if test "$ac_test_CFLAGS" = set; then
64807 CFLAGS="$ac_save_CFLAGS"
64808 else
64809 # this is the suspicious part
64810 CFLAGS=''
64814 # Set -z,relro.
64815 # Note this is only for shared objects.
64816 ac_ld_relro=no
64817 if test x"$with_gnu_ld" = x"yes"; then
64818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64819 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64820 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64821 if test -n "$cxx_z_relo"; then
64822 OPT_LDFLAGS="-Wl,-z,relro"
64823 ac_ld_relro=yes
64825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64826 $as_echo "$ac_ld_relro" >&6; }
64829 # Set linker optimization flags.
64830 if test x"$with_gnu_ld" = x"yes"; then
64831 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64837 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64839 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64841 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64843 # All of the dependencies for wide character support are here, so
64844 # turn it on.
64845 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64848 esac
64849 case "$target" in
64850 *-*-solaris2.10)
64851 # These two C99 functions are present only in Solaris >= 10
64852 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64854 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64857 esac
64858 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64860 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64862 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64864 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64867 *-tpf)
64868 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64869 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64871 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64873 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64875 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64877 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64879 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64881 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64883 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64885 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64887 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64889 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64891 if test x"long_double_math_on_this_cpu" = x"yes"; then
64892 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64894 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64896 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64898 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64902 *-*vms*)
64903 # Check for available headers.
64904 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64906 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64907 ac_save_CXXFLAGS="$CXXFLAGS"
64908 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64911 $as_echo_n "checking for sin in -lm... " >&6; }
64912 if test "${ac_cv_lib_m_sin+set}" = set; then :
64913 $as_echo_n "(cached) " >&6
64914 else
64915 ac_check_lib_save_LIBS=$LIBS
64916 LIBS="-lm $LIBS"
64917 if test x$gcc_no_link = xyes; then
64918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64921 /* end confdefs.h. */
64923 /* Override any GCC internal prototype to avoid an error.
64924 Use char because int might match the return type of a GCC
64925 builtin and then its argument prototype would still apply. */
64926 #ifdef __cplusplus
64927 extern "C"
64928 #endif
64929 char sin ();
64931 main ()
64933 return sin ();
64935 return 0;
64937 _ACEOF
64938 if ac_fn_c_try_link "$LINENO"; then :
64939 ac_cv_lib_m_sin=yes
64940 else
64941 ac_cv_lib_m_sin=no
64943 rm -f core conftest.err conftest.$ac_objext \
64944 conftest$ac_exeext conftest.$ac_ext
64945 LIBS=$ac_check_lib_save_LIBS
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64948 $as_echo "$ac_cv_lib_m_sin" >&6; }
64949 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64950 libm="-lm"
64953 ac_save_LIBS="$LIBS"
64954 LIBS="$LIBS $libm"
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64959 $as_echo_n "checking for isinf declaration... " >&6; }
64960 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64961 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64962 $as_echo_n "(cached) " >&6
64963 else
64966 ac_ext=cpp
64967 ac_cpp='$CXXCPP $CPPFLAGS'
64968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64973 /* end confdefs.h. */
64974 #include <math.h>
64975 #ifdef HAVE_IEEEFP_H
64976 #include <ieeefp.h>
64977 #endif
64980 main ()
64982 isinf(0);
64984 return 0;
64986 _ACEOF
64987 if ac_fn_cxx_try_compile "$LINENO"; then :
64988 glibcxx_cv_func_isinf_use=yes
64989 else
64990 glibcxx_cv_func_isinf_use=no
64992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64993 ac_ext=c
64994 ac_cpp='$CPP $CPPFLAGS'
64995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65004 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65006 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65007 for ac_func in isinf
65008 do :
65009 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65010 if test "x$ac_cv_func_isinf" = x""yes; then :
65011 cat >>confdefs.h <<_ACEOF
65012 #define HAVE_ISINF 1
65013 _ACEOF
65016 done
65018 else
65020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65021 $as_echo_n "checking for _isinf declaration... " >&6; }
65022 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65023 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65024 $as_echo_n "(cached) " >&6
65025 else
65028 ac_ext=cpp
65029 ac_cpp='$CXXCPP $CPPFLAGS'
65030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65035 /* end confdefs.h. */
65036 #include <math.h>
65037 #ifdef HAVE_IEEEFP_H
65038 #include <ieeefp.h>
65039 #endif
65042 main ()
65044 _isinf(0);
65046 return 0;
65048 _ACEOF
65049 if ac_fn_cxx_try_compile "$LINENO"; then :
65050 glibcxx_cv_func__isinf_use=yes
65051 else
65052 glibcxx_cv_func__isinf_use=no
65054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65055 ac_ext=c
65056 ac_cpp='$CPP $CPPFLAGS'
65057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65066 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65068 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65069 for ac_func in _isinf
65070 do :
65071 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65072 if test "x$ac_cv_func__isinf" = x""yes; then :
65073 cat >>confdefs.h <<_ACEOF
65074 #define HAVE__ISINF 1
65075 _ACEOF
65078 done
65087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65088 $as_echo_n "checking for isnan declaration... " >&6; }
65089 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65090 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65091 $as_echo_n "(cached) " >&6
65092 else
65095 ac_ext=cpp
65096 ac_cpp='$CXXCPP $CPPFLAGS'
65097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65102 /* end confdefs.h. */
65103 #include <math.h>
65104 #ifdef HAVE_IEEEFP_H
65105 #include <ieeefp.h>
65106 #endif
65109 main ()
65111 isnan(0);
65113 return 0;
65115 _ACEOF
65116 if ac_fn_cxx_try_compile "$LINENO"; then :
65117 glibcxx_cv_func_isnan_use=yes
65118 else
65119 glibcxx_cv_func_isnan_use=no
65121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65122 ac_ext=c
65123 ac_cpp='$CPP $CPPFLAGS'
65124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65133 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65135 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65136 for ac_func in isnan
65137 do :
65138 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65139 if test "x$ac_cv_func_isnan" = x""yes; then :
65140 cat >>confdefs.h <<_ACEOF
65141 #define HAVE_ISNAN 1
65142 _ACEOF
65145 done
65147 else
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65150 $as_echo_n "checking for _isnan declaration... " >&6; }
65151 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65152 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65153 $as_echo_n "(cached) " >&6
65154 else
65157 ac_ext=cpp
65158 ac_cpp='$CXXCPP $CPPFLAGS'
65159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65164 /* end confdefs.h. */
65165 #include <math.h>
65166 #ifdef HAVE_IEEEFP_H
65167 #include <ieeefp.h>
65168 #endif
65171 main ()
65173 _isnan(0);
65175 return 0;
65177 _ACEOF
65178 if ac_fn_cxx_try_compile "$LINENO"; then :
65179 glibcxx_cv_func__isnan_use=yes
65180 else
65181 glibcxx_cv_func__isnan_use=no
65183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65184 ac_ext=c
65185 ac_cpp='$CPP $CPPFLAGS'
65186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65195 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65197 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65198 for ac_func in _isnan
65199 do :
65200 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65201 if test "x$ac_cv_func__isnan" = x""yes; then :
65202 cat >>confdefs.h <<_ACEOF
65203 #define HAVE__ISNAN 1
65204 _ACEOF
65207 done
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65217 $as_echo_n "checking for finite declaration... " >&6; }
65218 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65219 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65220 $as_echo_n "(cached) " >&6
65221 else
65224 ac_ext=cpp
65225 ac_cpp='$CXXCPP $CPPFLAGS'
65226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65231 /* end confdefs.h. */
65232 #include <math.h>
65233 #ifdef HAVE_IEEEFP_H
65234 #include <ieeefp.h>
65235 #endif
65238 main ()
65240 finite(0);
65242 return 0;
65244 _ACEOF
65245 if ac_fn_cxx_try_compile "$LINENO"; then :
65246 glibcxx_cv_func_finite_use=yes
65247 else
65248 glibcxx_cv_func_finite_use=no
65250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65251 ac_ext=c
65252 ac_cpp='$CPP $CPPFLAGS'
65253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65262 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65264 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65265 for ac_func in finite
65266 do :
65267 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65268 if test "x$ac_cv_func_finite" = x""yes; then :
65269 cat >>confdefs.h <<_ACEOF
65270 #define HAVE_FINITE 1
65271 _ACEOF
65274 done
65276 else
65278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65279 $as_echo_n "checking for _finite declaration... " >&6; }
65280 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65281 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65282 $as_echo_n "(cached) " >&6
65283 else
65286 ac_ext=cpp
65287 ac_cpp='$CXXCPP $CPPFLAGS'
65288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65293 /* end confdefs.h. */
65294 #include <math.h>
65295 #ifdef HAVE_IEEEFP_H
65296 #include <ieeefp.h>
65297 #endif
65300 main ()
65302 _finite(0);
65304 return 0;
65306 _ACEOF
65307 if ac_fn_cxx_try_compile "$LINENO"; then :
65308 glibcxx_cv_func__finite_use=yes
65309 else
65310 glibcxx_cv_func__finite_use=no
65312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65313 ac_ext=c
65314 ac_cpp='$CPP $CPPFLAGS'
65315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65324 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65326 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65327 for ac_func in _finite
65328 do :
65329 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65330 if test "x$ac_cv_func__finite" = x""yes; then :
65331 cat >>confdefs.h <<_ACEOF
65332 #define HAVE__FINITE 1
65333 _ACEOF
65336 done
65345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65346 $as_echo_n "checking for sincos declaration... " >&6; }
65347 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65348 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65349 $as_echo_n "(cached) " >&6
65350 else
65353 ac_ext=cpp
65354 ac_cpp='$CXXCPP $CPPFLAGS'
65355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65360 /* end confdefs.h. */
65361 #include <math.h>
65363 main ()
65365 sincos(0, 0, 0);
65367 return 0;
65369 _ACEOF
65370 if ac_fn_cxx_try_compile "$LINENO"; then :
65371 glibcxx_cv_func_sincos_use=yes
65372 else
65373 glibcxx_cv_func_sincos_use=no
65375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65376 ac_ext=c
65377 ac_cpp='$CPP $CPPFLAGS'
65378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65387 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65389 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65390 for ac_func in sincos
65391 do :
65392 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65393 if test "x$ac_cv_func_sincos" = x""yes; then :
65394 cat >>confdefs.h <<_ACEOF
65395 #define HAVE_SINCOS 1
65396 _ACEOF
65399 done
65401 else
65403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65404 $as_echo_n "checking for _sincos declaration... " >&6; }
65405 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65406 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65407 $as_echo_n "(cached) " >&6
65408 else
65411 ac_ext=cpp
65412 ac_cpp='$CXXCPP $CPPFLAGS'
65413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65418 /* end confdefs.h. */
65419 #include <math.h>
65421 main ()
65423 _sincos(0, 0, 0);
65425 return 0;
65427 _ACEOF
65428 if ac_fn_cxx_try_compile "$LINENO"; then :
65429 glibcxx_cv_func__sincos_use=yes
65430 else
65431 glibcxx_cv_func__sincos_use=no
65433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65434 ac_ext=c
65435 ac_cpp='$CPP $CPPFLAGS'
65436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65445 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65447 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65448 for ac_func in _sincos
65449 do :
65450 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65451 if test "x$ac_cv_func__sincos" = x""yes; then :
65452 cat >>confdefs.h <<_ACEOF
65453 #define HAVE__SINCOS 1
65454 _ACEOF
65457 done
65466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65467 $as_echo_n "checking for fpclass declaration... " >&6; }
65468 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65469 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65470 $as_echo_n "(cached) " >&6
65471 else
65474 ac_ext=cpp
65475 ac_cpp='$CXXCPP $CPPFLAGS'
65476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65481 /* end confdefs.h. */
65482 #include <math.h>
65483 #ifdef HAVE_IEEEFP_H
65484 #include <ieeefp.h>
65485 #endif
65488 main ()
65490 fpclass(0);
65492 return 0;
65494 _ACEOF
65495 if ac_fn_cxx_try_compile "$LINENO"; then :
65496 glibcxx_cv_func_fpclass_use=yes
65497 else
65498 glibcxx_cv_func_fpclass_use=no
65500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65501 ac_ext=c
65502 ac_cpp='$CPP $CPPFLAGS'
65503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65512 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65514 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65515 for ac_func in fpclass
65516 do :
65517 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65518 if test "x$ac_cv_func_fpclass" = x""yes; then :
65519 cat >>confdefs.h <<_ACEOF
65520 #define HAVE_FPCLASS 1
65521 _ACEOF
65524 done
65526 else
65528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65529 $as_echo_n "checking for _fpclass declaration... " >&6; }
65530 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65531 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65532 $as_echo_n "(cached) " >&6
65533 else
65536 ac_ext=cpp
65537 ac_cpp='$CXXCPP $CPPFLAGS'
65538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65543 /* end confdefs.h. */
65544 #include <math.h>
65545 #ifdef HAVE_IEEEFP_H
65546 #include <ieeefp.h>
65547 #endif
65550 main ()
65552 _fpclass(0);
65554 return 0;
65556 _ACEOF
65557 if ac_fn_cxx_try_compile "$LINENO"; then :
65558 glibcxx_cv_func__fpclass_use=yes
65559 else
65560 glibcxx_cv_func__fpclass_use=no
65562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65563 ac_ext=c
65564 ac_cpp='$CPP $CPPFLAGS'
65565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65574 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65576 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65577 for ac_func in _fpclass
65578 do :
65579 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65580 if test "x$ac_cv_func__fpclass" = x""yes; then :
65581 cat >>confdefs.h <<_ACEOF
65582 #define HAVE__FPCLASS 1
65583 _ACEOF
65586 done
65595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65596 $as_echo_n "checking for qfpclass declaration... " >&6; }
65597 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65598 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65599 $as_echo_n "(cached) " >&6
65600 else
65603 ac_ext=cpp
65604 ac_cpp='$CXXCPP $CPPFLAGS'
65605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65610 /* end confdefs.h. */
65611 #include <math.h>
65612 #ifdef HAVE_IEEEFP_H
65613 #include <ieeefp.h>
65614 #endif
65617 main ()
65619 qfpclass(0);
65621 return 0;
65623 _ACEOF
65624 if ac_fn_cxx_try_compile "$LINENO"; then :
65625 glibcxx_cv_func_qfpclass_use=yes
65626 else
65627 glibcxx_cv_func_qfpclass_use=no
65629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65630 ac_ext=c
65631 ac_cpp='$CPP $CPPFLAGS'
65632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65641 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65643 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65644 for ac_func in qfpclass
65645 do :
65646 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65647 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65648 cat >>confdefs.h <<_ACEOF
65649 #define HAVE_QFPCLASS 1
65650 _ACEOF
65653 done
65655 else
65657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65658 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65659 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65660 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65661 $as_echo_n "(cached) " >&6
65662 else
65665 ac_ext=cpp
65666 ac_cpp='$CXXCPP $CPPFLAGS'
65667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65672 /* end confdefs.h. */
65673 #include <math.h>
65674 #ifdef HAVE_IEEEFP_H
65675 #include <ieeefp.h>
65676 #endif
65679 main ()
65681 _qfpclass(0);
65683 return 0;
65685 _ACEOF
65686 if ac_fn_cxx_try_compile "$LINENO"; then :
65687 glibcxx_cv_func__qfpclass_use=yes
65688 else
65689 glibcxx_cv_func__qfpclass_use=no
65691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65692 ac_ext=c
65693 ac_cpp='$CPP $CPPFLAGS'
65694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65703 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65705 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65706 for ac_func in _qfpclass
65707 do :
65708 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65709 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65710 cat >>confdefs.h <<_ACEOF
65711 #define HAVE__QFPCLASS 1
65712 _ACEOF
65715 done
65724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65725 $as_echo_n "checking for hypot declaration... " >&6; }
65726 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65727 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65728 $as_echo_n "(cached) " >&6
65729 else
65732 ac_ext=cpp
65733 ac_cpp='$CXXCPP $CPPFLAGS'
65734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65739 /* end confdefs.h. */
65740 #include <math.h>
65742 main ()
65744 hypot(0, 0);
65746 return 0;
65748 _ACEOF
65749 if ac_fn_cxx_try_compile "$LINENO"; then :
65750 glibcxx_cv_func_hypot_use=yes
65751 else
65752 glibcxx_cv_func_hypot_use=no
65754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65755 ac_ext=c
65756 ac_cpp='$CPP $CPPFLAGS'
65757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65766 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65768 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65769 for ac_func in hypot
65770 do :
65771 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65772 if test "x$ac_cv_func_hypot" = x""yes; then :
65773 cat >>confdefs.h <<_ACEOF
65774 #define HAVE_HYPOT 1
65775 _ACEOF
65778 done
65780 else
65782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65783 $as_echo_n "checking for _hypot declaration... " >&6; }
65784 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65785 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65786 $as_echo_n "(cached) " >&6
65787 else
65790 ac_ext=cpp
65791 ac_cpp='$CXXCPP $CPPFLAGS'
65792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65797 /* end confdefs.h. */
65798 #include <math.h>
65800 main ()
65802 _hypot(0, 0);
65804 return 0;
65806 _ACEOF
65807 if ac_fn_cxx_try_compile "$LINENO"; then :
65808 glibcxx_cv_func__hypot_use=yes
65809 else
65810 glibcxx_cv_func__hypot_use=no
65812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65813 ac_ext=c
65814 ac_cpp='$CPP $CPPFLAGS'
65815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65824 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65826 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65827 for ac_func in _hypot
65828 do :
65829 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65830 if test "x$ac_cv_func__hypot" = x""yes; then :
65831 cat >>confdefs.h <<_ACEOF
65832 #define HAVE__HYPOT 1
65833 _ACEOF
65836 done
65845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65846 $as_echo_n "checking for float trig functions... " >&6; }
65847 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65848 $as_echo_n "(cached) " >&6
65849 else
65852 ac_ext=cpp
65853 ac_cpp='$CXXCPP $CPPFLAGS'
65854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65859 /* end confdefs.h. */
65860 #include <math.h>
65862 main ()
65864 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65866 return 0;
65868 _ACEOF
65869 if ac_fn_cxx_try_compile "$LINENO"; then :
65870 glibcxx_cv_func_float_trig_use=yes
65871 else
65872 glibcxx_cv_func_float_trig_use=no
65874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65875 ac_ext=c
65876 ac_cpp='$CPP $CPPFLAGS'
65877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65884 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65885 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65886 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65887 do :
65888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65890 eval as_val=\$$as_ac_var
65891 if test "x$as_val" = x""yes; then :
65892 cat >>confdefs.h <<_ACEOF
65893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65894 _ACEOF
65897 done
65899 else
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65901 $as_echo_n "checking for _float trig functions... " >&6; }
65902 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <math.h>
65917 main ()
65919 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65921 return 0;
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func__float_trig_use=yes
65926 else
65927 glibcxx_cv_func__float_trig_use=no
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65939 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65940 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65941 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65942 do :
65943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65945 eval as_val=\$$as_ac_var
65946 if test "x$as_val" = x""yes; then :
65947 cat >>confdefs.h <<_ACEOF
65948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65949 _ACEOF
65952 done
65961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65962 $as_echo_n "checking for float round functions... " >&6; }
65963 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65964 $as_echo_n "(cached) " >&6
65965 else
65968 ac_ext=cpp
65969 ac_cpp='$CXXCPP $CPPFLAGS'
65970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65975 /* end confdefs.h. */
65976 #include <math.h>
65978 main ()
65980 ceilf (0); floorf (0);
65982 return 0;
65984 _ACEOF
65985 if ac_fn_cxx_try_compile "$LINENO"; then :
65986 glibcxx_cv_func_float_round_use=yes
65987 else
65988 glibcxx_cv_func_float_round_use=no
65990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65991 ac_ext=c
65992 ac_cpp='$CPP $CPPFLAGS'
65993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66000 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66001 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66002 for ac_func in ceilf floorf
66003 do :
66004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66006 eval as_val=\$$as_ac_var
66007 if test "x$as_val" = x""yes; then :
66008 cat >>confdefs.h <<_ACEOF
66009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66010 _ACEOF
66013 done
66015 else
66016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66017 $as_echo_n "checking for _float round functions... " >&6; }
66018 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66019 $as_echo_n "(cached) " >&6
66020 else
66023 ac_ext=cpp
66024 ac_cpp='$CXXCPP $CPPFLAGS'
66025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66030 /* end confdefs.h. */
66031 #include <math.h>
66033 main ()
66035 _ceilf (0); _floorf (0);
66037 return 0;
66039 _ACEOF
66040 if ac_fn_cxx_try_compile "$LINENO"; then :
66041 glibcxx_cv_func__float_round_use=yes
66042 else
66043 glibcxx_cv_func__float_round_use=no
66045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66046 ac_ext=c
66047 ac_cpp='$CPP $CPPFLAGS'
66048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66055 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66056 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66057 for ac_func in _ceilf _floorf
66058 do :
66059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66061 eval as_val=\$$as_ac_var
66062 if test "x$as_val" = x""yes; then :
66063 cat >>confdefs.h <<_ACEOF
66064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66065 _ACEOF
66068 done
66078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66079 $as_echo_n "checking for expf declaration... " >&6; }
66080 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66081 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66082 $as_echo_n "(cached) " >&6
66083 else
66086 ac_ext=cpp
66087 ac_cpp='$CXXCPP $CPPFLAGS'
66088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66093 /* end confdefs.h. */
66094 #include <math.h>
66095 #ifdef HAVE_IEEEFP_H
66096 #include <ieeefp.h>
66097 #endif
66100 main ()
66102 expf(0);
66104 return 0;
66106 _ACEOF
66107 if ac_fn_cxx_try_compile "$LINENO"; then :
66108 glibcxx_cv_func_expf_use=yes
66109 else
66110 glibcxx_cv_func_expf_use=no
66112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66113 ac_ext=c
66114 ac_cpp='$CPP $CPPFLAGS'
66115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66124 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66126 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66127 for ac_func in expf
66128 do :
66129 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66130 if test "x$ac_cv_func_expf" = x""yes; then :
66131 cat >>confdefs.h <<_ACEOF
66132 #define HAVE_EXPF 1
66133 _ACEOF
66136 done
66138 else
66140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66141 $as_echo_n "checking for _expf declaration... " >&6; }
66142 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66143 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66144 $as_echo_n "(cached) " >&6
66145 else
66148 ac_ext=cpp
66149 ac_cpp='$CXXCPP $CPPFLAGS'
66150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66155 /* end confdefs.h. */
66156 #include <math.h>
66157 #ifdef HAVE_IEEEFP_H
66158 #include <ieeefp.h>
66159 #endif
66162 main ()
66164 _expf(0);
66166 return 0;
66168 _ACEOF
66169 if ac_fn_cxx_try_compile "$LINENO"; then :
66170 glibcxx_cv_func__expf_use=yes
66171 else
66172 glibcxx_cv_func__expf_use=no
66174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66175 ac_ext=c
66176 ac_cpp='$CPP $CPPFLAGS'
66177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66186 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66188 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66189 for ac_func in _expf
66190 do :
66191 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66192 if test "x$ac_cv_func__expf" = x""yes; then :
66193 cat >>confdefs.h <<_ACEOF
66194 #define HAVE__EXPF 1
66195 _ACEOF
66198 done
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66208 $as_echo_n "checking for isnanf declaration... " >&6; }
66209 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66210 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66211 $as_echo_n "(cached) " >&6
66212 else
66215 ac_ext=cpp
66216 ac_cpp='$CXXCPP $CPPFLAGS'
66217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66222 /* end confdefs.h. */
66223 #include <math.h>
66224 #ifdef HAVE_IEEEFP_H
66225 #include <ieeefp.h>
66226 #endif
66229 main ()
66231 isnanf(0);
66233 return 0;
66235 _ACEOF
66236 if ac_fn_cxx_try_compile "$LINENO"; then :
66237 glibcxx_cv_func_isnanf_use=yes
66238 else
66239 glibcxx_cv_func_isnanf_use=no
66241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66242 ac_ext=c
66243 ac_cpp='$CPP $CPPFLAGS'
66244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66253 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66255 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66256 for ac_func in isnanf
66257 do :
66258 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66259 if test "x$ac_cv_func_isnanf" = x""yes; then :
66260 cat >>confdefs.h <<_ACEOF
66261 #define HAVE_ISNANF 1
66262 _ACEOF
66265 done
66267 else
66269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66270 $as_echo_n "checking for _isnanf declaration... " >&6; }
66271 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66272 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66273 $as_echo_n "(cached) " >&6
66274 else
66277 ac_ext=cpp
66278 ac_cpp='$CXXCPP $CPPFLAGS'
66279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66284 /* end confdefs.h. */
66285 #include <math.h>
66286 #ifdef HAVE_IEEEFP_H
66287 #include <ieeefp.h>
66288 #endif
66291 main ()
66293 _isnanf(0);
66295 return 0;
66297 _ACEOF
66298 if ac_fn_cxx_try_compile "$LINENO"; then :
66299 glibcxx_cv_func__isnanf_use=yes
66300 else
66301 glibcxx_cv_func__isnanf_use=no
66303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66304 ac_ext=c
66305 ac_cpp='$CPP $CPPFLAGS'
66306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66315 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66317 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66318 for ac_func in _isnanf
66319 do :
66320 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66321 if test "x$ac_cv_func__isnanf" = x""yes; then :
66322 cat >>confdefs.h <<_ACEOF
66323 #define HAVE__ISNANF 1
66324 _ACEOF
66327 done
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66337 $as_echo_n "checking for isinff declaration... " >&6; }
66338 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66339 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66340 $as_echo_n "(cached) " >&6
66341 else
66344 ac_ext=cpp
66345 ac_cpp='$CXXCPP $CPPFLAGS'
66346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66351 /* end confdefs.h. */
66352 #include <math.h>
66353 #ifdef HAVE_IEEEFP_H
66354 #include <ieeefp.h>
66355 #endif
66358 main ()
66360 isinff(0);
66362 return 0;
66364 _ACEOF
66365 if ac_fn_cxx_try_compile "$LINENO"; then :
66366 glibcxx_cv_func_isinff_use=yes
66367 else
66368 glibcxx_cv_func_isinff_use=no
66370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66371 ac_ext=c
66372 ac_cpp='$CPP $CPPFLAGS'
66373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66382 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66384 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66385 for ac_func in isinff
66386 do :
66387 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66388 if test "x$ac_cv_func_isinff" = x""yes; then :
66389 cat >>confdefs.h <<_ACEOF
66390 #define HAVE_ISINFF 1
66391 _ACEOF
66394 done
66396 else
66398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66399 $as_echo_n "checking for _isinff declaration... " >&6; }
66400 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66401 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66402 $as_echo_n "(cached) " >&6
66403 else
66406 ac_ext=cpp
66407 ac_cpp='$CXXCPP $CPPFLAGS'
66408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66413 /* end confdefs.h. */
66414 #include <math.h>
66415 #ifdef HAVE_IEEEFP_H
66416 #include <ieeefp.h>
66417 #endif
66420 main ()
66422 _isinff(0);
66424 return 0;
66426 _ACEOF
66427 if ac_fn_cxx_try_compile "$LINENO"; then :
66428 glibcxx_cv_func__isinff_use=yes
66429 else
66430 glibcxx_cv_func__isinff_use=no
66432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66433 ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66444 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66446 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66447 for ac_func in _isinff
66448 do :
66449 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66450 if test "x$ac_cv_func__isinff" = x""yes; then :
66451 cat >>confdefs.h <<_ACEOF
66452 #define HAVE__ISINFF 1
66453 _ACEOF
66456 done
66465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66466 $as_echo_n "checking for atan2f declaration... " >&6; }
66467 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66468 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66469 $as_echo_n "(cached) " >&6
66470 else
66473 ac_ext=cpp
66474 ac_cpp='$CXXCPP $CPPFLAGS'
66475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66480 /* end confdefs.h. */
66481 #include <math.h>
66483 main ()
66485 atan2f(0, 0);
66487 return 0;
66489 _ACEOF
66490 if ac_fn_cxx_try_compile "$LINENO"; then :
66491 glibcxx_cv_func_atan2f_use=yes
66492 else
66493 glibcxx_cv_func_atan2f_use=no
66495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66496 ac_ext=c
66497 ac_cpp='$CPP $CPPFLAGS'
66498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66507 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66509 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66510 for ac_func in atan2f
66511 do :
66512 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66513 if test "x$ac_cv_func_atan2f" = x""yes; then :
66514 cat >>confdefs.h <<_ACEOF
66515 #define HAVE_ATAN2F 1
66516 _ACEOF
66519 done
66521 else
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66524 $as_echo_n "checking for _atan2f declaration... " >&6; }
66525 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66526 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66527 $as_echo_n "(cached) " >&6
66528 else
66531 ac_ext=cpp
66532 ac_cpp='$CXXCPP $CPPFLAGS'
66533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66538 /* end confdefs.h. */
66539 #include <math.h>
66541 main ()
66543 _atan2f(0, 0);
66545 return 0;
66547 _ACEOF
66548 if ac_fn_cxx_try_compile "$LINENO"; then :
66549 glibcxx_cv_func__atan2f_use=yes
66550 else
66551 glibcxx_cv_func__atan2f_use=no
66553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66554 ac_ext=c
66555 ac_cpp='$CPP $CPPFLAGS'
66556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66565 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66567 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66568 for ac_func in _atan2f
66569 do :
66570 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66571 if test "x$ac_cv_func__atan2f" = x""yes; then :
66572 cat >>confdefs.h <<_ACEOF
66573 #define HAVE__ATAN2F 1
66574 _ACEOF
66577 done
66586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66587 $as_echo_n "checking for fabsf declaration... " >&6; }
66588 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66589 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66590 $as_echo_n "(cached) " >&6
66591 else
66594 ac_ext=cpp
66595 ac_cpp='$CXXCPP $CPPFLAGS'
66596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66601 /* end confdefs.h. */
66602 #include <math.h>
66603 #ifdef HAVE_IEEEFP_H
66604 #include <ieeefp.h>
66605 #endif
66608 main ()
66610 fabsf(0);
66612 return 0;
66614 _ACEOF
66615 if ac_fn_cxx_try_compile "$LINENO"; then :
66616 glibcxx_cv_func_fabsf_use=yes
66617 else
66618 glibcxx_cv_func_fabsf_use=no
66620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66621 ac_ext=c
66622 ac_cpp='$CPP $CPPFLAGS'
66623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66632 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66634 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66635 for ac_func in fabsf
66636 do :
66637 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66638 if test "x$ac_cv_func_fabsf" = x""yes; then :
66639 cat >>confdefs.h <<_ACEOF
66640 #define HAVE_FABSF 1
66641 _ACEOF
66644 done
66646 else
66648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66649 $as_echo_n "checking for _fabsf declaration... " >&6; }
66650 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66651 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66652 $as_echo_n "(cached) " >&6
66653 else
66656 ac_ext=cpp
66657 ac_cpp='$CXXCPP $CPPFLAGS'
66658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66663 /* end confdefs.h. */
66664 #include <math.h>
66665 #ifdef HAVE_IEEEFP_H
66666 #include <ieeefp.h>
66667 #endif
66670 main ()
66672 _fabsf(0);
66674 return 0;
66676 _ACEOF
66677 if ac_fn_cxx_try_compile "$LINENO"; then :
66678 glibcxx_cv_func__fabsf_use=yes
66679 else
66680 glibcxx_cv_func__fabsf_use=no
66682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66683 ac_ext=c
66684 ac_cpp='$CPP $CPPFLAGS'
66685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66694 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66696 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66697 for ac_func in _fabsf
66698 do :
66699 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66700 if test "x$ac_cv_func__fabsf" = x""yes; then :
66701 cat >>confdefs.h <<_ACEOF
66702 #define HAVE__FABSF 1
66703 _ACEOF
66706 done
66715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66716 $as_echo_n "checking for fmodf declaration... " >&6; }
66717 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66718 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66719 $as_echo_n "(cached) " >&6
66720 else
66723 ac_ext=cpp
66724 ac_cpp='$CXXCPP $CPPFLAGS'
66725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730 /* end confdefs.h. */
66731 #include <math.h>
66733 main ()
66735 fmodf(0, 0);
66737 return 0;
66739 _ACEOF
66740 if ac_fn_cxx_try_compile "$LINENO"; then :
66741 glibcxx_cv_func_fmodf_use=yes
66742 else
66743 glibcxx_cv_func_fmodf_use=no
66745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66746 ac_ext=c
66747 ac_cpp='$CPP $CPPFLAGS'
66748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66757 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66759 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66760 for ac_func in fmodf
66761 do :
66762 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66763 if test "x$ac_cv_func_fmodf" = x""yes; then :
66764 cat >>confdefs.h <<_ACEOF
66765 #define HAVE_FMODF 1
66766 _ACEOF
66769 done
66771 else
66773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66774 $as_echo_n "checking for _fmodf declaration... " >&6; }
66775 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66776 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66777 $as_echo_n "(cached) " >&6
66778 else
66781 ac_ext=cpp
66782 ac_cpp='$CXXCPP $CPPFLAGS'
66783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66788 /* end confdefs.h. */
66789 #include <math.h>
66791 main ()
66793 _fmodf(0, 0);
66795 return 0;
66797 _ACEOF
66798 if ac_fn_cxx_try_compile "$LINENO"; then :
66799 glibcxx_cv_func__fmodf_use=yes
66800 else
66801 glibcxx_cv_func__fmodf_use=no
66803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66804 ac_ext=c
66805 ac_cpp='$CPP $CPPFLAGS'
66806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66815 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66817 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66818 for ac_func in _fmodf
66819 do :
66820 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66821 if test "x$ac_cv_func__fmodf" = x""yes; then :
66822 cat >>confdefs.h <<_ACEOF
66823 #define HAVE__FMODF 1
66824 _ACEOF
66827 done
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66837 $as_echo_n "checking for frexpf declaration... " >&6; }
66838 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66839 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66840 $as_echo_n "(cached) " >&6
66841 else
66844 ac_ext=cpp
66845 ac_cpp='$CXXCPP $CPPFLAGS'
66846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851 /* end confdefs.h. */
66852 #include <math.h>
66854 main ()
66856 frexpf(0, 0);
66858 return 0;
66860 _ACEOF
66861 if ac_fn_cxx_try_compile "$LINENO"; then :
66862 glibcxx_cv_func_frexpf_use=yes
66863 else
66864 glibcxx_cv_func_frexpf_use=no
66866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66867 ac_ext=c
66868 ac_cpp='$CPP $CPPFLAGS'
66869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66878 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66880 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66881 for ac_func in frexpf
66882 do :
66883 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66884 if test "x$ac_cv_func_frexpf" = x""yes; then :
66885 cat >>confdefs.h <<_ACEOF
66886 #define HAVE_FREXPF 1
66887 _ACEOF
66890 done
66892 else
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66895 $as_echo_n "checking for _frexpf declaration... " >&6; }
66896 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66897 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66898 $as_echo_n "(cached) " >&6
66899 else
66902 ac_ext=cpp
66903 ac_cpp='$CXXCPP $CPPFLAGS'
66904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66909 /* end confdefs.h. */
66910 #include <math.h>
66912 main ()
66914 _frexpf(0, 0);
66916 return 0;
66918 _ACEOF
66919 if ac_fn_cxx_try_compile "$LINENO"; then :
66920 glibcxx_cv_func__frexpf_use=yes
66921 else
66922 glibcxx_cv_func__frexpf_use=no
66924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66925 ac_ext=c
66926 ac_cpp='$CPP $CPPFLAGS'
66927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66936 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66938 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66939 for ac_func in _frexpf
66940 do :
66941 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66942 if test "x$ac_cv_func__frexpf" = x""yes; then :
66943 cat >>confdefs.h <<_ACEOF
66944 #define HAVE__FREXPF 1
66945 _ACEOF
66948 done
66957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66958 $as_echo_n "checking for hypotf declaration... " >&6; }
66959 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66960 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66961 $as_echo_n "(cached) " >&6
66962 else
66965 ac_ext=cpp
66966 ac_cpp='$CXXCPP $CPPFLAGS'
66967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66972 /* end confdefs.h. */
66973 #include <math.h>
66975 main ()
66977 hypotf(0, 0);
66979 return 0;
66981 _ACEOF
66982 if ac_fn_cxx_try_compile "$LINENO"; then :
66983 glibcxx_cv_func_hypotf_use=yes
66984 else
66985 glibcxx_cv_func_hypotf_use=no
66987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66988 ac_ext=c
66989 ac_cpp='$CPP $CPPFLAGS'
66990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66999 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67001 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67002 for ac_func in hypotf
67003 do :
67004 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67005 if test "x$ac_cv_func_hypotf" = x""yes; then :
67006 cat >>confdefs.h <<_ACEOF
67007 #define HAVE_HYPOTF 1
67008 _ACEOF
67011 done
67013 else
67015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67016 $as_echo_n "checking for _hypotf declaration... " >&6; }
67017 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67018 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67019 $as_echo_n "(cached) " >&6
67020 else
67023 ac_ext=cpp
67024 ac_cpp='$CXXCPP $CPPFLAGS'
67025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67030 /* end confdefs.h. */
67031 #include <math.h>
67033 main ()
67035 _hypotf(0, 0);
67037 return 0;
67039 _ACEOF
67040 if ac_fn_cxx_try_compile "$LINENO"; then :
67041 glibcxx_cv_func__hypotf_use=yes
67042 else
67043 glibcxx_cv_func__hypotf_use=no
67045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67046 ac_ext=c
67047 ac_cpp='$CPP $CPPFLAGS'
67048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67057 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67059 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67060 for ac_func in _hypotf
67061 do :
67062 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67063 if test "x$ac_cv_func__hypotf" = x""yes; then :
67064 cat >>confdefs.h <<_ACEOF
67065 #define HAVE__HYPOTF 1
67066 _ACEOF
67069 done
67078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67079 $as_echo_n "checking for ldexpf declaration... " >&6; }
67080 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67081 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67082 $as_echo_n "(cached) " >&6
67083 else
67086 ac_ext=cpp
67087 ac_cpp='$CXXCPP $CPPFLAGS'
67088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67093 /* end confdefs.h. */
67094 #include <math.h>
67096 main ()
67098 ldexpf(0, 0);
67100 return 0;
67102 _ACEOF
67103 if ac_fn_cxx_try_compile "$LINENO"; then :
67104 glibcxx_cv_func_ldexpf_use=yes
67105 else
67106 glibcxx_cv_func_ldexpf_use=no
67108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67109 ac_ext=c
67110 ac_cpp='$CPP $CPPFLAGS'
67111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67120 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67122 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67123 for ac_func in ldexpf
67124 do :
67125 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67126 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67127 cat >>confdefs.h <<_ACEOF
67128 #define HAVE_LDEXPF 1
67129 _ACEOF
67132 done
67134 else
67136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67137 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67138 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67139 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67140 $as_echo_n "(cached) " >&6
67141 else
67144 ac_ext=cpp
67145 ac_cpp='$CXXCPP $CPPFLAGS'
67146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67151 /* end confdefs.h. */
67152 #include <math.h>
67154 main ()
67156 _ldexpf(0, 0);
67158 return 0;
67160 _ACEOF
67161 if ac_fn_cxx_try_compile "$LINENO"; then :
67162 glibcxx_cv_func__ldexpf_use=yes
67163 else
67164 glibcxx_cv_func__ldexpf_use=no
67166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67167 ac_ext=c
67168 ac_cpp='$CPP $CPPFLAGS'
67169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67178 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67180 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67181 for ac_func in _ldexpf
67182 do :
67183 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67184 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67185 cat >>confdefs.h <<_ACEOF
67186 #define HAVE__LDEXPF 1
67187 _ACEOF
67190 done
67199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67200 $as_echo_n "checking for logf declaration... " >&6; }
67201 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67202 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67203 $as_echo_n "(cached) " >&6
67204 else
67207 ac_ext=cpp
67208 ac_cpp='$CXXCPP $CPPFLAGS'
67209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67214 /* end confdefs.h. */
67215 #include <math.h>
67216 #ifdef HAVE_IEEEFP_H
67217 #include <ieeefp.h>
67218 #endif
67221 main ()
67223 logf(0);
67225 return 0;
67227 _ACEOF
67228 if ac_fn_cxx_try_compile "$LINENO"; then :
67229 glibcxx_cv_func_logf_use=yes
67230 else
67231 glibcxx_cv_func_logf_use=no
67233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67234 ac_ext=c
67235 ac_cpp='$CPP $CPPFLAGS'
67236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67245 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67247 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67248 for ac_func in logf
67249 do :
67250 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67251 if test "x$ac_cv_func_logf" = x""yes; then :
67252 cat >>confdefs.h <<_ACEOF
67253 #define HAVE_LOGF 1
67254 _ACEOF
67257 done
67259 else
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67262 $as_echo_n "checking for _logf declaration... " >&6; }
67263 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67264 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67265 $as_echo_n "(cached) " >&6
67266 else
67269 ac_ext=cpp
67270 ac_cpp='$CXXCPP $CPPFLAGS'
67271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67276 /* end confdefs.h. */
67277 #include <math.h>
67278 #ifdef HAVE_IEEEFP_H
67279 #include <ieeefp.h>
67280 #endif
67283 main ()
67285 _logf(0);
67287 return 0;
67289 _ACEOF
67290 if ac_fn_cxx_try_compile "$LINENO"; then :
67291 glibcxx_cv_func__logf_use=yes
67292 else
67293 glibcxx_cv_func__logf_use=no
67295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67296 ac_ext=c
67297 ac_cpp='$CPP $CPPFLAGS'
67298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67307 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67309 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67310 for ac_func in _logf
67311 do :
67312 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67313 if test "x$ac_cv_func__logf" = x""yes; then :
67314 cat >>confdefs.h <<_ACEOF
67315 #define HAVE__LOGF 1
67316 _ACEOF
67319 done
67328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67329 $as_echo_n "checking for log10f declaration... " >&6; }
67330 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67331 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67332 $as_echo_n "(cached) " >&6
67333 else
67336 ac_ext=cpp
67337 ac_cpp='$CXXCPP $CPPFLAGS'
67338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67343 /* end confdefs.h. */
67344 #include <math.h>
67345 #ifdef HAVE_IEEEFP_H
67346 #include <ieeefp.h>
67347 #endif
67350 main ()
67352 log10f(0);
67354 return 0;
67356 _ACEOF
67357 if ac_fn_cxx_try_compile "$LINENO"; then :
67358 glibcxx_cv_func_log10f_use=yes
67359 else
67360 glibcxx_cv_func_log10f_use=no
67362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67363 ac_ext=c
67364 ac_cpp='$CPP $CPPFLAGS'
67365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67374 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67376 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67377 for ac_func in log10f
67378 do :
67379 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67380 if test "x$ac_cv_func_log10f" = x""yes; then :
67381 cat >>confdefs.h <<_ACEOF
67382 #define HAVE_LOG10F 1
67383 _ACEOF
67386 done
67388 else
67390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67391 $as_echo_n "checking for _log10f declaration... " >&6; }
67392 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67393 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67394 $as_echo_n "(cached) " >&6
67395 else
67398 ac_ext=cpp
67399 ac_cpp='$CXXCPP $CPPFLAGS'
67400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67405 /* end confdefs.h. */
67406 #include <math.h>
67407 #ifdef HAVE_IEEEFP_H
67408 #include <ieeefp.h>
67409 #endif
67412 main ()
67414 _log10f(0);
67416 return 0;
67418 _ACEOF
67419 if ac_fn_cxx_try_compile "$LINENO"; then :
67420 glibcxx_cv_func__log10f_use=yes
67421 else
67422 glibcxx_cv_func__log10f_use=no
67424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67425 ac_ext=c
67426 ac_cpp='$CPP $CPPFLAGS'
67427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67436 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67438 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67439 for ac_func in _log10f
67440 do :
67441 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67442 if test "x$ac_cv_func__log10f" = x""yes; then :
67443 cat >>confdefs.h <<_ACEOF
67444 #define HAVE__LOG10F 1
67445 _ACEOF
67448 done
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67458 $as_echo_n "checking for modff declaration... " >&6; }
67459 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67460 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67461 $as_echo_n "(cached) " >&6
67462 else
67465 ac_ext=cpp
67466 ac_cpp='$CXXCPP $CPPFLAGS'
67467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67472 /* end confdefs.h. */
67473 #include <math.h>
67475 main ()
67477 modff(0, 0);
67479 return 0;
67481 _ACEOF
67482 if ac_fn_cxx_try_compile "$LINENO"; then :
67483 glibcxx_cv_func_modff_use=yes
67484 else
67485 glibcxx_cv_func_modff_use=no
67487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67488 ac_ext=c
67489 ac_cpp='$CPP $CPPFLAGS'
67490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67499 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67501 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67502 for ac_func in modff
67503 do :
67504 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67505 if test "x$ac_cv_func_modff" = x""yes; then :
67506 cat >>confdefs.h <<_ACEOF
67507 #define HAVE_MODFF 1
67508 _ACEOF
67511 done
67513 else
67515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67516 $as_echo_n "checking for _modff declaration... " >&6; }
67517 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67518 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67519 $as_echo_n "(cached) " >&6
67520 else
67523 ac_ext=cpp
67524 ac_cpp='$CXXCPP $CPPFLAGS'
67525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67530 /* end confdefs.h. */
67531 #include <math.h>
67533 main ()
67535 _modff(0, 0);
67537 return 0;
67539 _ACEOF
67540 if ac_fn_cxx_try_compile "$LINENO"; then :
67541 glibcxx_cv_func__modff_use=yes
67542 else
67543 glibcxx_cv_func__modff_use=no
67545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67546 ac_ext=c
67547 ac_cpp='$CPP $CPPFLAGS'
67548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67557 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67559 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67560 for ac_func in _modff
67561 do :
67562 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67563 if test "x$ac_cv_func__modff" = x""yes; then :
67564 cat >>confdefs.h <<_ACEOF
67565 #define HAVE__MODFF 1
67566 _ACEOF
67569 done
67578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67579 $as_echo_n "checking for modf declaration... " >&6; }
67580 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67581 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67582 $as_echo_n "(cached) " >&6
67583 else
67586 ac_ext=cpp
67587 ac_cpp='$CXXCPP $CPPFLAGS'
67588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67593 /* end confdefs.h. */
67594 #include <math.h>
67596 main ()
67598 modf(0, 0);
67600 return 0;
67602 _ACEOF
67603 if ac_fn_cxx_try_compile "$LINENO"; then :
67604 glibcxx_cv_func_modf_use=yes
67605 else
67606 glibcxx_cv_func_modf_use=no
67608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67609 ac_ext=c
67610 ac_cpp='$CPP $CPPFLAGS'
67611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67620 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67622 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67623 for ac_func in modf
67624 do :
67625 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67626 if test "x$ac_cv_func_modf" = x""yes; then :
67627 cat >>confdefs.h <<_ACEOF
67628 #define HAVE_MODF 1
67629 _ACEOF
67632 done
67634 else
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67637 $as_echo_n "checking for _modf declaration... " >&6; }
67638 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67639 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67640 $as_echo_n "(cached) " >&6
67641 else
67644 ac_ext=cpp
67645 ac_cpp='$CXXCPP $CPPFLAGS'
67646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67651 /* end confdefs.h. */
67652 #include <math.h>
67654 main ()
67656 _modf(0, 0);
67658 return 0;
67660 _ACEOF
67661 if ac_fn_cxx_try_compile "$LINENO"; then :
67662 glibcxx_cv_func__modf_use=yes
67663 else
67664 glibcxx_cv_func__modf_use=no
67666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67667 ac_ext=c
67668 ac_cpp='$CPP $CPPFLAGS'
67669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67678 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67680 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67681 for ac_func in _modf
67682 do :
67683 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67684 if test "x$ac_cv_func__modf" = x""yes; then :
67685 cat >>confdefs.h <<_ACEOF
67686 #define HAVE__MODF 1
67687 _ACEOF
67690 done
67699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67700 $as_echo_n "checking for powf declaration... " >&6; }
67701 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67702 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67703 $as_echo_n "(cached) " >&6
67704 else
67707 ac_ext=cpp
67708 ac_cpp='$CXXCPP $CPPFLAGS'
67709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67714 /* end confdefs.h. */
67715 #include <math.h>
67717 main ()
67719 powf(0, 0);
67721 return 0;
67723 _ACEOF
67724 if ac_fn_cxx_try_compile "$LINENO"; then :
67725 glibcxx_cv_func_powf_use=yes
67726 else
67727 glibcxx_cv_func_powf_use=no
67729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67730 ac_ext=c
67731 ac_cpp='$CPP $CPPFLAGS'
67732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67741 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67743 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67744 for ac_func in powf
67745 do :
67746 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67747 if test "x$ac_cv_func_powf" = x""yes; then :
67748 cat >>confdefs.h <<_ACEOF
67749 #define HAVE_POWF 1
67750 _ACEOF
67753 done
67755 else
67757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67758 $as_echo_n "checking for _powf declaration... " >&6; }
67759 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67760 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67761 $as_echo_n "(cached) " >&6
67762 else
67765 ac_ext=cpp
67766 ac_cpp='$CXXCPP $CPPFLAGS'
67767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67772 /* end confdefs.h. */
67773 #include <math.h>
67775 main ()
67777 _powf(0, 0);
67779 return 0;
67781 _ACEOF
67782 if ac_fn_cxx_try_compile "$LINENO"; then :
67783 glibcxx_cv_func__powf_use=yes
67784 else
67785 glibcxx_cv_func__powf_use=no
67787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67788 ac_ext=c
67789 ac_cpp='$CPP $CPPFLAGS'
67790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67799 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67801 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67802 for ac_func in _powf
67803 do :
67804 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67805 if test "x$ac_cv_func__powf" = x""yes; then :
67806 cat >>confdefs.h <<_ACEOF
67807 #define HAVE__POWF 1
67808 _ACEOF
67811 done
67820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67821 $as_echo_n "checking for sqrtf declaration... " >&6; }
67822 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67823 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67824 $as_echo_n "(cached) " >&6
67825 else
67828 ac_ext=cpp
67829 ac_cpp='$CXXCPP $CPPFLAGS'
67830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67835 /* end confdefs.h. */
67836 #include <math.h>
67837 #ifdef HAVE_IEEEFP_H
67838 #include <ieeefp.h>
67839 #endif
67842 main ()
67844 sqrtf(0);
67846 return 0;
67848 _ACEOF
67849 if ac_fn_cxx_try_compile "$LINENO"; then :
67850 glibcxx_cv_func_sqrtf_use=yes
67851 else
67852 glibcxx_cv_func_sqrtf_use=no
67854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67855 ac_ext=c
67856 ac_cpp='$CPP $CPPFLAGS'
67857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67866 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67868 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67869 for ac_func in sqrtf
67870 do :
67871 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67872 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67873 cat >>confdefs.h <<_ACEOF
67874 #define HAVE_SQRTF 1
67875 _ACEOF
67878 done
67880 else
67882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67883 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67884 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67885 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67886 $as_echo_n "(cached) " >&6
67887 else
67890 ac_ext=cpp
67891 ac_cpp='$CXXCPP $CPPFLAGS'
67892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67897 /* end confdefs.h. */
67898 #include <math.h>
67899 #ifdef HAVE_IEEEFP_H
67900 #include <ieeefp.h>
67901 #endif
67904 main ()
67906 _sqrtf(0);
67908 return 0;
67910 _ACEOF
67911 if ac_fn_cxx_try_compile "$LINENO"; then :
67912 glibcxx_cv_func__sqrtf_use=yes
67913 else
67914 glibcxx_cv_func__sqrtf_use=no
67916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67917 ac_ext=c
67918 ac_cpp='$CPP $CPPFLAGS'
67919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67928 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67930 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67931 for ac_func in _sqrtf
67932 do :
67933 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67934 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67935 cat >>confdefs.h <<_ACEOF
67936 #define HAVE__SQRTF 1
67937 _ACEOF
67940 done
67949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67950 $as_echo_n "checking for sincosf declaration... " >&6; }
67951 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67952 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67953 $as_echo_n "(cached) " >&6
67954 else
67957 ac_ext=cpp
67958 ac_cpp='$CXXCPP $CPPFLAGS'
67959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67964 /* end confdefs.h. */
67965 #include <math.h>
67967 main ()
67969 sincosf(0, 0, 0);
67971 return 0;
67973 _ACEOF
67974 if ac_fn_cxx_try_compile "$LINENO"; then :
67975 glibcxx_cv_func_sincosf_use=yes
67976 else
67977 glibcxx_cv_func_sincosf_use=no
67979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67980 ac_ext=c
67981 ac_cpp='$CPP $CPPFLAGS'
67982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67991 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67993 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67994 for ac_func in sincosf
67995 do :
67996 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67997 if test "x$ac_cv_func_sincosf" = x""yes; then :
67998 cat >>confdefs.h <<_ACEOF
67999 #define HAVE_SINCOSF 1
68000 _ACEOF
68003 done
68005 else
68007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68008 $as_echo_n "checking for _sincosf declaration... " >&6; }
68009 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68010 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68011 $as_echo_n "(cached) " >&6
68012 else
68015 ac_ext=cpp
68016 ac_cpp='$CXXCPP $CPPFLAGS'
68017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68022 /* end confdefs.h. */
68023 #include <math.h>
68025 main ()
68027 _sincosf(0, 0, 0);
68029 return 0;
68031 _ACEOF
68032 if ac_fn_cxx_try_compile "$LINENO"; then :
68033 glibcxx_cv_func__sincosf_use=yes
68034 else
68035 glibcxx_cv_func__sincosf_use=no
68037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68038 ac_ext=c
68039 ac_cpp='$CPP $CPPFLAGS'
68040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68049 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68051 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68052 for ac_func in _sincosf
68053 do :
68054 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68055 if test "x$ac_cv_func__sincosf" = x""yes; then :
68056 cat >>confdefs.h <<_ACEOF
68057 #define HAVE__SINCOSF 1
68058 _ACEOF
68061 done
68070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68071 $as_echo_n "checking for finitef declaration... " >&6; }
68072 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68073 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68074 $as_echo_n "(cached) " >&6
68075 else
68078 ac_ext=cpp
68079 ac_cpp='$CXXCPP $CPPFLAGS'
68080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68085 /* end confdefs.h. */
68086 #include <math.h>
68087 #ifdef HAVE_IEEEFP_H
68088 #include <ieeefp.h>
68089 #endif
68092 main ()
68094 finitef(0);
68096 return 0;
68098 _ACEOF
68099 if ac_fn_cxx_try_compile "$LINENO"; then :
68100 glibcxx_cv_func_finitef_use=yes
68101 else
68102 glibcxx_cv_func_finitef_use=no
68104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68105 ac_ext=c
68106 ac_cpp='$CPP $CPPFLAGS'
68107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68116 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68118 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68119 for ac_func in finitef
68120 do :
68121 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68122 if test "x$ac_cv_func_finitef" = x""yes; then :
68123 cat >>confdefs.h <<_ACEOF
68124 #define HAVE_FINITEF 1
68125 _ACEOF
68128 done
68130 else
68132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68133 $as_echo_n "checking for _finitef declaration... " >&6; }
68134 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68135 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68136 $as_echo_n "(cached) " >&6
68137 else
68140 ac_ext=cpp
68141 ac_cpp='$CXXCPP $CPPFLAGS'
68142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68147 /* end confdefs.h. */
68148 #include <math.h>
68149 #ifdef HAVE_IEEEFP_H
68150 #include <ieeefp.h>
68151 #endif
68154 main ()
68156 _finitef(0);
68158 return 0;
68160 _ACEOF
68161 if ac_fn_cxx_try_compile "$LINENO"; then :
68162 glibcxx_cv_func__finitef_use=yes
68163 else
68164 glibcxx_cv_func__finitef_use=no
68166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68167 ac_ext=c
68168 ac_cpp='$CPP $CPPFLAGS'
68169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68178 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68180 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68181 for ac_func in _finitef
68182 do :
68183 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68184 if test "x$ac_cv_func__finitef" = x""yes; then :
68185 cat >>confdefs.h <<_ACEOF
68186 #define HAVE__FINITEF 1
68187 _ACEOF
68190 done
68199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68200 $as_echo_n "checking for long double trig functions... " >&6; }
68201 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68202 $as_echo_n "(cached) " >&6
68203 else
68206 ac_ext=cpp
68207 ac_cpp='$CXXCPP $CPPFLAGS'
68208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68213 /* end confdefs.h. */
68214 #include <math.h>
68216 main ()
68218 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68220 return 0;
68222 _ACEOF
68223 if ac_fn_cxx_try_compile "$LINENO"; then :
68224 glibcxx_cv_func_long_double_trig_use=yes
68225 else
68226 glibcxx_cv_func_long_double_trig_use=no
68228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68229 ac_ext=c
68230 ac_cpp='$CPP $CPPFLAGS'
68231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68238 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68239 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68240 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68241 do :
68242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68244 eval as_val=\$$as_ac_var
68245 if test "x$as_val" = x""yes; then :
68246 cat >>confdefs.h <<_ACEOF
68247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68248 _ACEOF
68251 done
68253 else
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68255 $as_echo_n "checking for _long double trig functions... " >&6; }
68256 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68257 $as_echo_n "(cached) " >&6
68258 else
68261 ac_ext=cpp
68262 ac_cpp='$CXXCPP $CPPFLAGS'
68263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68268 /* end confdefs.h. */
68269 #include <math.h>
68271 main ()
68273 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68275 return 0;
68277 _ACEOF
68278 if ac_fn_cxx_try_compile "$LINENO"; then :
68279 glibcxx_cv_func__long_double_trig_use=yes
68280 else
68281 glibcxx_cv_func__long_double_trig_use=no
68283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68284 ac_ext=c
68285 ac_cpp='$CPP $CPPFLAGS'
68286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68293 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68294 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68295 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68296 do :
68297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68299 eval as_val=\$$as_ac_var
68300 if test "x$as_val" = x""yes; then :
68301 cat >>confdefs.h <<_ACEOF
68302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68303 _ACEOF
68306 done
68315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68316 $as_echo_n "checking for long double round functions... " >&6; }
68317 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68318 $as_echo_n "(cached) " >&6
68319 else
68322 ac_ext=cpp
68323 ac_cpp='$CXXCPP $CPPFLAGS'
68324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68329 /* end confdefs.h. */
68330 #include <math.h>
68332 main ()
68334 ceill (0); floorl (0);
68336 return 0;
68338 _ACEOF
68339 if ac_fn_cxx_try_compile "$LINENO"; then :
68340 glibcxx_cv_func_long_double_round_use=yes
68341 else
68342 glibcxx_cv_func_long_double_round_use=no
68344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68345 ac_ext=c
68346 ac_cpp='$CPP $CPPFLAGS'
68347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68354 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68355 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68356 for ac_func in ceill floorl
68357 do :
68358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68360 eval as_val=\$$as_ac_var
68361 if test "x$as_val" = x""yes; then :
68362 cat >>confdefs.h <<_ACEOF
68363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68364 _ACEOF
68367 done
68369 else
68370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68371 $as_echo_n "checking for _long double round functions... " >&6; }
68372 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68373 $as_echo_n "(cached) " >&6
68374 else
68377 ac_ext=cpp
68378 ac_cpp='$CXXCPP $CPPFLAGS'
68379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68384 /* end confdefs.h. */
68385 #include <math.h>
68387 main ()
68389 _ceill (0); _floorl (0);
68391 return 0;
68393 _ACEOF
68394 if ac_fn_cxx_try_compile "$LINENO"; then :
68395 glibcxx_cv_func__long_double_round_use=yes
68396 else
68397 glibcxx_cv_func__long_double_round_use=no
68399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68400 ac_ext=c
68401 ac_cpp='$CPP $CPPFLAGS'
68402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68409 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68410 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68411 for ac_func in _ceill _floorl
68412 do :
68413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68415 eval as_val=\$$as_ac_var
68416 if test "x$as_val" = x""yes; then :
68417 cat >>confdefs.h <<_ACEOF
68418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68419 _ACEOF
68422 done
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68433 $as_echo_n "checking for isnanl declaration... " >&6; }
68434 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68435 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68436 $as_echo_n "(cached) " >&6
68437 else
68440 ac_ext=cpp
68441 ac_cpp='$CXXCPP $CPPFLAGS'
68442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68447 /* end confdefs.h. */
68448 #include <math.h>
68449 #ifdef HAVE_IEEEFP_H
68450 #include <ieeefp.h>
68451 #endif
68454 main ()
68456 isnanl(0);
68458 return 0;
68460 _ACEOF
68461 if ac_fn_cxx_try_compile "$LINENO"; then :
68462 glibcxx_cv_func_isnanl_use=yes
68463 else
68464 glibcxx_cv_func_isnanl_use=no
68466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68467 ac_ext=c
68468 ac_cpp='$CPP $CPPFLAGS'
68469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68478 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68480 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68481 for ac_func in isnanl
68482 do :
68483 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68484 if test "x$ac_cv_func_isnanl" = x""yes; then :
68485 cat >>confdefs.h <<_ACEOF
68486 #define HAVE_ISNANL 1
68487 _ACEOF
68490 done
68492 else
68494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68495 $as_echo_n "checking for _isnanl declaration... " >&6; }
68496 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68497 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68498 $as_echo_n "(cached) " >&6
68499 else
68502 ac_ext=cpp
68503 ac_cpp='$CXXCPP $CPPFLAGS'
68504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68509 /* end confdefs.h. */
68510 #include <math.h>
68511 #ifdef HAVE_IEEEFP_H
68512 #include <ieeefp.h>
68513 #endif
68516 main ()
68518 _isnanl(0);
68520 return 0;
68522 _ACEOF
68523 if ac_fn_cxx_try_compile "$LINENO"; then :
68524 glibcxx_cv_func__isnanl_use=yes
68525 else
68526 glibcxx_cv_func__isnanl_use=no
68528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68529 ac_ext=c
68530 ac_cpp='$CPP $CPPFLAGS'
68531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68540 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68542 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68543 for ac_func in _isnanl
68544 do :
68545 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68546 if test "x$ac_cv_func__isnanl" = x""yes; then :
68547 cat >>confdefs.h <<_ACEOF
68548 #define HAVE__ISNANL 1
68549 _ACEOF
68552 done
68561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68562 $as_echo_n "checking for isinfl declaration... " >&6; }
68563 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68564 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68565 $as_echo_n "(cached) " >&6
68566 else
68569 ac_ext=cpp
68570 ac_cpp='$CXXCPP $CPPFLAGS'
68571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68576 /* end confdefs.h. */
68577 #include <math.h>
68578 #ifdef HAVE_IEEEFP_H
68579 #include <ieeefp.h>
68580 #endif
68583 main ()
68585 isinfl(0);
68587 return 0;
68589 _ACEOF
68590 if ac_fn_cxx_try_compile "$LINENO"; then :
68591 glibcxx_cv_func_isinfl_use=yes
68592 else
68593 glibcxx_cv_func_isinfl_use=no
68595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68596 ac_ext=c
68597 ac_cpp='$CPP $CPPFLAGS'
68598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68607 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68609 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68610 for ac_func in isinfl
68611 do :
68612 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68613 if test "x$ac_cv_func_isinfl" = x""yes; then :
68614 cat >>confdefs.h <<_ACEOF
68615 #define HAVE_ISINFL 1
68616 _ACEOF
68619 done
68621 else
68623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68624 $as_echo_n "checking for _isinfl declaration... " >&6; }
68625 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68626 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68627 $as_echo_n "(cached) " >&6
68628 else
68631 ac_ext=cpp
68632 ac_cpp='$CXXCPP $CPPFLAGS'
68633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68638 /* end confdefs.h. */
68639 #include <math.h>
68640 #ifdef HAVE_IEEEFP_H
68641 #include <ieeefp.h>
68642 #endif
68645 main ()
68647 _isinfl(0);
68649 return 0;
68651 _ACEOF
68652 if ac_fn_cxx_try_compile "$LINENO"; then :
68653 glibcxx_cv_func__isinfl_use=yes
68654 else
68655 glibcxx_cv_func__isinfl_use=no
68657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68658 ac_ext=c
68659 ac_cpp='$CPP $CPPFLAGS'
68660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68669 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68671 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68672 for ac_func in _isinfl
68673 do :
68674 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68675 if test "x$ac_cv_func__isinfl" = x""yes; then :
68676 cat >>confdefs.h <<_ACEOF
68677 #define HAVE__ISINFL 1
68678 _ACEOF
68681 done
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68691 $as_echo_n "checking for atan2l declaration... " >&6; }
68692 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68693 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68694 $as_echo_n "(cached) " >&6
68695 else
68698 ac_ext=cpp
68699 ac_cpp='$CXXCPP $CPPFLAGS'
68700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68705 /* end confdefs.h. */
68706 #include <math.h>
68708 main ()
68710 atan2l(0, 0);
68712 return 0;
68714 _ACEOF
68715 if ac_fn_cxx_try_compile "$LINENO"; then :
68716 glibcxx_cv_func_atan2l_use=yes
68717 else
68718 glibcxx_cv_func_atan2l_use=no
68720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68721 ac_ext=c
68722 ac_cpp='$CPP $CPPFLAGS'
68723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68732 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68734 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68735 for ac_func in atan2l
68736 do :
68737 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68738 if test "x$ac_cv_func_atan2l" = x""yes; then :
68739 cat >>confdefs.h <<_ACEOF
68740 #define HAVE_ATAN2L 1
68741 _ACEOF
68744 done
68746 else
68748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68749 $as_echo_n "checking for _atan2l declaration... " >&6; }
68750 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68751 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68752 $as_echo_n "(cached) " >&6
68753 else
68756 ac_ext=cpp
68757 ac_cpp='$CXXCPP $CPPFLAGS'
68758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68763 /* end confdefs.h. */
68764 #include <math.h>
68766 main ()
68768 _atan2l(0, 0);
68770 return 0;
68772 _ACEOF
68773 if ac_fn_cxx_try_compile "$LINENO"; then :
68774 glibcxx_cv_func__atan2l_use=yes
68775 else
68776 glibcxx_cv_func__atan2l_use=no
68778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68779 ac_ext=c
68780 ac_cpp='$CPP $CPPFLAGS'
68781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68790 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68792 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68793 for ac_func in _atan2l
68794 do :
68795 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68796 if test "x$ac_cv_func__atan2l" = x""yes; then :
68797 cat >>confdefs.h <<_ACEOF
68798 #define HAVE__ATAN2L 1
68799 _ACEOF
68802 done
68811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68812 $as_echo_n "checking for expl declaration... " >&6; }
68813 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68814 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68815 $as_echo_n "(cached) " >&6
68816 else
68819 ac_ext=cpp
68820 ac_cpp='$CXXCPP $CPPFLAGS'
68821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68826 /* end confdefs.h. */
68827 #include <math.h>
68828 #ifdef HAVE_IEEEFP_H
68829 #include <ieeefp.h>
68830 #endif
68833 main ()
68835 expl(0);
68837 return 0;
68839 _ACEOF
68840 if ac_fn_cxx_try_compile "$LINENO"; then :
68841 glibcxx_cv_func_expl_use=yes
68842 else
68843 glibcxx_cv_func_expl_use=no
68845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68846 ac_ext=c
68847 ac_cpp='$CPP $CPPFLAGS'
68848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68857 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68859 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68860 for ac_func in expl
68861 do :
68862 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68863 if test "x$ac_cv_func_expl" = x""yes; then :
68864 cat >>confdefs.h <<_ACEOF
68865 #define HAVE_EXPL 1
68866 _ACEOF
68869 done
68871 else
68873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68874 $as_echo_n "checking for _expl declaration... " >&6; }
68875 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68876 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68877 $as_echo_n "(cached) " >&6
68878 else
68881 ac_ext=cpp
68882 ac_cpp='$CXXCPP $CPPFLAGS'
68883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68888 /* end confdefs.h. */
68889 #include <math.h>
68890 #ifdef HAVE_IEEEFP_H
68891 #include <ieeefp.h>
68892 #endif
68895 main ()
68897 _expl(0);
68899 return 0;
68901 _ACEOF
68902 if ac_fn_cxx_try_compile "$LINENO"; then :
68903 glibcxx_cv_func__expl_use=yes
68904 else
68905 glibcxx_cv_func__expl_use=no
68907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68908 ac_ext=c
68909 ac_cpp='$CPP $CPPFLAGS'
68910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68919 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68921 if test x$glibcxx_cv_func__expl_use = x"yes"; then
68922 for ac_func in _expl
68923 do :
68924 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68925 if test "x$ac_cv_func__expl" = x""yes; then :
68926 cat >>confdefs.h <<_ACEOF
68927 #define HAVE__EXPL 1
68928 _ACEOF
68931 done
68940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68941 $as_echo_n "checking for fabsl declaration... " >&6; }
68942 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68943 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68944 $as_echo_n "(cached) " >&6
68945 else
68948 ac_ext=cpp
68949 ac_cpp='$CXXCPP $CPPFLAGS'
68950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68955 /* end confdefs.h. */
68956 #include <math.h>
68957 #ifdef HAVE_IEEEFP_H
68958 #include <ieeefp.h>
68959 #endif
68962 main ()
68964 fabsl(0);
68966 return 0;
68968 _ACEOF
68969 if ac_fn_cxx_try_compile "$LINENO"; then :
68970 glibcxx_cv_func_fabsl_use=yes
68971 else
68972 glibcxx_cv_func_fabsl_use=no
68974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68975 ac_ext=c
68976 ac_cpp='$CPP $CPPFLAGS'
68977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68986 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68988 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68989 for ac_func in fabsl
68990 do :
68991 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68992 if test "x$ac_cv_func_fabsl" = x""yes; then :
68993 cat >>confdefs.h <<_ACEOF
68994 #define HAVE_FABSL 1
68995 _ACEOF
68998 done
69000 else
69002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69003 $as_echo_n "checking for _fabsl declaration... " >&6; }
69004 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69005 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69006 $as_echo_n "(cached) " >&6
69007 else
69010 ac_ext=cpp
69011 ac_cpp='$CXXCPP $CPPFLAGS'
69012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69017 /* end confdefs.h. */
69018 #include <math.h>
69019 #ifdef HAVE_IEEEFP_H
69020 #include <ieeefp.h>
69021 #endif
69024 main ()
69026 _fabsl(0);
69028 return 0;
69030 _ACEOF
69031 if ac_fn_cxx_try_compile "$LINENO"; then :
69032 glibcxx_cv_func__fabsl_use=yes
69033 else
69034 glibcxx_cv_func__fabsl_use=no
69036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69037 ac_ext=c
69038 ac_cpp='$CPP $CPPFLAGS'
69039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69048 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69050 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69051 for ac_func in _fabsl
69052 do :
69053 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69054 if test "x$ac_cv_func__fabsl" = x""yes; then :
69055 cat >>confdefs.h <<_ACEOF
69056 #define HAVE__FABSL 1
69057 _ACEOF
69060 done
69069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69070 $as_echo_n "checking for fmodl declaration... " >&6; }
69071 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69072 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69073 $as_echo_n "(cached) " >&6
69074 else
69077 ac_ext=cpp
69078 ac_cpp='$CXXCPP $CPPFLAGS'
69079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69084 /* end confdefs.h. */
69085 #include <math.h>
69087 main ()
69089 fmodl(0, 0);
69091 return 0;
69093 _ACEOF
69094 if ac_fn_cxx_try_compile "$LINENO"; then :
69095 glibcxx_cv_func_fmodl_use=yes
69096 else
69097 glibcxx_cv_func_fmodl_use=no
69099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69100 ac_ext=c
69101 ac_cpp='$CPP $CPPFLAGS'
69102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69111 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69113 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69114 for ac_func in fmodl
69115 do :
69116 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69117 if test "x$ac_cv_func_fmodl" = x""yes; then :
69118 cat >>confdefs.h <<_ACEOF
69119 #define HAVE_FMODL 1
69120 _ACEOF
69123 done
69125 else
69127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69128 $as_echo_n "checking for _fmodl declaration... " >&6; }
69129 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69130 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69131 $as_echo_n "(cached) " >&6
69132 else
69135 ac_ext=cpp
69136 ac_cpp='$CXXCPP $CPPFLAGS'
69137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69142 /* end confdefs.h. */
69143 #include <math.h>
69145 main ()
69147 _fmodl(0, 0);
69149 return 0;
69151 _ACEOF
69152 if ac_fn_cxx_try_compile "$LINENO"; then :
69153 glibcxx_cv_func__fmodl_use=yes
69154 else
69155 glibcxx_cv_func__fmodl_use=no
69157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69158 ac_ext=c
69159 ac_cpp='$CPP $CPPFLAGS'
69160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69169 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69171 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69172 for ac_func in _fmodl
69173 do :
69174 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69175 if test "x$ac_cv_func__fmodl" = x""yes; then :
69176 cat >>confdefs.h <<_ACEOF
69177 #define HAVE__FMODL 1
69178 _ACEOF
69181 done
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69191 $as_echo_n "checking for frexpl declaration... " >&6; }
69192 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69193 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69194 $as_echo_n "(cached) " >&6
69195 else
69198 ac_ext=cpp
69199 ac_cpp='$CXXCPP $CPPFLAGS'
69200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69205 /* end confdefs.h. */
69206 #include <math.h>
69208 main ()
69210 frexpl(0, 0);
69212 return 0;
69214 _ACEOF
69215 if ac_fn_cxx_try_compile "$LINENO"; then :
69216 glibcxx_cv_func_frexpl_use=yes
69217 else
69218 glibcxx_cv_func_frexpl_use=no
69220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69221 ac_ext=c
69222 ac_cpp='$CPP $CPPFLAGS'
69223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69232 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69234 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69235 for ac_func in frexpl
69236 do :
69237 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69238 if test "x$ac_cv_func_frexpl" = x""yes; then :
69239 cat >>confdefs.h <<_ACEOF
69240 #define HAVE_FREXPL 1
69241 _ACEOF
69244 done
69246 else
69248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69249 $as_echo_n "checking for _frexpl declaration... " >&6; }
69250 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69251 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69252 $as_echo_n "(cached) " >&6
69253 else
69256 ac_ext=cpp
69257 ac_cpp='$CXXCPP $CPPFLAGS'
69258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69263 /* end confdefs.h. */
69264 #include <math.h>
69266 main ()
69268 _frexpl(0, 0);
69270 return 0;
69272 _ACEOF
69273 if ac_fn_cxx_try_compile "$LINENO"; then :
69274 glibcxx_cv_func__frexpl_use=yes
69275 else
69276 glibcxx_cv_func__frexpl_use=no
69278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69279 ac_ext=c
69280 ac_cpp='$CPP $CPPFLAGS'
69281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69290 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69292 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69293 for ac_func in _frexpl
69294 do :
69295 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69296 if test "x$ac_cv_func__frexpl" = x""yes; then :
69297 cat >>confdefs.h <<_ACEOF
69298 #define HAVE__FREXPL 1
69299 _ACEOF
69302 done
69311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69312 $as_echo_n "checking for hypotl declaration... " >&6; }
69313 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69314 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69315 $as_echo_n "(cached) " >&6
69316 else
69319 ac_ext=cpp
69320 ac_cpp='$CXXCPP $CPPFLAGS'
69321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69326 /* end confdefs.h. */
69327 #include <math.h>
69329 main ()
69331 hypotl(0, 0);
69333 return 0;
69335 _ACEOF
69336 if ac_fn_cxx_try_compile "$LINENO"; then :
69337 glibcxx_cv_func_hypotl_use=yes
69338 else
69339 glibcxx_cv_func_hypotl_use=no
69341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69342 ac_ext=c
69343 ac_cpp='$CPP $CPPFLAGS'
69344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69353 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69355 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69356 for ac_func in hypotl
69357 do :
69358 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69359 if test "x$ac_cv_func_hypotl" = x""yes; then :
69360 cat >>confdefs.h <<_ACEOF
69361 #define HAVE_HYPOTL 1
69362 _ACEOF
69365 done
69367 else
69369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69370 $as_echo_n "checking for _hypotl declaration... " >&6; }
69371 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69372 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69373 $as_echo_n "(cached) " >&6
69374 else
69377 ac_ext=cpp
69378 ac_cpp='$CXXCPP $CPPFLAGS'
69379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69384 /* end confdefs.h. */
69385 #include <math.h>
69387 main ()
69389 _hypotl(0, 0);
69391 return 0;
69393 _ACEOF
69394 if ac_fn_cxx_try_compile "$LINENO"; then :
69395 glibcxx_cv_func__hypotl_use=yes
69396 else
69397 glibcxx_cv_func__hypotl_use=no
69399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69400 ac_ext=c
69401 ac_cpp='$CPP $CPPFLAGS'
69402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69411 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69413 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69414 for ac_func in _hypotl
69415 do :
69416 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69417 if test "x$ac_cv_func__hypotl" = x""yes; then :
69418 cat >>confdefs.h <<_ACEOF
69419 #define HAVE__HYPOTL 1
69420 _ACEOF
69423 done
69432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69433 $as_echo_n "checking for ldexpl declaration... " >&6; }
69434 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69435 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69436 $as_echo_n "(cached) " >&6
69437 else
69440 ac_ext=cpp
69441 ac_cpp='$CXXCPP $CPPFLAGS'
69442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69447 /* end confdefs.h. */
69448 #include <math.h>
69450 main ()
69452 ldexpl(0, 0);
69454 return 0;
69456 _ACEOF
69457 if ac_fn_cxx_try_compile "$LINENO"; then :
69458 glibcxx_cv_func_ldexpl_use=yes
69459 else
69460 glibcxx_cv_func_ldexpl_use=no
69462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69463 ac_ext=c
69464 ac_cpp='$CPP $CPPFLAGS'
69465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69474 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69476 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69477 for ac_func in ldexpl
69478 do :
69479 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69480 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69481 cat >>confdefs.h <<_ACEOF
69482 #define HAVE_LDEXPL 1
69483 _ACEOF
69486 done
69488 else
69490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69491 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69492 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69493 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69494 $as_echo_n "(cached) " >&6
69495 else
69498 ac_ext=cpp
69499 ac_cpp='$CXXCPP $CPPFLAGS'
69500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69505 /* end confdefs.h. */
69506 #include <math.h>
69508 main ()
69510 _ldexpl(0, 0);
69512 return 0;
69514 _ACEOF
69515 if ac_fn_cxx_try_compile "$LINENO"; then :
69516 glibcxx_cv_func__ldexpl_use=yes
69517 else
69518 glibcxx_cv_func__ldexpl_use=no
69520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69521 ac_ext=c
69522 ac_cpp='$CPP $CPPFLAGS'
69523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69532 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69534 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69535 for ac_func in _ldexpl
69536 do :
69537 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69538 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69539 cat >>confdefs.h <<_ACEOF
69540 #define HAVE__LDEXPL 1
69541 _ACEOF
69544 done
69553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69554 $as_echo_n "checking for logl declaration... " >&6; }
69555 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69556 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69557 $as_echo_n "(cached) " >&6
69558 else
69561 ac_ext=cpp
69562 ac_cpp='$CXXCPP $CPPFLAGS'
69563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69568 /* end confdefs.h. */
69569 #include <math.h>
69570 #ifdef HAVE_IEEEFP_H
69571 #include <ieeefp.h>
69572 #endif
69575 main ()
69577 logl(0);
69579 return 0;
69581 _ACEOF
69582 if ac_fn_cxx_try_compile "$LINENO"; then :
69583 glibcxx_cv_func_logl_use=yes
69584 else
69585 glibcxx_cv_func_logl_use=no
69587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69588 ac_ext=c
69589 ac_cpp='$CPP $CPPFLAGS'
69590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69599 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69601 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69602 for ac_func in logl
69603 do :
69604 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69605 if test "x$ac_cv_func_logl" = x""yes; then :
69606 cat >>confdefs.h <<_ACEOF
69607 #define HAVE_LOGL 1
69608 _ACEOF
69611 done
69613 else
69615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69616 $as_echo_n "checking for _logl declaration... " >&6; }
69617 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69618 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69619 $as_echo_n "(cached) " >&6
69620 else
69623 ac_ext=cpp
69624 ac_cpp='$CXXCPP $CPPFLAGS'
69625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69630 /* end confdefs.h. */
69631 #include <math.h>
69632 #ifdef HAVE_IEEEFP_H
69633 #include <ieeefp.h>
69634 #endif
69637 main ()
69639 _logl(0);
69641 return 0;
69643 _ACEOF
69644 if ac_fn_cxx_try_compile "$LINENO"; then :
69645 glibcxx_cv_func__logl_use=yes
69646 else
69647 glibcxx_cv_func__logl_use=no
69649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69650 ac_ext=c
69651 ac_cpp='$CPP $CPPFLAGS'
69652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69661 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69663 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69664 for ac_func in _logl
69665 do :
69666 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69667 if test "x$ac_cv_func__logl" = x""yes; then :
69668 cat >>confdefs.h <<_ACEOF
69669 #define HAVE__LOGL 1
69670 _ACEOF
69673 done
69682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69683 $as_echo_n "checking for log10l declaration... " >&6; }
69684 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69685 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69686 $as_echo_n "(cached) " >&6
69687 else
69690 ac_ext=cpp
69691 ac_cpp='$CXXCPP $CPPFLAGS'
69692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69697 /* end confdefs.h. */
69698 #include <math.h>
69699 #ifdef HAVE_IEEEFP_H
69700 #include <ieeefp.h>
69701 #endif
69704 main ()
69706 log10l(0);
69708 return 0;
69710 _ACEOF
69711 if ac_fn_cxx_try_compile "$LINENO"; then :
69712 glibcxx_cv_func_log10l_use=yes
69713 else
69714 glibcxx_cv_func_log10l_use=no
69716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69717 ac_ext=c
69718 ac_cpp='$CPP $CPPFLAGS'
69719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69728 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69730 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69731 for ac_func in log10l
69732 do :
69733 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69734 if test "x$ac_cv_func_log10l" = x""yes; then :
69735 cat >>confdefs.h <<_ACEOF
69736 #define HAVE_LOG10L 1
69737 _ACEOF
69740 done
69742 else
69744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69745 $as_echo_n "checking for _log10l declaration... " >&6; }
69746 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69747 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69748 $as_echo_n "(cached) " >&6
69749 else
69752 ac_ext=cpp
69753 ac_cpp='$CXXCPP $CPPFLAGS'
69754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69759 /* end confdefs.h. */
69760 #include <math.h>
69761 #ifdef HAVE_IEEEFP_H
69762 #include <ieeefp.h>
69763 #endif
69766 main ()
69768 _log10l(0);
69770 return 0;
69772 _ACEOF
69773 if ac_fn_cxx_try_compile "$LINENO"; then :
69774 glibcxx_cv_func__log10l_use=yes
69775 else
69776 glibcxx_cv_func__log10l_use=no
69778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69779 ac_ext=c
69780 ac_cpp='$CPP $CPPFLAGS'
69781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69790 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69792 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69793 for ac_func in _log10l
69794 do :
69795 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69796 if test "x$ac_cv_func__log10l" = x""yes; then :
69797 cat >>confdefs.h <<_ACEOF
69798 #define HAVE__LOG10L 1
69799 _ACEOF
69802 done
69811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69812 $as_echo_n "checking for modfl declaration... " >&6; }
69813 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69814 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69815 $as_echo_n "(cached) " >&6
69816 else
69819 ac_ext=cpp
69820 ac_cpp='$CXXCPP $CPPFLAGS'
69821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69826 /* end confdefs.h. */
69827 #include <math.h>
69829 main ()
69831 modfl(0, 0);
69833 return 0;
69835 _ACEOF
69836 if ac_fn_cxx_try_compile "$LINENO"; then :
69837 glibcxx_cv_func_modfl_use=yes
69838 else
69839 glibcxx_cv_func_modfl_use=no
69841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69842 ac_ext=c
69843 ac_cpp='$CPP $CPPFLAGS'
69844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69853 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69855 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69856 for ac_func in modfl
69857 do :
69858 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69859 if test "x$ac_cv_func_modfl" = x""yes; then :
69860 cat >>confdefs.h <<_ACEOF
69861 #define HAVE_MODFL 1
69862 _ACEOF
69865 done
69867 else
69869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69870 $as_echo_n "checking for _modfl declaration... " >&6; }
69871 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69872 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69873 $as_echo_n "(cached) " >&6
69874 else
69877 ac_ext=cpp
69878 ac_cpp='$CXXCPP $CPPFLAGS'
69879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69884 /* end confdefs.h. */
69885 #include <math.h>
69887 main ()
69889 _modfl(0, 0);
69891 return 0;
69893 _ACEOF
69894 if ac_fn_cxx_try_compile "$LINENO"; then :
69895 glibcxx_cv_func__modfl_use=yes
69896 else
69897 glibcxx_cv_func__modfl_use=no
69899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69900 ac_ext=c
69901 ac_cpp='$CPP $CPPFLAGS'
69902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69911 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69913 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69914 for ac_func in _modfl
69915 do :
69916 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69917 if test "x$ac_cv_func__modfl" = x""yes; then :
69918 cat >>confdefs.h <<_ACEOF
69919 #define HAVE__MODFL 1
69920 _ACEOF
69923 done
69932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69933 $as_echo_n "checking for powl declaration... " >&6; }
69934 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69935 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69936 $as_echo_n "(cached) " >&6
69937 else
69940 ac_ext=cpp
69941 ac_cpp='$CXXCPP $CPPFLAGS'
69942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69947 /* end confdefs.h. */
69948 #include <math.h>
69950 main ()
69952 powl(0, 0);
69954 return 0;
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958 glibcxx_cv_func_powl_use=yes
69959 else
69960 glibcxx_cv_func_powl_use=no
69962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69963 ac_ext=c
69964 ac_cpp='$CPP $CPPFLAGS'
69965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69974 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69976 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69977 for ac_func in powl
69978 do :
69979 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69980 if test "x$ac_cv_func_powl" = x""yes; then :
69981 cat >>confdefs.h <<_ACEOF
69982 #define HAVE_POWL 1
69983 _ACEOF
69986 done
69988 else
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69991 $as_echo_n "checking for _powl declaration... " >&6; }
69992 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69993 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69994 $as_echo_n "(cached) " >&6
69995 else
69998 ac_ext=cpp
69999 ac_cpp='$CXXCPP $CPPFLAGS'
70000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70005 /* end confdefs.h. */
70006 #include <math.h>
70008 main ()
70010 _powl(0, 0);
70012 return 0;
70014 _ACEOF
70015 if ac_fn_cxx_try_compile "$LINENO"; then :
70016 glibcxx_cv_func__powl_use=yes
70017 else
70018 glibcxx_cv_func__powl_use=no
70020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70021 ac_ext=c
70022 ac_cpp='$CPP $CPPFLAGS'
70023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70032 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70034 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70035 for ac_func in _powl
70036 do :
70037 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70038 if test "x$ac_cv_func__powl" = x""yes; then :
70039 cat >>confdefs.h <<_ACEOF
70040 #define HAVE__POWL 1
70041 _ACEOF
70044 done
70053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70054 $as_echo_n "checking for sqrtl declaration... " >&6; }
70055 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70056 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70057 $as_echo_n "(cached) " >&6
70058 else
70061 ac_ext=cpp
70062 ac_cpp='$CXXCPP $CPPFLAGS'
70063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70068 /* end confdefs.h. */
70069 #include <math.h>
70070 #ifdef HAVE_IEEEFP_H
70071 #include <ieeefp.h>
70072 #endif
70075 main ()
70077 sqrtl(0);
70079 return 0;
70081 _ACEOF
70082 if ac_fn_cxx_try_compile "$LINENO"; then :
70083 glibcxx_cv_func_sqrtl_use=yes
70084 else
70085 glibcxx_cv_func_sqrtl_use=no
70087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70088 ac_ext=c
70089 ac_cpp='$CPP $CPPFLAGS'
70090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70099 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70101 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70102 for ac_func in sqrtl
70103 do :
70104 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70105 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70106 cat >>confdefs.h <<_ACEOF
70107 #define HAVE_SQRTL 1
70108 _ACEOF
70111 done
70113 else
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70116 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70117 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70118 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70119 $as_echo_n "(cached) " >&6
70120 else
70123 ac_ext=cpp
70124 ac_cpp='$CXXCPP $CPPFLAGS'
70125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70130 /* end confdefs.h. */
70131 #include <math.h>
70132 #ifdef HAVE_IEEEFP_H
70133 #include <ieeefp.h>
70134 #endif
70137 main ()
70139 _sqrtl(0);
70141 return 0;
70143 _ACEOF
70144 if ac_fn_cxx_try_compile "$LINENO"; then :
70145 glibcxx_cv_func__sqrtl_use=yes
70146 else
70147 glibcxx_cv_func__sqrtl_use=no
70149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70150 ac_ext=c
70151 ac_cpp='$CPP $CPPFLAGS'
70152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70161 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70163 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70164 for ac_func in _sqrtl
70165 do :
70166 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70167 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70168 cat >>confdefs.h <<_ACEOF
70169 #define HAVE__SQRTL 1
70170 _ACEOF
70173 done
70182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70183 $as_echo_n "checking for sincosl declaration... " >&6; }
70184 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70185 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70186 $as_echo_n "(cached) " >&6
70187 else
70190 ac_ext=cpp
70191 ac_cpp='$CXXCPP $CPPFLAGS'
70192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70197 /* end confdefs.h. */
70198 #include <math.h>
70200 main ()
70202 sincosl(0, 0, 0);
70204 return 0;
70206 _ACEOF
70207 if ac_fn_cxx_try_compile "$LINENO"; then :
70208 glibcxx_cv_func_sincosl_use=yes
70209 else
70210 glibcxx_cv_func_sincosl_use=no
70212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70213 ac_ext=c
70214 ac_cpp='$CPP $CPPFLAGS'
70215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70224 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70226 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70227 for ac_func in sincosl
70228 do :
70229 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70230 if test "x$ac_cv_func_sincosl" = x""yes; then :
70231 cat >>confdefs.h <<_ACEOF
70232 #define HAVE_SINCOSL 1
70233 _ACEOF
70236 done
70238 else
70240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70241 $as_echo_n "checking for _sincosl declaration... " >&6; }
70242 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70243 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70244 $as_echo_n "(cached) " >&6
70245 else
70248 ac_ext=cpp
70249 ac_cpp='$CXXCPP $CPPFLAGS'
70250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70255 /* end confdefs.h. */
70256 #include <math.h>
70258 main ()
70260 _sincosl(0, 0, 0);
70262 return 0;
70264 _ACEOF
70265 if ac_fn_cxx_try_compile "$LINENO"; then :
70266 glibcxx_cv_func__sincosl_use=yes
70267 else
70268 glibcxx_cv_func__sincosl_use=no
70270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70271 ac_ext=c
70272 ac_cpp='$CPP $CPPFLAGS'
70273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70282 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70284 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70285 for ac_func in _sincosl
70286 do :
70287 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70288 if test "x$ac_cv_func__sincosl" = x""yes; then :
70289 cat >>confdefs.h <<_ACEOF
70290 #define HAVE__SINCOSL 1
70291 _ACEOF
70294 done
70303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70304 $as_echo_n "checking for finitel declaration... " >&6; }
70305 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70306 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70307 $as_echo_n "(cached) " >&6
70308 else
70311 ac_ext=cpp
70312 ac_cpp='$CXXCPP $CPPFLAGS'
70313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70318 /* end confdefs.h. */
70319 #include <math.h>
70320 #ifdef HAVE_IEEEFP_H
70321 #include <ieeefp.h>
70322 #endif
70325 main ()
70327 finitel(0);
70329 return 0;
70331 _ACEOF
70332 if ac_fn_cxx_try_compile "$LINENO"; then :
70333 glibcxx_cv_func_finitel_use=yes
70334 else
70335 glibcxx_cv_func_finitel_use=no
70337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70338 ac_ext=c
70339 ac_cpp='$CPP $CPPFLAGS'
70340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70349 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70351 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70352 for ac_func in finitel
70353 do :
70354 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70355 if test "x$ac_cv_func_finitel" = x""yes; then :
70356 cat >>confdefs.h <<_ACEOF
70357 #define HAVE_FINITEL 1
70358 _ACEOF
70361 done
70363 else
70365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70366 $as_echo_n "checking for _finitel declaration... " >&6; }
70367 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70368 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70369 $as_echo_n "(cached) " >&6
70370 else
70373 ac_ext=cpp
70374 ac_cpp='$CXXCPP $CPPFLAGS'
70375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70380 /* end confdefs.h. */
70381 #include <math.h>
70382 #ifdef HAVE_IEEEFP_H
70383 #include <ieeefp.h>
70384 #endif
70387 main ()
70389 _finitel(0);
70391 return 0;
70393 _ACEOF
70394 if ac_fn_cxx_try_compile "$LINENO"; then :
70395 glibcxx_cv_func__finitel_use=yes
70396 else
70397 glibcxx_cv_func__finitel_use=no
70399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70400 ac_ext=c
70401 ac_cpp='$CPP $CPPFLAGS'
70402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70411 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70413 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70414 for ac_func in _finitel
70415 do :
70416 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70417 if test "x$ac_cv_func__finitel" = x""yes; then :
70418 cat >>confdefs.h <<_ACEOF
70419 #define HAVE__FINITEL 1
70420 _ACEOF
70423 done
70431 LIBS="$ac_save_LIBS"
70432 CXXFLAGS="$ac_save_CXXFLAGS"
70435 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70436 ac_save_CXXFLAGS="$CXXFLAGS"
70437 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70441 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70442 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70443 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70444 $as_echo_n "(cached) " >&6
70445 else
70448 ac_ext=cpp
70449 ac_cpp='$CXXCPP $CPPFLAGS'
70450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70455 /* end confdefs.h. */
70456 #include <stdlib.h>
70458 main ()
70460 at_quick_exit(0);
70462 return 0;
70464 _ACEOF
70465 if ac_fn_cxx_try_compile "$LINENO"; then :
70466 glibcxx_cv_func_at_quick_exit_use=yes
70467 else
70468 glibcxx_cv_func_at_quick_exit_use=no
70470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70471 ac_ext=c
70472 ac_cpp='$CPP $CPPFLAGS'
70473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70482 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70483 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70484 for ac_func in at_quick_exit
70485 do :
70486 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70487 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70488 cat >>confdefs.h <<_ACEOF
70489 #define HAVE_AT_QUICK_EXIT 1
70490 _ACEOF
70493 done
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70499 $as_echo_n "checking for quick_exit declaration... " >&6; }
70500 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70501 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70502 $as_echo_n "(cached) " >&6
70503 else
70506 ac_ext=cpp
70507 ac_cpp='$CXXCPP $CPPFLAGS'
70508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70513 /* end confdefs.h. */
70514 #include <stdlib.h>
70516 main ()
70518 quick_exit(0);
70520 return 0;
70522 _ACEOF
70523 if ac_fn_cxx_try_compile "$LINENO"; then :
70524 glibcxx_cv_func_quick_exit_use=yes
70525 else
70526 glibcxx_cv_func_quick_exit_use=no
70528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70529 ac_ext=c
70530 ac_cpp='$CPP $CPPFLAGS'
70531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70540 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70541 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70542 for ac_func in quick_exit
70543 do :
70544 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70545 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70546 cat >>confdefs.h <<_ACEOF
70547 #define HAVE_QUICK_EXIT 1
70548 _ACEOF
70551 done
70556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70557 $as_echo_n "checking for strtold declaration... " >&6; }
70558 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70559 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70560 $as_echo_n "(cached) " >&6
70561 else
70564 ac_ext=cpp
70565 ac_cpp='$CXXCPP $CPPFLAGS'
70566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70571 /* end confdefs.h. */
70572 #include <stdlib.h>
70574 main ()
70576 strtold(0, 0);
70578 return 0;
70580 _ACEOF
70581 if ac_fn_cxx_try_compile "$LINENO"; then :
70582 glibcxx_cv_func_strtold_use=yes
70583 else
70584 glibcxx_cv_func_strtold_use=no
70586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70587 ac_ext=c
70588 ac_cpp='$CPP $CPPFLAGS'
70589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70598 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70599 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70600 for ac_func in strtold
70601 do :
70602 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70603 if test "x$ac_cv_func_strtold" = x""yes; then :
70604 cat >>confdefs.h <<_ACEOF
70605 #define HAVE_STRTOLD 1
70606 _ACEOF
70609 done
70616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70617 $as_echo_n "checking for strtof declaration... " >&6; }
70618 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70619 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70620 $as_echo_n "(cached) " >&6
70621 else
70624 ac_ext=cpp
70625 ac_cpp='$CXXCPP $CPPFLAGS'
70626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70631 /* end confdefs.h. */
70632 #include <stdlib.h>
70634 main ()
70636 strtof(0, 0);
70638 return 0;
70640 _ACEOF
70641 if ac_fn_cxx_try_compile "$LINENO"; then :
70642 glibcxx_cv_func_strtof_use=yes
70643 else
70644 glibcxx_cv_func_strtof_use=no
70646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70647 ac_ext=c
70648 ac_cpp='$CPP $CPPFLAGS'
70649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70658 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70659 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70660 for ac_func in strtof
70661 do :
70662 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70663 if test "x$ac_cv_func_strtof" = x""yes; then :
70664 cat >>confdefs.h <<_ACEOF
70665 #define HAVE_STRTOF 1
70666 _ACEOF
70669 done
70676 CXXFLAGS="$ac_save_CXXFLAGS"
70679 *-vxworks)
70680 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70682 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70684 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70686 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70688 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70690 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70692 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70694 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70696 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70698 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70700 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70702 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70704 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70706 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70708 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70710 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70712 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70714 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70716 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70718 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70722 as_fn_error "No support for this host/target combination." "$LINENO" 5
70724 esac
70728 # At some point, we should differentiate between architectures
70729 # like x86, which have long double versions, and alpha/powerpc/etc.,
70730 # which don't. For the time being, punt.
70731 if test x"long_double_math_on_this_cpu" = x"yes"; then
70732 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70734 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70736 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70738 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70740 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70742 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70744 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70746 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70748 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70750 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70752 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70754 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70756 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70758 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70760 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70762 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70764 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70766 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70768 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70770 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70772 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70774 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70776 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70781 # Check for _Unwind_GetIPInfo.
70784 # Check whether --with-system-libunwind was given.
70785 if test "${with_system_libunwind+set}" = set; then :
70786 withval=$with_system_libunwind;
70789 # If system-libunwind was not specifically set, pick a default setting.
70790 if test x$with_system_libunwind = x; then
70791 case ${target} in
70792 ia64-*-hpux*) with_system_libunwind=yes ;;
70793 *) with_system_libunwind=no ;;
70794 esac
70796 # Based on system-libunwind and target, do we have ipinfo?
70797 if test x$with_system_libunwind = xyes; then
70798 case ${target} in
70799 ia64-*-*) have_unwind_getipinfo=no ;;
70800 *) have_unwind_getipinfo=yes ;;
70801 esac
70802 else
70803 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70805 case ${target} in
70806 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70807 *) have_unwind_getipinfo=yes ;;
70808 esac
70812 if test x$have_unwind_getipinfo = xyes; then
70814 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70819 # Check whether --enable-linux-futex was given.
70820 if test "${enable_linux_futex+set}" = set; then :
70821 enableval=$enable_linux_futex;
70822 case "$enableval" in
70823 yes|no|default) ;;
70824 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70825 esac
70827 else
70828 enable_linux_futex=default
70832 case "$target" in
70833 *-linux*)
70834 case "$enable_linux_futex" in
70835 default)
70836 # If headers don't have gettid/futex syscalls definition, then
70837 # default to no, otherwise there will be compile time failures.
70838 # Otherwise, default to yes. If we don't detect we are
70839 # compiled/linked against NPTL and not cross-compiling, check
70840 # if programs are run by default against NPTL and if not, issue
70841 # a warning.
70842 enable_linux_futex=no
70843 if test x$gcc_no_link = xyes; then
70844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <sys/syscall.h>
70849 int lk;
70851 main ()
70853 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70855 return 0;
70857 _ACEOF
70858 if ac_fn_c_try_link "$LINENO"; then :
70859 save_LIBS="$LIBS"
70860 LIBS="-lpthread $LIBS"
70861 if test x$gcc_no_link = xyes; then
70862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70865 /* end confdefs.h. */
70866 #ifndef _GNU_SOURCE
70867 #define _GNU_SOURCE 1
70868 #endif
70869 #include <pthread.h>
70870 pthread_t th; void *status;
70872 main ()
70874 pthread_tryjoin_np (th, &status);
70876 return 0;
70878 _ACEOF
70879 if ac_fn_c_try_link "$LINENO"; then :
70880 enable_linux_futex=yes
70881 else
70882 if test x$cross_compiling = xno; then
70883 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70884 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70886 If so, please configure with --disable-linux-futex" >&5
70887 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70888 If so, please configure with --disable-linux-futex" >&2;}
70891 enable_linux_futex=yes
70893 rm -f core conftest.err conftest.$ac_objext \
70894 conftest$ac_exeext conftest.$ac_ext
70895 LIBS="$save_LIBS"
70897 rm -f core conftest.err conftest.$ac_objext \
70898 conftest$ac_exeext conftest.$ac_ext
70900 yes)
70901 if test x$gcc_no_link = xyes; then
70902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70905 /* end confdefs.h. */
70906 #include <sys/syscall.h>
70907 int lk;
70909 main ()
70911 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70913 return 0;
70915 _ACEOF
70916 if ac_fn_c_try_link "$LINENO"; then :
70918 else
70919 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70921 rm -f core conftest.err conftest.$ac_objext \
70922 conftest$ac_exeext conftest.$ac_ext
70924 esac
70927 enable_linux_futex=no
70929 esac
70930 if test x$enable_linux_futex = xyes; then
70932 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70939 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
70941 acx_cv_header_stdint=stddef.h
70942 acx_cv_header_stdint_kind="(already complete)"
70943 for i in stdint.h $inttype_headers; do
70944 unset ac_cv_type_uintptr_t
70945 unset ac_cv_type_uintmax_t
70946 unset ac_cv_type_int_least32_t
70947 unset ac_cv_type_int_fast32_t
70948 unset ac_cv_type_uint64_t
70949 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70950 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70951 #include <$i>
70953 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70954 acx_cv_header_stdint=$i
70955 else
70956 continue
70959 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70960 #include <$i>
70962 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70964 else
70965 acx_cv_header_stdint_kind="(mostly complete)"
70968 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70969 #include <$i>
70971 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70973 else
70974 acx_cv_header_stdint_kind="(mostly complete)"
70977 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70978 #include <$i>
70980 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70982 else
70983 acx_cv_header_stdint_kind="(mostly complete)"
70986 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70987 #include <$i>
70989 if test "x$ac_cv_type_uint64_t" = x""yes; then :
70991 else
70992 acx_cv_header_stdint_kind="(lacks uint64_t)"
70995 break
70996 done
70997 if test "$acx_cv_header_stdint" = stddef.h; then
70998 acx_cv_header_stdint_kind="(lacks uintmax_t)"
70999 for i in stdint.h $inttype_headers; do
71000 unset ac_cv_type_uintptr_t
71001 unset ac_cv_type_uint32_t
71002 unset ac_cv_type_uint64_t
71003 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71004 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71005 #include <$i>
71007 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71008 acx_cv_header_stdint=$i
71009 else
71010 continue
71013 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71014 #include <$i>
71016 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71020 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71021 #include <$i>
71023 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71027 break
71028 done
71030 if test "$acx_cv_header_stdint" = stddef.h; then
71031 acx_cv_header_stdint_kind="(u_intXX_t style)"
71032 for i in sys/types.h $inttype_headers; do
71033 unset ac_cv_type_u_int32_t
71034 unset ac_cv_type_u_int64_t
71035 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71036 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71037 #include <$i>
71039 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71040 acx_cv_header_stdint=$i
71041 else
71042 continue
71045 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71046 #include <$i>
71048 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71052 break
71053 done
71055 if test "$acx_cv_header_stdint" = stddef.h; then
71056 acx_cv_header_stdint_kind="(using manual detection)"
71059 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71060 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71061 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71062 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71063 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71065 # ----------------- Summarize what we found so far
71067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71068 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71070 case `$as_basename -- include/gstdint.h ||
71071 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71072 Xinclude/gstdint.h : 'X\(//\)$' \| \
71073 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71074 $as_echo X/include/gstdint.h |
71075 sed '/^.*\/\([^/][^/]*\)\/*$/{
71076 s//\1/
71079 /^X\/\(\/\/\)$/{
71080 s//\1/
71083 /^X\/\(\/\).*/{
71084 s//\1/
71087 s/.*/./; q'` in
71088 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71089 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71090 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71091 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71092 *) ;;
71093 esac
71095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71096 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71098 # ----------------- done included file, check C basic types --------
71100 # Lacking an uintptr_t? Test size of void *
71101 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71102 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71105 # This bug is HP SR number 8606223364.
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71107 $as_echo_n "checking size of void *... " >&6; }
71108 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71109 $as_echo_n "(cached) " >&6
71110 else
71111 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71113 else
71114 if test "$ac_cv_type_void_p" = yes; then
71115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71117 { as_fn_set_status 77
71118 as_fn_error "cannot compute sizeof (void *)
71119 See \`config.log' for more details." "$LINENO" 5; }; }
71120 else
71121 ac_cv_sizeof_void_p=0
71126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71127 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71131 cat >>confdefs.h <<_ACEOF
71132 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71133 _ACEOF
71136 esac
71138 # Lacking an uint64_t? Test size of long
71139 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71140 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71143 # This bug is HP SR number 8606223364.
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71145 $as_echo_n "checking size of long... " >&6; }
71146 if test "${ac_cv_sizeof_long+set}" = set; then :
71147 $as_echo_n "(cached) " >&6
71148 else
71149 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71151 else
71152 if test "$ac_cv_type_long" = yes; then
71153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71155 { as_fn_set_status 77
71156 as_fn_error "cannot compute sizeof (long)
71157 See \`config.log' for more details." "$LINENO" 5; }; }
71158 else
71159 ac_cv_sizeof_long=0
71164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71165 $as_echo "$ac_cv_sizeof_long" >&6; }
71169 cat >>confdefs.h <<_ACEOF
71170 #define SIZEOF_LONG $ac_cv_sizeof_long
71171 _ACEOF
71174 esac
71176 if test $acx_cv_header_stdint = stddef.h; then
71177 # Lacking a good header? Test size of everything and deduce all types.
71178 # The cast to long int works around a bug in the HP C Compiler
71179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71181 # This bug is HP SR number 8606223364.
71182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71183 $as_echo_n "checking size of int... " >&6; }
71184 if test "${ac_cv_sizeof_int+set}" = set; then :
71185 $as_echo_n "(cached) " >&6
71186 else
71187 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71189 else
71190 if test "$ac_cv_type_int" = yes; then
71191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71193 { as_fn_set_status 77
71194 as_fn_error "cannot compute sizeof (int)
71195 See \`config.log' for more details." "$LINENO" 5; }; }
71196 else
71197 ac_cv_sizeof_int=0
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71203 $as_echo "$ac_cv_sizeof_int" >&6; }
71207 cat >>confdefs.h <<_ACEOF
71208 #define SIZEOF_INT $ac_cv_sizeof_int
71209 _ACEOF
71212 # The cast to long int works around a bug in the HP C Compiler
71213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71215 # This bug is HP SR number 8606223364.
71216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71217 $as_echo_n "checking size of short... " >&6; }
71218 if test "${ac_cv_sizeof_short+set}" = set; then :
71219 $as_echo_n "(cached) " >&6
71220 else
71221 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71223 else
71224 if test "$ac_cv_type_short" = yes; then
71225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71227 { as_fn_set_status 77
71228 as_fn_error "cannot compute sizeof (short)
71229 See \`config.log' for more details." "$LINENO" 5; }; }
71230 else
71231 ac_cv_sizeof_short=0
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71237 $as_echo "$ac_cv_sizeof_short" >&6; }
71241 cat >>confdefs.h <<_ACEOF
71242 #define SIZEOF_SHORT $ac_cv_sizeof_short
71243 _ACEOF
71246 # The cast to long int works around a bug in the HP C Compiler
71247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71249 # This bug is HP SR number 8606223364.
71250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71251 $as_echo_n "checking size of char... " >&6; }
71252 if test "${ac_cv_sizeof_char+set}" = set; then :
71253 $as_echo_n "(cached) " >&6
71254 else
71255 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71257 else
71258 if test "$ac_cv_type_char" = yes; then
71259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71261 { as_fn_set_status 77
71262 as_fn_error "cannot compute sizeof (char)
71263 See \`config.log' for more details." "$LINENO" 5; }; }
71264 else
71265 ac_cv_sizeof_char=0
71270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71271 $as_echo "$ac_cv_sizeof_char" >&6; }
71275 cat >>confdefs.h <<_ACEOF
71276 #define SIZEOF_CHAR $ac_cv_sizeof_char
71277 _ACEOF
71281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71282 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71283 case "$ac_cv_sizeof_char" in
71284 1) acx_cv_type_int8_t=char ;;
71285 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71286 esac
71287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71288 $as_echo "$acx_cv_type_int8_t" >&6; }
71290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71291 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71292 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71293 2:*) acx_cv_type_int16_t=int ;;
71294 *:2) acx_cv_type_int16_t=short ;;
71295 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71296 esac
71297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71298 $as_echo "$acx_cv_type_int16_t" >&6; }
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71301 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71302 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71303 4:*) acx_cv_type_int32_t=int ;;
71304 *:4) acx_cv_type_int32_t=long ;;
71305 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71306 esac
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71308 $as_echo "$acx_cv_type_int32_t" >&6; }
71311 # These tests are here to make the output prettier
71313 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71314 case "$ac_cv_sizeof_long" in
71315 8) acx_cv_type_int64_t=long ;;
71316 esac
71317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71318 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71320 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71323 # Now we can use the above types
71325 if test "$ac_cv_type_uintptr_t" != yes; then
71326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71327 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71328 case $ac_cv_sizeof_void_p in
71329 2) acx_cv_type_intptr_t=int16_t ;;
71330 4) acx_cv_type_intptr_t=int32_t ;;
71331 8) acx_cv_type_intptr_t=int64_t ;;
71332 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71333 esac
71334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71335 $as_echo "$acx_cv_type_intptr_t" >&6; }
71338 # ----------------- done all checks, emit header -------------
71339 ac_config_commands="$ac_config_commands include/gstdint.h"
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71346 $as_echo_n "checking for GNU c++filt... " >&6; }
71347 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71348 $as_echo_n "(cached) " >&6
71349 else
71350 if test -z "$CXXFILT"; then
71351 ac_path_CXXFILT_found=false
71352 # Loop through the user's path and test for each of PROGNAME-LIST
71353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71354 for as_dir in $PATH
71356 IFS=$as_save_IFS
71357 test -z "$as_dir" && as_dir=.
71358 for ac_prog in c++filt gc++filt; do
71359 for ac_exec_ext in '' $ac_executable_extensions; do
71360 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71361 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71362 # Check for GNU $ac_path_CXXFILT
71363 case `"$ac_path_CXXFILT" --version 2>&1` in
71364 *GNU*)
71365 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71366 esac
71368 $ac_path_CXXFILT_found && break 3
71369 done
71370 done
71371 done
71372 IFS=$as_save_IFS
71373 if test -z "$ac_cv_path_CXXFILT"; then
71376 else
71377 ac_cv_path_CXXFILT=$CXXFILT
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71382 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71383 CXXFILT=$ac_cv_path_CXXFILT
71387 # Check whether --enable-symvers was given.
71388 if test "${enable_symvers+set}" = set; then :
71389 enableval=$enable_symvers;
71390 case "$enableval" in
71391 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71392 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71393 esac
71395 else
71396 enable_symvers=yes
71401 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71402 # don't know enough about $LD to do tricks...
71404 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71405 # with extern "C++" in version scripts.
71408 # Turn a 'yes' into a suitable default.
71409 if test x$enable_symvers = xyes ; then
71410 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71411 enable_symvers=no
71412 else
71413 if test $with_gnu_ld = yes ; then
71414 case ${target_os} in
71415 hpux*)
71416 enable_symvers=no ;;
71418 enable_symvers=gnu ;;
71419 esac
71420 else
71421 case ${target_os} in
71422 darwin*)
71423 enable_symvers=darwin ;;
71424 # Sun symbol versioning exists since Solaris 2.5.
71425 solaris2.[5-9]* | solaris2.1[0-9]*)
71426 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71427 # version scripts, so disable symbol versioning if none can be
71428 # found.
71429 if test -z "$ac_cv_path_CXXFILT"; then
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71431 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71433 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71435 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71436 enable_symvers=no
71437 else
71438 enable_symvers=sun
71442 enable_symvers=no ;;
71443 esac
71448 # Check to see if 'darwin' or 'darwin-export' can win.
71449 if test x$enable_symvers = xdarwin-export ; then
71450 enable_symvers=darwin
71453 # Check if 'sun' was requested on non-Solaris 2 platforms.
71454 if test x$enable_symvers = xsun ; then
71455 case ${target_os} in
71456 solaris2*)
71457 # All fine.
71460 # Unlikely to work.
71461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71462 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71464 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71467 enable_symvers=no
71469 esac
71472 # Check to see if 'gnu' can win.
71473 if test $enable_symvers = gnu ||
71474 test $enable_symvers = gnu-versioned-namespace ||
71475 test $enable_symvers = sun; then
71476 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71478 $as_echo_n "checking for shared libgcc... " >&6; }
71479 ac_save_CFLAGS="$CFLAGS"
71480 CFLAGS=' -lgcc_s'
71481 if test x$gcc_no_link = xyes; then
71482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71485 /* end confdefs.h. */
71488 main ()
71490 return 0;
71492 return 0;
71494 _ACEOF
71495 if ac_fn_c_try_link "$LINENO"; then :
71496 glibcxx_shared_libgcc=yes
71497 else
71498 glibcxx_shared_libgcc=no
71500 rm -f core conftest.err conftest.$ac_objext \
71501 conftest$ac_exeext conftest.$ac_ext
71502 CFLAGS="$ac_save_CFLAGS"
71503 if test $glibcxx_shared_libgcc = no; then
71504 cat > conftest.c <<EOF
71505 int main (void) { return 0; }
71507 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71508 -shared -shared-libgcc -o conftest.so \
71509 conftest.c -v 2>&1 >/dev/null \
71510 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71511 rm -f conftest.c conftest.so
71512 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71513 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71514 if test x$gcc_no_link = xyes; then
71515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71518 /* end confdefs.h. */
71521 main ()
71523 return 0;
71525 return 0;
71527 _ACEOF
71528 if ac_fn_c_try_link "$LINENO"; then :
71529 glibcxx_shared_libgcc=yes
71531 rm -f core conftest.err conftest.$ac_objext \
71532 conftest$ac_exeext conftest.$ac_ext
71533 CFLAGS="$ac_save_CFLAGS"
71536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71537 $as_echo "$glibcxx_shared_libgcc" >&6; }
71539 # For GNU ld, we need at least this version. The format is described in
71540 # GLIBCXX_CHECK_LINKER_FEATURES above.
71541 glibcxx_min_gnu_ld_version=21400
71543 # If no shared libgcc, can't win.
71544 if test $glibcxx_shared_libgcc != yes; then
71545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71546 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71548 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71550 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71551 enable_symvers=no
71552 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71553 : All interesting versions of Sun ld support sun style symbol versioning.
71554 elif test $with_gnu_ld != yes ; then
71555 # just fail for now
71556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71557 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71559 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71561 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71562 enable_symvers=no
71563 elif test $glibcxx_ld_is_gold = yes ; then
71564 : All versions of gold support symbol versioning.
71565 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71566 # The right tools, the right setup, but too old. Fallbacks?
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71568 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71570 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71572 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71574 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71576 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71577 enable_symvers=no
71581 # For libtool versioning info, format is CURRENT:REVISION:AGE
71582 libtool_VERSION=6:19:0
71584 # Everything parsed; figure out what files and settings to use.
71585 case $enable_symvers in
71587 SYMVER_FILE=config/abi/pre/none.ver
71589 gnu)
71590 SYMVER_FILE=config/abi/pre/gnu.ver
71592 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71595 gnu-versioned-namespace)
71596 libtool_VERSION=7:0:0
71597 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71599 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71602 darwin)
71603 SYMVER_FILE=config/abi/pre/gnu.ver
71605 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71608 sun)
71609 SYMVER_FILE=config/abi/pre/gnu.ver
71611 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71614 esac
71616 if test x$enable_symvers != xno ; then
71618 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71623 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71624 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71625 $as_echo_n "(cached) " >&6
71626 else
71628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71629 /* end confdefs.h. */
71630 void foo (void); __asm (".symver foo, bar@SYMVER");
71632 main ()
71636 return 0;
71638 _ACEOF
71639 if ac_fn_c_try_compile "$LINENO"; then :
71640 glibcxx_cv_have_as_symver_directive=yes
71641 else
71642 glibcxx_cv_have_as_symver_directive=no
71644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71647 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71648 if test $glibcxx_cv_have_as_symver_directive = yes; then
71650 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71661 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71662 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71664 if test $enable_symvers != no ; then
71665 case ${target_os} in
71666 # The Solaris 2 runtime linker doesn't support the GNU extension of
71667 # binding the same symbol to different versions
71668 solaris2*)
71670 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71673 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71676 esac
71679 # Now, set up compatibility support, if any.
71680 # In addition, need this to deal with std::size_t mangling in
71681 # src/compatibility.cc. In a perfect world, could use
71682 # typeid(std::size_t).name()[0] to do direct substitution.
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71684 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71685 ac_save_CFLAGS="$CFLAGS"
71686 CFLAGS="-Werror"
71687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71688 /* end confdefs.h. */
71691 main ()
71693 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71695 return 0;
71697 _ACEOF
71698 if ac_fn_c_try_compile "$LINENO"; then :
71699 glibcxx_size_t_is_i=yes
71700 else
71701 glibcxx_size_t_is_i=no
71703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71704 CFLAGS=$ac_save_CFLAGS
71705 if test "$glibcxx_size_t_is_i" = yes; then
71707 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71711 $as_echo "$glibcxx_size_t_is_i" >&6; }
71713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71714 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71715 ac_save_CFLAGS="$CFLAGS"
71716 CFLAGS="-Werror"
71717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71718 /* end confdefs.h. */
71721 main ()
71723 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71725 return 0;
71727 _ACEOF
71728 if ac_fn_c_try_compile "$LINENO"; then :
71729 glibcxx_ptrdiff_t_is_i=yes
71730 else
71731 glibcxx_ptrdiff_t_is_i=no
71733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71734 CFLAGS=$ac_save_CFLAGS
71735 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71737 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71741 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71746 # Check whether --enable-libstdcxx-visibility was given.
71747 if test "${enable_libstdcxx_visibility+set}" = set; then :
71748 enableval=$enable_libstdcxx_visibility;
71749 case "$enableval" in
71750 yes|no) ;;
71751 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71752 esac
71754 else
71755 enable_libstdcxx_visibility=yes
71760 if test x$enable_libstdcxx_visibility = xyes ; then
71761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71762 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71763 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71764 $as_echo_n "(cached) " >&6
71765 else
71767 save_CFLAGS="$CFLAGS"
71768 CFLAGS="$CFLAGS -Werror"
71769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71770 /* end confdefs.h. */
71771 void __attribute__((visibility("hidden"))) foo(void) { }
71773 main ()
71777 return 0;
71779 _ACEOF
71780 if ac_fn_c_try_compile "$LINENO"; then :
71781 glibcxx_cv_have_attribute_visibility=yes
71782 else
71783 glibcxx_cv_have_attribute_visibility=no
71785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71786 CFLAGS="$save_CFLAGS"
71788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71789 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71790 if test $glibcxx_cv_have_attribute_visibility = no; then
71791 enable_libstdcxx_visibility=no
71796 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71797 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71800 ac_ldbl_compat=no
71801 case "$target" in
71802 powerpc*-*-linux* | \
71803 sparc*-*-linux* | \
71804 s390*-*-linux* | \
71805 alpha*-*-linux*)
71806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71807 /* end confdefs.h. */
71810 main ()
71813 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71814 #error no need for long double compatibility
71815 #endif
71818 return 0;
71820 _ACEOF
71821 if ac_fn_c_try_compile "$LINENO"; then :
71822 ac_ldbl_compat=yes
71823 else
71824 ac_ldbl_compat=no
71826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71827 if test "$ac_ldbl_compat" = yes; then
71829 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71831 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71833 esac
71836 # Check if assembler supports disabling hardware capability support.
71838 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71840 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71841 # with a different meaning.
71842 case ${target_os} in
71843 solaris2*)
71844 ac_save_CFLAGS="$CFLAGS"
71845 CFLAGS="$CFLAGS -Wa,-nH"
71847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71848 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71850 /* end confdefs.h. */
71853 main ()
71855 return 0;
71857 return 0;
71859 _ACEOF
71860 if ac_fn_c_try_compile "$LINENO"; then :
71861 ac_hwcap_flags=yes
71862 else
71863 ac_hwcap_flags=no
71865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71866 if test "$ac_hwcap_flags" = "yes"; then
71867 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71870 $as_echo "$ac_hwcap_flags" >&6; }
71872 CFLAGS="$ac_save_CFLAGS"
71874 esac
71879 # Check if assembler supports rdrand opcode.
71881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71882 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71883 if test "${ac_cv_x86_rdrand+set}" = set; then :
71884 $as_echo_n "(cached) " >&6
71885 else
71887 ac_cv_x86_rdrand=no
71888 case "$target" in
71889 i?86-*-* | \
71890 x86_64-*-*)
71891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71892 /* end confdefs.h. */
71895 main ()
71897 asm("rdrand %eax");
71899 return 0;
71901 _ACEOF
71902 if ac_fn_c_try_compile "$LINENO"; then :
71903 ac_cv_x86_rdrand=yes
71904 else
71905 ac_cv_x86_rdrand=no
71907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71908 esac
71912 if test $ac_cv_x86_rdrand = yes; then
71914 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71918 $as_echo "$ac_cv_x86_rdrand" >&6; }
71921 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71923 if $GLIBCXX_IS_NATIVE ; then
71924 # Do checks for resource limit functions.
71926 setrlimit_have_headers=yes
71927 for ac_header in unistd.h sys/time.h sys/resource.h
71928 do :
71929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71930 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71931 eval as_val=\$$as_ac_Header
71932 if test "x$as_val" = x""yes; then :
71933 cat >>confdefs.h <<_ACEOF
71934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71935 _ACEOF
71937 else
71938 setrlimit_have_headers=no
71941 done
71943 # If don't have the headers, then we can't run the tests now, and we
71944 # won't be seeing any of these during testsuite compilation.
71945 if test $setrlimit_have_headers = yes; then
71946 # Can't do these in a loop, else the resulting syntax is wrong.
71948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71949 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71951 /* end confdefs.h. */
71952 #include <unistd.h>
71953 #include <sys/time.h>
71954 #include <sys/resource.h>
71957 main ()
71959 int f = RLIMIT_DATA ;
71961 return 0;
71963 _ACEOF
71964 if ac_fn_c_try_compile "$LINENO"; then :
71965 glibcxx_mresult=1
71966 else
71967 glibcxx_mresult=0
71969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71971 cat >>confdefs.h <<_ACEOF
71972 #define HAVE_LIMIT_DATA $glibcxx_mresult
71973 _ACEOF
71975 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71977 $as_echo "$res" >&6; }
71980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71981 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71983 /* end confdefs.h. */
71984 #include <unistd.h>
71985 #include <sys/time.h>
71986 #include <sys/resource.h>
71989 main ()
71991 int f = RLIMIT_RSS ;
71993 return 0;
71995 _ACEOF
71996 if ac_fn_c_try_compile "$LINENO"; then :
71997 glibcxx_mresult=1
71998 else
71999 glibcxx_mresult=0
72001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72003 cat >>confdefs.h <<_ACEOF
72004 #define HAVE_LIMIT_RSS $glibcxx_mresult
72005 _ACEOF
72007 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72009 $as_echo "$res" >&6; }
72012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72013 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72015 /* end confdefs.h. */
72016 #include <unistd.h>
72017 #include <sys/time.h>
72018 #include <sys/resource.h>
72021 main ()
72023 int f = RLIMIT_VMEM ;
72025 return 0;
72027 _ACEOF
72028 if ac_fn_c_try_compile "$LINENO"; then :
72029 glibcxx_mresult=1
72030 else
72031 glibcxx_mresult=0
72033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72035 cat >>confdefs.h <<_ACEOF
72036 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72037 _ACEOF
72039 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72041 $as_echo "$res" >&6; }
72044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72045 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72047 /* end confdefs.h. */
72048 #include <unistd.h>
72049 #include <sys/time.h>
72050 #include <sys/resource.h>
72053 main ()
72055 int f = RLIMIT_AS ;
72057 return 0;
72059 _ACEOF
72060 if ac_fn_c_try_compile "$LINENO"; then :
72061 glibcxx_mresult=1
72062 else
72063 glibcxx_mresult=0
72065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72067 cat >>confdefs.h <<_ACEOF
72068 #define HAVE_LIMIT_AS $glibcxx_mresult
72069 _ACEOF
72071 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72073 $as_echo "$res" >&6; }
72076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72077 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72079 /* end confdefs.h. */
72080 #include <unistd.h>
72081 #include <sys/time.h>
72082 #include <sys/resource.h>
72085 main ()
72087 int f = RLIMIT_FSIZE ;
72089 return 0;
72091 _ACEOF
72092 if ac_fn_c_try_compile "$LINENO"; then :
72093 glibcxx_mresult=1
72094 else
72095 glibcxx_mresult=0
72097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72099 cat >>confdefs.h <<_ACEOF
72100 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72101 _ACEOF
72103 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72105 $as_echo "$res" >&6; }
72108 # Check for rlimit, setrlimit.
72109 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72110 $as_echo_n "(cached) " >&6
72111 else
72113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72114 /* end confdefs.h. */
72115 #include <unistd.h>
72116 #include <sys/time.h>
72117 #include <sys/resource.h>
72120 main ()
72122 struct rlimit r;
72123 setrlimit(0, &r);
72125 return 0;
72127 _ACEOF
72128 if ac_fn_c_try_compile "$LINENO"; then :
72129 glibcxx_cv_setrlimit=yes
72130 else
72131 glibcxx_cv_setrlimit=no
72133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72140 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72141 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72142 ac_res_limits=yes
72144 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72146 else
72147 ac_res_limits=no
72149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72150 $as_echo "$ac_res_limits" >&6; }
72153 # Look for setenv, so that extended locale tests can be performed.
72155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72156 $as_echo_n "checking for setenv declaration... " >&6; }
72157 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72158 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72159 $as_echo_n "(cached) " >&6
72160 else
72163 ac_ext=cpp
72164 ac_cpp='$CXXCPP $CPPFLAGS'
72165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72170 /* end confdefs.h. */
72171 #include <stdlib.h>
72173 main ()
72175 setenv(0, 0, 0);
72177 return 0;
72179 _ACEOF
72180 if ac_fn_cxx_try_compile "$LINENO"; then :
72181 glibcxx_cv_func_setenv_use=yes
72182 else
72183 glibcxx_cv_func_setenv_use=no
72185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72186 ac_ext=c
72187 ac_cpp='$CPP $CPPFLAGS'
72188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72197 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72198 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72199 for ac_func in setenv
72200 do :
72201 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72202 if test "x$ac_cv_func_setenv" = x""yes; then :
72203 cat >>confdefs.h <<_ACEOF
72204 #define HAVE_SETENV 1
72205 _ACEOF
72208 done
72214 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72215 test $enable_symvers != no; then
72216 case "$host" in
72217 *-*-cygwin*)
72218 enable_abi_check=no ;;
72220 enable_abi_check=yes ;;
72221 esac
72222 else
72223 # Only build this as native, since automake does not understand
72224 # CXX_FOR_BUILD.
72225 enable_abi_check=no
72228 # Export file names for ABI checking.
72229 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72231 baseline_subdir_switch="$abi_baseline_subdir_switch"
72235 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72237 # Check whether --enable-libstdcxx-threads was given.
72238 if test "${enable_libstdcxx_threads+set}" = set; then :
72239 enableval=$enable_libstdcxx_threads;
72240 case "$enableval" in
72241 yes|no) ;;
72242 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72243 esac
72245 else
72246 enable_libstdcxx_threads=auto
72251 if test x$enable_libstdcxx_threads = xauto ||
72252 test x$enable_libstdcxx_threads = xyes; then
72255 ac_ext=cpp
72256 ac_cpp='$CXXCPP $CPPFLAGS'
72257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72262 ac_save_CXXFLAGS="$CXXFLAGS"
72263 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72264 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72266 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72267 case $target_thread_file in
72268 posix)
72269 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72270 esac
72272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72273 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h. */
72277 #include <unistd.h>
72279 main ()
72282 // In case of POSIX threads check _POSIX_TIMEOUTS.
72283 #if (defined(_PTHREADS) \
72284 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72285 #error
72286 #endif
72289 return 0;
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293 ac_gthread_use_mutex_timedlock=1
72294 else
72295 ac_gthread_use_mutex_timedlock=0
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72300 cat >>confdefs.h <<_ACEOF
72301 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72302 _ACEOF
72305 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72306 else res_mutex_timedlock=no ; fi
72307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72308 $as_echo "$res_mutex_timedlock" >&6; }
72310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72311 $as_echo_n "checking for gthreads library... " >&6; }
72313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72314 /* end confdefs.h. */
72315 #include "gthr.h"
72317 main ()
72320 #ifndef __GTHREADS_CXX0X
72321 #error
72322 #endif
72325 return 0;
72327 _ACEOF
72328 if ac_fn_cxx_try_compile "$LINENO"; then :
72329 case $target_os in
72330 # gthreads support breaks symbol versioning on Solaris 9 (PR
72331 # libstdc++/52189).
72332 solaris2.9*)
72333 if test x$enable_symvers = xno; then
72334 ac_has_gthreads=yes
72335 elif test x$enable_libstdcxx_threads = xyes; then
72336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72337 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72339 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72340 ac_has_gthreads=yes
72341 else
72342 ac_has_gthreads=no
72346 ac_has_gthreads=yes
72348 esac
72349 else
72350 ac_has_gthreads=no
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353 else
72354 ac_has_gthreads=no
72357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72358 $as_echo "$ac_has_gthreads" >&6; }
72360 if test x"$ac_has_gthreads" = x"yes"; then
72362 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72366 CXXFLAGS="$ac_save_CXXFLAGS"
72367 ac_ext=c
72368 ac_cpp='$CPP $CPPFLAGS'
72369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72375 # Define documentation rules conditionally.
72377 # See if makeinfo has been installed and is modern enough
72378 # that we can use it.
72380 # Extract the first word of "makeinfo", so it can be a program name with args.
72381 set dummy makeinfo; ac_word=$2
72382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72383 $as_echo_n "checking for $ac_word... " >&6; }
72384 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72385 $as_echo_n "(cached) " >&6
72386 else
72387 if test -n "$MAKEINFO"; then
72388 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72389 else
72390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72391 for as_dir in $PATH
72393 IFS=$as_save_IFS
72394 test -z "$as_dir" && as_dir=.
72395 for ac_exec_ext in '' $ac_executable_extensions; do
72396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72397 ac_cv_prog_MAKEINFO="makeinfo"
72398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72399 break 2
72401 done
72402 done
72403 IFS=$as_save_IFS
72407 MAKEINFO=$ac_cv_prog_MAKEINFO
72408 if test -n "$MAKEINFO"; then
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72410 $as_echo "$MAKEINFO" >&6; }
72411 else
72412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72413 $as_echo "no" >&6; }
72417 if test -n "$MAKEINFO"; then
72418 # Found it, now check the version.
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72420 $as_echo_n "checking for modern makeinfo... " >&6; }
72421 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72422 $as_echo_n "(cached) " >&6
72423 else
72424 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72425 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72427 case $ac_prog_version in
72428 '') gcc_cv_prog_makeinfo_modern=no;;
72429 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72430 *) gcc_cv_prog_makeinfo_modern=no;;
72431 esac
72434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72435 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72436 else
72437 gcc_cv_prog_makeinfo_modern=no
72439 if test $gcc_cv_prog_makeinfo_modern = no; then
72440 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72443 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72444 BUILD_INFO_TRUE=
72445 BUILD_INFO_FALSE='#'
72446 else
72447 BUILD_INFO_TRUE='#'
72448 BUILD_INFO_FALSE=
72452 # Check for doxygen
72453 # Extract the first word of "doxygen", so it can be a program name with args.
72454 set dummy doxygen; ac_word=$2
72455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72456 $as_echo_n "checking for $ac_word... " >&6; }
72457 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72458 $as_echo_n "(cached) " >&6
72459 else
72460 if test -n "$DOXYGEN"; then
72461 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72462 else
72463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72464 for as_dir in $PATH
72466 IFS=$as_save_IFS
72467 test -z "$as_dir" && as_dir=.
72468 for ac_exec_ext in '' $ac_executable_extensions; do
72469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72470 ac_cv_prog_DOXYGEN="yes"
72471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72472 break 2
72474 done
72475 done
72476 IFS=$as_save_IFS
72478 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72481 DOXYGEN=$ac_cv_prog_DOXYGEN
72482 if test -n "$DOXYGEN"; then
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72484 $as_echo "$DOXYGEN" >&6; }
72485 else
72486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72487 $as_echo "no" >&6; }
72491 # Extract the first word of "dot", so it can be a program name with args.
72492 set dummy dot; ac_word=$2
72493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72494 $as_echo_n "checking for $ac_word... " >&6; }
72495 if test "${ac_cv_prog_DOT+set}" = set; then :
72496 $as_echo_n "(cached) " >&6
72497 else
72498 if test -n "$DOT"; then
72499 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72500 else
72501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72502 for as_dir in $PATH
72504 IFS=$as_save_IFS
72505 test -z "$as_dir" && as_dir=.
72506 for ac_exec_ext in '' $ac_executable_extensions; do
72507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72508 ac_cv_prog_DOT="yes"
72509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72510 break 2
72512 done
72513 done
72514 IFS=$as_save_IFS
72516 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72519 DOT=$ac_cv_prog_DOT
72520 if test -n "$DOT"; then
72521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72522 $as_echo "$DOT" >&6; }
72523 else
72524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72525 $as_echo "no" >&6; }
72530 # Check for docbook
72531 # Extract the first word of "xsltproc", so it can be a program name with args.
72532 set dummy xsltproc; ac_word=$2
72533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72534 $as_echo_n "checking for $ac_word... " >&6; }
72535 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72536 $as_echo_n "(cached) " >&6
72537 else
72538 if test -n "$XSLTPROC"; then
72539 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72540 else
72541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72542 for as_dir in $PATH
72544 IFS=$as_save_IFS
72545 test -z "$as_dir" && as_dir=.
72546 for ac_exec_ext in '' $ac_executable_extensions; do
72547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72548 ac_cv_prog_XSLTPROC="yes"
72549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72550 break 2
72552 done
72553 done
72554 IFS=$as_save_IFS
72556 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72559 XSLTPROC=$ac_cv_prog_XSLTPROC
72560 if test -n "$XSLTPROC"; then
72561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72562 $as_echo "$XSLTPROC" >&6; }
72563 else
72564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72565 $as_echo "no" >&6; }
72569 # Extract the first word of "xmllint", so it can be a program name with args.
72570 set dummy xmllint; ac_word=$2
72571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72572 $as_echo_n "checking for $ac_word... " >&6; }
72573 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72574 $as_echo_n "(cached) " >&6
72575 else
72576 if test -n "$XMLLINT"; then
72577 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72578 else
72579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72580 for as_dir in $PATH
72582 IFS=$as_save_IFS
72583 test -z "$as_dir" && as_dir=.
72584 for ac_exec_ext in '' $ac_executable_extensions; do
72585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72586 ac_cv_prog_XMLLINT="yes"
72587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72588 break 2
72590 done
72591 done
72592 IFS=$as_save_IFS
72594 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72597 XMLLINT=$ac_cv_prog_XMLLINT
72598 if test -n "$XMLLINT"; then
72599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72600 $as_echo "$XMLLINT" >&6; }
72601 else
72602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72603 $as_echo "no" >&6; }
72609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72610 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72611 glibcxx_stylesheets=no
72612 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
72613 glibcxx_stylesheets=yes
72615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72616 $as_echo "$glibcxx_stylesheets" >&6; }
72618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72619 $as_echo_n "checking for local stylesheet directory... " >&6; }
72620 glibcxx_local_stylesheets=no
72621 if test x"$glibcxx_stylesheets" = x"yes"; then
72622 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72623 glibcxx_local_stylesheets=yes
72624 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72626 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72627 glibcxx_local_stylesheets=yes
72628 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72630 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72631 glibcxx_local_stylesheets=yes
72632 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72636 $as_echo "$glibcxx_local_stylesheets" >&6; }
72638 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72640 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72641 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72642 else
72643 glibcxx_stylesheets=no
72646 # Check for epub3 dependencies.
72647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72648 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72649 glibcxx_epub_stylesheets=no
72650 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72651 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72652 glibcxx_epub_stylesheets=yes
72655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72656 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72657 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72658 BUILD_EPUB_TRUE=
72659 BUILD_EPUB_FALSE='#'
72660 else
72661 BUILD_EPUB_TRUE='#'
72662 BUILD_EPUB_FALSE=
72668 # Check for xml/html dependencies.
72669 if test $ac_cv_prog_DOXYGEN = "yes" &&
72670 test $ac_cv_prog_DOT = "yes" &&
72671 test $ac_cv_prog_XSLTPROC = "yes" &&
72672 test $ac_cv_prog_XMLLINT = "yes" &&
72673 test $glibcxx_stylesheets = "yes"; then
72674 BUILD_XML_TRUE=
72675 BUILD_XML_FALSE='#'
72676 else
72677 BUILD_XML_TRUE='#'
72678 BUILD_XML_FALSE=
72682 if test $ac_cv_prog_DOXYGEN = "yes" &&
72683 test $ac_cv_prog_DOT = "yes" &&
72684 test $ac_cv_prog_XSLTPROC = "yes" &&
72685 test $ac_cv_prog_XMLLINT = "yes" &&
72686 test $glibcxx_stylesheets = "yes"; then
72687 BUILD_HTML_TRUE=
72688 BUILD_HTML_FALSE='#'
72689 else
72690 BUILD_HTML_TRUE='#'
72691 BUILD_HTML_FALSE=
72695 # Check for man dependencies.
72696 if test $ac_cv_prog_DOXYGEN = "yes" &&
72697 test $ac_cv_prog_DOT = "yes"; then
72698 BUILD_MAN_TRUE=
72699 BUILD_MAN_FALSE='#'
72700 else
72701 BUILD_MAN_TRUE='#'
72702 BUILD_MAN_FALSE=
72706 # Check for pdf dependencies.
72707 # Extract the first word of "dblatex", so it can be a program name with args.
72708 set dummy dblatex; ac_word=$2
72709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72710 $as_echo_n "checking for $ac_word... " >&6; }
72711 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72712 $as_echo_n "(cached) " >&6
72713 else
72714 if test -n "$DBLATEX"; then
72715 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72716 else
72717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72718 for as_dir in $PATH
72720 IFS=$as_save_IFS
72721 test -z "$as_dir" && as_dir=.
72722 for ac_exec_ext in '' $ac_executable_extensions; do
72723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72724 ac_cv_prog_DBLATEX="yes"
72725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72726 break 2
72728 done
72729 done
72730 IFS=$as_save_IFS
72732 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72735 DBLATEX=$ac_cv_prog_DBLATEX
72736 if test -n "$DBLATEX"; then
72737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72738 $as_echo "$DBLATEX" >&6; }
72739 else
72740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72741 $as_echo "no" >&6; }
72745 # Extract the first word of "pdflatex", so it can be a program name with args.
72746 set dummy pdflatex; ac_word=$2
72747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72748 $as_echo_n "checking for $ac_word... " >&6; }
72749 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72750 $as_echo_n "(cached) " >&6
72751 else
72752 if test -n "$PDFLATEX"; then
72753 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72754 else
72755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72756 for as_dir in $PATH
72758 IFS=$as_save_IFS
72759 test -z "$as_dir" && as_dir=.
72760 for ac_exec_ext in '' $ac_executable_extensions; do
72761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72762 ac_cv_prog_PDFLATEX="yes"
72763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72764 break 2
72766 done
72767 done
72768 IFS=$as_save_IFS
72770 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72773 PDFLATEX=$ac_cv_prog_PDFLATEX
72774 if test -n "$PDFLATEX"; then
72775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72776 $as_echo "$PDFLATEX" >&6; }
72777 else
72778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72779 $as_echo "no" >&6; }
72783 if test $ac_cv_prog_DBLATEX = "yes" &&
72784 test $ac_cv_prog_PDFLATEX = "yes"; then
72785 BUILD_PDF_TRUE=
72786 BUILD_PDF_FALSE='#'
72787 else
72788 BUILD_PDF_TRUE='#'
72789 BUILD_PDF_FALSE=
72794 # Propagate the target-specific source directories through the build chain.
72795 ATOMICITY_SRCDIR=config/${atomicity_dir}
72796 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72797 ATOMIC_FLAGS=${atomic_flags}
72798 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72799 OS_INC_SRCDIR=config/${os_include_dir}
72800 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72801 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72802 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72803 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72815 # Determine cross-compile flags and AM_CONDITIONALs.
72816 #AC_SUBST(GLIBCXX_IS_NATIVE)
72817 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72818 if test $is_hosted = yes; then
72819 GLIBCXX_HOSTED_TRUE=
72820 GLIBCXX_HOSTED_FALSE='#'
72821 else
72822 GLIBCXX_HOSTED_TRUE='#'
72823 GLIBCXX_HOSTED_FALSE=
72827 if test $enable_libstdcxx_pch = yes; then
72828 GLIBCXX_BUILD_PCH_TRUE=
72829 GLIBCXX_BUILD_PCH_FALSE='#'
72830 else
72831 GLIBCXX_BUILD_PCH_TRUE='#'
72832 GLIBCXX_BUILD_PCH_FALSE=
72836 if test $enable_cheaders = c; then
72837 GLIBCXX_C_HEADERS_C_TRUE=
72838 GLIBCXX_C_HEADERS_C_FALSE='#'
72839 else
72840 GLIBCXX_C_HEADERS_C_TRUE='#'
72841 GLIBCXX_C_HEADERS_C_FALSE=
72845 if test $enable_cheaders = c_std; then
72846 GLIBCXX_C_HEADERS_C_STD_TRUE=
72847 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72848 else
72849 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72850 GLIBCXX_C_HEADERS_C_STD_FALSE=
72854 if test $enable_cheaders = c_global; then
72855 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72856 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72857 else
72858 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72859 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72863 if test $c_compatibility = yes; then
72864 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72865 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72866 else
72867 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72868 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72872 if test $enable_libstdcxx_debug = yes; then
72873 GLIBCXX_BUILD_DEBUG_TRUE=
72874 GLIBCXX_BUILD_DEBUG_FALSE='#'
72875 else
72876 GLIBCXX_BUILD_DEBUG_TRUE='#'
72877 GLIBCXX_BUILD_DEBUG_FALSE=
72881 if test $enable_extern_template = yes; then
72882 ENABLE_EXTERN_TEMPLATE_TRUE=
72883 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72884 else
72885 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72886 ENABLE_EXTERN_TEMPLATE_FALSE=
72890 if test $python_mod_dir != no; then
72891 ENABLE_PYTHONDIR_TRUE=
72892 ENABLE_PYTHONDIR_FALSE='#'
72893 else
72894 ENABLE_PYTHONDIR_TRUE='#'
72895 ENABLE_PYTHONDIR_FALSE=
72899 if test $enable_werror = yes; then
72900 ENABLE_WERROR_TRUE=
72901 ENABLE_WERROR_FALSE='#'
72902 else
72903 ENABLE_WERROR_TRUE='#'
72904 ENABLE_WERROR_FALSE=
72908 if test $enable_symvers != no; then
72909 ENABLE_SYMVERS_TRUE=
72910 ENABLE_SYMVERS_FALSE='#'
72911 else
72912 ENABLE_SYMVERS_TRUE='#'
72913 ENABLE_SYMVERS_FALSE=
72917 if test $enable_symvers = gnu; then
72918 ENABLE_SYMVERS_GNU_TRUE=
72919 ENABLE_SYMVERS_GNU_FALSE='#'
72920 else
72921 ENABLE_SYMVERS_GNU_TRUE='#'
72922 ENABLE_SYMVERS_GNU_FALSE=
72926 if test $enable_symvers = gnu-versioned-namespace; then
72927 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72928 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72929 else
72930 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72931 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72935 if test $enable_symvers = darwin; then
72936 ENABLE_SYMVERS_DARWIN_TRUE=
72937 ENABLE_SYMVERS_DARWIN_FALSE='#'
72938 else
72939 ENABLE_SYMVERS_DARWIN_TRUE='#'
72940 ENABLE_SYMVERS_DARWIN_FALSE=
72944 if test $enable_symvers = sun; then
72945 ENABLE_SYMVERS_SUN_TRUE=
72946 ENABLE_SYMVERS_SUN_FALSE='#'
72947 else
72948 ENABLE_SYMVERS_SUN_TRUE='#'
72949 ENABLE_SYMVERS_SUN_FALSE=
72953 if test $enable_libstdcxx_visibility = yes; then
72954 ENABLE_VISIBILITY_TRUE=
72955 ENABLE_VISIBILITY_FALSE='#'
72956 else
72957 ENABLE_VISIBILITY_TRUE='#'
72958 ENABLE_VISIBILITY_FALSE=
72962 if test $ac_ldbl_compat = yes; then
72963 GLIBCXX_LDBL_COMPAT_TRUE=
72964 GLIBCXX_LDBL_COMPAT_FALSE='#'
72965 else
72966 GLIBCXX_LDBL_COMPAT_TRUE='#'
72967 GLIBCXX_LDBL_COMPAT_FALSE=
72973 cat >confcache <<\_ACEOF
72974 # This file is a shell script that caches the results of configure
72975 # tests run on this system so they can be shared between configure
72976 # scripts and configure runs, see configure's option --config-cache.
72977 # It is not useful on other systems. If it contains results you don't
72978 # want to keep, you may remove or edit it.
72980 # config.status only pays attention to the cache file if you give it
72981 # the --recheck option to rerun configure.
72983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72985 # following values.
72987 _ACEOF
72989 # The following way of writing the cache mishandles newlines in values,
72990 # but we know of no workaround that is simple, portable, and efficient.
72991 # So, we kill variables containing newlines.
72992 # Ultrix sh set writes to stderr and can't be redirected directly,
72993 # and sets the high bit in the cache file unless we assign to the vars.
72995 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72996 eval ac_val=\$$ac_var
72997 case $ac_val in #(
72998 *${as_nl}*)
72999 case $ac_var in #(
73000 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73002 esac
73003 case $ac_var in #(
73004 _ | IFS | as_nl) ;; #(
73005 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73006 *) { eval $ac_var=; unset $ac_var;} ;;
73007 esac ;;
73008 esac
73009 done
73011 (set) 2>&1 |
73012 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73013 *${as_nl}ac_space=\ *)
73014 # `set' does not quote correctly, so add quotes: double-quote
73015 # substitution turns \\\\ into \\, and sed turns \\ into \.
73016 sed -n \
73017 "s/'/'\\\\''/g;
73018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73019 ;; #(
73021 # `set' quotes correctly as required by POSIX, so do not add quotes.
73022 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73024 esac |
73025 sort
73027 sed '
73028 /^ac_cv_env_/b end
73029 t clear
73030 :clear
73031 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73032 t end
73033 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73034 :end' >>confcache
73035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73036 if test -w "$cache_file"; then
73037 test "x$cache_file" != "x/dev/null" &&
73038 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73039 $as_echo "$as_me: updating cache $cache_file" >&6;}
73040 cat confcache >$cache_file
73041 else
73042 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73046 rm -f confcache
73048 if test ${multilib} = yes; then
73049 multilib_arg="--enable-multilib"
73050 else
73051 multilib_arg=
73054 # Export all the install information.
73056 glibcxx_toolexecdir=no
73057 glibcxx_toolexeclibdir=no
73058 glibcxx_prefixdir=$prefix
73060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73061 $as_echo_n "checking for gxx-include-dir... " >&6; }
73063 # Check whether --with-gxx-include-dir was given.
73064 if test "${with_gxx_include_dir+set}" = set; then :
73065 withval=$with_gxx_include_dir; case "$withval" in
73066 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73067 no) gxx_include_dir=no ;;
73068 *) gxx_include_dir=$withval ;;
73069 esac
73070 else
73071 gxx_include_dir=no
73074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73075 $as_echo "$gxx_include_dir" >&6; }
73077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73078 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73079 # Check whether --enable-version-specific-runtime-libs was given.
73080 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73081 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73082 yes) version_specific_libs=yes ;;
73083 no) version_specific_libs=no ;;
73084 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73085 esac
73086 else
73087 version_specific_libs=no
73090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73091 $as_echo "$version_specific_libs" >&6; }
73093 # Default case for install directory for include files.
73094 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73095 gxx_include_dir='include/c++/${gcc_version}'
73096 if test -n "$with_cross_host" &&
73097 test x"$with_cross_host" != x"no"; then
73098 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73099 else
73100 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73104 # Version-specific runtime libs processing.
73105 if test $version_specific_libs = yes; then
73106 # Need the gcc compiler version to know where to install libraries
73107 # and header files if --enable-version-specific-runtime-libs option
73108 # is selected. FIXME: these variables are misnamed, there are
73109 # no executables installed in _toolexecdir or _toolexeclibdir.
73110 if test x"$gxx_include_dir" = x"no"; then
73111 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73113 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73114 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73117 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73118 # Install a library built with a cross compiler in tooldir, not libdir.
73119 if test x"$glibcxx_toolexecdir" = x"no"; then
73120 if test -n "$with_cross_host" &&
73121 test x"$with_cross_host" != x"no"; then
73122 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73123 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73124 else
73125 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73126 glibcxx_toolexeclibdir='${libdir}'
73128 multi_os_directory=`$CXX -print-multi-os-directory`
73129 case $multi_os_directory in
73130 .) ;; # Avoid trailing /.
73131 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73132 esac
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73136 $as_echo_n "checking for install location... " >&6; }
73137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73138 $as_echo "$gxx_include_dir" >&6; }
73146 # Export all the include and flag information to Makefiles.
73148 # Used for every C++ compile we perform.
73149 GLIBCXX_INCLUDES="\
73150 -I$glibcxx_builddir/include/$host_alias \
73151 -I$glibcxx_builddir/include \
73152 -I$glibcxx_srcdir/libsupc++"
73154 # For Canadian crosses, pick this up too.
73155 if test $CANADIAN = yes; then
73156 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73159 # Stuff in the actual top level. Currently only used by libsupc++ to
73160 # get unwind* headers from the libgcc dir.
73161 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73162 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73164 # Now, export this to all the little Makefiles....
73169 # Optimization flags that are probably a good idea for thrill-seekers. Just
73170 # uncomment the lines below and make, everything else is ready to go...
73171 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73172 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73175 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73179 ac_config_files="$ac_config_files Makefile"
73181 ac_config_files="$ac_config_files scripts/testsuite_flags"
73183 ac_config_files="$ac_config_files scripts/extract_symvers"
73185 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73188 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73189 # that multilib installs will end up installed in the correct place.
73190 # The testsuite needs it for multilib-aware ABI baseline files.
73191 # To work around this not being passed down from config-ml.in ->
73192 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73193 # append it here. Only modify Makefiles that have just been created.
73195 # Also, get rid of this simulated-VPATH thing that automake does.
73196 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"
73199 ac_config_commands="$ac_config_commands generate-headers"
73202 cat >confcache <<\_ACEOF
73203 # This file is a shell script that caches the results of configure
73204 # tests run on this system so they can be shared between configure
73205 # scripts and configure runs, see configure's option --config-cache.
73206 # It is not useful on other systems. If it contains results you don't
73207 # want to keep, you may remove or edit it.
73209 # config.status only pays attention to the cache file if you give it
73210 # the --recheck option to rerun configure.
73212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73214 # following values.
73216 _ACEOF
73218 # The following way of writing the cache mishandles newlines in values,
73219 # but we know of no workaround that is simple, portable, and efficient.
73220 # So, we kill variables containing newlines.
73221 # Ultrix sh set writes to stderr and can't be redirected directly,
73222 # and sets the high bit in the cache file unless we assign to the vars.
73224 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73225 eval ac_val=\$$ac_var
73226 case $ac_val in #(
73227 *${as_nl}*)
73228 case $ac_var in #(
73229 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73231 esac
73232 case $ac_var in #(
73233 _ | IFS | as_nl) ;; #(
73234 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73235 *) { eval $ac_var=; unset $ac_var;} ;;
73236 esac ;;
73237 esac
73238 done
73240 (set) 2>&1 |
73241 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73242 *${as_nl}ac_space=\ *)
73243 # `set' does not quote correctly, so add quotes: double-quote
73244 # substitution turns \\\\ into \\, and sed turns \\ into \.
73245 sed -n \
73246 "s/'/'\\\\''/g;
73247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73248 ;; #(
73250 # `set' quotes correctly as required by POSIX, so do not add quotes.
73251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73253 esac |
73254 sort
73256 sed '
73257 /^ac_cv_env_/b end
73258 t clear
73259 :clear
73260 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73261 t end
73262 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73263 :end' >>confcache
73264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73265 if test -w "$cache_file"; then
73266 test "x$cache_file" != "x/dev/null" &&
73267 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73268 $as_echo "$as_me: updating cache $cache_file" >&6;}
73269 cat confcache >$cache_file
73270 else
73271 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73275 rm -f confcache
73277 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73278 # Let make expand exec_prefix.
73279 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73281 DEFS=-DHAVE_CONFIG_H
73283 ac_libobjs=
73284 ac_ltlibobjs=
73285 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73286 # 1. Remove the extension, and $U if already installed.
73287 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73288 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73289 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73290 # will be set to the directory where LIBOBJS objects are built.
73291 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73292 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73293 done
73294 LIBOBJS=$ac_libobjs
73296 LTLIBOBJS=$ac_ltlibobjs
73299 if test -n "$EXEEXT"; then
73300 am__EXEEXT_TRUE=
73301 am__EXEEXT_FALSE='#'
73302 else
73303 am__EXEEXT_TRUE='#'
73304 am__EXEEXT_FALSE=
73307 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73308 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73311 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73312 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73315 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73316 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73319 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73320 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73323 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73324 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73327 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73328 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73331 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73332 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73335 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73336 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73339 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73340 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73343 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73344 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73347 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73348 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73351 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73352 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73355 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73356 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73359 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73360 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73363 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73364 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73367 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73368 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73371 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73372 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73375 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73376 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73379 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73380 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73383 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73384 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73387 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73388 as_fn_error "conditional \"BUILD_XML\" was never defined.
73389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73391 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73392 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73395 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73396 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73399 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73400 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73404 : ${CONFIG_STATUS=./config.status}
73405 ac_write_fail=0
73406 ac_clean_files_save=$ac_clean_files
73407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73410 as_write_fail=0
73411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73412 #! $SHELL
73413 # Generated by $as_me.
73414 # Run this file to recreate the current configuration.
73415 # Compiler output produced by configure, useful for debugging
73416 # configure, is in config.log if it exists.
73418 debug=false
73419 ac_cs_recheck=false
73420 ac_cs_silent=false
73422 SHELL=\${CONFIG_SHELL-$SHELL}
73423 export SHELL
73424 _ASEOF
73425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73426 ## -------------------- ##
73427 ## M4sh Initialization. ##
73428 ## -------------------- ##
73430 # Be more Bourne compatible
73431 DUALCASE=1; export DUALCASE # for MKS sh
73432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73433 emulate sh
73434 NULLCMD=:
73435 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73436 # is contrary to our usage. Disable this feature.
73437 alias -g '${1+"$@"}'='"$@"'
73438 setopt NO_GLOB_SUBST
73439 else
73440 case `(set -o) 2>/dev/null` in #(
73441 *posix*) :
73442 set -o posix ;; #(
73443 *) :
73445 esac
73449 as_nl='
73451 export as_nl
73452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73456 # Prefer a ksh shell builtin over an external printf program on Solaris,
73457 # but without wasting forks for bash or zsh.
73458 if test -z "$BASH_VERSION$ZSH_VERSION" \
73459 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73460 as_echo='print -r --'
73461 as_echo_n='print -rn --'
73462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73463 as_echo='printf %s\n'
73464 as_echo_n='printf %s'
73465 else
73466 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73467 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73468 as_echo_n='/usr/ucb/echo -n'
73469 else
73470 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73471 as_echo_n_body='eval
73472 arg=$1;
73473 case $arg in #(
73474 *"$as_nl"*)
73475 expr "X$arg" : "X\\(.*\\)$as_nl";
73476 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73477 esac;
73478 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73480 export as_echo_n_body
73481 as_echo_n='sh -c $as_echo_n_body as_echo'
73483 export as_echo_body
73484 as_echo='sh -c $as_echo_body as_echo'
73487 # The user is always right.
73488 if test "${PATH_SEPARATOR+set}" != set; then
73489 PATH_SEPARATOR=:
73490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73491 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73492 PATH_SEPARATOR=';'
73497 # IFS
73498 # We need space, tab and new line, in precisely that order. Quoting is
73499 # there to prevent editors from complaining about space-tab.
73500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73501 # splitting by setting IFS to empty value.)
73502 IFS=" "" $as_nl"
73504 # Find who we are. Look in the path if we contain no directory separator.
73505 case $0 in #((
73506 *[\\/]* ) as_myself=$0 ;;
73507 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73508 for as_dir in $PATH
73510 IFS=$as_save_IFS
73511 test -z "$as_dir" && as_dir=.
73512 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73513 done
73514 IFS=$as_save_IFS
73517 esac
73518 # We did not find ourselves, most probably we were run as `sh COMMAND'
73519 # in which case we are not to be found in the path.
73520 if test "x$as_myself" = x; then
73521 as_myself=$0
73523 if test ! -f "$as_myself"; then
73524 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73525 exit 1
73528 # Unset variables that we do not need and which cause bugs (e.g. in
73529 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73530 # suppresses any "Segmentation fault" message there. '((' could
73531 # trigger a bug in pdksh 5.2.14.
73532 for as_var in BASH_ENV ENV MAIL MAILPATH
73533 do eval test x\${$as_var+set} = xset \
73534 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73535 done
73536 PS1='$ '
73537 PS2='> '
73538 PS4='+ '
73540 # NLS nuisances.
73541 LC_ALL=C
73542 export LC_ALL
73543 LANGUAGE=C
73544 export LANGUAGE
73546 # CDPATH.
73547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73550 # as_fn_error ERROR [LINENO LOG_FD]
73551 # ---------------------------------
73552 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73553 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73554 # script with status $?, using 1 if that was 0.
73555 as_fn_error ()
73557 as_status=$?; test $as_status -eq 0 && as_status=1
73558 if test "$3"; then
73559 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73560 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73562 $as_echo "$as_me: error: $1" >&2
73563 as_fn_exit $as_status
73564 } # as_fn_error
73567 # as_fn_set_status STATUS
73568 # -----------------------
73569 # Set $? to STATUS, without forking.
73570 as_fn_set_status ()
73572 return $1
73573 } # as_fn_set_status
73575 # as_fn_exit STATUS
73576 # -----------------
73577 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73578 as_fn_exit ()
73580 set +e
73581 as_fn_set_status $1
73582 exit $1
73583 } # as_fn_exit
73585 # as_fn_unset VAR
73586 # ---------------
73587 # Portably unset VAR.
73588 as_fn_unset ()
73590 { eval $1=; unset $1;}
73592 as_unset=as_fn_unset
73593 # as_fn_append VAR VALUE
73594 # ----------------------
73595 # Append the text in VALUE to the end of the definition contained in VAR. Take
73596 # advantage of any shell optimizations that allow amortized linear growth over
73597 # repeated appends, instead of the typical quadratic growth present in naive
73598 # implementations.
73599 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73600 eval 'as_fn_append ()
73602 eval $1+=\$2
73604 else
73605 as_fn_append ()
73607 eval $1=\$$1\$2
73609 fi # as_fn_append
73611 # as_fn_arith ARG...
73612 # ------------------
73613 # Perform arithmetic evaluation on the ARGs, and store the result in the
73614 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73615 # must be portable across $(()) and expr.
73616 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73617 eval 'as_fn_arith ()
73619 as_val=$(( $* ))
73621 else
73622 as_fn_arith ()
73624 as_val=`expr "$@" || test $? -eq 1`
73626 fi # as_fn_arith
73629 if expr a : '\(a\)' >/dev/null 2>&1 &&
73630 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73631 as_expr=expr
73632 else
73633 as_expr=false
73636 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73637 as_basename=basename
73638 else
73639 as_basename=false
73642 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73643 as_dirname=dirname
73644 else
73645 as_dirname=false
73648 as_me=`$as_basename -- "$0" ||
73649 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73650 X"$0" : 'X\(//\)$' \| \
73651 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73652 $as_echo X/"$0" |
73653 sed '/^.*\/\([^/][^/]*\)\/*$/{
73654 s//\1/
73657 /^X\/\(\/\/\)$/{
73658 s//\1/
73661 /^X\/\(\/\).*/{
73662 s//\1/
73665 s/.*/./; q'`
73667 # Avoid depending upon Character Ranges.
73668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73671 as_cr_digits='0123456789'
73672 as_cr_alnum=$as_cr_Letters$as_cr_digits
73674 ECHO_C= ECHO_N= ECHO_T=
73675 case `echo -n x` in #(((((
73676 -n*)
73677 case `echo 'xy\c'` in
73678 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73679 xy) ECHO_C='\c';;
73680 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73681 ECHO_T=' ';;
73682 esac;;
73684 ECHO_N='-n';;
73685 esac
73687 rm -f conf$$ conf$$.exe conf$$.file
73688 if test -d conf$$.dir; then
73689 rm -f conf$$.dir/conf$$.file
73690 else
73691 rm -f conf$$.dir
73692 mkdir conf$$.dir 2>/dev/null
73694 if (echo >conf$$.file) 2>/dev/null; then
73695 if ln -s conf$$.file conf$$ 2>/dev/null; then
73696 as_ln_s='ln -s'
73697 # ... but there are two gotchas:
73698 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73699 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73700 # In both cases, we have to default to `cp -p'.
73701 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73702 as_ln_s='cp -p'
73703 elif ln conf$$.file conf$$ 2>/dev/null; then
73704 as_ln_s=ln
73705 else
73706 as_ln_s='cp -p'
73708 else
73709 as_ln_s='cp -p'
73711 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73712 rmdir conf$$.dir 2>/dev/null
73715 # as_fn_mkdir_p
73716 # -------------
73717 # Create "$as_dir" as a directory, including parents if necessary.
73718 as_fn_mkdir_p ()
73721 case $as_dir in #(
73722 -*) as_dir=./$as_dir;;
73723 esac
73724 test -d "$as_dir" || eval $as_mkdir_p || {
73725 as_dirs=
73726 while :; do
73727 case $as_dir in #(
73728 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73729 *) as_qdir=$as_dir;;
73730 esac
73731 as_dirs="'$as_qdir' $as_dirs"
73732 as_dir=`$as_dirname -- "$as_dir" ||
73733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73734 X"$as_dir" : 'X\(//\)[^/]' \| \
73735 X"$as_dir" : 'X\(//\)$' \| \
73736 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73737 $as_echo X"$as_dir" |
73738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73739 s//\1/
73742 /^X\(\/\/\)[^/].*/{
73743 s//\1/
73746 /^X\(\/\/\)$/{
73747 s//\1/
73750 /^X\(\/\).*/{
73751 s//\1/
73754 s/.*/./; q'`
73755 test -d "$as_dir" && break
73756 done
73757 test -z "$as_dirs" || eval "mkdir $as_dirs"
73758 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73761 } # as_fn_mkdir_p
73762 if mkdir -p . 2>/dev/null; then
73763 as_mkdir_p='mkdir -p "$as_dir"'
73764 else
73765 test -d ./-p && rmdir ./-p
73766 as_mkdir_p=false
73769 if test -x / >/dev/null 2>&1; then
73770 as_test_x='test -x'
73771 else
73772 if ls -dL / >/dev/null 2>&1; then
73773 as_ls_L_option=L
73774 else
73775 as_ls_L_option=
73777 as_test_x='
73778 eval sh -c '\''
73779 if test -d "$1"; then
73780 test -d "$1/.";
73781 else
73782 case $1 in #(
73783 -*)set "./$1";;
73784 esac;
73785 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73786 ???[sx]*):;;*)false;;esac;fi
73787 '\'' sh
73790 as_executable_p=$as_test_x
73792 # Sed expression to map a string onto a valid CPP name.
73793 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73795 # Sed expression to map a string onto a valid variable name.
73796 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73799 exec 6>&1
73800 ## ----------------------------------- ##
73801 ## Main body of $CONFIG_STATUS script. ##
73802 ## ----------------------------------- ##
73803 _ASEOF
73804 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73807 # Save the log message, to keep $0 and so on meaningful, and to
73808 # report actual input values of CONFIG_FILES etc. instead of their
73809 # values after options handling.
73810 ac_log="
73811 This file was extended by package-unused $as_me version-unused, which was
73812 generated by GNU Autoconf 2.64. Invocation command line was
73814 CONFIG_FILES = $CONFIG_FILES
73815 CONFIG_HEADERS = $CONFIG_HEADERS
73816 CONFIG_LINKS = $CONFIG_LINKS
73817 CONFIG_COMMANDS = $CONFIG_COMMANDS
73818 $ $0 $@
73820 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73823 _ACEOF
73825 case $ac_config_files in *"
73826 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73827 esac
73829 case $ac_config_headers in *"
73830 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73831 esac
73834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73835 # Files that config.status was made for.
73836 config_files="$ac_config_files"
73837 config_headers="$ac_config_headers"
73838 config_commands="$ac_config_commands"
73840 _ACEOF
73842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73843 ac_cs_usage="\
73844 \`$as_me' instantiates files and other configuration actions
73845 from templates according to the current configuration. Unless the files
73846 and actions are specified as TAGs, all are instantiated by default.
73848 Usage: $0 [OPTION]... [TAG]...
73850 -h, --help print this help, then exit
73851 -V, --version print version number and configuration settings, then exit
73852 -q, --quiet, --silent
73853 do not print progress messages
73854 -d, --debug don't remove temporary files
73855 --recheck update $as_me by reconfiguring in the same conditions
73856 --file=FILE[:TEMPLATE]
73857 instantiate the configuration file FILE
73858 --header=FILE[:TEMPLATE]
73859 instantiate the configuration header FILE
73861 Configuration files:
73862 $config_files
73864 Configuration headers:
73865 $config_headers
73867 Configuration commands:
73868 $config_commands
73870 Report bugs to the package provider."
73872 _ACEOF
73873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73874 ac_cs_version="\\
73875 package-unused config.status version-unused
73876 configured by $0, generated by GNU Autoconf 2.64,
73877 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73879 Copyright (C) 2009 Free Software Foundation, Inc.
73880 This config.status script is free software; the Free Software Foundation
73881 gives unlimited permission to copy, distribute and modify it."
73883 ac_pwd='$ac_pwd'
73884 srcdir='$srcdir'
73885 INSTALL='$INSTALL'
73886 MKDIR_P='$MKDIR_P'
73887 AWK='$AWK'
73888 test -n "\$AWK" || AWK=awk
73889 _ACEOF
73891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73892 # The default lists apply if the user does not specify any file.
73893 ac_need_defaults=:
73894 while test $# != 0
73896 case $1 in
73897 --*=*)
73898 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73899 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73900 ac_shift=:
73903 ac_option=$1
73904 ac_optarg=$2
73905 ac_shift=shift
73907 esac
73909 case $ac_option in
73910 # Handling of the options.
73911 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73912 ac_cs_recheck=: ;;
73913 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73914 $as_echo "$ac_cs_version"; exit ;;
73915 --debug | --debu | --deb | --de | --d | -d )
73916 debug=: ;;
73917 --file | --fil | --fi | --f )
73918 $ac_shift
73919 case $ac_optarg in
73920 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73921 esac
73922 as_fn_append CONFIG_FILES " '$ac_optarg'"
73923 ac_need_defaults=false;;
73924 --header | --heade | --head | --hea )
73925 $ac_shift
73926 case $ac_optarg in
73927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73928 esac
73929 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73930 ac_need_defaults=false;;
73931 --he | --h)
73932 # Conflict between --help and --header
73933 as_fn_error "ambiguous option: \`$1'
73934 Try \`$0 --help' for more information.";;
73935 --help | --hel | -h )
73936 $as_echo "$ac_cs_usage"; exit ;;
73937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73939 ac_cs_silent=: ;;
73941 # This is an error.
73942 -*) as_fn_error "unrecognized option: \`$1'
73943 Try \`$0 --help' for more information." ;;
73945 *) as_fn_append ac_config_targets " $1"
73946 ac_need_defaults=false ;;
73948 esac
73949 shift
73950 done
73952 ac_configure_extra_args=
73954 if $ac_cs_silent; then
73955 exec 6>/dev/null
73956 ac_configure_extra_args="$ac_configure_extra_args --silent"
73959 _ACEOF
73960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73961 if \$ac_cs_recheck; then
73962 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73963 shift
73964 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73965 CONFIG_SHELL='$SHELL'
73966 export CONFIG_SHELL
73967 exec "\$@"
73970 _ACEOF
73971 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73972 exec 5>>config.log
73974 echo
73975 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73976 ## Running $as_me. ##
73977 _ASBOX
73978 $as_echo "$ac_log"
73979 } >&5
73981 _ACEOF
73982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73984 # INIT-COMMANDS
73987 srcdir="$srcdir"
73988 host="$host"
73989 target="$target"
73990 with_multisubdir="$with_multisubdir"
73991 with_multisrctop="$with_multisrctop"
73992 with_target_subdir="$with_target_subdir"
73993 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73994 multi_basedir="$multi_basedir"
73995 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73996 CC="$CC"
73997 CXX="$CXX"
73998 GFORTRAN="$GFORTRAN"
73999 GCJ="$GCJ"
74002 # The HP-UX ksh and POSIX shell print the target directory to stdout
74003 # if CDPATH is set.
74004 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74006 sed_quote_subst='$sed_quote_subst'
74007 double_quote_subst='$double_quote_subst'
74008 delay_variable_subst='$delay_variable_subst'
74009 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74010 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74011 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74012 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74013 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74014 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74015 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74016 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74017 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74018 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74019 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74020 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74021 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74022 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74023 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74024 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74025 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74026 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74027 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74028 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74029 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74030 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74031 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74032 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74033 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74034 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74035 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74036 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74037 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74038 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74039 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74040 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74041 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74042 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74043 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74044 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74045 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74046 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74047 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74048 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74049 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74050 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74051 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74052 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74053 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74054 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74055 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74056 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74057 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"`'
74058 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74059 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74060 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74061 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74062 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74063 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74064 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74065 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74066 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74067 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74068 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74069 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74070 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74071 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74072 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74073 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74074 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74075 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74076 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74077 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74078 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74079 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74080 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74081 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74082 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74083 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74084 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74085 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74086 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74087 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74088 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74089 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74090 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74091 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74092 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74093 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74094 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74095 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74096 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74097 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74098 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74099 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74100 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74101 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74102 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74103 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74104 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74105 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74106 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74107 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74108 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74109 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74110 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74111 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74112 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74113 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74114 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74115 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74116 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74117 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74118 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74119 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74120 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74121 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74122 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74123 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74124 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74125 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74126 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74127 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74128 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74129 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74130 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74131 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74132 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74133 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74134 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74135 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74136 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74137 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74138 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74139 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74140 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74141 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74142 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74143 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74144 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74145 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74146 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74147 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74148 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74149 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74150 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74151 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74152 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74153 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74154 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74155 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74156 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74157 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74158 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74159 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74160 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74161 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74162 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74163 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74164 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74165 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74166 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74167 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74168 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74169 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74170 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74171 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74172 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74173 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74174 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74175 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74176 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74177 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74178 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74179 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74180 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74181 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74182 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74183 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74185 LTCC='$LTCC'
74186 LTCFLAGS='$LTCFLAGS'
74187 compiler='$compiler_DEFAULT'
74189 # A function that is used when there is no print builtin or printf.
74190 func_fallback_echo ()
74192 eval 'cat <<_LTECHO_EOF
74194 _LTECHO_EOF'
74197 # Quote evaled strings.
74198 for var in SHELL \
74199 ECHO \
74200 SED \
74201 GREP \
74202 EGREP \
74203 FGREP \
74204 LD \
74205 NM \
74206 LN_S \
74207 lt_SP2NL \
74208 lt_NL2SP \
74209 reload_flag \
74210 OBJDUMP \
74211 deplibs_check_method \
74212 file_magic_cmd \
74213 AR \
74214 AR_FLAGS \
74215 STRIP \
74216 RANLIB \
74217 CC \
74218 CFLAGS \
74219 compiler \
74220 lt_cv_sys_global_symbol_pipe \
74221 lt_cv_sys_global_symbol_to_cdecl \
74222 lt_cv_sys_global_symbol_to_c_name_address \
74223 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74224 lt_prog_compiler_no_builtin_flag \
74225 lt_prog_compiler_wl \
74226 lt_prog_compiler_pic \
74227 lt_prog_compiler_static \
74228 lt_cv_prog_compiler_c_o \
74229 need_locks \
74230 DSYMUTIL \
74231 NMEDIT \
74232 LIPO \
74233 OTOOL \
74234 OTOOL64 \
74235 shrext_cmds \
74236 export_dynamic_flag_spec \
74237 whole_archive_flag_spec \
74238 compiler_needs_object \
74239 with_gnu_ld \
74240 allow_undefined_flag \
74241 no_undefined_flag \
74242 hardcode_libdir_flag_spec \
74243 hardcode_libdir_flag_spec_ld \
74244 hardcode_libdir_separator \
74245 fix_srcfile_path \
74246 exclude_expsyms \
74247 include_expsyms \
74248 file_list_spec \
74249 variables_saved_for_relink \
74250 libname_spec \
74251 library_names_spec \
74252 soname_spec \
74253 install_override_mode \
74254 finish_eval \
74255 old_striplib \
74256 striplib \
74257 compiler_lib_search_dirs \
74258 predep_objects \
74259 postdep_objects \
74260 predeps \
74261 postdeps \
74262 compiler_lib_search_path \
74263 LD_CXX \
74264 reload_flag_CXX \
74265 compiler_CXX \
74266 lt_prog_compiler_no_builtin_flag_CXX \
74267 lt_prog_compiler_wl_CXX \
74268 lt_prog_compiler_pic_CXX \
74269 lt_prog_compiler_static_CXX \
74270 lt_cv_prog_compiler_c_o_CXX \
74271 export_dynamic_flag_spec_CXX \
74272 whole_archive_flag_spec_CXX \
74273 compiler_needs_object_CXX \
74274 with_gnu_ld_CXX \
74275 allow_undefined_flag_CXX \
74276 no_undefined_flag_CXX \
74277 hardcode_libdir_flag_spec_CXX \
74278 hardcode_libdir_flag_spec_ld_CXX \
74279 hardcode_libdir_separator_CXX \
74280 fix_srcfile_path_CXX \
74281 exclude_expsyms_CXX \
74282 include_expsyms_CXX \
74283 file_list_spec_CXX \
74284 compiler_lib_search_dirs_CXX \
74285 predep_objects_CXX \
74286 postdep_objects_CXX \
74287 predeps_CXX \
74288 postdeps_CXX \
74289 compiler_lib_search_path_CXX; do
74290 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74291 *[\\\\\\\`\\"\\\$]*)
74292 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74295 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74297 esac
74298 done
74300 # Double-quote double-evaled strings.
74301 for var in reload_cmds \
74302 old_postinstall_cmds \
74303 old_postuninstall_cmds \
74304 old_archive_cmds \
74305 extract_expsyms_cmds \
74306 old_archive_from_new_cmds \
74307 old_archive_from_expsyms_cmds \
74308 archive_cmds \
74309 archive_expsym_cmds \
74310 module_cmds \
74311 module_expsym_cmds \
74312 export_symbols_cmds \
74313 prelink_cmds \
74314 postinstall_cmds \
74315 postuninstall_cmds \
74316 finish_cmds \
74317 sys_lib_search_path_spec \
74318 sys_lib_dlsearch_path_spec \
74319 reload_cmds_CXX \
74320 old_archive_cmds_CXX \
74321 old_archive_from_new_cmds_CXX \
74322 old_archive_from_expsyms_cmds_CXX \
74323 archive_cmds_CXX \
74324 archive_expsym_cmds_CXX \
74325 module_cmds_CXX \
74326 module_expsym_cmds_CXX \
74327 export_symbols_cmds_CXX \
74328 prelink_cmds_CXX; do
74329 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74330 *[\\\\\\\`\\"\\\$]*)
74331 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74334 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74336 esac
74337 done
74339 ac_aux_dir='$ac_aux_dir'
74340 xsi_shell='$xsi_shell'
74341 lt_shell_append='$lt_shell_append'
74343 # See if we are running on zsh, and set the options which allow our
74344 # commands through without removal of \ escapes INIT.
74345 if test -n "\${ZSH_VERSION+set}" ; then
74346 setopt NO_GLOB_SUBST
74350 PACKAGE='$PACKAGE'
74351 VERSION='$VERSION'
74352 TIMESTAMP='$TIMESTAMP'
74353 RM='$RM'
74354 ofile='$ofile'
74361 GCC="$GCC"
74362 CC="$CC"
74363 acx_cv_header_stdint="$acx_cv_header_stdint"
74364 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74365 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74366 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74367 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74368 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74369 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74370 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74371 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74372 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74373 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74374 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74375 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74376 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74379 _ACEOF
74381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74383 # Handling of arguments.
74384 for ac_config_target in $ac_config_targets
74386 case $ac_config_target in
74387 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74388 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74389 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74390 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74391 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74392 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74393 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74394 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74395 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74396 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74397 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74398 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74399 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74400 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74401 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74402 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74403 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74404 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74406 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74407 esac
74408 done
74411 # If the user did not use the arguments to specify the items to instantiate,
74412 # then the envvar interface is used. Set only those that are not.
74413 # We use the long form for the default assignment because of an extremely
74414 # bizarre bug on SunOS 4.1.3.
74415 if $ac_need_defaults; then
74416 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74417 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74418 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74421 # Have a temporary directory for convenience. Make it in the build tree
74422 # simply because there is no reason against having it here, and in addition,
74423 # creating and moving files from /tmp can sometimes cause problems.
74424 # Hook for its removal unless debugging.
74425 # Note that there is a small window in which the directory will not be cleaned:
74426 # after its creation but before its name has been assigned to `$tmp'.
74427 $debug ||
74429 tmp=
74430 trap 'exit_status=$?
74431 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74433 trap 'as_fn_exit 1' 1 2 13 15
74435 # Create a (secure) tmp directory for tmp files.
74438 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74439 test -n "$tmp" && test -d "$tmp"
74440 } ||
74442 tmp=./conf$$-$RANDOM
74443 (umask 077 && mkdir "$tmp")
74444 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74446 # Set up the scripts for CONFIG_FILES section.
74447 # No need to generate them if there are no CONFIG_FILES.
74448 # This happens for instance with `./config.status config.h'.
74449 if test -n "$CONFIG_FILES"; then
74452 ac_cr=`echo X | tr X '\015'`
74453 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74454 # But we know of no other shell where ac_cr would be empty at this
74455 # point, so we can use a bashism as a fallback.
74456 if test "x$ac_cr" = x; then
74457 eval ac_cr=\$\'\\r\'
74459 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74460 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74461 ac_cs_awk_cr='\r'
74462 else
74463 ac_cs_awk_cr=$ac_cr
74466 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74467 _ACEOF
74471 echo "cat >conf$$subs.awk <<_ACEOF" &&
74472 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74473 echo "_ACEOF"
74474 } >conf$$subs.sh ||
74475 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74476 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74477 ac_delim='%!_!# '
74478 for ac_last_try in false false false false false :; do
74479 . ./conf$$subs.sh ||
74480 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74482 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74483 if test $ac_delim_n = $ac_delim_num; then
74484 break
74485 elif $ac_last_try; then
74486 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74487 else
74488 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74490 done
74491 rm -f conf$$subs.sh
74493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74494 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74495 _ACEOF
74496 sed -n '
74498 s/^/S["/; s/!.*/"]=/
74501 s/^[^!]*!//
74502 :repl
74503 t repl
74504 s/'"$ac_delim"'$//
74505 t delim
74508 s/\(.\{148\}\).*/\1/
74509 t more1
74510 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74513 b repl
74514 :more1
74515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74518 s/.\{148\}//
74519 t nl
74520 :delim
74522 s/\(.\{148\}\).*/\1/
74523 t more2
74524 s/["\\]/\\&/g; s/^/"/; s/$/"/
74527 :more2
74528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74531 s/.\{148\}//
74532 t delim
74533 ' <conf$$subs.awk | sed '
74534 /^[^""]/{
74536 s/\n//
74538 ' >>$CONFIG_STATUS || ac_write_fail=1
74539 rm -f conf$$subs.awk
74540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74541 _ACAWK
74542 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74543 for (key in S) S_is_set[key] = 1
74544 FS = "\a"
74548 line = $ 0
74549 nfields = split(line, field, "@")
74550 substed = 0
74551 len = length(field[1])
74552 for (i = 2; i < nfields; i++) {
74553 key = field[i]
74554 keylen = length(key)
74555 if (S_is_set[key]) {
74556 value = S[key]
74557 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74558 len += length(value) + length(field[++i])
74559 substed = 1
74560 } else
74561 len += 1 + keylen
74564 print line
74567 _ACAWK
74568 _ACEOF
74569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74570 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74571 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74572 else
74574 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74575 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74576 _ACEOF
74578 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74579 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74580 # trailing colons and then remove the whole line if VPATH becomes empty
74581 # (actually we leave an empty line to preserve line numbers).
74582 if test "x$srcdir" = x.; then
74583 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74584 s/:*\$(srcdir):*/:/
74585 s/:*\${srcdir}:*/:/
74586 s/:*@srcdir@:*/:/
74587 s/^\([^=]*=[ ]*\):*/\1/
74588 s/:*$//
74589 s/^[^=]*=[ ]*$//
74593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74594 fi # test -n "$CONFIG_FILES"
74596 # Set up the scripts for CONFIG_HEADERS section.
74597 # No need to generate them if there are no CONFIG_HEADERS.
74598 # This happens for instance with `./config.status Makefile'.
74599 if test -n "$CONFIG_HEADERS"; then
74600 cat >"$tmp/defines.awk" <<\_ACAWK ||
74601 BEGIN {
74602 _ACEOF
74604 # Transform confdefs.h into an awk script `defines.awk', embedded as
74605 # here-document in config.status, that substitutes the proper values into
74606 # config.h.in to produce config.h.
74608 # Create a delimiter string that does not exist in confdefs.h, to ease
74609 # handling of long lines.
74610 ac_delim='%!_!# '
74611 for ac_last_try in false false :; do
74612 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74613 if test -z "$ac_t"; then
74614 break
74615 elif $ac_last_try; then
74616 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74617 else
74618 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74620 done
74622 # For the awk script, D is an array of macro values keyed by name,
74623 # likewise P contains macro parameters if any. Preserve backslash
74624 # newline sequences.
74626 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74627 sed -n '
74628 s/.\{148\}/&'"$ac_delim"'/g
74629 t rset
74630 :rset
74631 s/^[ ]*#[ ]*define[ ][ ]*/ /
74632 t def
74634 :def
74635 s/\\$//
74636 t bsnl
74637 s/["\\]/\\&/g
74638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74639 D["\1"]=" \3"/p
74640 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74642 :bsnl
74643 s/["\\]/\\&/g
74644 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74645 D["\1"]=" \3\\\\\\n"\\/p
74646 t cont
74647 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74648 t cont
74650 :cont
74652 s/.\{148\}/&'"$ac_delim"'/g
74653 t clear
74654 :clear
74655 s/\\$//
74656 t bsnlc
74657 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74659 :bsnlc
74660 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74661 b cont
74662 ' <confdefs.h | sed '
74663 s/'"$ac_delim"'/"\\\
74664 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74667 for (key in D) D_is_set[key] = 1
74668 FS = "\a"
74670 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74671 line = \$ 0
74672 split(line, arg, " ")
74673 if (arg[1] == "#") {
74674 defundef = arg[2]
74675 mac1 = arg[3]
74676 } else {
74677 defundef = substr(arg[1], 2)
74678 mac1 = arg[2]
74680 split(mac1, mac2, "(") #)
74681 macro = mac2[1]
74682 prefix = substr(line, 1, index(line, defundef) - 1)
74683 if (D_is_set[macro]) {
74684 # Preserve the white space surrounding the "#".
74685 print prefix "define", macro P[macro] D[macro]
74686 next
74687 } else {
74688 # Replace #undef with comments. This is necessary, for example,
74689 # in the case of _POSIX_SOURCE, which is predefined and required
74690 # on some systems where configure will not decide to define it.
74691 if (defundef == "undef") {
74692 print "/*", prefix defundef, macro, "*/"
74693 next
74697 { print }
74698 _ACAWK
74699 _ACEOF
74700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74701 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74702 fi # test -n "$CONFIG_HEADERS"
74705 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74706 shift
74707 for ac_tag
74709 case $ac_tag in
74710 :[FHLC]) ac_mode=$ac_tag; continue;;
74711 esac
74712 case $ac_mode$ac_tag in
74713 :[FHL]*:*);;
74714 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74715 :[FH]-) ac_tag=-:-;;
74716 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74717 esac
74718 ac_save_IFS=$IFS
74719 IFS=:
74720 set x $ac_tag
74721 IFS=$ac_save_IFS
74722 shift
74723 ac_file=$1
74724 shift
74726 case $ac_mode in
74727 :L) ac_source=$1;;
74728 :[FH])
74729 ac_file_inputs=
74730 for ac_f
74732 case $ac_f in
74733 -) ac_f="$tmp/stdin";;
74734 *) # Look for the file first in the build tree, then in the source tree
74735 # (if the path is not absolute). The absolute path cannot be DOS-style,
74736 # because $ac_f cannot contain `:'.
74737 test -f "$ac_f" ||
74738 case $ac_f in
74739 [\\/$]*) false;;
74740 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74741 esac ||
74742 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74743 esac
74744 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74745 as_fn_append ac_file_inputs " '$ac_f'"
74746 done
74748 # Let's still pretend it is `configure' which instantiates (i.e., don't
74749 # use $as_me), people would be surprised to read:
74750 # /* config.h. Generated by config.status. */
74751 configure_input='Generated from '`
74752 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74753 `' by configure.'
74754 if test x"$ac_file" != x-; then
74755 configure_input="$ac_file. $configure_input"
74756 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74757 $as_echo "$as_me: creating $ac_file" >&6;}
74759 # Neutralize special characters interpreted by sed in replacement strings.
74760 case $configure_input in #(
74761 *\&* | *\|* | *\\* )
74762 ac_sed_conf_input=`$as_echo "$configure_input" |
74763 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74764 *) ac_sed_conf_input=$configure_input;;
74765 esac
74767 case $ac_tag in
74768 *:-:* | *:-) cat >"$tmp/stdin" \
74769 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74770 esac
74772 esac
74774 ac_dir=`$as_dirname -- "$ac_file" ||
74775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74776 X"$ac_file" : 'X\(//\)[^/]' \| \
74777 X"$ac_file" : 'X\(//\)$' \| \
74778 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74779 $as_echo X"$ac_file" |
74780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74781 s//\1/
74784 /^X\(\/\/\)[^/].*/{
74785 s//\1/
74788 /^X\(\/\/\)$/{
74789 s//\1/
74792 /^X\(\/\).*/{
74793 s//\1/
74796 s/.*/./; q'`
74797 as_dir="$ac_dir"; as_fn_mkdir_p
74798 ac_builddir=.
74800 case "$ac_dir" in
74801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74803 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74804 # A ".." for each directory in $ac_dir_suffix.
74805 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74806 case $ac_top_builddir_sub in
74807 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74808 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74809 esac ;;
74810 esac
74811 ac_abs_top_builddir=$ac_pwd
74812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74813 # for backward compatibility:
74814 ac_top_builddir=$ac_top_build_prefix
74816 case $srcdir in
74817 .) # We are building in place.
74818 ac_srcdir=.
74819 ac_top_srcdir=$ac_top_builddir_sub
74820 ac_abs_top_srcdir=$ac_pwd ;;
74821 [\\/]* | ?:[\\/]* ) # Absolute name.
74822 ac_srcdir=$srcdir$ac_dir_suffix;
74823 ac_top_srcdir=$srcdir
74824 ac_abs_top_srcdir=$srcdir ;;
74825 *) # Relative name.
74826 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74827 ac_top_srcdir=$ac_top_build_prefix$srcdir
74828 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74829 esac
74830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74833 case $ac_mode in
74836 # CONFIG_FILE
74839 case $INSTALL in
74840 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74841 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74842 esac
74843 ac_MKDIR_P=$MKDIR_P
74844 case $MKDIR_P in
74845 [\\/$]* | ?:[\\/]* ) ;;
74846 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74847 esac
74848 _ACEOF
74850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74851 # If the template does not know about datarootdir, expand it.
74852 # FIXME: This hack should be removed a few years after 2.60.
74853 ac_datarootdir_hack=; ac_datarootdir_seen=
74854 ac_sed_dataroot='
74855 /datarootdir/ {
74859 /@datadir@/p
74860 /@docdir@/p
74861 /@infodir@/p
74862 /@localedir@/p
74863 /@mandir@/p'
74864 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74865 *datarootdir*) ac_datarootdir_seen=yes;;
74866 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74868 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74869 _ACEOF
74870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74871 ac_datarootdir_hack='
74872 s&@datadir@&$datadir&g
74873 s&@docdir@&$docdir&g
74874 s&@infodir@&$infodir&g
74875 s&@localedir@&$localedir&g
74876 s&@mandir@&$mandir&g
74877 s&\\\${datarootdir}&$datarootdir&g' ;;
74878 esac
74879 _ACEOF
74881 # Neutralize VPATH when `$srcdir' = `.'.
74882 # Shell code in configure.ac might set extrasub.
74883 # FIXME: do we really want to maintain this feature?
74884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74885 ac_sed_extra="$ac_vpsub
74886 $extrasub
74887 _ACEOF
74888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74891 s|@configure_input@|$ac_sed_conf_input|;t t
74892 s&@top_builddir@&$ac_top_builddir_sub&;t t
74893 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74894 s&@srcdir@&$ac_srcdir&;t t
74895 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74896 s&@top_srcdir@&$ac_top_srcdir&;t t
74897 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74898 s&@builddir@&$ac_builddir&;t t
74899 s&@abs_builddir@&$ac_abs_builddir&;t t
74900 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74901 s&@INSTALL@&$ac_INSTALL&;t t
74902 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74903 $ac_datarootdir_hack
74905 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74906 || as_fn_error "could not create $ac_file" "$LINENO" 5
74908 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74909 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74910 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74912 which seems to be undefined. Please make sure it is defined." >&5
74913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74914 which seems to be undefined. Please make sure it is defined." >&2;}
74916 rm -f "$tmp/stdin"
74917 case $ac_file in
74918 -) cat "$tmp/out" && rm -f "$tmp/out";;
74919 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74920 esac \
74921 || as_fn_error "could not create $ac_file" "$LINENO" 5
74925 # CONFIG_HEADER
74927 if test x"$ac_file" != x-; then
74929 $as_echo "/* $configure_input */" \
74930 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74931 } >"$tmp/config.h" \
74932 || as_fn_error "could not create $ac_file" "$LINENO" 5
74933 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74934 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74936 else
74937 rm -f "$ac_file"
74938 mv "$tmp/config.h" "$ac_file" \
74939 || as_fn_error "could not create $ac_file" "$LINENO" 5
74941 else
74942 $as_echo "/* $configure_input */" \
74943 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74944 || as_fn_error "could not create -" "$LINENO" 5
74946 # Compute "$ac_file"'s index in $config_headers.
74947 _am_arg="$ac_file"
74948 _am_stamp_count=1
74949 for _am_header in $config_headers :; do
74950 case $_am_header in
74951 $_am_arg | $_am_arg:* )
74952 break ;;
74954 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74955 esac
74956 done
74957 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74958 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74959 X"$_am_arg" : 'X\(//\)[^/]' \| \
74960 X"$_am_arg" : 'X\(//\)$' \| \
74961 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74962 $as_echo X"$_am_arg" |
74963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74964 s//\1/
74967 /^X\(\/\/\)[^/].*/{
74968 s//\1/
74971 /^X\(\/\/\)$/{
74972 s//\1/
74975 /^X\(\/\).*/{
74976 s//\1/
74979 s/.*/./; q'`/stamp-h$_am_stamp_count
74982 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74983 $as_echo "$as_me: executing $ac_file commands" >&6;}
74985 esac
74988 case $ac_file$ac_mode in
74989 "default-1":C)
74990 # Only add multilib support code if we just rebuilt the top-level
74991 # Makefile.
74992 case " $CONFIG_FILES " in
74993 *" Makefile "*)
74994 ac_file=Makefile . ${multi_basedir}/config-ml.in
74996 esac ;;
74997 "libtool":C)
74999 # See if we are running on zsh, and set the options which allow our
75000 # commands through without removal of \ escapes.
75001 if test -n "${ZSH_VERSION+set}" ; then
75002 setopt NO_GLOB_SUBST
75005 cfgfile="${ofile}T"
75006 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75007 $RM "$cfgfile"
75009 cat <<_LT_EOF >> "$cfgfile"
75010 #! $SHELL
75012 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75013 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75014 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75015 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75017 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75018 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75019 # Written by Gordon Matzigkeit, 1996
75021 # This file is part of GNU Libtool.
75023 # GNU Libtool is free software; you can redistribute it and/or
75024 # modify it under the terms of the GNU General Public License as
75025 # published by the Free Software Foundation; either version 2 of
75026 # the License, or (at your option) any later version.
75028 # As a special exception to the GNU General Public License,
75029 # if you distribute this file as part of a program or library that
75030 # is built using GNU Libtool, you may include this file under the
75031 # same distribution terms that you use for the rest of that program.
75033 # GNU Libtool is distributed in the hope that it will be useful,
75034 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75035 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75036 # GNU General Public License for more details.
75038 # You should have received a copy of the GNU General Public License
75039 # along with GNU Libtool; see the file COPYING. If not, a copy
75040 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75041 # obtained by writing to the Free Software Foundation, Inc.,
75042 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75045 # The names of the tagged configurations supported by this script.
75046 available_tags="CXX "
75048 # ### BEGIN LIBTOOL CONFIG
75050 # Which release of libtool.m4 was used?
75051 macro_version=$macro_version
75052 macro_revision=$macro_revision
75054 # Whether or not to build shared libraries.
75055 build_libtool_libs=$enable_shared
75057 # Whether or not to build static libraries.
75058 build_old_libs=$enable_static
75060 # What type of objects to build.
75061 pic_mode=$pic_mode
75063 # Whether or not to optimize for fast installation.
75064 fast_install=$enable_fast_install
75066 # Shell to use when invoking shell scripts.
75067 SHELL=$lt_SHELL
75069 # An echo program that protects backslashes.
75070 ECHO=$lt_ECHO
75072 # The host system.
75073 host_alias=$host_alias
75074 host=$host
75075 host_os=$host_os
75077 # The build system.
75078 build_alias=$build_alias
75079 build=$build
75080 build_os=$build_os
75082 # A sed program that does not truncate output.
75083 SED=$lt_SED
75085 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75086 Xsed="\$SED -e 1s/^X//"
75088 # A grep program that handles long lines.
75089 GREP=$lt_GREP
75091 # An ERE matcher.
75092 EGREP=$lt_EGREP
75094 # A literal string matcher.
75095 FGREP=$lt_FGREP
75097 # A BSD- or MS-compatible name lister.
75098 NM=$lt_NM
75100 # Whether we need soft or hard links.
75101 LN_S=$lt_LN_S
75103 # What is the maximum length of a command?
75104 max_cmd_len=$max_cmd_len
75106 # Object file suffix (normally "o").
75107 objext=$ac_objext
75109 # Executable file suffix (normally "").
75110 exeext=$exeext
75112 # whether the shell understands "unset".
75113 lt_unset=$lt_unset
75115 # turn spaces into newlines.
75116 SP2NL=$lt_lt_SP2NL
75118 # turn newlines into spaces.
75119 NL2SP=$lt_lt_NL2SP
75121 # An object symbol dumper.
75122 OBJDUMP=$lt_OBJDUMP
75124 # Method to check whether dependent libraries are shared objects.
75125 deplibs_check_method=$lt_deplibs_check_method
75127 # Command to use when deplibs_check_method == "file_magic".
75128 file_magic_cmd=$lt_file_magic_cmd
75130 # The archiver.
75131 AR=$lt_AR
75132 AR_FLAGS=$lt_AR_FLAGS
75134 # A symbol stripping program.
75135 STRIP=$lt_STRIP
75137 # Commands used to install an old-style archive.
75138 RANLIB=$lt_RANLIB
75139 old_postinstall_cmds=$lt_old_postinstall_cmds
75140 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75142 # Whether to use a lock for old archive extraction.
75143 lock_old_archive_extraction=$lock_old_archive_extraction
75145 # A C compiler.
75146 LTCC=$lt_CC
75148 # LTCC compiler flags.
75149 LTCFLAGS=$lt_CFLAGS
75151 # Take the output of nm and produce a listing of raw symbols and C names.
75152 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75154 # Transform the output of nm in a proper C declaration.
75155 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75157 # Transform the output of nm in a C name address pair.
75158 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75160 # Transform the output of nm in a C name address pair when lib prefix is needed.
75161 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75163 # The name of the directory that contains temporary libtool files.
75164 objdir=$objdir
75166 # Used to examine libraries when file_magic_cmd begins with "file".
75167 MAGIC_CMD=$MAGIC_CMD
75169 # Must we lock files when doing compilation?
75170 need_locks=$lt_need_locks
75172 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75173 DSYMUTIL=$lt_DSYMUTIL
75175 # Tool to change global to local symbols on Mac OS X.
75176 NMEDIT=$lt_NMEDIT
75178 # Tool to manipulate fat objects and archives on Mac OS X.
75179 LIPO=$lt_LIPO
75181 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75182 OTOOL=$lt_OTOOL
75184 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75185 OTOOL64=$lt_OTOOL64
75187 # Old archive suffix (normally "a").
75188 libext=$libext
75190 # Shared library suffix (normally ".so").
75191 shrext_cmds=$lt_shrext_cmds
75193 # The commands to extract the exported symbol list from a shared archive.
75194 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75196 # Variables whose values should be saved in libtool wrapper scripts and
75197 # restored at link time.
75198 variables_saved_for_relink=$lt_variables_saved_for_relink
75200 # Do we need the "lib" prefix for modules?
75201 need_lib_prefix=$need_lib_prefix
75203 # Do we need a version for libraries?
75204 need_version=$need_version
75206 # Library versioning type.
75207 version_type=$version_type
75209 # Shared library runtime path variable.
75210 runpath_var=$runpath_var
75212 # Shared library path variable.
75213 shlibpath_var=$shlibpath_var
75215 # Is shlibpath searched before the hard-coded library search path?
75216 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75218 # Format of library name prefix.
75219 libname_spec=$lt_libname_spec
75221 # List of archive names. First name is the real one, the rest are links.
75222 # The last name is the one that the linker finds with -lNAME
75223 library_names_spec=$lt_library_names_spec
75225 # The coded name of the library, if different from the real name.
75226 soname_spec=$lt_soname_spec
75228 # Permission mode override for installation of shared libraries.
75229 install_override_mode=$lt_install_override_mode
75231 # Command to use after installation of a shared archive.
75232 postinstall_cmds=$lt_postinstall_cmds
75234 # Command to use after uninstallation of a shared archive.
75235 postuninstall_cmds=$lt_postuninstall_cmds
75237 # Commands used to finish a libtool library installation in a directory.
75238 finish_cmds=$lt_finish_cmds
75240 # As "finish_cmds", except a single script fragment to be evaled but
75241 # not shown.
75242 finish_eval=$lt_finish_eval
75244 # Whether we should hardcode library paths into libraries.
75245 hardcode_into_libs=$hardcode_into_libs
75247 # Compile-time system search path for libraries.
75248 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75250 # Run-time system search path for libraries.
75251 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75253 # Whether dlopen is supported.
75254 dlopen_support=$enable_dlopen
75256 # Whether dlopen of programs is supported.
75257 dlopen_self=$enable_dlopen_self
75259 # Whether dlopen of statically linked programs is supported.
75260 dlopen_self_static=$enable_dlopen_self_static
75262 # Commands to strip libraries.
75263 old_striplib=$lt_old_striplib
75264 striplib=$lt_striplib
75267 # The linker used to build libraries.
75268 LD=$lt_LD
75270 # How to create reloadable object files.
75271 reload_flag=$lt_reload_flag
75272 reload_cmds=$lt_reload_cmds
75274 # Commands used to build an old-style archive.
75275 old_archive_cmds=$lt_old_archive_cmds
75277 # A language specific compiler.
75278 CC=$lt_compiler
75280 # Is the compiler the GNU compiler?
75281 with_gcc=$GCC
75283 # Compiler flag to turn off builtin functions.
75284 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75286 # How to pass a linker flag through the compiler.
75287 wl=$lt_lt_prog_compiler_wl
75289 # Additional compiler flags for building library objects.
75290 pic_flag=$lt_lt_prog_compiler_pic
75292 # Compiler flag to prevent dynamic linking.
75293 link_static_flag=$lt_lt_prog_compiler_static
75295 # Does compiler simultaneously support -c and -o options?
75296 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75298 # Whether or not to add -lc for building shared libraries.
75299 build_libtool_need_lc=$archive_cmds_need_lc
75301 # Whether or not to disallow shared libs when runtime libs are static.
75302 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75304 # Compiler flag to allow reflexive dlopens.
75305 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75307 # Compiler flag to generate shared objects directly from archives.
75308 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75310 # Whether the compiler copes with passing no objects directly.
75311 compiler_needs_object=$lt_compiler_needs_object
75313 # Create an old-style archive from a shared archive.
75314 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75316 # Create a temporary old-style archive to link instead of a shared archive.
75317 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75319 # Commands used to build a shared archive.
75320 archive_cmds=$lt_archive_cmds
75321 archive_expsym_cmds=$lt_archive_expsym_cmds
75323 # Commands used to build a loadable module if different from building
75324 # a shared archive.
75325 module_cmds=$lt_module_cmds
75326 module_expsym_cmds=$lt_module_expsym_cmds
75328 # Whether we are building with GNU ld or not.
75329 with_gnu_ld=$lt_with_gnu_ld
75331 # Flag that allows shared libraries with undefined symbols to be built.
75332 allow_undefined_flag=$lt_allow_undefined_flag
75334 # Flag that enforces no undefined symbols.
75335 no_undefined_flag=$lt_no_undefined_flag
75337 # Flag to hardcode \$libdir into a binary during linking.
75338 # This must work even if \$libdir does not exist
75339 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75341 # If ld is used when linking, flag to hardcode \$libdir into a binary
75342 # during linking. This must work even if \$libdir does not exist.
75343 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75345 # Whether we need a single "-rpath" flag with a separated argument.
75346 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75348 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75349 # DIR into the resulting binary.
75350 hardcode_direct=$hardcode_direct
75352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75353 # DIR into the resulting binary and the resulting library dependency is
75354 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75355 # library is relocated.
75356 hardcode_direct_absolute=$hardcode_direct_absolute
75358 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75359 # into the resulting binary.
75360 hardcode_minus_L=$hardcode_minus_L
75362 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75363 # into the resulting binary.
75364 hardcode_shlibpath_var=$hardcode_shlibpath_var
75366 # Set to "yes" if building a shared library automatically hardcodes DIR
75367 # into the library and all subsequent libraries and executables linked
75368 # against it.
75369 hardcode_automatic=$hardcode_automatic
75371 # Set to yes if linker adds runtime paths of dependent libraries
75372 # to runtime path list.
75373 inherit_rpath=$inherit_rpath
75375 # Whether libtool must link a program against all its dependency libraries.
75376 link_all_deplibs=$link_all_deplibs
75378 # Fix the shell variable \$srcfile for the compiler.
75379 fix_srcfile_path=$lt_fix_srcfile_path
75381 # Set to "yes" if exported symbols are required.
75382 always_export_symbols=$always_export_symbols
75384 # The commands to list exported symbols.
75385 export_symbols_cmds=$lt_export_symbols_cmds
75387 # Symbols that should not be listed in the preloaded symbols.
75388 exclude_expsyms=$lt_exclude_expsyms
75390 # Symbols that must always be exported.
75391 include_expsyms=$lt_include_expsyms
75393 # Commands necessary for linking programs (against libraries) with templates.
75394 prelink_cmds=$lt_prelink_cmds
75396 # Specify filename containing input files.
75397 file_list_spec=$lt_file_list_spec
75399 # How to hardcode a shared library path into an executable.
75400 hardcode_action=$hardcode_action
75402 # The directories searched by this compiler when creating a shared library.
75403 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75405 # Dependencies to place before and after the objects being linked to
75406 # create a shared library.
75407 predep_objects=$lt_predep_objects
75408 postdep_objects=$lt_postdep_objects
75409 predeps=$lt_predeps
75410 postdeps=$lt_postdeps
75412 # The library search path used internally by the compiler when linking
75413 # a shared library.
75414 compiler_lib_search_path=$lt_compiler_lib_search_path
75416 # ### END LIBTOOL CONFIG
75418 _LT_EOF
75420 case $host_os in
75421 aix3*)
75422 cat <<\_LT_EOF >> "$cfgfile"
75423 # AIX sometimes has problems with the GCC collect2 program. For some
75424 # reason, if we set the COLLECT_NAMES environment variable, the problems
75425 # vanish in a puff of smoke.
75426 if test "X${COLLECT_NAMES+set}" != Xset; then
75427 COLLECT_NAMES=
75428 export COLLECT_NAMES
75430 _LT_EOF
75432 esac
75435 ltmain="$ac_aux_dir/ltmain.sh"
75438 # We use sed instead of cat because bash on DJGPP gets confused if
75439 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75440 # text mode, it properly converts lines to CR/LF. This bash problem
75441 # is reportedly fixed, but why not run on old versions too?
75442 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75443 || (rm -f "$cfgfile"; exit 1)
75445 case $xsi_shell in
75446 yes)
75447 cat << \_LT_EOF >> "$cfgfile"
75449 # func_dirname file append nondir_replacement
75450 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75451 # otherwise set result to NONDIR_REPLACEMENT.
75452 func_dirname ()
75454 case ${1} in
75455 */*) func_dirname_result="${1%/*}${2}" ;;
75456 * ) func_dirname_result="${3}" ;;
75457 esac
75460 # func_basename file
75461 func_basename ()
75463 func_basename_result="${1##*/}"
75466 # func_dirname_and_basename file append nondir_replacement
75467 # perform func_basename and func_dirname in a single function
75468 # call:
75469 # dirname: Compute the dirname of FILE. If nonempty,
75470 # add APPEND to the result, otherwise set result
75471 # to NONDIR_REPLACEMENT.
75472 # value returned in "$func_dirname_result"
75473 # basename: Compute filename of FILE.
75474 # value retuned in "$func_basename_result"
75475 # Implementation must be kept synchronized with func_dirname
75476 # and func_basename. For efficiency, we do not delegate to
75477 # those functions but instead duplicate the functionality here.
75478 func_dirname_and_basename ()
75480 case ${1} in
75481 */*) func_dirname_result="${1%/*}${2}" ;;
75482 * ) func_dirname_result="${3}" ;;
75483 esac
75484 func_basename_result="${1##*/}"
75487 # func_stripname prefix suffix name
75488 # strip PREFIX and SUFFIX off of NAME.
75489 # PREFIX and SUFFIX must not contain globbing or regex special
75490 # characters, hashes, percent signs, but SUFFIX may contain a leading
75491 # dot (in which case that matches only a dot).
75492 func_stripname ()
75494 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75495 # positional parameters, so assign one to ordinary parameter first.
75496 func_stripname_result=${3}
75497 func_stripname_result=${func_stripname_result#"${1}"}
75498 func_stripname_result=${func_stripname_result%"${2}"}
75501 # func_opt_split
75502 func_opt_split ()
75504 func_opt_split_opt=${1%%=*}
75505 func_opt_split_arg=${1#*=}
75508 # func_lo2o object
75509 func_lo2o ()
75511 case ${1} in
75512 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75513 *) func_lo2o_result=${1} ;;
75514 esac
75517 # func_xform libobj-or-source
75518 func_xform ()
75520 func_xform_result=${1%.*}.lo
75523 # func_arith arithmetic-term...
75524 func_arith ()
75526 func_arith_result=$(( $* ))
75529 # func_len string
75530 # STRING may not start with a hyphen.
75531 func_len ()
75533 func_len_result=${#1}
75536 _LT_EOF
75538 *) # Bourne compatible functions.
75539 cat << \_LT_EOF >> "$cfgfile"
75541 # func_dirname file append nondir_replacement
75542 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75543 # otherwise set result to NONDIR_REPLACEMENT.
75544 func_dirname ()
75546 # Extract subdirectory from the argument.
75547 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75548 if test "X$func_dirname_result" = "X${1}"; then
75549 func_dirname_result="${3}"
75550 else
75551 func_dirname_result="$func_dirname_result${2}"
75555 # func_basename file
75556 func_basename ()
75558 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75562 # func_stripname prefix suffix name
75563 # strip PREFIX and SUFFIX off of NAME.
75564 # PREFIX and SUFFIX must not contain globbing or regex special
75565 # characters, hashes, percent signs, but SUFFIX may contain a leading
75566 # dot (in which case that matches only a dot).
75567 # func_strip_suffix prefix name
75568 func_stripname ()
75570 case ${2} in
75571 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75572 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75573 esac
75576 # sed scripts:
75577 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75578 my_sed_long_arg='1s/^-[^=]*=//'
75580 # func_opt_split
75581 func_opt_split ()
75583 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75584 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75587 # func_lo2o object
75588 func_lo2o ()
75590 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75593 # func_xform libobj-or-source
75594 func_xform ()
75596 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75599 # func_arith arithmetic-term...
75600 func_arith ()
75602 func_arith_result=`expr "$@"`
75605 # func_len string
75606 # STRING may not start with a hyphen.
75607 func_len ()
75609 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75612 _LT_EOF
75613 esac
75615 case $lt_shell_append in
75616 yes)
75617 cat << \_LT_EOF >> "$cfgfile"
75619 # func_append var value
75620 # Append VALUE to the end of shell variable VAR.
75621 func_append ()
75623 eval "$1+=\$2"
75625 _LT_EOF
75628 cat << \_LT_EOF >> "$cfgfile"
75630 # func_append var value
75631 # Append VALUE to the end of shell variable VAR.
75632 func_append ()
75634 eval "$1=\$$1\$2"
75637 _LT_EOF
75639 esac
75642 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75643 || (rm -f "$cfgfile"; exit 1)
75645 mv -f "$cfgfile" "$ofile" ||
75646 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75647 chmod +x "$ofile"
75650 cat <<_LT_EOF >> "$ofile"
75652 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75654 # The linker used to build libraries.
75655 LD=$lt_LD_CXX
75657 # How to create reloadable object files.
75658 reload_flag=$lt_reload_flag_CXX
75659 reload_cmds=$lt_reload_cmds_CXX
75661 # Commands used to build an old-style archive.
75662 old_archive_cmds=$lt_old_archive_cmds_CXX
75664 # A language specific compiler.
75665 CC=$lt_compiler_CXX
75667 # Is the compiler the GNU compiler?
75668 with_gcc=$GCC_CXX
75670 # Compiler flag to turn off builtin functions.
75671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75673 # How to pass a linker flag through the compiler.
75674 wl=$lt_lt_prog_compiler_wl_CXX
75676 # Additional compiler flags for building library objects.
75677 pic_flag=$lt_lt_prog_compiler_pic_CXX
75679 # Compiler flag to prevent dynamic linking.
75680 link_static_flag=$lt_lt_prog_compiler_static_CXX
75682 # Does compiler simultaneously support -c and -o options?
75683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75685 # Whether or not to add -lc for building shared libraries.
75686 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75688 # Whether or not to disallow shared libs when runtime libs are static.
75689 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75691 # Compiler flag to allow reflexive dlopens.
75692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75694 # Compiler flag to generate shared objects directly from archives.
75695 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75697 # Whether the compiler copes with passing no objects directly.
75698 compiler_needs_object=$lt_compiler_needs_object_CXX
75700 # Create an old-style archive from a shared archive.
75701 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75703 # Create a temporary old-style archive to link instead of a shared archive.
75704 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75706 # Commands used to build a shared archive.
75707 archive_cmds=$lt_archive_cmds_CXX
75708 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75710 # Commands used to build a loadable module if different from building
75711 # a shared archive.
75712 module_cmds=$lt_module_cmds_CXX
75713 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75715 # Whether we are building with GNU ld or not.
75716 with_gnu_ld=$lt_with_gnu_ld_CXX
75718 # Flag that allows shared libraries with undefined symbols to be built.
75719 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75721 # Flag that enforces no undefined symbols.
75722 no_undefined_flag=$lt_no_undefined_flag_CXX
75724 # Flag to hardcode \$libdir into a binary during linking.
75725 # This must work even if \$libdir does not exist
75726 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75728 # If ld is used when linking, flag to hardcode \$libdir into a binary
75729 # during linking. This must work even if \$libdir does not exist.
75730 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75732 # Whether we need a single "-rpath" flag with a separated argument.
75733 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75735 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75736 # DIR into the resulting binary.
75737 hardcode_direct=$hardcode_direct_CXX
75739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75740 # DIR into the resulting binary and the resulting library dependency is
75741 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75742 # library is relocated.
75743 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75745 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75746 # into the resulting binary.
75747 hardcode_minus_L=$hardcode_minus_L_CXX
75749 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75750 # into the resulting binary.
75751 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75753 # Set to "yes" if building a shared library automatically hardcodes DIR
75754 # into the library and all subsequent libraries and executables linked
75755 # against it.
75756 hardcode_automatic=$hardcode_automatic_CXX
75758 # Set to yes if linker adds runtime paths of dependent libraries
75759 # to runtime path list.
75760 inherit_rpath=$inherit_rpath_CXX
75762 # Whether libtool must link a program against all its dependency libraries.
75763 link_all_deplibs=$link_all_deplibs_CXX
75765 # Fix the shell variable \$srcfile for the compiler.
75766 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75768 # Set to "yes" if exported symbols are required.
75769 always_export_symbols=$always_export_symbols_CXX
75771 # The commands to list exported symbols.
75772 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75774 # Symbols that should not be listed in the preloaded symbols.
75775 exclude_expsyms=$lt_exclude_expsyms_CXX
75777 # Symbols that must always be exported.
75778 include_expsyms=$lt_include_expsyms_CXX
75780 # Commands necessary for linking programs (against libraries) with templates.
75781 prelink_cmds=$lt_prelink_cmds_CXX
75783 # Specify filename containing input files.
75784 file_list_spec=$lt_file_list_spec_CXX
75786 # How to hardcode a shared library path into an executable.
75787 hardcode_action=$hardcode_action_CXX
75789 # The directories searched by this compiler when creating a shared library.
75790 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75792 # Dependencies to place before and after the objects being linked to
75793 # create a shared library.
75794 predep_objects=$lt_predep_objects_CXX
75795 postdep_objects=$lt_postdep_objects_CXX
75796 predeps=$lt_predeps_CXX
75797 postdeps=$lt_postdeps_CXX
75799 # The library search path used internally by the compiler when linking
75800 # a shared library.
75801 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75803 # ### END LIBTOOL TAG CONFIG: CXX
75804 _LT_EOF
75807 "include/gstdint.h":C)
75808 if test "$GCC" = yes; then
75809 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75810 else
75811 echo "/* generated for $CC */" > tmp-stdint.h
75814 sed 's/^ *//' >> tmp-stdint.h <<EOF
75816 #ifndef GCC_GENERATED_STDINT_H
75817 #define GCC_GENERATED_STDINT_H 1
75819 #include <sys/types.h>
75822 if test "$acx_cv_header_stdint" != stdint.h; then
75823 echo "#include <stddef.h>" >> tmp-stdint.h
75825 if test "$acx_cv_header_stdint" != stddef.h; then
75826 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75829 sed 's/^ *//' >> tmp-stdint.h <<EOF
75830 /* glibc uses these symbols as guards to prevent redefinitions. */
75831 #ifdef __int8_t_defined
75832 #define _INT8_T
75833 #define _INT16_T
75834 #define _INT32_T
75835 #endif
75836 #ifdef __uint32_t_defined
75837 #define _UINT32_T
75838 #endif
75842 # ----------------- done header, emit basic int types -------------
75843 if test "$acx_cv_header_stdint" = stddef.h; then
75844 sed 's/^ *//' >> tmp-stdint.h <<EOF
75846 #ifndef _UINT8_T
75847 #define _UINT8_T
75848 #ifndef __uint8_t_defined
75849 #define __uint8_t_defined
75850 #ifndef uint8_t
75851 typedef unsigned $acx_cv_type_int8_t uint8_t;
75852 #endif
75853 #endif
75854 #endif
75856 #ifndef _UINT16_T
75857 #define _UINT16_T
75858 #ifndef __uint16_t_defined
75859 #define __uint16_t_defined
75860 #ifndef uint16_t
75861 typedef unsigned $acx_cv_type_int16_t uint16_t;
75862 #endif
75863 #endif
75864 #endif
75866 #ifndef _UINT32_T
75867 #define _UINT32_T
75868 #ifndef __uint32_t_defined
75869 #define __uint32_t_defined
75870 #ifndef uint32_t
75871 typedef unsigned $acx_cv_type_int32_t uint32_t;
75872 #endif
75873 #endif
75874 #endif
75876 #ifndef _INT8_T
75877 #define _INT8_T
75878 #ifndef __int8_t_defined
75879 #define __int8_t_defined
75880 #ifndef int8_t
75881 typedef $acx_cv_type_int8_t int8_t;
75882 #endif
75883 #endif
75884 #endif
75886 #ifndef _INT16_T
75887 #define _INT16_T
75888 #ifndef __int16_t_defined
75889 #define __int16_t_defined
75890 #ifndef int16_t
75891 typedef $acx_cv_type_int16_t int16_t;
75892 #endif
75893 #endif
75894 #endif
75896 #ifndef _INT32_T
75897 #define _INT32_T
75898 #ifndef __int32_t_defined
75899 #define __int32_t_defined
75900 #ifndef int32_t
75901 typedef $acx_cv_type_int32_t int32_t;
75902 #endif
75903 #endif
75904 #endif
75906 elif test "$ac_cv_type_u_int32_t" = yes; then
75907 sed 's/^ *//' >> tmp-stdint.h <<EOF
75909 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75910 #ifndef _INT8_T
75911 #define _INT8_T
75912 #endif
75913 #ifndef _INT16_T
75914 #define _INT16_T
75915 #endif
75916 #ifndef _INT32_T
75917 #define _INT32_T
75918 #endif
75920 #ifndef _UINT8_T
75921 #define _UINT8_T
75922 #ifndef __uint8_t_defined
75923 #define __uint8_t_defined
75924 #ifndef uint8_t
75925 typedef u_int8_t uint8_t;
75926 #endif
75927 #endif
75928 #endif
75930 #ifndef _UINT16_T
75931 #define _UINT16_T
75932 #ifndef __uint16_t_defined
75933 #define __uint16_t_defined
75934 #ifndef uint16_t
75935 typedef u_int16_t uint16_t;
75936 #endif
75937 #endif
75938 #endif
75940 #ifndef _UINT32_T
75941 #define _UINT32_T
75942 #ifndef __uint32_t_defined
75943 #define __uint32_t_defined
75944 #ifndef uint32_t
75945 typedef u_int32_t uint32_t;
75946 #endif
75947 #endif
75948 #endif
75950 else
75951 sed 's/^ *//' >> tmp-stdint.h <<EOF
75953 /* Some systems have guard macros to prevent redefinitions, define them. */
75954 #ifndef _INT8_T
75955 #define _INT8_T
75956 #endif
75957 #ifndef _INT16_T
75958 #define _INT16_T
75959 #endif
75960 #ifndef _INT32_T
75961 #define _INT32_T
75962 #endif
75963 #ifndef _UINT8_T
75964 #define _UINT8_T
75965 #endif
75966 #ifndef _UINT16_T
75967 #define _UINT16_T
75968 #endif
75969 #ifndef _UINT32_T
75970 #define _UINT32_T
75971 #endif
75975 # ------------- done basic int types, emit int64_t types ------------
75976 if test "$ac_cv_type_uint64_t" = yes; then
75977 sed 's/^ *//' >> tmp-stdint.h <<EOF
75979 /* system headers have good uint64_t and int64_t */
75980 #ifndef _INT64_T
75981 #define _INT64_T
75982 #endif
75983 #ifndef _UINT64_T
75984 #define _UINT64_T
75985 #endif
75987 elif test "$ac_cv_type_u_int64_t" = yes; then
75988 sed 's/^ *//' >> tmp-stdint.h <<EOF
75990 /* system headers have an u_int64_t (and int64_t) */
75991 #ifndef _INT64_T
75992 #define _INT64_T
75993 #endif
75994 #ifndef _UINT64_T
75995 #define _UINT64_T
75996 #ifndef __uint64_t_defined
75997 #define __uint64_t_defined
75998 #ifndef uint64_t
75999 typedef u_int64_t uint64_t;
76000 #endif
76001 #endif
76002 #endif
76004 elif test -n "$acx_cv_type_int64_t"; then
76005 sed 's/^ *//' >> tmp-stdint.h <<EOF
76007 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76008 #ifndef _INT64_T
76009 #define _INT64_T
76010 #ifndef int64_t
76011 typedef $acx_cv_type_int64_t int64_t;
76012 #endif
76013 #endif
76014 #ifndef _UINT64_T
76015 #define _UINT64_T
76016 #ifndef __uint64_t_defined
76017 #define __uint64_t_defined
76018 #ifndef uint64_t
76019 typedef unsigned $acx_cv_type_int64_t uint64_t;
76020 #endif
76021 #endif
76022 #endif
76024 else
76025 sed 's/^ *//' >> tmp-stdint.h <<EOF
76027 /* some common heuristics for int64_t, using compiler-specific tests */
76028 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76029 #ifndef _INT64_T
76030 #define _INT64_T
76031 #ifndef __int64_t_defined
76032 #ifndef int64_t
76033 typedef long long int64_t;
76034 #endif
76035 #endif
76036 #endif
76037 #ifndef _UINT64_T
76038 #define _UINT64_T
76039 #ifndef uint64_t
76040 typedef unsigned long long uint64_t;
76041 #endif
76042 #endif
76044 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76045 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76046 does not implement __extension__. But that compiler doesn't define
76047 __GNUC_MINOR__. */
76048 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76049 # define __extension__
76050 # endif
76052 # ifndef _INT64_T
76053 # define _INT64_T
76054 # ifndef int64_t
76055 __extension__ typedef long long int64_t;
76056 # endif
76057 # endif
76058 # ifndef _UINT64_T
76059 # define _UINT64_T
76060 # ifndef uint64_t
76061 __extension__ typedef unsigned long long uint64_t;
76062 # endif
76063 # endif
76065 #elif !defined __STRICT_ANSI__
76066 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76068 # ifndef _INT64_T
76069 # define _INT64_T
76070 # ifndef int64_t
76071 typedef __int64 int64_t;
76072 # endif
76073 # endif
76074 # ifndef _UINT64_T
76075 # define _UINT64_T
76076 # ifndef uint64_t
76077 typedef unsigned __int64 uint64_t;
76078 # endif
76079 # endif
76080 # endif /* compiler */
76082 #endif /* ANSI version */
76086 # ------------- done int64_t types, emit intptr types ------------
76087 if test "$ac_cv_type_uintptr_t" != yes; then
76088 sed 's/^ *//' >> tmp-stdint.h <<EOF
76090 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76091 #ifndef __uintptr_t_defined
76092 #ifndef uintptr_t
76093 typedef u$acx_cv_type_intptr_t uintptr_t;
76094 #endif
76095 #endif
76096 #ifndef __intptr_t_defined
76097 #ifndef intptr_t
76098 typedef $acx_cv_type_intptr_t intptr_t;
76099 #endif
76100 #endif
76104 # ------------- done intptr types, emit int_least types ------------
76105 if test "$ac_cv_type_int_least32_t" != yes; then
76106 sed 's/^ *//' >> tmp-stdint.h <<EOF
76108 /* Define int_least types */
76109 typedef int8_t int_least8_t;
76110 typedef int16_t int_least16_t;
76111 typedef int32_t int_least32_t;
76112 #ifdef _INT64_T
76113 typedef int64_t int_least64_t;
76114 #endif
76116 typedef uint8_t uint_least8_t;
76117 typedef uint16_t uint_least16_t;
76118 typedef uint32_t uint_least32_t;
76119 #ifdef _UINT64_T
76120 typedef uint64_t uint_least64_t;
76121 #endif
76125 # ------------- done intptr types, emit int_fast types ------------
76126 if test "$ac_cv_type_int_fast32_t" != yes; then
76127 sed 's/^ *//' >> tmp-stdint.h <<EOF
76129 /* Define int_fast types. short is often slow */
76130 typedef int8_t int_fast8_t;
76131 typedef int int_fast16_t;
76132 typedef int32_t int_fast32_t;
76133 #ifdef _INT64_T
76134 typedef int64_t int_fast64_t;
76135 #endif
76137 typedef uint8_t uint_fast8_t;
76138 typedef unsigned int uint_fast16_t;
76139 typedef uint32_t uint_fast32_t;
76140 #ifdef _UINT64_T
76141 typedef uint64_t uint_fast64_t;
76142 #endif
76146 if test "$ac_cv_type_uintmax_t" != yes; then
76147 sed 's/^ *//' >> tmp-stdint.h <<EOF
76149 /* Define intmax based on what we found */
76150 #ifndef intmax_t
76151 #ifdef _INT64_T
76152 typedef int64_t intmax_t;
76153 #else
76154 typedef long intmax_t;
76155 #endif
76156 #endif
76157 #ifndef uintmax_t
76158 #ifdef _UINT64_T
76159 typedef uint64_t uintmax_t;
76160 #else
76161 typedef unsigned long uintmax_t;
76162 #endif
76163 #endif
76167 sed 's/^ *//' >> tmp-stdint.h <<EOF
76169 #endif /* GCC_GENERATED_STDINT_H */
76172 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76173 rm -f tmp-stdint.h
76174 else
76175 mv -f tmp-stdint.h include/gstdint.h
76179 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76180 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76181 "include/Makefile":F) cat > vpsed$$ << \_EOF
76182 s!`test -f '$<' || echo '$(srcdir)/'`!!
76183 _EOF
76184 sed -f vpsed$$ $ac_file > tmp$$
76185 mv tmp$$ $ac_file
76186 rm vpsed$$
76187 echo 'MULTISUBDIR =' >> $ac_file
76188 ml_norecursion=yes
76189 . ${multi_basedir}/config-ml.in
76190 { ml_norecursion=; unset ml_norecursion;}
76192 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76193 s!`test -f '$<' || echo '$(srcdir)/'`!!
76194 _EOF
76195 sed -f vpsed$$ $ac_file > tmp$$
76196 mv tmp$$ $ac_file
76197 rm vpsed$$
76198 echo 'MULTISUBDIR =' >> $ac_file
76199 ml_norecursion=yes
76200 . ${multi_basedir}/config-ml.in
76201 { ml_norecursion=; unset ml_norecursion;}
76203 "python/Makefile":F) cat > vpsed$$ << \_EOF
76204 s!`test -f '$<' || echo '$(srcdir)/'`!!
76205 _EOF
76206 sed -f vpsed$$ $ac_file > tmp$$
76207 mv tmp$$ $ac_file
76208 rm vpsed$$
76209 echo 'MULTISUBDIR =' >> $ac_file
76210 ml_norecursion=yes
76211 . ${multi_basedir}/config-ml.in
76212 { ml_norecursion=; unset ml_norecursion;}
76214 "src/Makefile":F) cat > vpsed$$ << \_EOF
76215 s!`test -f '$<' || echo '$(srcdir)/'`!!
76216 _EOF
76217 sed -f vpsed$$ $ac_file > tmp$$
76218 mv tmp$$ $ac_file
76219 rm vpsed$$
76220 echo 'MULTISUBDIR =' >> $ac_file
76221 ml_norecursion=yes
76222 . ${multi_basedir}/config-ml.in
76223 { ml_norecursion=; unset ml_norecursion;}
76225 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76226 s!`test -f '$<' || echo '$(srcdir)/'`!!
76227 _EOF
76228 sed -f vpsed$$ $ac_file > tmp$$
76229 mv tmp$$ $ac_file
76230 rm vpsed$$
76231 echo 'MULTISUBDIR =' >> $ac_file
76232 ml_norecursion=yes
76233 . ${multi_basedir}/config-ml.in
76234 { ml_norecursion=; unset ml_norecursion;}
76236 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76237 s!`test -f '$<' || echo '$(srcdir)/'`!!
76238 _EOF
76239 sed -f vpsed$$ $ac_file > tmp$$
76240 mv tmp$$ $ac_file
76241 rm vpsed$$
76242 echo 'MULTISUBDIR =' >> $ac_file
76243 ml_norecursion=yes
76244 . ${multi_basedir}/config-ml.in
76245 { ml_norecursion=; unset ml_norecursion;}
76247 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76248 s!`test -f '$<' || echo '$(srcdir)/'`!!
76249 _EOF
76250 sed -f vpsed$$ $ac_file > tmp$$
76251 mv tmp$$ $ac_file
76252 rm vpsed$$
76253 echo 'MULTISUBDIR =' >> $ac_file
76254 ml_norecursion=yes
76255 . ${multi_basedir}/config-ml.in
76256 { ml_norecursion=; unset ml_norecursion;}
76258 "po/Makefile":F) cat > vpsed$$ << \_EOF
76259 s!`test -f '$<' || echo '$(srcdir)/'`!!
76260 _EOF
76261 sed -f vpsed$$ $ac_file > tmp$$
76262 mv tmp$$ $ac_file
76263 rm vpsed$$
76264 echo 'MULTISUBDIR =' >> $ac_file
76265 ml_norecursion=yes
76266 . ${multi_basedir}/config-ml.in
76267 { ml_norecursion=; unset ml_norecursion;}
76269 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76270 s!`test -f '$<' || echo '$(srcdir)/'`!!
76271 _EOF
76272 sed -f vpsed$$ $ac_file > tmp$$
76273 mv tmp$$ $ac_file
76274 rm vpsed$$
76275 echo 'MULTISUBDIR =' >> $ac_file
76276 ml_norecursion=yes
76277 . ${multi_basedir}/config-ml.in
76278 { ml_norecursion=; unset ml_norecursion;}
76280 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76282 esac
76283 done # for ac_tag
76286 as_fn_exit 0
76287 _ACEOF
76288 ac_clean_files=$ac_clean_files_save
76290 test $ac_write_fail = 0 ||
76291 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76294 # configure is writing to config.log, and then calls config.status.
76295 # config.status does its own redirection, appending to config.log.
76296 # Unfortunately, on DOS this fails, as config.log is still kept open
76297 # by configure, so config.status won't be able to write to it; its
76298 # output is simply discarded. So we exec the FD to /dev/null,
76299 # effectively closing config.log, so it can be properly (re)opened and
76300 # appended to by config.status. When coming back to configure, we
76301 # need to make the FD available again.
76302 if test "$no_create" != yes; then
76303 ac_cs_success=:
76304 ac_config_status_args=
76305 test "$silent" = yes &&
76306 ac_config_status_args="$ac_config_status_args --quiet"
76307 exec 5>/dev/null
76308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76309 exec 5>>config.log
76310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76311 # would make configure fail if this is the last instruction.
76312 $ac_cs_success || as_fn_exit $?
76314 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76316 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}